Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-enet configuration under linux OS

I'm trying to configure a NI-ENET 484 (4 serial port) with NI-VISA 5.0. Though the VISA installation on Opensuse 11.2 is not easy, I think it works now. I tested with USB-6009 device and it works.

I read the ENET manual for the linux part but I've got problems. Visa Configuration starts, I tried to select the interface NI-ENET Serial box, I push Browse, but nothing is shown. I put in the field "Hostname or IP address" the default name on the label, i.e. NIENET but NIVISA seems unable to find the instrument.

I connected the pc (ASUS netbook) to a switch (Sitecom Model ln112V2) and the NIENET to the switch.I have also the LAN coming from the provider to the switch. I use all Ethernet cables (not cross). I saw the each time I connect something to the switch I get from the provider a progressive IP number such as  2.0.45.59, 2.0.45.60 etc. So I suppose that NIENET gets a number like this, but I'm wrong. I also tried to use a router (USRobotics USR5464) instead of the switch and I configured in order to get a automatic HDN such as 192.168.2.1 / 198.168.2.2 etc. but also in this case any number seems to be assigned to the NIENET.

On the ENET the leds PWR/RDY and Link 10/100 are yellow and green and they don't blink. So ENET should be connected with some misterious IP address.

It seems that ENET is undetected by any software. Even the configuration software of the router that shows all the clients when they are connected, isn't aware of the ENET connection.

Can someone help me ? Thanks in advance for your advices.

gianmarco

0 Kudos
Message 1 of 3
(3,418 Views)

Hi Gianmarco,

have you already tried to set a static IP for your device, as described in the "Configuring the Network Settings" chapter of the manual?

Using this way you can know exactly which is the IP address that you device is using.

 

Serena

 

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

Hi Serena,

I just solved it in a different way. I connected a win based PC with Ni-Visa installed. With the Windows version I was able the see the IP number (by the way it was a number similar to those given by the provider but with a lower end number). As soon as I got the IP address with the Linux version everything went fine and the ENET is configured. Now  I'm testing it. It seems that the procedure to recognize the tool is better in the windows version then in the linux one. This is strange because it's normally the opposite. As you understand I'm trying to move from win to linux and I'm testing several tools. Hopefully they will all work in linux, too.

I have some problems to find update documentation in linux, so I think I'll further use this forum.

Thanks and regards

Gianmarco

0 Kudos
Message 3 of 3
(3,384 Views)