08-10-2015 02:27 PM
Hi everyone,
I am trying to trigger my Basler acA-1300-gm via software trigerring.
According to the manual from Basler, I need to do some acquisition trigger settings (shown in the attached example), prior to attempting to execute the 'Triggersoftware' Command.
In MAX, triggering the Software trigger Command seems to work just fine (after applying the needed settings to 'TriggerSelector', 'TriggerMode', 'TriggerSource', etc...).
In LabVIEW, however, after applying all the settings, and attepmting to execute the SW trigger command, the grabbing executes continously as if TriggerMode is set to Off.
When I remove the SWTrigger command from the loop, the grabbing terminates on a timeout, which is expected as it is waiting for the SWTrigger command to start execution.
This tells me there is something wrong with how I am implementing the 'TriggerSoftware' command execution, causing the continous grabbing.
I searched the forum for a similar case, and found this thread (http://forums.ni.com/t5/Machine-Vision/Triggering-a-GigE-camera/td-p/535207/page/1), which was helpful until the point where I am now stuck.
Thank you,
Omar
08-12-2015 02:57 AM
A solution was found.
The SW trigerring (essentially 'TriggerSoftware' attribute write in a case structure), shall be placed in a loop parallel to the grab execution.
This way, a grab will occur only when a trigger is activated.
08-12-2015 03:25 PM
Great thinking!