AnsweredAssumed Answered

vrf VISA Driver bug?

Question asked by VRFuser on Apr 22, 2008
Hello everyone,

I have a driver problem with the HP8753ES VNA and Agilent VEE. I made a very simple program to make sure I could control the VNA through the plug&play driver object. Most commands work just fine with the VNA doing what it should.  But certain commands with particular parameters give me a VEE Run Time Error 815.

One example of a problematic function is the ag875x_markerQuery() function with the "markerQueryRequest" parameter set to "ag875x_MKR_VALUE_STIM_Q" (see function definition at bottom of message):

Error Message:
Error returned from VXIplug&play function call, error value 0xbffc0d38 Eror number: 815 Could not match request to valid choices!;  Request=`VALUE'
An Error occurred while calling the driver in transaction number 3 Transaction was calling 'ag875x_markerQuery(instrHandle, Marker_Query_Result_1, Marker_Query_Result_2, Marker_Query_Result_3, ag875x_MKR_VALUE_STIM_Q, ag875x_MKR_1, ag875x_CH1, Marker_Query_Result_4)'
Object title: To/From HP8753ES
Object type: VXIplug&play

I know this sounds more like a VISA driver related problem and I don't know if I should address this question to this mailing list but maybe someone has come across this kind of problem before or can redirect me to other helpfull ressources.

Thanks in advance.
Rafael

Here's my setup:
Programing environment : Agilent Vee Pro 8.5 Instument : HP 8753ES - firmware V.07.72 Instrument driver : ag875x VXIplug&play driver Ver. A.01.01 (October 2001) Interface : HP82350A PCI GPIB card Note : In the quest to resolve this issue I also tried the other driver provided on Agilent's website (Ver. A.02.11 - November 1999) and also with Agilent Vee Pro 7.0 but with no luck.

Here's the function definition from the driver help file:
ag875x_markerQuery(ViSession vi, ViPReal64 markerQueryResult1, ViPReal64 markerQueryResult2, ViPReal64 markerQueryResult3, ViString markerQueryRequest, ViInt16 getMarker, ViInt16 markerQueryChannel,
ViPReal64 markerQueryResult4);


---
You are currently subscribed to vrf as: ming_meng@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".

Outcomes