PRODUCTS
 
   

DOCUMENTATION

TELEO INTRO MODULE USER GUIDE
 
 

Teleo Introductory Module - Analog In

  t.intro.ain  
Read values from
Teleo Introductory Module's Analog In Terminal
  Input    
  int   SamplePeriod: Update interval in milliseconds. Default 100ms. Sending 0 or a bang will trigger an update and suspend the automatic updates. Minimum value 1ms and the maximum 32000ms
       
  float   Min: Minimum value that will be output. Corresponds to 0v on the Analog In terminal.
       
  float   Max: Maximum value that will be output. Corresponds to 5v on the Analog In terminal.
       
  int   Resolution: Value resolution in bits. Minimum 1, Maximum 10. 1bit will result in only two levels between the specified minimum and maximum. 5 bits will yield 32 levels and 10 bits will yield 1024 different levels.
       
     

All of the inputs above may be passed to the leftmost inlet as strings of the form

[attribute] [value]

The attribute name is not case sensitive.

       
 
Arguments
   
  int   Device: (optional) Specifies the Analog In device number. Default is 0 if omitted.
       
     

All of the inputs above may be passed to the object at create time by using the following format:

@[attribute]=[value]

The attribute name is not case sensitive. There must be no spaces between the attribute and the equals sign (=) or between the equals sign and the value.

       
 
Output
   
  float   Value: current ranged value
       
 
Examples
   
     

A t.intro.ain object is set up to measure voltages by setting the Min and Max values to be 0 (corresponding to zero volts) and 5.0 (corresponding to 5 volts) respectively. In addition, the resolution is set to 10 - the maximum - to give 5V / 1024 = 0.0049V resolution.

       
 
See Also
  Analog In section of the Teleo Intro Module User Guide
 

 

 

copyright © 2002-2005 MakingThings LLC

...
.