Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use Several NI cDAQs to Replace a NI cRIO-9040?

Solved!
Go to solution

I would like to use three NI9401s and a single NI9215 to measure and control a prototype system. Originally, I had planned on using the NI cRIO-9040, but now I am wondering if I can use 4 NI cDAQ-9171s instead? My understanding is that each of the modules should be able to go inside a cDAQ-9171 and I can monitor and control the modules from a PC with LabView. Is this understanding correct?

0 Kudos
Message 1 of 6
(1,211 Views)

Technically you can but you will not be able to synchronize all 4 modules as they are in different chassis.

 

In a cRIO, you can deploy an FPGA code to run independent of the host now you need the host always.

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 6
(1,206 Views)

Thank you for the information. I'm not certain I completely understand what it means that I won't be able to synchronize all the modules. Since they will all be plugged into the same PC would that not synchronize them?

 

I had also found another possible alternative to the three NI9401s and the one NI9215 all in the cRIO-9040. It would be using a PCIe-6346 in place of the NI9215 and USB-8451 in place of the three NI9401. What need to be able to do is measure a couple analog voltage signals, communicate with 4 SPI devices, and send PWM signals to two motor controllers. With that in mind, would either of the methods I mentioned work for that? The whole design was initially built around using a complete cRIO system, but we won't be able to get a cRIO-9040 for a long time.

0 Kudos
Message 3 of 6
(1,195 Views)
Solution
Accepted by topic author MichaelBoyte

There are a few reasons that this might not be a good idea. Especially as you mention control:

 

  • As Santhosh said synchronisation between modules isn't possible in the 9171 chassis.
  • This forces you to use DAQmx and normally for control with DAQmx you want to minimise latency by using hardware timed single point mode but this is not supported on cDAQ modules.
  • Similar latency concerns exist with USB2. Especially if you have multiple devices connected into the same hub.
  • USB and Windows systems are not designed for higher reliability and you are more likely to hit issues like the system putting the USB bus to sleep or deciding it needs to perform an update.

 

So the short answer is it depends but it probably isn't a good idea.

 

The synchronisation problems could be solved by using a 9174 4-slot chassis instead. But if you need good control performance or reliability then the cRIO is a far superior option.

James Mc
========
CLA and cRIO Fanatic
My writings on LabVIEW Development are at devs.wiresmithtech.com
0 Kudos
Message 4 of 6
(1,189 Views)

Thank you, I believe that answers my question. The 9174 seems like it's going to be my bets option at this point, because unfortunately we can't wait for the cRIO to become available. Thanks!

0 Kudos
Message 5 of 6
(1,184 Views)
Solution
Accepted by topic author MichaelBoyte

Sorry, you posted while I was replying!

 

The synchronisation means at the signal level. i.e. the samples from one mode line up with another.

 

The analog voltages and PWM would probably work OK on the cDAQ. The SPI wont and would need a dedicated device. That is because to talk to SPI over a general purpose digital line requires fairly tight timing. As you have found, NI make devices dedicated to this.

 

It still depends a bit on reliability concerns but using the USB SPI device and either the C Series or PCIe DAQ may work depending on the performance and reliability required.

 

The performance concern would be if you are doing closed loop control on the motors which require frequent updates. Under Windows it is difficult to guarantee rates much faster than 100Hz as other processes may interfere.

 

The reliability is more about how long you want it to run for

 

 

James Mc
========
CLA and cRIO Fanatic
My writings on LabVIEW Development are at devs.wiresmithtech.com
0 Kudos
Message 6 of 6
(1,182 Views)