Difference between revisions of "VALert"

From IPLOG
Jump to: navigation, search
(VALERT library)
(Client)
 
Line 12: Line 12:
 
|BUS
 
|BUS
 
|STRING[255]
 
|STRING[255]
|RS485 bus (eg. /dev/tty3)
+
|RS485 bus (eg. /dev/ttyS2)
 
|-
 
|-
 
|in
 
|in

Latest revision as of 08:53, 10 February 2021

Back to Libraries

VALERT library

Client

VALERT_RX_EVENTS

Read events from given VAlert device

in BUS STRING[255] RS485 bus (eg. /dev/ttyS2)
in BAUDRATE UINT RS485 baudrate (default 2400)
out ERR BOOL indicates some error occurs
out ERR_ID WORD identifies occured error by unique code (see unique code)
out VALID BOOL indicates success operation and valid output

VALERT_PRINT_EVENTS

Print received VAlert events

VALERT_EVENT

in ZONES STRING[255] zones list (eg. 1, or 1,2,3)
in SENSOR STRING[255] sensors list (eg. 1, or 1,2,3)
out ERR BOOL indicates some error occurs
out ERR_ID WORD identifies occured error by unique code (see unique code)
out VALID BOOL indicates success operation and valid output