LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Visa Error - Gives a POPUP box (LV 7.0)

Hi there,

My error occurs on Labview 7.0.

When there is a "Visa Read" error, the program gives a POPUP box, instead of writing it to the error string.

This stops my program, and makes the user press enter before moving on. Instead of doing this, I need it to be put into the error string and move on.

Can anyone explain why it does this?

Thanks.

-Gene
0 Kudos
Message 1 of 5
(2,993 Views)
gechan wrote:
> Hi there,
>
> My error occurs on Labview 7.0.
>
> When there is a "Visa Read" error, the program gives a POPUP box,
> instead of writing it to the error string.
>
> This stops my program, and makes the user press enter before moving
> on. Instead of doing this, I need it to be put into the error string
> and move on.
>
> Can anyone explain why it does this?
>
> Thanks.
>
> -Gene

Automatic error handling is an option. Is that option off?
0 Kudos
Message 2 of 5
(2,993 Views)
Hello,
This sounds like the automatic error handling in LabVIEW.

This could happen if an error occurred during the VISA Read, and the error cluster wasn't wired out.

You might verify that the error cluster is wired to the error out of the VISA Read.

What is the error message and error code? Does it look like the error is being returned by VISA?

Louis
0 Kudos
Message 3 of 5
(2,993 Views)
Thanks for your response...

Automatic error handling is off.

I made a small test program, with a VISA READ to an unknown I/O device. I tried it both with Automatic error handling off, and on. Both did not give popup boxes.

Can anyone shed some light on this?
0 Kudos
Message 4 of 5
(2,993 Views)
If you have the error cluster wired out of the VISA Read, there should not be a popup. The automatic error handling only puts up the dialog box if an error occurs and the error out is not wired.

With automatic error handling off, does the popup still happen in your original program? If so, did you see both options for turning it on/off. There is an option to enable automatic error handling for new VIs, and one to enable automatic error handling dialogs.
0 Kudos
Message 5 of 5
(2,993 Views)