# External Device Interface Set-Up
#
# Soil Machine Dynamics Ltd
# Wincomblee Rd, Low Walker
# Newcastle-upon-Tyne,   UK
# NE6 3QS.
# Tel: +00 44 (0)191-234-2222
# Fax: +00 44 (0)191-234-0444
#
# This file is used to define the configuration
# of the External Device Manager
#
# Note: no spaces after the '=' for text items.
#		this bug to be sorted. 
#
# General System Definitions
#

[SERIAL_IO]
# How many device port are required 
# Supports upto 10 ports
MaxDevice=1

# general update rate
UpdateRate=20000000
ProcessName=serial_io
RegisterName=/SMD/SERIAL_IO
PartNo=
Priority=15
Schedule=

[SERIAL_1]
Type=GYRO
Mode=IN
Port=//3/dev/ser7
PortSettings=9600,8,n,1
#cycles before a comms loss is flagged - 0 = disabled
# NOTE using timeout will automatically allocate another AI channel
Timeout=10

InputChannels=2
OutputChannels=0

InputScale1=1
InputScale2=10000

# each output message can be sent to the serial output, using the output
# value as a control. 0 = OFF, 1 = SINGLE TRANSMISSION, 2 = CONTINUOUS TX
OutputString1=message out 1
OutputTerm1=cl
OutputString2=message out 2
OutputTerm2=cl


# Device type input/output string formats

# Format characters:
# d = any delimiter , [space] colon etc.
# c = CR
# l = LF
# t = text entry
# b = binary data entry

# Upper case chars denote data items field [A - Z]
# NOTE that VARIABLE string type formats must be specified for MAXIMUM string length

[GYRO]
StringType=VARIABLE
InputFormat=ddtdAAAAAAAAdttttttttttttttddtcl
InputHeader=$SDDBT
ContinuousInput=0










