Hi All,
I am trying to read outputs from a load cell. The hardware is described at the link below (where it was suggested to the OP that they should use a RIO).
Essentially I need to monitor an input and, when it goes high, generate 25 pulses to a signal line and read corresponding outputs through another line. I've borrowed a cRIO-9074 with a NI9401 module built in due to the timing requirements.
I've some LabVIEW experience but have limited DAQ experience and in particular haven't worked with cRIO at all before. I'd like to get some high level pointers on the best approach / subVIs to use.
- Should I use a timed sequence structure to generate the 25 pulses? Or is there a better VI do do this?
- Should I monitor the signal line using a while loop also? Or how could I best convert this signal to Boolean outputs? What is the best way to synchronize my inputs with the outputs
- My application is that, when the load cell registers a particular force I have to signal retraction of a piston - part of the code is running on a Windows PC (and will require online user input etc). So I guess I'm using the cRIO as a very fast DAQ card. What is the best way to integrate the cRIO DAQ vi into the rest of my code? Should I launch this vi asynchronously and then communicate via queues and/or shared variables? Is there a better option?
Thanks in advance for your help,
Dave