Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

sorensen

Hello,

 

I have a Sorensen XG 150-10 power supply. I am trying to control the power supply using labview. I have the power supply connected to the computer via ethernet cable. 

 

I have downloaded and installed the driver on sorensen's website that is for labview (From http://www.programmablepower.com/dc-power-supply/xg1500/Downloads.htm). Do I need to download or install anything else from that website in order to be able to control the power supply using labview? 

 

I got a sorensen quick example vi file, and when I try running that I get an error saying that sorensen is not connected, even though I have a direct ethernet connection.

 

I was wondering if someone can help me incorporate 3d party hardware into labview. By the way, I am quite new to labview

Message 1 of 11
(7,268 Views)

Did you use a crossover cable as mentioned in the manual?

Did you set up for communications as in Chapter 6 of the manual?

 

http://www.sorensen.com/products/XTR/downloads/XG%201700_1500_850%20User%20Manual%20M370430-01%20Rev...

 

-AK2DM

 

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 2 of 11
(7,258 Views)

Hey, I appreciate the time and effort you are taking to help me.

 

I did not use a crossover cable like the manual says to use, I was using a direct ethernet cable. Thank you for clarifying that.

 

I am unsure what I have to do to set up the network connection indicated on chapter 6 of the manual. I understand the part about changing the ip address, but the part on the bottom of page 6-8 (pg 212) I am unsure about. That part is just for the software for the enet card (Which I do not intend to use) correct? So, all I have to do to setup the network connection is configure my ip address?

 

Thank you

0 Kudos
Message 3 of 11
(7,252 Views)

Crossover cable shouldn't really be an issue with a modern NIC, they're almost all MDI/MDI-X autosensing anymore.  Easy enough to wire up, just swapping green and orange pairs on one end of the cable.

 

My bet is network configuration though - check the IP's and subnets of the computer and power supply.

They need to be on the same subnet (and have the same first-three-of-four numbers in the IP). 

0 Kudos
Message 4 of 11
(7,247 Views)

Thank you for your feedback snowmule, I will try the ip address using the direct cable. If that does not work I will try to find a crossover cable. 

 

Hopefully I don't need to install any other software or drivers.

0 Kudos
Message 5 of 11
(7,243 Views)

I tried changing my ip address to the ip address indicated on the manual. Unfortunately, I am still getting the error where it says connection not established. But, like you said, I do not think the ethernet crossover would be causing the problem. This power supply is a relatively new one.

0 Kudos
Message 6 of 11
(7,239 Views)
Can you be a little more specific? What is the exact ip address of the instrument and the exact ip address of the nic on your computer?

A basic troubleshooting step would be to try to ping the instrument. Have you done that?
0 Kudos
Message 7 of 11
(7,229 Views)

I am not sure about the ip address of the power supply, but from the manual it looks like it is 169.254.117.119. So, I set my computer to the same ip address to see if it worked, and it did not. I have also tried changing my computers ip address to 192.168.1.1 to see if that worked, and it did not. I will try pinging the power supply next.

0 Kudos
Message 8 of 11
(7,225 Views)
Setting the ip address to be the same as the instrument is just plain silly. Not knowing what the instrument's ip address is also downright silly. The manual explains how to view what the enet address is and how to change it. Read the manual again and actually do what it says.
0 Kudos
Message 9 of 11
(7,206 Views)

"To determine what IP address to use, use the first 2 octets (in the above case “169.254”) of the PC’s IP address and set a unique value for the third and fourth octet as long as there are no conflicts with any other IP addresses (other instruments) on the same private network. In this example, 169.254.0.209 would work."

 

http://www.programmablepower.com/dc-power-supply/downloads/XG_Family_Manual_Programmable_DC_M370430-...

 

Later, it says we can find the ip address of the device using LXI discovery browser. However, when I install the discovery browser, during installation it just takes me to measurement studio? 

 

 

0 Kudos
Message 10 of 11
(7,191 Views)