Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How can the attributes of an instrument be changed and saved?

Hi,

 

I'm trying to control an Anritsu network analyzer via GPIB.

I'm getting an error when connecting it, and I found that problem was probably coming from the way that the command has to terminated. Therefore, I need to change the state of one parameter to the instrument, concretely it's the VI_ATTR_TERMCHAR_EN attribute, that has to be from false to true changed.

I've tried to change this attribute with the Visa Assistant of the NI-MAX, there I can change the attribute and I get a return value of 0. But when I reopen the application and I retrieve the value of the parameter I can see that parameter hasn't changed.

Somebody experienced this problem before? ... Do you have any hint on where the problem can come from?

 

Many thanks,

Miquel

 

0 Kudos
Message 1 of 2
(3,272 Views)
Why don't you just set the attribute in your program?
0 Kudos
Message 2 of 2
(3,261 Views)