05-02-2013 02:30 PM - edited 05-02-2013 02:43 PM
I am planning on using the camera's trigger input to start capturing the image. I have 4 cameras, but I only need 1 image each time. \
Here are the steps I am using:
1. Set the camera to exteral trigger
2. PLC send the trigger to camera to take the picture
3. Read the image from camera.
It only works for the first time becasue it can get the first image, then never refresh the image again..
Here are the sample codes I use:
_session = New ImaqdxSession("Name")
05-03-2013 04:13 PM
How are you running the repeat acquisition? I assume you are running it a loop of some sort. Are you closing the IMAQdx session at any point? This will help understand why we are seeing the behavior you are getting.
05-03-2013 04:46 PM
05-06-2013 09:16 AM
Have you tried looking into the text based vision examples for IMAQdx? There is a triggered grab example that you could use to help you.