LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Xantrex HPD driver for LabVIEW 2009

Solved!
Go to solution

I've seen there are other NI products that have drivers for the Xantrex HPD power supplies.

 

Does anyone have one that works for LabVIEW 2009 (or earlier)?

0 Kudos
Message 1 of 9
(3,597 Views)
Instrument drivers can be found in the Instrument Driver Network. The one for the HPD is here.
Message 2 of 9
(3,591 Views)

Thanks!  That was fast!   🙂

 

Let me be more specific,  I need a driver for RS-232 for the Xantrax HPD power supply.

 

 

Message 3 of 9
(3,584 Views)
Those drivers use VISA. VISA can be used to control an instrument over RS-232, GPIB, or TCP/IP.
0 Kudos
Message 4 of 9
(3,578 Views)

Hey !  There is a COMMA between GPIB and SERIAL!

 

THANKS, will try them.

0 Kudos
Message 5 of 9
(3,566 Views)

So far an exercise in futility.

 

Programs look ok.  (THANKS!)

 

Appear to be sending and receiving (checked by looping back to com2 and receiving).

 

PS not yet responding.  I think it's got me on 'ignore'.

 

 

0 Kudos
Message 6 of 9
(3,528 Views)
You will need to go through some basic troubleshooting steps. Verify that you have the correct serial port settings. Fire up HyperTerminal (if you're on Windows) to make sure you can communicate with the power supply. This will help isolate hardware issues like cables (as in null modem vs not).
0 Kudos
Message 7 of 9
(3,519 Views)
Solution
Accepted by topic author Test_Engineering_Leader

OK.  Got it.

Hyperterminal worked.

It verified that port settings and command syntax was correct.

 

ALL the programs in the LabVIEW examples don't get the CR function to the power supply.  When I hard coded the CR function following the command (also hard coded) it worked.  Xantrex (now Sorensen) manuals include NO simple examples - one just has to know from experience (catch 22) how to do it.

 

Of note also is that one must send a both voltage and current setting commands as both are zero by default.  (If you send only one, nothing APPEARS to happen because the other is set to 0.)  That also could have been included in a beginning example.

 

<end of rant>

 

THANKS for your help!

 

0 Kudos
Message 8 of 9
(3,505 Views)
The initialize function does set the termination character to CR. There is no need to modify any other functions but you might want to spend some time seeing why the init function does not appear to work for you. I would start by replacing that 'Old' VISA Open with the one on your palette. That has been obsolete for quite a long time and I have had a lot of problems using it with current VISA versions.
0 Kudos
Message 9 of 9
(3,501 Views)