LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous Labview program run with non-continuous DAQ connection

I am using a wireless DAQ, NI 9191 chassis with 9205 module, to measure strain in a system. The DAQ is not being run on standard power so it will occasionally not be powered. The DAQ automatically reconnects to the computer when power is reestablished, but when the DAQ loses power the program encounters an error and stops the program.

What I want to do is create a Labview program that will run continuously by ignoring the errors, recording data when the DAQ has power and recording an NA or zero when there is no power. 

 

If anyone knows or has had this problem before let me know if there is a solution ASAP. 

Thanks

0 Kudos
Message 1 of 2
(2,208 Views)

The program propably (hard to tell without any code to review) only stops because you have not wired the error putputs of your DAQ-vis. Wire them through to a case structure. In the "no error" case pass your aquired data to whatever postprocessing you deem appropriate (you said something about recording). Set the outgoing tunnel with the data to "use standard if not connected" (I don't have the english version of LV available, so this might be called slightly different). This way it will allways pass on zero when there's an error in your data aquisition.

 

Regards

Florian

0 Kudos
Message 2 of 2
(2,182 Views)