Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows/CVI hp3852a instrument library problem

Can't initialize instrument!!!!
2644,59 Warning: Local 'hp3852a_hsr' has not been initialized
Thanks for the help!!!!
0 Kudos
Message 1 of 2
(3,156 Views)
Hi,

This is a strange warning. Somehow it is considering that hp3852a_hrs is a local. the problem has to do with the index local variable. If you initialize 'index' with a value, the warning disappears. In any case, you can compile and run a program ignoring this warning.

The compiler is not parsing the cod correctly. I don't know why, but at least the you can use this workaround.

DiegoF.
National Instruments.
0 Kudos
Message 2 of 2
(3,156 Views)