Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB Driver VB and VC++

Hello All,

I have two Win32 programs which are developed in VB6.0 and VC++6.0 respectivley. Both of these uses GPIB library to communicate with GPIB devices(With different GPIB address).Both the progarms are for controlling the GPIB devices.
Both the programs run prefectly if only one of them is running. But when i run both of them simultaneously one of the program (developed in VC++) starts behaving erraticaly. It does not sends the command sometime, sometime it sends the command to other GPIB device on the same bus and so on.

Thus i am not able to control the two devices connected to the same controller on the GPIb bus with different GPIb addresses from two different programs.

Can any one give me some idea what is wrong with the progr
ams and how it canbe rectified.

Regards,
Kapil
0 Kudos
Message 1 of 2
(3,232 Views)
Kapil,

What driver version are you using? What operating system? Also, did you use ibconfig in either of your programs to set IbcUnAddr at all? If so, what setting do you have for that?

Let me know the answers to these questions and then I'll have some answers for you.

Thanks,
Scott B.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,232 Views)