ClearOne Writing StreamNet User Manual
Page 52
Advertising

Writing StreamNet Device Drivers
C-6
All specifications subject to change without notification. All rights reserved. Copyright © 2007 NetStreams
Main +1 512.977-9393 / fax +1 512.977.9398 / Toll Free Technical Support +1 866-353-3496
3600 W. Parmer Lane, Suite 100; Austin, TX 78727 /
www.netstreams.com.
createButton(
"2"
,
"Power Off"
,
"POWEROFF\r"
)
createButton(
"3"
,
"Switched"
,
"CYCLESW\r"
)
createButton(
"4"
,
"High Current"
,
"CYCLEHC\r"
)
createButton(
"5"
,
"All Off"
,
"ALLOFF\r"
)
createButton(
"6"
,
"Cycle"
,
"CYCLE\r"
)
-- create a timer to call queryStatus every 10
seconds
createTimer(10000, queryStatus)
-- every one second call pollResponse to check for
asynchronous responses
-- (stuff it sends without being asked)
createTimer(1000, pollResponse)
Advertising