I have SC 2345 as signal conditioning box. Then, I have SCC 6052E DAQ card. I have 2 signal conditioning modules for forces (3 channels for forces and 1 for voltage that is related to an engine's power) and I have 2 modules for 2 accelerometers. I have LabVIEW 7.1 Express and my operating system is Windows XP.
I am trying to build a simple application for acquisition of forces, power and acceleration (3 forces, 1 power, 2 accelerometers). I would like to start and stop my data acquisition based on a voltage (4.5VDC) that I am sending at the screw terminal (A11 and B12) of SC 2345. I have attached my files to this message.
The idea is to start the vi in the usual way (click on the little arrow) and then the vi should keep running without recording anything until the voltage is sent to the SC2345. When the 4.5 VDC reaches the SC2345, the vi should start recording the data and display it in charts. As long as the voltage keeps coming at the SC 2345 (terminals A11 for +4.5VDC and B12 for ground), the DAQ should continue. Once the voltage drops lower than 1 or 0.5 VDC, the data acquisition should stop and the vi should stop running. Optional, there could be a stop button to stop the data acquisition sooner than the voltage drop in case someone wants to do so.
NOW, I have built my tasks for forces, power and accelerometers using the NI-DAQmx, I have selected an example for the start and reference trigger based on external voltage, and I put all together according to instructions of a support engineer (over the phone). Recently I took LabVIEW BasicsI and II and I could further improve my vi. However, even the vi seems to be simple and easy to build, I still cannot get what I want.
For example - once I sart my vi, it imediatly stops with no error but without really recording anything. More than this, it does not wait for the incoming voltage to be triggered and then stopped when the voltage drops.
I feel that I am relatively close to a solution. However, I have to make this vi work in its rough form by this Thursday and I need some help to finish in time.