General & file
|
|
cl.Initialise
|
Initialises (or defaults) cl. variables
|
cl.Delay
|
Force CatTools to pause for a given amount of time
|
cl.GetUniqueDeviceFileName
|
Generates unique filename in the \ClientTemp folder based on the device
|
cl.DBMetaCmd
|
Checks if a command is a database meta command, and then processes it
|
cl.UtilityMetaCmd
|
Checks if a command is a utility meta command, and then processes it
|
cl.Log
|
Sends a line of text to the Infolog.txt file and Info Log pane
|
cl.LogToFile
|
Writes data to a file
|
Activity
|
|
cl.CatToolsNoSupport
|
Called for activities not supported by the device script
|
cl.DBCheckScheduleOption
|
Determine whether a particular option has been selected within a given activity
|
Device
|
|
cl.FlushRxBuffer
|
Clears cl.RxBuffer string. Used to clear previous response data before receiving next data
|
cl.DetermineHostname
|
Establishes and sets the device hostname and prompts cl.variables
|
cl.SendData
|
Sends text to device
|
cl.SendAndWaitForEcho
|
Sends text to device and waits for echo
|
cl.SendAndWaitForPrompt
|
Sends text to device, waits for an echo and then device prompt
|
cl.WaitForData
|
Waits for a specific data string to returned from the device
|
cl.WaitForMultData
|
Waits for any one of a range of specific data strings to be returned from the device
|
Text manipulation
|
|
cl.ReplaceText
|
Replace a substring within a given string of data, with a new substring
|
cl.TextRemoveBlankHeaderLines
|
Remove blank header lines from the beginning of a string (e.g. a device output buffer)
|
cl.TextRemoveLinesContainingText
|
Remove lines which contain a specific substring of text
|
cl.TextInText
|
Return start position of a substring within a string
|
cl.TextRemoveTextUpTo
|
Trim a text from a string up to or including a specified substring
|