110
Syntax
HRESULT Buzzer_Off (
[out, retval] VARIANT_BOOL* Success
);
Parameters
Success
[out, retval] Returns TRUE if the buzzer was turned off.
Buzzer_GetState ( )
Buzzer_GetState ( )
Buzzer_GetState ( )
Buzzer_GetState ( )
Emits a beeping noise from inside the WACI.
Syntax
HRESULT Buzzer_Off (
[out, retval] long* State
);
Parameters
State
[out, retval] Returns 0 if buzzer is off 1 if buzzer is on.
Logging Methods
Log_Write ( FileName, IsExpression, Buffer, MaxSize )
Log_Write ( FileName, IsExpression, Buffer, MaxSize )
Log_Write ( FileName, IsExpression, Buffer, MaxSize )
Log_Write ( FileName, IsExpression, Buffer, MaxSize )
Writes a string to the log file identified by
FileName
.
Syntax
HRESULT Log_Write(
[in] BSTR FileName,
[in] long IsExpression,
[in] BSTR Buffer,
[in] long MaxSize
[out, retval] VARIANT_BOOL* Success
);
Parameters
FileName
[in] Name of the log file.
IsExpression
[in] Set to 0 if
Buffer
is a simple string, and 1 if
Buffer
contains an expression.
Buffer
[in] String to write to the log file.
MaxSize
[in] The maximum size the log file can grow to. Once the file reaches this size, then the oldest
data is discarded. to make room for the new data.
Success
[out, retval] TRUE if the buffer was cleared, FALSE if buffer failed to clear.
Remarks
The Msg parameter text should be passed in as a URL encoded string. To have a Nul character sent out the
serial port, pass a “%00” as part of the Msg string.