LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling the hardware with Ethernet

Hi,

I am trying to connect and control an electronic load with Ethernet/LAN connection to do some measurments over LabView. I made a ping test to see if it works, and yes it did work, but I dont know hot to implement it into LabView. I use Elektro-Automatik electronic load, and I have already VI (got it on CD). 
I am beginner, help me grow 🙂

0 Kudos
Message 1 of 11
(4,240 Views)

Hi vlado,

 

I have already VI (got it on CD).

What about using this VI?

What happens when you call this VI with proper settings? Is there a manual on your CD?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 11
(4,229 Views)

GerdW, thanks for your answer.
There is a manual that explains how to connect with USB interface and I would like to do it with LAN connection.
I've got this VI, I suppose it should be imported and somehow connected with LAN.

0 Kudos
Message 3 of 11
(4,206 Views)

Hi vlado,

 

There is a manual that explains how to connect with USB interface and I would like to do it with LAN connection. … I suppose it should be imported and somehow connected with LAN.

So the manual only mentions USB (or virtual COM port from your image) connection, but you want to use a LAN/TCP-IP connection? What does your manual say about this?


I've got this VI,

You didn't attach a VI, all I see looks like a screenshot of a frontpanel.

But some of the visible text seems related to (virtual) COM port communication…

 

You neither mention the type of hardware you want to use (type number, exact model) nor did you attach a VI or a manual PDF…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 11
(4,198 Views)

Sorry, my bad. Thank you for writing.

I am using EA-EL 9400-150 (Elektroautomatik GmbH) and no, in a manual doesnt say anything useful. I have attached manual and vi so u can see.
Do you have any advice how to do it?

Download All
0 Kudos
Message 5 of 11
(4,193 Views)

Hi vlado,

 

unfortunately I cannot open your LV2016 VI. Could you convert it for LV2014 (file menu -> save for previous)?

 

manual doesnt say anything useful.

It has all you need! It says which software you need to install…

As it doesn't mention a LAN port: why do you think you can control your device using the LAN port?

The manual also list contact addresses for support. Did you call EA?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 11
(4,186 Views)

I attached a zip file. You need to open EL Series, and my load is EL900. I cant do the thing with converting, because its password protected.
I already connected this load with LAN in one other program: EasyLoad Lite. But its not programmable and I cant play there.
No I didnt call anybody yet.


0 Kudos
Message 7 of 11
(4,176 Views)

Hi vlado,

 

your VIs are able to control your hardware using the LAN interface.

All you need to do is providing the corresponding VISA resource in the first element of the "Device information in" array!

 

- In the "IF-XX\common" folder you will find a "Device Scan" VI you can use to scan for your device.

- When you know the IP of your device the VISA resource should be formed by "TCPIP0 :: IP :: Port :: SOCKET" with IP being a standard IP4 address. Port uses 1001 by default, atleast it is set so in this VI. (Example: "TCPIP0 :: 1.2.3.4 :: 1001 :: SOCKET", spaces before and after :: to avoid smileys)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 11
(4,167 Views)

Hi GerdW,

the thing is that I am unable to write anything in this table. I just cant edit any element there (on the pic). I tried Ctrl+M to change in edit mode but it says that this .vi is password protected....

0 Kudos
Message 9 of 11
(4,159 Views)

Hi vlado,

 

I was talking about the "Device information in" array in the "main" EL9000 VI! You can input any kind of information you want regardless of block diagram protection…

 

In the Scan VI you only need to provide an IP (or IP range), the device array will be filled by this VI…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 11
(4,154 Views)