From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Ibwrt problem with HP11713A attenuator controller

I'm programming HP11713A attenuator controller. First I writed one *.cpp file and I managed to controll the device the way that I wanted.

Now I'm writing the final version and using c++ classes (controller.cpp, controller.h and main.cpp). I really don't know what is wrong, because ibdev and ibclr functions are successfull, but when I'm trying to write to the attenuator controller with ibwrt I get these error messages:

iberr: 0 (EDVR)
ibctrl: -536215496
0 Kudos
Message 1 of 3
(3,192 Views)
Hi,

That is strange since usually EDVR errors are generated at initialization.

Just a few questions:
What GPIB interface are you using?
What driver version (NI-488.2) and OS are you using?
Do you have a code snipet that reproduces the error?.

DiegoF
National Instruments.
0 Kudos
Message 2 of 3
(3,192 Views)
Hi!

I managed to solve my problem. It was a stupid copy-paste error that was hidden in a long code. Took a while to debug...

Thanks anyway DiegoF!
0 Kudos
Message 3 of 3
(3,192 Views)