Pressure Systems 9046 Manuale Utente

Pagina di 72
Pressure Systems, Inc.                                                                                        Model 9046 User’s Manual 
 
 
 
Page 44 
 
www.PressureSystems.com 
5.7.1  Command ’c’- Sub-command Index 00: Configure a Host Delivery Stream 
This sub-command is used to configure the principle parameters of each of the three possible 
concurrent host delivery streams, one at a time. Following this configuration phase, the 
particular
 stream (1, 2, or 3) or all streams (0) may be started, stopped, altered, or undefined, 
with other sub-commands. This sub-command’s format is: 
Command 
"c 00 st pppp sync per f num" 
’c’  is the operation code 
’00’ is the sub-command index (ii) for configuration 
’st’ is the stream id digit (1, 2, or 3) 
’pppp’ is a 1-4 hex digit  position field (channel 
selection bit map) 
’sync’ is sync type character (0= hardware trigger 
or 1= clock) 
’per’ is the period (if sync=0: # of trigger periods or 
if sync=1:  delay timer period in msec). 
’f’ is the format of each acquired datum in stream 
’num’ is the number of scans delivered in the 
stream  
(0=unbounded, >0 bounded). 
NOTE: all parameters are separated by a space 
character. 
Response 
"A" or "Nxx" ’A’ for acknowledge; ’N’ for negative 
acknowledge, error code xx. 
Autonomous  
Packet 
none generated (until Stream Start sub-command) 
 
Description
: Configures a particular stream (‘
st’) to deliver data scans autonomously to the 
host, with each scan containing selected acquired data for the channels specified. The channels 
are specified by a standard 16-bit position field bit map (encoded pppp as a 1-4 hex digits). A 
separate sub-command (ii=05) may be used to select which acquired data groups or prefixes 
are included in each stream. By default, only Temperature/Resistance (EU) data group is 
selected (if ii=05 sub-command is never executed for the stream after its initializing ‘c 00’ sub-
command). 
 
The generation of individual scans of a stream may be synchronized with either an external 
user-supplied hardware trigger or a periodic (1000 Hz) clock interrupt generated inside each 
module.  This choice is made with the sync type ‘
sync’ parameter (a single digit) where: 0 = 
synchronize with hardware trigger; 1= synchronize with the periodic clock.