Go to Post Screwing up is part of the game. Iterating, testing, and analyzing your failures separates the great from the average. - Jon Stratis [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 07-25-2016, 07:35 AM
azaclauson azaclauson is offline
Registered User
FRC #5593
 
Join Date: Jul 2016
Location: Tasmania
Posts: 17
azaclauson is an unknown quantity at this point
Problem running C samples for roboRio

I'm new to the roboRio and to feel my way around things I'm attempting to run the C samples found here http://www.ni.com/download/labview-r...-2015/5558/en/.

I can successfully build, deploy and execute a sample to the roboRio but the app fails when it attempts to initialise the FPGA. The exact error text is shown below.

Code:
roboRio Hello
ERROR: -61200
Could not Open FPGA!
The error occurs in the NiFpga_Open function when the application attempts to load NiFpga_RoboRioFpga10.lvbitx. The -61200 error code has a handy comment:

Quote:
/**
* The operation could not be performed because the FPGA is busy operating in
* FPGA Interface C API mode. Stop all activities on the FPGA before requesting
* this operation.
*/
static const NiFpga_Status NiFpga_Status_FpgaBusyFpgaInterfaceCApi = -61200;
Unfortunately I don't know what steps to stop all activities on the FPGA. I've tried removing a few likely looking scripts from init.d but to no avail.

Should the C samples be able to work with the FRC roboRio firmware? And if so how do I get the FPGA into the correct state to run them?
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:22 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi