Triggering Gige camera on external analog signal (ttl)
Hardware : GS660 - Allied Vision Technologies (GiGe camera)
Software :
· OS: Windows XP sp3 (x86)
· Programming Environment: Labview 2010 sp1 (x86)
· External TTL triggering system (producing analog 5V signals)
Problem in hand: Create a labview program to control the camera and set the camera into wait mode . Each time the camera receives a TTL signal (Rising Edge) the camera should take a picture . This picture should then be saved in the HDD of the computer.
Steps of the Labview program:
- Initiate the camera
- Set the appropriate attributes
- Provide live camera feed so that the user will be able to check and update certain attributes such as exposure time etc. (into a while loop)
- Start the acquisition
- Wait for the external TTL signal ,each time a signal comes take a picture and save it
Detailed steps:
- Initiate the camera provide camera name etc. (check for initiation errors)
- Set attributes : Set the trigger mode on , set what is going to happen on each TTL signal, set the acquisition mode , set the event trigger on the rising edge of the signal etc.
- Create a live camera feed with fields which correspond to certain attributes of the camera such as exposure time etc. The user should be able to check the live feed and adjust the values accordingly
- Set up the acquisition , start the acquisition
- Wait for the external TTL signal (the camera provides a hardware facilities to send and receive TTL signals from external sources and we are going to use that since it is going to be more robust and efficient , regarding latency and lost frames
- At this point the user won’t be able to check the live feed
- If users wish to go back they could easily do so by stopping the waiting mode and return to the previous screen so they can be able to adjust the attributes once more.
Please find attached my draft VI for the above scenario.