06-05-2020, 05:42 PM
Hello Everyone,
I have a couple questions concerning thresholds for the analog input module:
What is the syntax for using the threshold as a state-change for the state machine? Is it something like 'AnalogInput1_1', 'AnalogInput1_2', etc. for the thresholds on each channel, respectively?
Can I set a 'goal state' and then have a timer run within that state, so that the trial will terminate when that timer is up?
Can I connect my analog signal to multiple analog input channels so I can essentially set multiple thresholds for the same signal? Like say I want to trigger a threshold crossing of both 5V and 6V. Can this be accomplished by simply connecting the same analog signal to two input channels and setting a 5V threshold on the first channel and a 6V on the other?
When I call the function 'getData()', does it only return data between the most recent 'startLogging()' and 'stopLogging()' commands?
Thanks a lot for all your help!
--Matt
I have a couple questions concerning thresholds for the analog input module:
What is the syntax for using the threshold as a state-change for the state machine? Is it something like 'AnalogInput1_1', 'AnalogInput1_2', etc. for the thresholds on each channel, respectively?
Can I set a 'goal state' and then have a timer run within that state, so that the trial will terminate when that timer is up?
Can I connect my analog signal to multiple analog input channels so I can essentially set multiple thresholds for the same signal? Like say I want to trigger a threshold crossing of both 5V and 6V. Can this be accomplished by simply connecting the same analog signal to two input channels and setting a 5V threshold on the first channel and a 6V on the other?
When I call the function 'getData()', does it only return data between the most recent 'startLogging()' and 'stopLogging()' commands?
Thanks a lot for all your help!
--Matt