06-05-2011 11:38 PM
Hi,
i'm doing a lie detection system using the events.so the first event i'm specified is to collect the threshold physiological reactions of the subject when the sensorDAQ is detected. so i created an event sensorDAQ connected-->value change. but the problem is that even if the sensorDAQ is connected, the event is not triggering. why is this happenning?please help me? i have attached a screenshot of the block diagram below.
06-06-2011 12:09 AM
Events are primarily for user actions on controls on the front panel.
Your "sensor DAQ connected" is a simple indicator and an change in its value will not trigger an event.
(To trigger an event programmatically, you need to write to a signaling value property.)
Can you attach the actual VI instead of a picture? Your code makes little sense from the part we can currently see. Are there other event cases?
All you might need is replace the event structure with a simple case structure and wire the boolean to the selector.
06-06-2011 12:20 AM
thanks for getting back to me. i've attached the vi here.i did not understand about how to use the case selector instead of the event structure.as the first stage, i'm trying to get the threshold physiological reactions of the subject and save it to the tdms file so that i can use it later for the analysis,this is dont in the first event.after the event execution is finished, i will invoke another event where the further interrogation and signal analysis will be taken place.
so i cannot replace event structure with cases,isnt that right?