04-10-2018 08:52 AM
Please forgive my ignorance, but even after everything that I have read, I am still not able to come to decisive conclusion about Labview capabilities.
The question is this:
If I have a custom device which transmits data via Ethernet, can I stream that data into Labview somehow and display it real-time? Again the key here is that the data is coming from an Ethernet cable (as opposed to UART, USB, etc.). Perhaps there is an associated DAQ device that is built for this type of transmission?
Thank you all in advance.
04-10-2018 09:00 AM
Hi,
Can you give us some more details of the device. Have a created any vi for this purpose?
04-10-2018 09:04 AM - edited 04-10-2018 09:04 AM
Hi ce,
can I stream that data into Labview somehow and display it real-time?
Yes - as soon as you know which protocol(s) and port(s) are used, how the data is formatted and anything else you need to know for the communication with your device!
Perhaps there is an associated DAQ device that is built for this type of transmission?
You need to use VISA, TCP and/or UDP functions, but no "DAQ"…
(There might apply other functions/libraries too, like ModBus/TCP.)
04-10-2018 09:06 AM
Yes LabVEW can read data comming on a Ehternet port on your PC.
All you need to know is the protocol that your device is using, and implement that in LabVIEW.
Like for UART and USB, LabVIEW has function for reading Ethernet data.
04-10-2018 09:08 AM
If you are looking for a data throughput measuring solution using LabVIEW...
LIke measuring bits/second, errors, retries, BERT, etc...
Good luck I have been searching for that for years.
04-10-2018 09:10 AM
The device is a custom device that uses a Xilinx Zynq chip which interfaces to an Ethernet controller. So, again, data is being transmitted via an Ethernet Cable.
The protocol is Ethernet. I'm not sure what the port of the computer should be (maybe the Ethernet port?) that's why I'm asking what NI capabilities exist to take the Ethernet cable coming from my custom Zynq device and somehow connect it into the computer and then create a VI which can take the Ethernet data and display it via graphs.
04-10-2018 09:20 AM
Hi,
The protocol is not Ethernet but TCP. Is it running RTOS or Linux? Yes its possible to communicate with labview. Read the Protocol from the supplier manual and adapt accordingly in LABView.
04-10-2018 09:27 AM
The Zynq is running bare metal code. As far as the physical connection between the custom Zynq device and Labview, can the ethernet cable connect directly into the computer's ethernet port and Labview can communicate with the cable directly?
Yes, I'll definitely go and read the specifics of setting up the TCP connection, but I just wanted to know if it was possible.
04-10-2018 09:30 AM
Hi ce,
The protocol is Ethernet.
That's the "hardware" layer (well, just above the hardware)…
You need to know the way your ZYNC is sending those data: TCP? UDP? ModBUS/TCP?
You need to know which port is used: you can have several "port numbers" for TCP and UDP on the very same "Ethernet" connection!
You need to know how the data is formatted: any kind of protocol description for TCP and UDP?
It seems to me you need to read some basics about LAN/Ethernet/TCP/UDP! Go to Wikipedia for reference…