![background image](http://html1.mh-extra.com/html/snell-and-wilcox/iqcspi-1/iqcspi-1_manual_1309058029.webp)
IQCSPI
SECTION 33c
IQCSPOPS
100305
www.snellwilcox.com
Version 1 Issue 8
33c.29
SYNTAX OF THE SPI CONFIGURATION FILE
File Header
This is always
[IQSPI]
and appears by itself on the
first line of the file.
Versions
The file contains two version identifiers:
•
AlphaVersion
•
CommandVersion
AlphaVersion
This consists of:
“AlphaVersion=”letterRepresentingAlphaVersion
An example of this is:
AlphaVersion=a
CommandVersion
This consists of:
“CommandVersion
=”NumberRepresentingCommandVersion
An example of this is: CommandVersion=8
General Comments
A line can be designated as being a comment by
prefixing it with the hash “#” symbol.
Port Number and Port Name
The file is split up into sections one for each port.
Within each section are all the commands etc
which belong to that port.
Port Number
This is positioned (by itself) at the first line of the
port’s section within the file.
An example is
[Port2]
Port Name
This is positioned (by itself) on the following line to
the port number.
This consists of
“Name=”
PortName
An example is Name=VTR(BETACAM)
SetUp statement
This consists of:
“SetUP =”
Speed Baud
,
Data Bits
,
Parity
,
Stop Bits
An example of this is: Setup=38400,8,o,1
Speed Baud
The speed in Baud is selected form a predefined
list: 600, 1200, 2400, 4800, 9600, 19200, 38400
Data Bits
The number of Data Bits (to be transmitted in a
packet) is selected from a predefined list: 5, 6, 7, 8
Parity
The Parity can be set to Odd ”o”, Even ”e” Or None ”n”.
Stop Bits
This can be set to either 1 or 2.
CmdTimeOut
This is positioned on the line following the SetUp
statement.
This consists of:
“CmdTimeout=”
NumberRepersentingCmdTime
Out
An example is: CmdTimeout=500
CmdBase
This is positioned by itself on the line following the
CmdTimeOut statement.
This consists of:
“CmdBase=”
NumberRepresentingCmdBase
An example of this is: CmdBase=2000
RxDataTimeOut
This is positioned by itself on the line following the
CmdBase statement.
This consists of:
“RxDataTimeout=”
NumberRepresentingRxData
TimeOut
An example of this is: RxDataTimeout=20