Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Python programming of cRio 9074

For Python programming of NI devices, the nidaqmx library is used.
However, I have learned that the nidaqmx library is not compatible with the CompactRIO 9074.

PLEASE, I WANT TO KNOW HOW I CAN USE PYTHON TO PROGRAM THE cRIO-9074 and its associated modules such as the NI 9421, 9481, 9264, and 9205.


If anyone with experience with cRIO-9074 + Python can help me, please let me know.

0 Kudos
Message 1 of 5
(331 Views)

What are your goals? to use the C-series modules like a DAQ?

 

cRIO is used for time-critical tasks that involve code that runs on RTOS and FPGA.

 

https://www.ni.com/en/shop/compactrio/what-are-compactrio-controllers/what-is-compactrio-with-ni-daq...

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019PUNSA2&l=en-US

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 5
(290 Views)

You can use ni/nifpga-python: Python API for LabVIEW FPGA devices

The prerequisite is that you need lvbitx file which can only be developed using LabVIEW, LabVIEW Real-Time Module (for cRIO) and LabVIEW FPGA Module.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 3 of 5
(287 Views)

Good morning!

 

Currently, I have a CompactRIO 9074 in my laboratory, which operates with the NI 9421, 9481, 9264, 9208, and 9205 modules. However, this model is very old and is not compatible with the nidaqmx library in Python.
In fact, I have not been able to find any Python library that allows me to access the inputs and outputs of this CompactRIO.
The goal in my laboratory is to not use LabVIEW as a graphical interface, but rather to use a simple graphical interface made with Python.
Please, I would like to know if there is any way to use Python to control the cRIO 9074? If not, I would like to KNOW WHICH MODEL OF COMPACTRIO IS COMPATIBLE WITH PYTHON PROGRAMMING?

0 Kudos
Message 4 of 5
(248 Views)

If your goal is to avoid LabVIEW entirely, you can get DAQmx cRIO 904x/5x.

cRIO-9053 is the cheapest option for 4-slot and cRIO-9056 is the cheapest option for 8-slot.

You can use nidaqmx-python with them.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 5 of 5
(242 Views)