Download Programmer`s Reference
Transcript
200 NeuroCheck Programmer’s Reference rw; reads/sets visual state of main application window. WindowState VT_I2, Method Description Execute Starts execution of active check routine; returns success or failure. Return type: VT_BOOL Arguments: None Open Opens existing check routine; returns success or failure. Return type: VT_BOOL Arguments: - VT_BSTR FileName: Name of the check routine Quit Closes check routine and exits application. Return type: None Arguments: None ReadDigitalInput Reads current state of a digital input. Returns Boolean value for state of input, or VT_EMPTY on error. Return type: VT_VARIANT Arguments: - VT_I2 BoardIndex: Index of digital I/O board. - VT_I2 InputNumber: Number of input to be read. ReadDigitalInputWord Reads current state of all (16) digital inputs of one board. Returns decimal value of binary number encoding the state of 16 inputs, or VT_EMPTY on error. Return type: VT_VARIANT Arguments: - VT_I2 BoardIndex: Index of digital I/O board. ReadDigitalOutput Reads current state of a digital output. Returns Boolean value for state of output, or VT_EMPTY on error. Return type: VT_VARIANT Arguments: - VT_I2 BoardIndex: Index of digital I/O board. - VT_I2 OutputNumber: Number of output to be read. ReadDigitalOutputWord Reads current state of all (16) digital outputs of one board. Returns decimal value of binary number encoding the state of the 16 outputs, or VT_EMPTY on error. Return type: VT_VARIANT Arguments: - VT_I2 BoardIndex: Index of digital I/O board.