LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding my Ethernet Connection in MAX

I am trying to use MAX to add my (only) ethernet connection to the list of VISA controlled ports in LabVIEW. How is this done?!?

Any help is much appreciated.

Thanks,

Russ
0 Kudos
Message 1 of 4
(3,203 Views)
I think I'm confused about what you are trying to do. Usually, you configure remote devices you want to talk to. For example, if I have an Ethernet-based Tektronix TDS 3054B scope that I want to talk to, I can set up a VISA alias for its IP address (e.g., TCPIP::128.129.130.131::INSTR, for a VXI-11 device like the Tek scopes).

From your description, it sounds like you're trying to add yourself as a device you want to talk to. Do you have some sort of TCP listener set up on your own machine? If so, you could use the loopback address of 127.0.0.1 to talk to yourself. (Perhaps with the SOCKET resource type.)

Anyway, if you can clarify what you are trying to do, we might be able to provide more help.

Brian
0 Kudos
Message 2 of 4
(3,203 Views)
Russ:

If what you're trying to do is make the VISA resource appear in the drop-down list in the VISA I/O refnum control, then you need to set this up in MAX. Right-click on Devices&Interfaces and create a new VISA TCPIP resource, and give it an alias. Then it will show up in LabVIEW.

Is that what you're trying to do?

Dan Mondrik
National Instruments
Message 3 of 4
(3,203 Views)
Thanks for the quick responses. I guess I didn't give enough detail in my original question. I'm trying to connect a LeCroy WaveRunner 6051 (Oscilloscope) to the system through ethernet. However, I can see no ethernet port in the VISA I/O control (only my serial, parallel, and GPIB ports). So I was guessing that I needed to setup the ethernet port (using MAX) before I would be able to use it in LabVIEW.

So, I'm in the process of setting up a VISA TCPIP resource, but am having a bit of trouble with it. I guess the Oscilloscope is not VXI-11 compatible as no instruments are found when I try to setup a VXI-11 resource. Instead I'm trying to setup a Raw Socket. However I'm not sure of what the Port Number is. Is this number pre-configured to the instrum
ent (do I need to look this number up somewhere), or do I just assign it and use it when I address the instrument?

Hope this is a bit clearer, and thanks for any response.

Russ
0 Kudos
Message 4 of 4
(3,203 Views)