LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 26 occurred at handle error HELP!

I am trying to control a XY motorized stage using LabView 2015.

The vi run fine when the distance is set to 0 um. However when the distance is not 0 um. The following occurs:

Error 26 occurred at handle error

Possible reason(s):

LabVIEW: Null window.

Any suggestions to solve this?

Thanks.

0 Kudos
Message 1 of 5
(3,429 Views)

Some questions:

  • Which stage? The VI uses code for C-812RS but I couldn't find anything related on Google
  • Is it possible the error is generated by the Send String subVI (check for an error constant containing 26 as the code number)
  • As a blind guess (I have none of your VIs) is it possible that the Close VI throws an error when there isn't an open connection?

GCentral
0 Kudos
Message 2 of 5
(3,398 Views)

@eric2207 wrote:
Error 26 occurred at handle error

Possible reason(s):

LabVIEW: Null window.


It happens when you have a VI whose panel is not loaded when running but it's sub panel is loaded. And the cursor VI is in the calling panel, the cursor setting are applicable only to the VI in which there are placed and the front panel of the VI is since not shown you will get this error.

 

hope you understand and i strongly beleive you may be doing the same...(placed cursor VIs in a VI whose front panel is not loaded when called).

 

Found in this thread.

0 Kudos
Message 3 of 5
(3,390 Views)

Sorry I could not really understand what are you trying to say. So basically, what is the solution?

Thank you.

0 Kudos
Message 4 of 5
(3,372 Views)

The VI runs ok when it is 0 because it makes the state true, and the true staement does not call any of the C182 Vis, i would needm, those VIs, to see deep in to the issue. 

0 Kudos
Message 5 of 5
(3,363 Views)