LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I delay an external trigger signal?

The Keyence sensor I use detects the object and triggers the image acquisition (camera and strobe light). I'm using the IMAQ 1394 Configure Trigger.vi. The object, a small droplet, is enclosed in the sensor at the time it is detected. So I need a delay to be able to take pictures of this droplet after it passed the sensor. If I set the sensor to its 70ms delay, the camera and strobe fire multiple times at one acquisition (works fine without delay). Do I have to configure the sensors delay in LabVIEW or should I run the sensor in no-delay mode and set a delay in LabVIEW? And how do I do this?
Thank you very much in advance.

Bernd
0 Kudos
Message 1 of 5
(3,425 Views)
Bernd,

With the 1394 cameras the trigger is passed directly to the camera. So the camera itself it taking the trigger and taking the image then. You can set attributes of your camera. So if your camera supports a delay of the trigger on the camera itself then I would try that way. You can obtain a list of supported attributes from the camera by running Imaq1394 Attribute Inquiry.vi The other option is to have on a NI DAQ board and have it create a delay.

A. Talley
0 Kudos
Message 2 of 5
(3,425 Views)
Hello and thank you for your answer.

How can I know which attributes I'm looking at? Attribute in vi is a number (0,1,2...) and attributes in the Help file are listed with name and code (a trigger delay doesn't seem to be in the list). So I can only guess by the resulting parameters e.g. Attribute 0 is readable, enabled, min=0 and max=1023 or Attribute 8 is readable, enabled, min=1 and max=4095. Attached please find the first part of my vi.

Thanks
Bernd
0 Kudos
Message 3 of 5
(3,425 Views)
If you right click on the terminal and select create control it will make the ring for you. You can also look at the front panel of the subvi. I have attached your VI with this revision.

A. Talley
0 Kudos
Message 4 of 5
(3,425 Views)
Thank you very much. Seems like my camera doesn't have a delay function. I'm going to try an external timer.

Thanks again
Bernd
0 Kudos
Message 5 of 5
(3,425 Views)