LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling power supply through second ethernet port of NI9074

Hi, everybody.

I'm trying to send some commands to power supply, Agilent N6701A, using cRIO NI 9074's second ethernet port. I have done the following configuration:

 

-PC-Host: Windows 7, IP 192.168.0.1, subnet 255.255.255.0, gateway  and DNS in blank.

 

-NI 9074: first port (eth0): IP192.168.0.2, subnet 255.255.255.0, gateway and DNS 0.0.0.0

second port (eth1): IP 10.0.18.1, subnet 255.255.0.0

 

-N6701A: IP 10.0.18.3, subnet 255.255.0.0, gateway 0.0.0.0

 

I'm using a straight cable between Host and eth0, and a crossover between eth1 and N6701A.

 

I made this simple project but I'm not achieving to turn on/off the power supply. Where is the problem?

Thanks for help

0 Kudos
Message 1 of 3
(2,460 Views)

Hey jonesjol,

 

Usually there is more to do than just send commands to the instruments (e.g., set up correct baudrate, send a set of primary required commands in order to make the device start receiving commands, and so on).

 

My first suggestion is download the Instrument Driver for your Power Supply (N6701A). There is two options for doing that:

 

  1. So go to ni.com/idnet and search for "N6701A"
  2. Download it through LabVIEW (Tools >> Instrumentation ... >> Find Instrument Driver). The Wizard will guide you through the steps of searching, dowloading and installing, and using the API.

 

Give it a try and tell me if it worked for you.

 

Best,

 

 

Felipe Flores
Technical Support Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,399 Views)

Hi,

I have downloaded before the driver and it didn't work. If you see in the project I've done I used low level functions those are used in the N6700 driver.

The problem is the configuration of cRIOs' second ethernet port and power supply.

Any other advice?

 

Thx

0 Kudos
Message 3 of 3
(2,355 Views)