Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

software trigger vision builder

Hello,

 

I am using a smart camera with vision builder 3.6

 

For the moment I have a very simple setup: a loop where I first acquire an image, then write to a local disk using ftp and finally a delay of a few seconds, which defines the rate of image acquisition.

I would like to be able to define the rate of image acquisition using shared variables (so I can define this from a LabVIEW program). First I thought to change the delay but I did not find how to link the value of a variable to the delay step.  My next thought was to have a software trigger. This would be the best solution but again here I could not find how to implement this in vision builder (in the trigger section of the image acquisition step I could only find hardware trigger options). 

So my question is how to implement a software trigger on a smart camera running vision builder.

 

Thanks!

 

Ture

0 Kudos
Message 1 of 2
(3,664 Views)

Hi,

 

Trying to change the delay using a shared variable was a good idea. We'll probably add in a future version the possibility of setting the delay to a previous measurement.

I am afraid that for the moment, the  only solution to do that is using the state diagram and have a first state that polls and detects the change in your shared variable and transition to the next state only when your variable is incremented. The acquisition occurs in a second state.

See attached example writtten in Vision Builder AI 3.6 and LabVIEW 8.5.1.

 

Hope this helps.

 

Best regards,

 

Christophe

 

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