LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

communication via Ethernet

Hello,
I'm trying to communicate with a spectrum analyser via ethernet RJ45. So I have connected it and try to see if the spectrum analyser has an IP address but nothing. When I use the software provided by the constructor, I choose ethernet communication, but it replies that communication failed. I really don't know how to communicate with it :(. Have to create a local area network ??
 
Thank you very much
0 Kudos
Message 1 of 8
(3,398 Views)
ah I saw that my PC as to have a VXI-11 client implementation. But what is this protocol and where could I find it ? Thank you 
0 Kudos
Message 2 of 8
(3,395 Views)

VXI-11 is a protocol for the instrument - not your pc. http://digital.ni.com/public.nsf/allkb/3DD043326CF5BF6786256C10005151DC

Is the IP of your network card set to the same subnet as the IP of the instrument? You need to do that. Are you using a direct cable from your pc to the instrument? If you are, you need to use a cross-over cable.

0 Kudos
Message 3 of 8
(3,373 Views)
yes I'm sure that my network card is set to the same subnet as the IP of the instrument. Moreover, I use a cross over ethernet cable. Even with that, it doesn't work. I don't understand why
0 Kudos
Message 4 of 8
(3,361 Views)
Can you ping it? If you can't, it might be time to talk to the vendor of the instrument so see what else might be set wrong.
0 Kudos
Message 5 of 8
(3,349 Views)
Yes I have tried to ping it, but it relies that the instrument is unreachable.
 
I have followed what they said in the documentation, but i have problems.

I put the ethernet cable ( i have tried with a normal and with a cross over). In the spectrum analyser, I set " set the IP adress dynamycally using DHCP ". I have checked on my computer ( which is very recent) that the DHCP is well activated, and it is ok . But the computer tells my that the connexion is limited or inexistant. When I try to use the software provided by the constructor, i can t connect.

Normally when I use DHCP for the spectrum analyser, the IP adress should be displayed after the power sequence. But the only thing which is written is : IP xxx.xxx.xxx.xxx >

Then I have try to put manually the IP adress, but in this case too, it doesn't work. It is very strange

0 Kudos
Message 6 of 8
(3,345 Views)
I don't know what else to try. You should really contact the vendor's tech support. If you want additional help, you might try posting a question in the Instrument Control forum. Since you don't have a LabVIEW question, that is where you should have posted in the first place. You also need to provide the make and model of the instrument.
0 Kudos
Message 7 of 8
(3,336 Views)

If you have connected a NIC directly from your PC to the Instrument with a crossover cable you cannot use the DHCP settings. You must be connected to a DHCP server in order to be assigned IP addresses.

On both the PC and Instrument configure the network settings to use static IP Addresses.

Enter an IP Address in the PC manually, (eg. 10.101.0.2) set the Subnet Mask to 255.255.255.0

Enter an IP Address in the instrument the first 3 numbers should match the IP in the computer, the fourth one MUST be different (eg. 10.101.0.5) ensure the Instrument 's Subnet Mask matches the PC.

 

Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
0 Kudos
Message 8 of 8
(3,331 Views)