Jump to content

tcp/ip communication condition


Recommended Posts

Hi everyone.

I started a new VI on LabVIEW 2021 to communicate, about tcp/ip, with a led display like a billboard as image below.

bfb6e9a1-eb3b-4bae-90a2-1f443f75059c.jpg.27f036795badfab0d3748905a11037f2.jpg

344a1948-b55b-46d7-a7bb-0dab487771e5.jpg.02d588fd8a703135bd58ef51ff44e1b4.jpg

 

I get a communication as TCP/IP through the manufacturer software, but i didn't know what is the package i need to send, the full package.

image.png.11745b8e41c71d635ac4dd71eb8ebada.png

 

This led display it's a simple command use, with there software (above) or bluetooth in cell phone,  but, to communicate for TCP/IP, they install a conversor, the USR-TCP232-T2 module, as image below

image.png.17828480664abffc213fedb9bd7f5798.png

 

The image bellow, I show the simple program im LabVIEW to command this led display but the main question is: whats is the kind of package i need send to show the message or change the configuration of the display.

image.png.f0451125b5d7981414006c579d163284.png  

image.png.22009760601881bdea5f27acdd96d63d.png

 

In attached, we can see the datasheet that manufacturer send us about this led display and the package to send, but i did'nt undestand how to do 😕
It's my first time towork with TCP/IP on LabVIEW 

manual progração Serial TechnoLEDs padrão RS232-RS485-TCPIP v8.pdf

image.png.2a916bd011abc6bfc9470e0d175d08a2.png

 

image.png.126a515c1b4e2713cd06bd2eba771157.png

 

Something like this:

image.png.df8b87ea62b34568aab665275646aa2f.png

 

 

image.png

Edited by Bruno Leite
add something
Link to comment
  • 3 weeks later...

My Portuguese is absolutely non-existent but the documentation seems pretty clear.

You need to send a binary stream to the device with a specific header and length.

Try to play with the display style of the string.

First you need a string of four bytes, if you enable Hex Display you can enter here "0102 0401"

Then follows the actual string you want to display, filled up to 110 characters by appending 00 bytes (in Hex code) then follows the epilog with the speed indication and what else which you again want to fill in as Hex Display string. Concatenate all together into one long string and send it off. The most difficult part would be to calculate the checksum, everything else is simply putting together the right bytes, either as ASCI characters or hex code.

LED Display message.png

This shows two ways to build an according string to send.

"your text string" is the string you want to send.

the CONTROL BLOCK part needs to be further constructed by you to control speed etc for the display message

Notice the glyphs at the left side of the strings and numeric values indicating the display style, n for normal string display, x for hexadecimal display.

Edited by Rolf Kalbermatter
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.