Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't communicate with Sorensen XG series through USB

Hi all, need help again.  I'm trying to communicate to a Sorensen XG series power supply via USB. I've gone ahead and run the Measurement & Automation, and it detects it on my COM4 port, and that its working properly.

 

I've downloaded all the drivers that I think are necessary from the website (http://www.programmablepower.com/products/XG/XG_Downloads.htm)  There was no 'install' application in the USB driver, so i was slightly confused as to what to do with the un-zipped files.  

 

I try to run the AmetekDC driver application, and it gives me this: "Primary Error:Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system."

 

I pull up the DC850W example VI, and try to run it and I'm faced with this error message "Driver Status:  (Hex 0xBFFA000A) Check that the library name (C:\DC850W\DC850W_32.dll) and prefix (DC850W) are correct."

 

I'm pretty lost at this point, and don't know where to proceed.

0 Kudos
Message 1 of 27
(7,184 Views)

Hello,

 

Are you able to communicate with the device using the VISA test panels? Also if you are not able to communicate with the device using the driver that came with the device, then LabVIEW will not be able to communicate with the device either. It might be useful to contact the manufactorer of the device to troubleshoot as well. 

 

Best Regards,

 

Adam G 

National Instruments
Applications Engineer
0 Kudos
Message 2 of 27
(7,155 Views)

I tried communicating with it through the VISA test panels, and get this error:

BFFF0015

 

I'm also trying to call their tech support but am not getting through yet (they're 'away from the desk', probably out to lunch) - i will keep trying throughout the day.  

0 Kudos
Message 3 of 27
(7,146 Views)

What exactly did you try when you got the timeout error? You know the *IDN? does not work, don't you?

0 Kudos
Message 4 of 27
(7,143 Views)

oh really...that would explain some things....what commands work then or where can I find them?  Thanks!

0 Kudos
Message 5 of 27
(7,138 Views)

ooh okay, i tried *adr and :SYST[<channel>]:COMM[:MCH]:ADDR and that didn't return the errors anymore - the return status stays at 0

0 Kudos
Message 6 of 27
(7,136 Views)

Try :SYST1:IDEN?

 

I'm using a driver that I wrote and not the IVI one. Does the com port show in MAX?

Message 7 of 27
(7,131 Views)

the com port does show up in MAX.  i tried *adr and :SYST1:IDEN and still get x0 as a return status.  Is that what I should be expecting?

 

(sorry i'm pretty new at this, so you'll have to bear with me here on the elementary questions)

0 Kudos
Message 8 of 27
(7,112 Views)

I have no idea what you mean by *adr. In the VISA test panel, if you are doing a write, the status should be 0. That indicates no error. That does not mean much since you can write anything you want and not get an error. You should follow your write with a read (assuming the command is supposed to generate a response). For the :SYST1:IDEN?, you will get a read with AMETEK,XG included in the string.

Message 9 of 27
(7,108 Views)

so i tried following a read with a write, and get the same error: BFFF0015

0 Kudos
Message 10 of 27
(7,098 Views)