LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how i get data in a column of table from hardware using tcp/ip interface

Solved!
Go to solution

Hello every one ,i want to get data from my hardware using tcp /ip interface.and then display that data into one column of table control?can any body tell how to do that .let me clear i have never communicate before with hardware so please help me in detail. 

thankyou

0 Kudos
Message 1 of 8
(3,355 Views)

Hi parii,

 

use TCP/IP functions to read the data from your hardware. (VISA functions might work too.)

Then parse the data and put the values into your table, which is just a 2D array of strings in LabVIEW.

 

It's a very generic answer, but you also asked a very generic question…

Best regards,
GerdW


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

hi GerdW

somebody tell me that the output data from hardware is in string format and i have to extract only useful data from that so i didnot know how to do that .

0 Kudos
Message 3 of 8
(3,322 Views)
Solution
Accepted by topic author parii

Hi parii,

 

ask that "someone" for more specific information.

You need to know the exact format of the strings you receive to be able to parse them!

Best regards,
GerdW


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

HI GerdW,

"that someone" is not here to help me right now.Can you help me out of this with an example vi.please!!!

Thanks

0 Kudos
Message 5 of 8
(3,302 Views)

Hi parii,

 

I don't know your hardware or the strings you will receive.

How could I help then?

Best regards,
GerdW


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

my hardware is laod cell with tcp/ip interface. i have to read weight data from it

0 Kudos
Message 7 of 8
(3,293 Views)

Hi parii,

 

with this little information you supply all I can say is "RTFM"… 😄

Best regards,
GerdW


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