03-19-2020 06:44 AM - edited 03-19-2020 07:05 AM
Hi, is there a way I can take a snapshot with a Basler camera when the sensor detects something? Like a trigger? I still couldn't figure it out on the VBAI software or NI-MAX how to do that.
I tried in VBAI to read input digital/analog but it redirects me to configure virtual channels and when I go to MAX I don't know where can I create the virtual channel
Solved! Go to Solution.
03-19-2020 07:20 AM
If you have a digital trigger from a sensor, you can connect triggers to camera and configure properties of camera to be triggered off that input. Make sure the camera accepts the same type of trigger (ie 0-5V) and the second tab of the camera acquisition step let’s you configure the camera trigger settings.
Hope that helps
Brad
03-19-2020 07:37 AM
Ok, I've done that, I set at the acquire image step to have the trigger,the trigger is coming from the robot actually now which is connected to a sensor, but when I run it in a loop, it goes into time out error
03-19-2020 08:25 AM
This means the camera isn't configured right or the trigger doesn't match what the camera expects, or you didn't ground the signal or something else along these lines. What Basler model are you using? You could also try contacting Basler support if you don't see any good reason it's not acquiring.
Brad
03-20-2020 01:56 AM
Which is easier, reading an input via NI-DAQmx and then proceeding to the next step or having the trigger in the image acquisition? Even without the trigger when I run it 1st and 2nd time it captures an image but when I try it the 3rd time it goes into time out error.. I guess I'm gonna contact them