Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display ASCII characters on dashboard
#3
(12-03-2023, 08:58 PM)iliaslamprou Wrote: Hi,
you have to add a java script code.
1. Read all the variables from the script. 
2. Convert the values to characters
3. Create a text from the characters.
4. Write the text to a new Variable


Your example worked great with the input from my Modbus connection after adding another character for the word "Manual"!! This gets me started, have to learn some Javascript to find the null character "0" in the string so that the Json output will always be valid for various string lengths. I haven't coded by line since the 80s so will have to hit the books to learn. 

Thanks again!
   
Reply


Messages In This Thread
Display ASCII characters on dashboard - by slabit - 12-01-2023, 09:31 PM
RE: Display ASCII characters on dashboard - by slabit - 12-04-2023, 03:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)