Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to run a LabWindows/CVI RT application written for PXI on a cRIO-9081?

I have a CVI Real Time application running on a PXI with Pharlap.  I have one cDAQ chassis nearby, and one that is around 10m away.  We have been using a USB extender, but we get faults with the remote DAQ from time to time.  I thought I would be slick and replace the cDAQ with a cRIO.  The PXI would send DAQ task configurations to the cRIO and the cRIO would build the tasks and serve the data back to the PXI over TCP/IP.  

 

I am trying to provision the cRIO, but I don't recognize many of the software options and I don't have the others I expect like DAQmx.  When I installed NI CompactRIO I did not select drivers because I didn't want it to change the driver version that I am stuck on which is 18.6 for the PXI.  The oldest option I had for the RIO was 19.0.  This RIO has Pharlap.  Can it not be treated like a PXI with Pharlap? 

Programming Data Acquisition and Control in Measurement Studio and Labwindows/CVI
0 Kudos
Message 1 of 5
(84 Views)

Put CVI RT aside, cRIO-9018 running Pharlap cannot control a cDAQ. Only cRIO-9081 running Windows or cRIO-904x/5x can control a cDAQ chassis.

Reference: Controlling a CompactDAQ Module from a Compact RIO or CompactDAQ Controller

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 2 of 5
(67 Views)

I don't need to control a cDAQ with the cRIO.  The cRIO already has 8 slots to replace the 8 slots that the cDAQ had.  The cDAQ goes away.  I just need to be able to run LabWindows/CVI Real Time on the cRIO running Pharlap, and I would need DAQmx.

 

I installed NI-CompactRIO 19.5 on my development machine, but I deselected NI-DAQmx because I didn't want to change my drivers on the development PC from 18.6 which was the last drivers for PXI that work with CompactDAQ.

 

This is what Add/Remove Software looks like on a PXI:

DieselPower_0-1763472979780.png

 

 

This is what it looks like on the cRIO from the same development PC:

DieselPower_1-1763473011332.png

 

Note that there is no LabVIEW Real Time, LabWindows/CVI Run Time Engine, or DAQmx possible for the cRIO.  I assumed they would behave similarly since they are both running Pharlap.

Programming Data Acquisition and Control in Measurement Studio and Labwindows/CVI
0 Kudos
Message 3 of 5
(43 Views)

Sorry I misunderstood your question but unfortunately only cRIO-904x/905x support DAQmx.

The other cRIO include cRIO-9081 only supports Scan Engine or FPGA Mode.

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
Message 4 of 5
(26 Views)

Thank you for confirming that.  I'll have to have my colleague program the RIO in LV.

Programming Data Acquisition and Control in Measurement Studio and Labwindows/CVI
0 Kudos
Message 5 of 5
(8 Views)