Hello,
I am using NiDAQ 7.1 and a 6025E DAQ.
I am performing a simple rocket engine test.
These are my concerns so far...
1. The NiDAQ board cannot perform two operations simultaneously. What this means is that in order to operate the valve (digital out), I would have to interrupt the continous analog input scanning. This would cause a problem. I would not be recording analog inputs during, or immediately after the operation of the valve (digital out).
2. Synchronizing the operation of the valve with the continous analog input data recording. i.e What sample point in the analog input data corresponds to the instant the valve was opened/closed? I am using an accelerometer to record when the valve opens/closes.
But the interruption of operating the valve will render it useless since analog input recording will have been halted, and thus the accelerometer data will not have been recorded.
How do I operate the valve at the same time that I am continously reading analog inputs? According to your documentation, it is not possible to perform two operations on the E series at the same time. How do I overcome this issue? My analog input sampling frequency is 2KHz.
Would something like this work:
SCAN_Op(length of time before opening valve)
DIG_Line_Out(Turn on valve)
SCAN_Op(length of time before closing valve)
DIG_Line_Out(Turn off valve)
SCAN_Op(length of time to record after valve is closed)
StoreSamplesToFile()
What is the amount of time between SCAN_Op() returning, calling DIG_OUT_Line() and calling SCAN_Op()? i.e. how many samples will I miss due to stopping and starting analog input recording using SCAN_Op()?
- Tree