LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble creating an executable for my cRIO project with NI 9862

Hello all,

 

I am using a cRIO-9038 with a couple of NI-9206 modules for data acquisition and NI 9862 for transferring the CAN data. I have my project setup and working when my main VI is under cRIO directory  tree, but having the main VI under my computer directory tree it shows the following error.

error1.png

I want to create an executable that I can run on any other PC and it seems that NI 9862 hardware is not detected.

 

I have attached a screen capture of my project tree below.

error2.png

0 Kudos
Message 1 of 3
(2,429 Views)

More info about what you are trying to accomplish is needed to figure out whats happening.  How are you planning on communicating with the cRIO?

Generally speaking, you need to build the RT application on the cRIO, then create a separate application on PC that communicates with the cRIO over Network, whether you use TCP/UDP/SNV/Network Streams, but either way there needs to be a cRIO Main.vi and a PC main.vi.  See the NI article below for some info on how to do this

 http://www.ni.com/tutorial/52030/en/

http://www.ni.com/white-paper/53345/en/

0 Kudos
Message 2 of 3
(2,419 Views)

Hi Ozziee

Thanks for your replay

Having 2 main VI's on in the real time and other one in the host computer is needed only if the Chassis is in LabVIEW FPGA interface mode! Or this can be done also in case if the RIO programming is in scan interface.

Thanks

0 Kudos
Message 3 of 3
(2,385 Views)