In my VI, I need to set a digital line if the measured input voltage
changes too rapidly.
I've created a simple VI and placed the DAQ Assistant in a While loop
that measures a 0-10V input voltage via my 6024E-DAQCard. The VI uses
a global channel named MyVoltage that I've created. I've set the
Analog Input Voltage Task to Acquire Continuously, 100 samples to
read, at 1000Hz Rate. First, I have some questions about that. What
does reading 100 samples at 1000Hz continously actually mean? How does
this behave in a While loop? Am I making 100 voltagle measurements
every time around the While loop? How does the rate work into this?
Anyway, for testing, my VI currently just writes to a single digital
line if the input voltage rises above some
constant value, say 7
volts. This is working. But what I really need to do is set this same
digital line if the voltage rises too quickly, like more than 1 volt
per second. How would I accomplish this?
Jeff