LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO Hybrid mode - Scan engine not working

Solved!
Go to solution

Hi,

I have a cRIO project in which almost all of my modules should operate in scan mode (high density, low sampling requirements etc.), however I have one 9870 module which requires the FPGA interface, so I am trying to get cRIO to work in hybrid mode. I have followed the instructions from the KB article on this subject to no avail. Right now, everything works perfectly if I leave the chasis in scan mode interface, but when I switch to FPGA interface (deploy the change, compile my FPGA vi, download the bitfile, and restart the RT vi) none of my data values are being updated, and it's not just that they are steady, the timestamps on them are all zeros. The RT Get Scan Engine State VI says the scan engine is in Active mode, but yet it is behaving as if it is not. Any suggestions?

 

Thanks for the help,

 

Jon

0 Kudos
Message 1 of 5
(4,898 Views)
Your RT VI needs to open and download the FPGA VI using the FPGA Interface VIs.  Are you doing that?
0 Kudos
Message 2 of 5
(4,885 Views)
Solution
Accepted by topic author jaraalmonte

Hello Jon,

 

Can you explain your setup in a bit more detail? 

 

When you say download the bitfile do you mean download the bitfile to flash to have it run at startup?  Is the FPGA VI set to run at startup?

 

Does your RT code have an "Open FPGA VI Reference" call in it?  If it doesn't, can you try including one?

 

Are you able to communicate with the 9870 when in hybrid mode?

 

Thanks,

 

Sebastian

0 Kudos
Message 3 of 5
(4,884 Views)
To download the bitfile, I use the RIO Device Setup tool, the FPGA vi is set to execute on download and on reboot. I do not make any programatic referances to the FPGA vi in my RT vi. I will try that now. I have not tried communicating with the 9870, as its functionality is much less important than getting my other modules functional.
0 Kudos
Message 4 of 5
(4,882 Views)

That worked. Thank you for your help.

 

Jon

0 Kudos
Message 5 of 5
(4,877 Views)