05-10-2016 11:12 AM
Hey all,
My supervisor wants to switch out our cRIO setup for a cDAQ setup to allow for better control via the computer. I work in a lab where we do HVAC testing in psychrometric chambers are used to test electrically-driven mechanical heating and cooling equipment. These chambers are controlled using LabView software and updates to the code and control verification needs to be performed to actually get testing tolerances to standard.
My labview experince is on the low side of the specturm, but i understand that cRIOs are set up to use a base written FPGS code in them where as the cDAQ is set up to just run from labview? The Labview code was set up by a third party, and has become littered with bugs as we've set up different tests / had multiple lab techs messing with it.
Has anyone done this kind of switchover? I'm currious if that anyone has had issue with essentially having to rewrite their program or if it is a painless switch?
Thanks for the read!
SamB.
(Also I apologize in advance I am unable to post the code)
05-10-2016 02:07 PM
cDAQ uses DAQmx to read and write from/to the IO. cRIO uses LabVIEW FPGA and a RealTime OS to control the IO. So it all really depends on your requirements for which one is really what you want. I would rather have a cRIO because the FPGA adds so much capability.
05-11-2016 10:23 AM
right,
In my code it looks like the cRIO is utilized in the initializing portion and tolerancing global variables. I *think* what they were trying to do is use the program as if it were a cDAQ setup instead of a cRIO. I understand without posting the code, one is limited to the advice you can give. I am just really currious if anyone has experince switch from one set up to the other and if they were able to salvage their code or if it was a complete redo?
thanks!
05-11-2016 02:30 PM
In my experience, it is almost a complete redo just from going from Windows to a cRIO. If your code is modular enough, you could get away with just chaning where the IO is actually accessed, but this is rarely a case.