Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Camera wouldn't start in .exe distibution.

I have a .vi file with while loop to acquire and save video. 

Following examples, I create IMAQ session and IMAQ Configure grab, and IMAQ outside the while loop.

(ignore disconnected lines, they are all properly connected, but snippet shows it strangely.)

It works perfectly when run in Labview,

But in the .exe distribution, The .vi recognizes gige camera only after repeat 1-2 Abort execution and Run.

Is it normal for distribution? or need some modification is required before build .exe? 

Camera_Snippet.png

0 Kudos
Message 1 of 2
(1,790 Views)

How do you configure "Session In" in your VI? Set as default? Operator must select?

If the latter, I recommend you to implement event structure before "IMAQdx Create.vi", example is below.

example.png

 

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
Message 2 of 2
(1,713 Views)