I am using LabVIEW 7.1 with an SCC 2345 "black box." I am using 5 SCC AI04 analog inputs to monitor 9 channels of voltage (0-5 volts) with a 6062E DAQ card for the PCMCIA slot on my laptop. I have a .vi that waits to begin a task and records data on three channels of analog voltage input upon a button push on the front panel. The button push activates a case structure that runs when true yet does nothing when false. (We are measuring force data from three custom load cells with three channels of data each. Custom amplifiers adjust gain on each channel separately.) We measure voltage from the load cell circuits from zero to 5 volts. 5 volts means the load is high and the load cells are at their maximum safe load. We want the alarm to sound at about 4.25 volts to avoid damage to the custom (expensive) load cells.
My question is:
How can I set up my .vi so that it will monitor the condition of each of the 9 channels' voltage as it enters the analog input module and sound an alarm if the voltage is too high, WHILE SIMULTANEOUSLY COLLECTING THE DATA? I want to monitor the state of the voltage WHILE COLLECTING IT. My current .vi starts data recording and records a certain data collection rate and a certain number of data points via a DAQmx Timing (Sample Clock) followed by a DAQmx Start Task followed by a DAQmx Read. The clock is set for "finite samples," 300 data points, and 100 Hz. sample rate (3-second data collection). The problem we have is that I can't monitor the data in real time during those three seconds to see if any of the values are high enough to damage the load cell until after the data is all collected and the damage is already done. The alarm checks all 300 data points AFTER they have been collected and the task has been cleared by a DAQmx clear .vi.
Nate