Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple device simulator

Hi,

I develop a program in visual c++ to test an other program.

In my PC, i have 2 PCI GPIB Card, 1 card to send and receive data to the instrument and the second to simulate the instrument.So the 2 card are connected and i have not instrument.

My problem is in the test program, i must have 4 device in a card for simulate the instrument and if i use ibdev function to initialize the board, i have ECIC error. And yet the second card is configure in controller.

thanks
0 Kudos
Message 1 of 2
(3,132 Views)
Hi,
 
On a GPIB bus, you must have only one controller in charge (CIC). And the ibdev(...) function can only be used with a CIC.
This error could be caused by the fact that you use the ibdev(...) function with a slave device, or by the fact that you have more than one CIC on the GPIB bus.
 
Please check this two points. It shoudl solve your problem.
 
Regards,
0 Kudos
Message 2 of 2
(3,108 Views)