AnsweredAssumed Answered

E5071B Network Analyzer with Matlab C-driver

Question asked by aljabban on Oct 17, 2014
Hi, I have downloaded the Matlab C-driver for the E5O71B Instrument and I am now able to change the values of properties of the instrument.
My problem is that I am trying to use the channelmeasurementcreate function which has the following format:

INVOKE(OBJ,'channelmeasurementcreate',REPCAPIDENTIFIER,RECEIVERPORTVAL,SOURCEPORTVAL)
The parameters are REPCAPIDENTIFIER, RECEIVERPORTVAL and SOURCEPORTVAL

so I am calling this function with REPCAPIDENTIFIER = 'Channel1'            RECEIVERPORTVAL= 2             and           SOURCEPORTVAL=1

This is the error that I am receiving:

"An error occurred while executing the function.
The instrument returned an error while executing the function. The number of levels in the selector is not valid for the"

I think my REPCAPIDENTIFIER parameter is wrong. 
Any ideas?

Note: I am doing the function call using the Test & Measurement toolbox

Thanks  

Outcomes