I am using an Agilent Infinium scope, connected via LAN to external windows PC. On the PC I am running Labwindows/CVI, and Agilent VSA 89601A software. The VSA software works fine when controlled manually. I have run the ActiveX controller wizard, and have created a *.fp Instrument for the 89600 which contains the entire library of function calls to the VSA.
Heres the problem: Everything compiles fine, but when i call
AgtVsaVector_Open_Application ("c:\\...\\...\\VsaVector.exe", NULL, 1, LOCALE_NEUTRAL, 0, &vsahandle)
i get the error 0x80004002L from winerr.h which is E_NOINTERFACE.
When I try to open VsaVector.exe first, then run a command like 'AgtVsaVector_Open_Application (NULL, 1, LOCALE_NEUTRAL, 0, &vsahandle), i seem to be getting a viable handle (something like '15278200') but then none of the other commands like 'AgtVsaVector_FrequencySetCenter' do anything.
Basically, I'm confident I have the *.fp set up correctly for the vsa, but the only thing i can get the software to do is abort taking data.