LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX Invoke Node returns -2146959355

I ran the attached VI on LV 5.1.1 w/ no problems. Its purpose is to change the configuration of an HP16522A Pattern Generator accessed by LAN (hplogic1 is the mainframe's IP). I've also installed LV 6i at the same time, but whereas LV 5.1.1. still works fine, LV 6i fails - but only on the 'LoadFile' Invoke Node. Also, if I connect 'StatusMsg' Property Element to an indicator, LV 6i shuts down abnormally with a MS/C++ error.

I've tried loading the LV 5.1.1 VI on LV6 but the result is the same.

My OS is Win2000 5.00.2195/Service Pack 2.
0 Kudos
Message 1 of 3
(2,807 Views)
One thing that you may try to solve this ActiveX error is to, in LabVIEW 6, select File>>VI Properties. Select Execution from the category box and set the Preferred Execution to user interface. This should solve the problem.
Also, National Instruments has a LabVIEW driver for HP16522A, but it is somewhat different for LabVIEW 5.1 and 6i. The VIs, and the ActiveX objects they use may be different for these two versions. You may consider downloading the driver for LabVIEW 6i from:
http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/16f803b84cc3b502862568ab005fb9ea?OpenDocument

Zvezdana S.
National Instruments
Message 2 of 3
(2,807 Views)
Right on the spot! I haven't tried the drivers but the original VI works just fine!

I still would like to understand why this solved the problem. Could you please direct me to a document where these issues are discussed?

Thanks...
0 Kudos
Message 3 of 3
(2,807 Views)