General Information Methods
AllState_Get ( )
Returns the entire hardware state
Syntax
HRESULT AllState_Get(
[out, retval] VARIANT* Array
);
Parameters
Array
[out, retval] Array representing entire hardware state.
Remarks
The array is filled as follows. Each port value is separated from the next port value by a comma.
Element
#
Field
Type
Example
0
Date
DATE
1
Serial Rcv Buffer
Count
BSTR
“0,1092”
2
Relays
BSTR
“1,0,0,1”
3
DIO IsOutput
BSTR
“0,1,0,0”
4
DIO State
BSTR
“1,1,1,1”
5
DIO Is Pulled Up
BSTR
“1,0,0,0”
GetMachineType ( )
Returns the type of WACI
Syntax
HRESULT GetMachineType(
[out, retval] long* Type
);
Parameters
Type
[out, retval]
GetFirmwareVersion ( )
Returns a string containing the version information about the firmware loaded into the WACI.
Summary of Contents for WACI NX-22
Page 36: ......
Page 53: ...Finally drag and drop selected files from your File Explorer...