Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB-USB-HS CAN COMMUNICATE WITH MY DEVICE IN ANOTHER COMPUTER

I HAVE A GPIB-USB-HS I USE IT IN A COMPUTER AND WORKS OK I DEVELOP A PROGRAM IN VC++ 6.0 BUT WHEN I INSTALL THIS PROGRAM IN A NEW COMPUTER IT DON'T WORKS BUT IF I USE THE MAX I CAN TALK WITH MY DEVICE JUST WITH MY PROGAM I CAN'T

0 Kudos
Message 1 of 4
(3,551 Views)

Hi Gene74

 

Are you getting any error code? Which was the resource name in the old computer and which is the device name in the new computer?

 

Regards

Esteban R.

0 Kudos
Message 2 of 4
(3,532 Views)

Hi Esteban thank you for your response,

 

I didn't error code, my program is running normally in a new computer but I can communicate with my device just through of use the MAX 5.3.0 and I use the NI-488.2 Ver. 2.7.3. my device is a HP4278A I don't know how is different between my old and new computer

0 Kudos
Message 3 of 4
(3,516 Views)

Hi DicHutchings

 

It seems that the driver that you are using is the Keithley driver on not the NI driver. I think that the clear function will close the reference, but I am not sure as I have not use that driver before. That solution should work, but keep in mind that if you are constantly creating and closing the reference you are unnecessary repeating code and eventually might generate an error. From my point of view it will be better to initialize the port, run the sweep on the subroutine and at the end of the execution close the reference.

 

 

It will be better to create a new thread, but if those drivers are from keithley it might be better to post the question in a Keithley forum

 

Regards

Esteban R.

0 Kudos
Message 4 of 4
(3,492 Views)