02-05-2021 10:18 AM
I have a USB-6251 that I want to incorporate into my measurement setup and I also have a cRIO 9040, which does most of my measurements. I see that cRIO computer has a USB-port. Is cRIO capable of talking to USB-6251 via USB?
Thanks a lot in advance
Solved! Go to Solution.
02-08-2021 07:12 AM
Hi Brimkins,
This is definitely an interesting question. Unfortunately, there's one simple answer of no, connecting a USB-DAQ isn't a supported configuration with a cRIO controller.
There's a quick list of what USB devices are supported on Real-Time targets at the end of this KB.
For the cRIO-9040, you're looking at having the ability to use some cDAQ, cRIO, CVS or industrial controllers as it's running Linux RT. Otherwise, the drivers for the USB-DAQ aren't developed for Linux RT.
Can I ask what the use-case of this is? The cRIO is deterministic and USB isn't a deterministic interface, so I expect you'd see a significant degradation in performance than just attaching another C-series module. Is there a reason we don't want to use a C-Series module with better performance?
Best wishes,
Nick
02-08-2021 07:24 AM
Dear Nick,
thanks for your reply,
it was just a temporary solution until I will get an NI 9361 module to do the counting. I have also found that I can do counting with DAQmx in cRIO with a clock up to 80MHz. I think that will be my solution for now. Unfortunately counting with 40MHz FPGA clock is too slow for the pulses that I am trying to count.
Best regards,
Sergii
02-08-2021 07:35 AM
Hi Sergii,
No worries.
Have you seen the FPGA Derived Clock Properties? You should be able to generate a suitable clock to use on the FPGA.
02-08-2021 07:40 AM
Dear Nick,
yes, I tried that, but the fastest clock it gives is the FPGA base clock which is 40MHz and perfectly allows my 12 ns pulses to slip out. Therefore I thought of using the DAQmx module for NI 9402 (then i can see a 80 MHz clock in the timing source).
Bests,
S
02-08-2021 11:09 AM - edited 02-08-2021 11:10 AM
Hi Sergii,
Are you sure that 40MHz is the maximum? I added a cRIO-9040 to my project and I was able to derive an 80MHz clock:
Edit: Also able to derive other clocks, such as 85MHz. It seems you'd be able to fit your 12ns pulses.
Best wishes,
Nick
02-08-2021 12:10 PM
Hi Nick,
thanks a lot! Wow, I didn't know that I can use 80MHz clock to drive a single-cycle loop
I was considering this diagram from the manual
but I was completely oblivious of this derived clocks. Thanks for pointing this out. I may get away without extra counting module!
Thanks,
Sergii
PS SCTL would take 80 MHz as well as NI9402, but with 85MHz wouldn't compile
02-10-2021 03:55 AM
Actually I could get even 120MHz clock! Awesome! and NI9204 would take it.