Applies To: |
|
Summary: |
The sample moscad.cfg file detailed in the
Moscad driver specification shows that whitespace characters can be
used to improve readability when filling out the entries for the
Moscad.cfg configuration file. However, putting trailing whitespace
characters in the "wrong" fields will result in driver error
"0x1082 Application Error" being generated during Citect "Channel
initialisation" stage. Leading whitespace characters are removed
correctly by the driver code when it parses the configuration file.
This affects all versions of the Moscad driver upto and including V30200002. For example: 1. you have the following entry. #<label> : <id> : < para
1> ; < para 2> ; < para 3> ; < para 3> :
<Text Command> If you have used trailing whitespace characters such as "Polled " then the driver will fail during the channel initialisation stage. 2. Another example #<label> : <id> : < para
1> ; < para 1> ; < para 1> : <Text
Command> Again, if you have trailing whitespace characters in your definition such as "Table1 :" or "Rows 6 " then the driver will not go online and will fail during the channel initialisation stage. |
Solution: |
The solution is to make sure that there
are no trailing whitespace characters after each field definition.
Leading whitespace characters are parsed correctly and removed by
the Moscad driver.
Thus: #Working Moscad Configuration File - Note
there are no spaces after each field definition |
Keywords: |
Related Links
Attachments