Functions | |
| PROCEDURE | GetCharComment (VAR str_CharComment :TC255) |
| Initialize a string with the character of begin of comment. | |
| INTEGER FUNCTION | GetSynchroChannel (str_Line :TC255, int_NbPog :INTEGER) INTEGER |
| Return the list of channels that must be synchronized. | |
| BOOLEAN FUNCTION | IsBlockSynchro (str_Line :TC255, int_ListingMin, int_ListingMax :INTEGER, VAR real_Val :REAL) BOOLEAN |
| Return true if the line contains a synchronization. | |
| BOOLEAN FUNCTION | IsLineStartProg (str_Line :TC255) BOOLEAN |
| Return true if the line is a start line of a program. | |
| PROCEDURE | ListingSynchroCopy () |
| Save the listing file to Listing.txt file. | |
| PROCEDURE | ListingSynchroCreate (VAR str_NcFile1, str_NcFile0 :TC255, int_NbCol, int_ListingMin, int_ListingMax :INTEGER) |
| Write the listing file according with synchronizations. | |
| PROCEDURE | ListingSynchroManage (int_NbCol, int_ListingMin, int_ListingMax :INTEGER) |
| Procedure called to create the synchronization file. | |
| PROCEDURE GetCharComment | ( | VAR str_CharComment :TC255 | ) |
Initialize a string with the character of begin of comment.
| [out] | str_CharComment | : character that start a comment |
| INTEGER FUNCTION GetSynchroChannel | ( | str_Line :TC255 | , |
| int_NbPog :INTEGER | ) |
Return the list of channels that must be synchronized.
| [in] | str_Line | : Line that contains the synchronization |
| [in] | int_NbProg | : Number of programs outputed |
| BOOLEAN FUNCTION IsBlockSynchro | ( | str_Line :TC255 | , |
| int_ListingMin | , | ||
| int_ListingMax :INTEGER | , | ||
| VAR real_Val :REAL | ) |
Return true if the line contains a synchronization.
| [in] | str_Line | : line to check |
| [in] | int_ListingMin | : minimum number for the synchro |
| [in] | int_ListingMax | : maximum number for the synchro |
| [out] | real_Val | : number of the synchro read in the line |
| BOOLEAN FUNCTION IsLineStartProg | ( | str_Line :TC255 | ) |
Return true if the line is a start line of a program.
| [in] | str_Line | : Line to test |
| PROCEDURE ListingSynchroCopy | ( | ) |
Save the listing file to Listing.txt file.
| PROCEDURE ListingSynchroCreate | ( | VAR | str_NcFile1, |
| str_NcFile0 :TC255 | , | ||
| int_NbCol | , | ||
| int_ListingMin | , | ||
| int_ListingMax :INTEGER | ) |
Write the listing file according with synchronizations.
| [out] | str_NcFile1 | : NC file contains all the generated files |
| [out] | str_NcFile0 | : NC file contains the listing according with synchronizations |
| [in] | int_NbCol | : number of column for each channel. If is null the number of column is done in automatic |
| [in] | int_ListingMin | : minimum number for synchronization |
| [in] | int_ListingMax | : maximum number for synchronization |
| PROCEDURE ListingSynchroManage | ( | int_NbCol | , |
| int_ListingMin | , | ||
| int_ListingMax :INTEGER | ) |
Procedure called to create the synchronization file.
If there more than one file, create a concatenate file with all and call ListingSynchroCreate
| [in] | int_NbCol | : maximum number of column for each channel. If is null an auto value is assumed |
| [in] | int_ListingMin | : minimum number for synchronizations |
| [in] | int_ListingMax | : maximum number for synchronizations |