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
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:
Give it a try and tell me if it worked for you.
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?