Up | AccessControl | Shutdown | Profile | Backup | Curves | Delay | LogMsg | Console | QAlarm | QAlarmReset | RefCmds | InitSaveImage | SaveImage | Script | Start | Statistics | Stop | WebBrowser

 

  

 
Console

Controls the console window

Syntax:

Console;<show=0|1>;<clear=0|1>;<length=n>;<msg=text>;<save=filename>

Example 1 - Commands:

Console;show=1   - shows the console
Console;msg='This is a console message';show=1
Console;clear=FirstRun.Value;    - clears the console if the value of parameter FirstRun.Value<>0
Console;save=console.log - saves the console messages to file console.log

Example 2 - ExecuteCmd Scripting

  bConsole = GetBoolValue('AppState.bShowConsole')
  if bConsole :
    ExecuteCmd('Console','show=1')
  else:
    ExecuteCmd('Console','show=0')

Note:

When using the msg keyword, the tdvcmd separator ';' may not be used as part of the text

More information about the console window

 

Scorpion Vision Version XV  : Build 764 - Date: 20200529
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2020 Tordivel AS.