LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

exe file crashes system with "VISA find Resource"

Hi there,
does anybody know the solution to the following problem?
I've got a a LabVIEW programme that communicates via RS232. The RS232
Settings can be entered in a special tab on the front panel. The
programme works fine and also the corresponding exe-file (created with
Application Builder 6.0) works, as long as I don't go in the
Settings-Tab. It seems that the "VISA Find Resource-Control" crashes the
system (Windows NT Version 4.0 Service Pack 6: Error Code 5). The system
doesn't crash if I remove this control, but I don't want to do it
without.

Thanks,
Urs
0 Kudos
Message 1 of 3
(2,874 Views)
Urs:

This seems odd and I have not heard of this recently. You should run the Measurement & Automation Explorer, which also calls VISA to find resources. If that crashes, then re-run MAX and it should tell you what search was current at the time of the crash, and let you disable that specific resource.

As an example of where I do remember this happening, it was where some specific serial port was used for some special device that VISA needed to ignore. Disabling that one port solved that specific problem.

If that does not help, please use NI Spy to capture the calls and send the resulting log file to our tech support.

Dan Mondrik
Senior Software Engineer, VISA
National Instruments
0 Kudos
Message 2 of 3
(2,874 Views)
This problem is fixed with the LabVIEW 6.0.1 update available for download
at www.ni.com

Dan Mondrik wrote:
>Urs:>>This seems odd and I have not heard of this recently. You should
run>the Measurement & Automation Explorer, which also calls VISA to find>resources.
If that crashes, then re-run MAX and it should tell you>what search was
current at the time of the crash, and let you disable>that specific resource.>>As
an example of where I do remember this happening, it was where some>specific
serial port was used for some special device that VISA needed>to ignore.
Disabling that one port solved that specific problem.>>If that does not
help, please use NI Spy to capture the calls and send>the resulting log file
to our tech support.>>Dan
Mondrik>Senior Software Engineer, VISA>National
Instruments
0 Kudos
Message 3 of 3
(2,874 Views)