LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Como envio una matriz de datos booleanos por TCP/IP? How do I send a Boolean data matrix over TCP/IP?

Hola a todos, estoy realizando dos aplicaciones en labview, cliente y servidor, pero necesito transmtir los datos de una matriz booleana, como hago para enviarlos y recibirlos? si alguien sabe les agradezco. Adjunto una foto de la matriz. 

 

Hello everyone, I am making two applications in labview, client and server, but I need to transmit the data of a boolean matrix, how do I send and receive them? if anyone knows, I thank you.  Attached is a photo of the matrix. 

laurarodriguez25_0-1615155376418.png

 

0 Kudos
Message 1 of 2
(1,226 Views)

It depends a lot on details. And also on where you struggling.

 

TCP\IP sends strings. Can you do that?

 

Converting the 2D array of Booleans to string can be done in a lot of ways. Are the sizes fixed? Are the sizes limited? What are the sizes? Is this going to be big arrays?

 

Here's a way:

 

Send Booleans as Numbers.png

 

It can be done a lot simpler, by simply sending the Boolean values (not converting to integers.

0 Kudos
Message 2 of 2
(1,166 Views)