Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Xantrex XDC Power supply

I'm having issues remotely controlling a Xantrex XDC power supply.  The power supply is connected to the computer through a USB/RS-232 converter, which goes through a powered, isolated USB hub. 

 

I've tried both drivers for the XDC power supply located on the NI website, and I've udated IVI.

 

The error I'm getting is:

 

 

Error -1073807339 occurred

 

 Possible reason(s):

Driver Status:  (Hex 0xBFFF0015) Primary Error:(Hex 0xBFFF0015) Timeout expired before operation completed

 

Any ideas on how I can fix this?

 

Thanks

0 Kudos
Message 1 of 3
(3,603 Views)
There are many possibilites with RS-232. What's very common is that there is nothing to read because the instrument has not recieved the command correctly. Why that could happen is that there is a mismatch between the com settings, an incorrect serial cable, or the command is not terminated correctly. Before doing anything in LabVIEW, I would recomend you first verify communication with a terminal emulation program such as Hyperterminal. Double check the manual for com settings and the cable. Use a continuity check to see what type of cable you actually have. If the instrument has a command such as *IDN?, just keep using that. One adavantage of using Hyperterminal is that vendor should be very familiar with that and you can normally get troubleshooting help.
0 Kudos
Message 2 of 3
(3,601 Views)
Check your port settings first is the baud rate right?  Also check your RS232 cabling!  is the Xantrex expecting a straight or a null modem cable

"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 3
(3,596 Views)