Ewon TechForum
Providing technical solutions to technical requests


Get Ewon information
claude.feugier@ite-sa.fr Offline
Claude
#1
Hi,

ViewOn 4.0,

what is the syntaxe to get ewon information or identification ?

to get time : viewon!=time$

to get ewon identification : viewon!=?

Thank's
Reply

simon Offline
eWON Support
#2
The code is


Code:
SETSYS SYS, 'Load'
viewon!= GETSYS SYS, 'Identification'


.png   2016-11-02_17-19-21.png (Size: 58,05 KB / Downloads: 34)
Reply

claude.feugier@ite-sa.fr Offline
Claude
#3
(02-11-2016, 06:20 PM)Simon Wrote: The code is


Code:
SETSYS SYS, 'Load'
viewon!= GETSYS SYS, 'Identification'

Good. Thank you very much indeed.
Reply

dmned Offline
Junior Member
#4
(02-11-2016, 06:20 PM)simon Wrote: The code is


Code:
SETSYS SYS, 'Load'
viewon!= GETSYS SYS, 'Identification'

When I copy/paste the above code into my script I receive 'variable not found'.

<<UPDATE>>
Changed the variable to viewon$ and it worked....
Dean Nederveld
Case Engineering, Inc.
Lakeland, FL
Reply

simon Offline
eWON Support
#5
Hi,

Yes because the variable viewon! only exists when using this script in viewON.

Try

SETSYS SYS, 'Load'
Name$ = GETSYS SYS, 'Identification'
PRINT Name$

Simon
Reply



Possibly Related Threads…
23-03-2020, 04:24 PM
Last Post: simon
  Creating Totaliser Within eWON Started by Josh
3 Replies - 1.006 Views
14-02-2020, 06:06 PM
Last Post: simon
24-01-2020, 09:45 PM
Last Post: tedsch
  eWON and ThingWorx Started by simon
13 Replies - 6.246 Views
17-01-2020, 05:55 PM
Last Post: ltitel
07-01-2020, 03:34 PM
Last Post: simon
03-09-2019, 02:08 PM
Last Post: simon
  MQTT eWon Flexy 205 Started by RFreist
3 Replies - 1.411 Views
18-07-2019, 12:30 PM
Last Post: simon
20-05-2019, 03:36 PM
Last Post: simon
15-05-2019, 09:49 PM
Last Post: Bernd
26-04-2019, 10:32 AM
Last Post: simon



Users browsing this thread:
1 Guest(s)



Theme © Ewon 2019 - Forum software by © MyBB - Cookie policy