CBLé System Guidebook 39
About CMD3—Sample and Trigger Setup
CMD3 Operations
CMD3
sets up the sampling rate, when to start collecting data, the
recording time option, and more. It is this command that puts the CBL
into the
READY
state to start data acquisition. This command clears all
previously collected data from the CBL. The first element in the list must
be a 3 to designate
CMD3
.
List Syntax
{3,sample_time,number_samples,trigger_type,trigger_channel,trigger_
threshold,prestore, external_clock,record_time,filter}
Note: The last list sent to the CBL must be a Sample and Trigger Setup
command (
CMD3
). This list should be sent by itself and must be the last
setup command sent to the CBL before data collection begins.
You should precede send instructions that follow a
CMD3
with a
Pause
instruction. When a
Pause
instruction is used, the program should not be
resumed until sampling is complete (
DONE
indicator is on). (Refer to
“Improving Data Collection Accuracy Using Pause” on page 68.)
If another send instruction is sent while
SAMPLING
is active, data
collection is halted and the command’s function is not performed.
Sample Time
This parameter lets you select how often to collect data (in seconds).
For example, entering .00010 for this parameter tells the CBL to collect a
sample every 100 microseconds (minimum allowed). (Default:
0.5
)
0 Selects external clock for sample-time generation
using the source specified by the External Clock
Source (page 44).
0.00010 to 0.2
0.25 to 16000
Selects the sample time in seconds. Values greater
than 0.2 and less than 0.25 are not valid (E.32 error
message). Values greater than 0.25 must be in
multiples of 0.25; otherwise, you will also get an E.32
error message (page 57).
Note: Refer to “Determining the Minimum Sample Time” for detailed
information about allowable sample times on page 70. For real-time data
collection, refer to “Maximum Sample Rate for Real-Time Data
Collection” on page 67.