LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why is the event not invoking when the sensorDAQ is detected?

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.

 

event.JPG

0 Kudos
Message 1 of 3
(2,239 Views)

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.

0 Kudos
Message 2 of 3
(2,236 Views)

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?

0 Kudos
Message 3 of 3
(2,234 Views)