LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Camera full Reset - possible ?

Hello,

 

In my my testbed that employs digital camera, sometimes VI terminates incorrectly.

If, after such termination, I launch the VI it doesn't run - digital camera is pending.

After having spent a considerable time we've found problem - since previous launch camera is still waiting for trigger pulse.

 

Is there a possibility to do full camera reset before starting image acquisition (snippets are welcome)

 

Thanks in advance.

0 Kudos
Message 1 of 4
(3,036 Views)

You haven't shown us any code (so we don't know what you are doing), you haven't told us about the camera (so we can't do what you should have done, that is, read the camera's manual to see if there is an input or command to do this).  So the answer to your question is a very strong "Maybe".

 

Bob Schor

0 Kudos
Message 2 of 4
(3,015 Views)

It seems like you should be concentrating on making your VI more robust, rather than trying to pick up the pieces when it fails.

 

It's like asking how to recover a scrambled hard drive after your computer crashes.  You should probably be concentrating on why your computer is crashing and then go fix that.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 4
(2,982 Views)

Hi Pavel,

 

I am actually with billko: making your Vi more robust is the way to go here, I think. If that is not possible for any reason, could you think of a workaround, like producing a 2nd trigger signal to terminate the camera?

 

Best,

Niko

Niko NR
Systems Engineer, National Instruments
0 Kudos
Message 4 of 4
(2,956 Views)