EasyManua.ls Logo

Scanlab RTC 4 - Page 99

Scanlab RTC 4
136 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 set_trigger
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 set_trigger command will always cause exactly 32768 values per measurement
channel to be measured and stored onto the RTC
®
4.
References set_trigger
Ctrl Command quit_loop
Function stops continuous output of the two lists started with start_loop
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 start_loop
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 write_io_port

Table of Contents

Related product manuals