LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Determine analog input task trigger status

I am writing a basic analog input function, which will be triggered via a start trigger sent by another instrument. Is there a way to programmatically deteremine if the Analog Input task has been triggered? I would like to have a Boolean indicator that shows "True" after the Analog Input task is triggered, but I couldn't find out how. Does anyone have a suggestion? Thanks!

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

Is this a continuous acquisition?

 

I am not aware of a function querying the trigger state of a task. Nevertheless, i don't think this is necessary as you usually start reading right after starting the input task.

So in case a trigger is late, you will/should run in a time out error. Otherwise, you will get some data which is a clear indication that the task is running....

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(2,574 Views)
If you really want a green light you could always put in logic to turn on an led on the front panel if the error cluster coming from the read is not showing an error.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(2,547 Views)