RTC
®
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
99
innovators for industry
Ctrl Command measurement_status
Function
returns the status of a measurement session started via
Result
busy
true (
≠
0 ) : a measurement session is currently in progress
false ( = 0 ) : no measurement session is currently in progress
position
current position within the RTC
®
4’s measurement storage area
0
≤
position
≤
32767
Integration
Pascal:
procedure measurement_status(var busy: wordbool; var position: word);
C:
void measurement_status(unsigned short *busy, unsigned short
*position);
Basic:
sub measurement_status (busy As Integer, position As Integer)
Comments
• The
command will always cause exactly 32768 values per measurement
channel to be measured and stored onto the RTC
®
4.
References
Ctrl Command quit_loop
Function
stops continuous output of the two lists started with
Integration
Pascal:
procedure quit_loop;
C:
void quit_loop(void);
Basic:
sub quit_loop()
Comments
• The current list will execute completely before execution is stopped.
References
Ctrl Command read_io_port
Function
returns the state of the 16-bit digital input port on the “EXTENSION 1” connector
Result
unsigned 16-bit value (DIGITAL_IN0 … DIGITAL_IN15)
Integration
Pascal:
function read_io_port: word;
C:
unsigned short read_io_port(void);
Basic:
function read_io_port()%
References