LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GiGe camera waits till there is a TTL signal takes a picture and then waits again for another TTL signal (IMAQdx)

Hello , I have a problem with a GIgE AVT camera.

 

All I want to do is make the camera wait and each time there is a TTL signal snap a picture and save it to the disk.

 

I have spent hours and hours trying to make this work but I had no luck !

 

Could someone with knowledge of the IMAQdx drivers help me please !?

 

I really can't find a solution to this problem!

0 Kudos
Message 1 of 4
(2,452 Views)

Hi ymartz,

 

It seems there are two ways to accomplish this, depending on your hardware.

 

If you have a trigger input to the GigE camera, then I suggest using this with the TTL signal. If you also need the TTL signal in your LabVIEW then you can sample it with a DAQ device too.

The Community example below demonstrates how to do this by creating an artifical trigger with a counter, but the code you would need to use is the setup on the top, which should configure the camera to use the trigger.

 

https://decibel.ni.com/content/docs/DOC-15346

 

If this is not possible with your camera, then I suggest using a software buffer and triggering it to be filled. The Community example below uses this technique.

 

https://decibel.ni.com/content/docs/DOC-7501

 

 

Hope this helps!

0 Kudos
Message 2 of 4
(2,449 Views)

Hello LaThoS, 

thanks for your reply .

 

What i am trying to do is use an AVT GS660 which actually has a hardware trigger input and all i am trying to do is put it in a while loop and make it wait untill there is an external ttl signal, then take a picture , save it and then wait for another ttl signal !

 

I 've seen the examples but i cannot see how they are going to be usefull to me since there is no hardaware ttl signal on the cam( https://decibel.ni.com/content/docs/DOC-15346)

 

I am attaching my sample code.

 

Could you please help me figure it out ?

 

Thanks in advance,

 

yannis.

 

ps:the problems that i am facing is that on ttl the camera starts saving the same image continisously till i stop the loop !

 

 

 

Download All
0 Kudos
Message 3 of 4
(2,445 Views)

Hi Yannis

 

Has this problem now been resolved based on the outcome of your other forum post: "Save images displayed on Vision->Image Display, on disk!"?

 

Regards

Marshall B
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 4 of 4
(2,417 Views)