Table of Contents Previous Chapter Chapter 38: Timer

Chapter 38: Timer

1. Introduction

The function of the timer record has been replaced by the pulseCounter, pulseDelay, pulseTrain, and Event records. The Timer record type is included for backward compatibility.

This record type interacts with timer modules.

2. Field Summary

--------------------------------------------------------------
Field  Type       DCT  Initial  Access  Modify  Rec Proc   PP   
                                                Monitor         
--------------------------------------------------------------
TORG   INLINK     Yes  0        No      No      N/A        No   
OUT    OUTLINK    Yes  0        No      No      N/A        No   
VAL    SHORT      No   0        Yes     Yes     Yes        Yes  
TSRC   RECCHOICE  Yes  0        Yes     Yes     No         No   
PTST   RECCHOICE  Yes  0        Yes     Yes     No         Yes  
TEVT   SHORT      Yes  0        Yes     Yes     No         Yes  
PREC   SHORT      Yes  0        Yes     Yes     No         No   
TIMU   RECCHOICE  Yes  0        Yes     Yes     No         No   
MAIN   GBLCHOICE  Yes  1        Yes     Yes     No         Yes  
RDT1   FLOAT      No   0        Yes     Yes     No         No   
RDW1   FLOAT      No   0        Yes     Yes     No         No   
PDLY   FLOAT      Yes  0        Yes     Yes     No         No   
DUT1   FLOAT      Yes  0        Yes     Yes     No         Yes  
OPW1   FLOAT      Yes  0        Yes     Yes     No         Yes  
DUT2   FLOAT      Yes  0        Yes     Yes     No         Yes  
OPW2   FLOAT      Yes  0        Yes     Yes     No         Yes  
DUT3   FLOAT      Yes  0        Yes     Yes     No         Yes  
OPW3   FLOAT      Yes  0        Yes     Yes     No         Yes  
DUT4   FLOAT      Yes  0        Yes     Yes     No         Yes  
OPW4   FLOAT      Yes  0        Yes     Yes     No         Yes  
DUT5   FLOAT      Yes  0        Yes     Yes     No         Yes  
OPW5   FLOAT      Yes  0        Yes     Yes     No         Yes  
T1DL   DOUBLE     No   0        Yes     Yes     No         No   
T1WD   DOUBLE     No   0        Yes     Yes     Yes        No   
T2DL   DOUBLE     No   0        Yes     Yes     No         No   
T2WD   DOUBLE     No   0        Yes     Yes     No         No   
T3DL   DOUBLE     No   0        Yes     Yes     No         No   
T3WD   DOUBLE     No   0        Yes     Yes     No         No   
T4DL   DOUBLE     No   0        Yes     Yes     No         No   
T4WD   DOUBLE     No   0        Yes     Yes     No         No   
T5DL   DOUBLE     No   0        Yes     Yes     No         No   
T5WD   DOUBLE     No   0        Yes     Yes     No         No   
T1TD   FLOAT      No   0        Yes     Yes     Yes        No   
T1LD   FLOAT      No   0        Yes     Yes     Yes        No   
T2TD   FLOAT      No   0        Yes     Yes     No         No   
T2LD   FLOAT      No   0        Yes     Yes     No         No   
T3TD   FLOAT      No   0        Yes     Yes     No         No   
T3LD   FLOAT      No   0        Yes     Yes     No         No   
T4TD   FLOAT      No   0        Yes     Yes     No         No   
T4LD   FLOAT      No   0        Yes     Yes     No         No   
T5TD   FLOAT      No   0        Yes     Yes     No         No   
T5LD   FLOAT      No   0        Yes     Yes     No         No   
TRDL   FLOAT      No   0        Yes     Yes     No         No   
TDIS   SHORT      No   0        Yes     Yes     No         Yes  
--------------------------------------------------------------

3. Field Descriptions

---------------------------------------------------------------------------------------
Name  Summary              Description                                                   
---------------------------------------------------------------------------------------
TORG  Trigger Delay        This is a link specifying the location of the trigger delay   
      Origin (input link)  value.  This must be a constant, a database link, or a        
                           channel access link.  If TORG is a database link, then        
                           TRDL is read from TORG.                                       
OUT   Output Link          This field is used by the device support routines to decide   
                           where to send output.                                         
VAL   Value Field          This field is used to force record processing.                
TSRC  Clock Source         External or internal                                          
PTST  Pre-Trigger State    Low or high                                                   
TEVT                       Event Number To Be Posted On Trigger                          
PREC  Display Precision                                                                  
TIMU  Timer Units          Milli, micro, nano. pico seconds                              
MAIN  Maintain on Reboot                                                                 
RDT1  Reboot Delay of 1                                                                  
RPW1  Reboot Width of 1                                                                  
PDLY  Delay Source to                                                                    
      Input                                                                              
DUTn  Delay Width For      (n=1-5):   In timer units.                                    
      Trigger n                                                                          
OPWn  Output Pulse Width   (n=1-5):   In timer units.                                    
      For Trigger n                                                                      
TnDL  Delay Width For      (n=1-5):   In seconds.                                        
      Trigger n                                                                          
TnWD  Pulse Width Of       (n=1-5):   In seconds.                                        
      Trigger n                                                                          
TnTD  Trailing Delay Of    (n=1-5):   ( TiLD+OPWi )                                      
      Trigger n                                                                          
TnLD  Leading Delay Of     (n=1-5):   ( DUTi+TRDL )                                      
      Trigger n                                                                          
TRDL  Trigger Delay        Obtained from trigger delay origin TORG.                      
TDIS  Timing Pulse                                                                       
      Disable                                                                            
---------------------------------------------------------------------------------------

4. Record Support Routines

init_record

process

See next section.

get_value

Fills in the values of struct valueDes so that they refer to the array.

5. Record Processing

This section not yet written.

6. Device Support

Currently device support is intimately combined with record support.

 
Table of Contents Next Chapter