Up | Configuration | ActiveX Interface | Python Interface | Test Container

 

  

 
ActiveX Interface

Property Page:

  • Configuration File - specify the name and path of the configuration file
  • Visible Tabs - activates the tabs of the component

Note : In Scorpion it can be useful to make all tabs visible when configuring the plugin

Methods:

GetVisible;
SetVisible;Value=VT_BOOL
GetAxBorderStyle;
SetAxBorderStyle;Value=VT_USERDEFINED
GetActive;
GetEnabled;
SetEnabled;Value=VT_BOOL
Snapshot;
GetLiveVideo;
SetLiveVideo;Value=VT_BOOL
GetConfigFile;
SetConfigFile;Value=VT_BSTR
ExecuteCmd;Command=VT_BSTR;Parameters=VT_BSTR
GetTabMask;
SetTabMask;Value=VT_INT
GetValidLicence;

Events:

OnActivate;
OnChange;
OnInfo;msg=VT_BSTR
OnError;msg=VT_BSTR
OnCommand;Command=VT_BSTR

 

Example - Calling a script from the host - Scorpion Syntax

ExecuteCmd('Command=Script;Parameters=MyCmd(5)')

  Syntax :

  • ExecuteCmd('Command=<cmdname>;Parameters=<parameters>')

Example - Calling a script from the host - Other Hosts

ImageX.ExecuteCmd('Script','MyCmd(5)')

  Syntax :

  • ImageX.ExecuteCmd(<cmdname>,<parameters>)

 

 

Scorpion Vision Version XII : Build 646 - Date: 20170225
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2017 Tordivel AS.