aci.ConnectDrv

SUMMARY

Connect to ALPHA-VISION® as a driver.

SYNTAX

aci.ConnectDrv(<name>, <do-file> (, <station>)*)

ARGUMENTS

name (type:string)
An arbitrary name.
do-file (type:string)
The DO-file of your ALPHA-VISION®-project. The extension may be omitted.
station (type:number)
The station the data objects of your script have as their home.
WARNING
It is curently not supported to receive messages from aci for data objects of an AvScript, so you may not be able to handle the data objects appropriately.

DESCRIPTION

Call this function or aci.ConnectApp before you call any other aci-functions. Upon exit AvScript automatically disconnects from ALPHA-VISION®.
Note:
You can only connect once

EXAMPLES

aci.ConnectDrv("MyScript", "myprj", 14, 15) --connect to myprj.do for stations no. 14, 15
		


Syntax Notation
[aaa]
aaa is optional (zero or one occurences)
(aaa|bbb)
aaa exclusive or bbb
(aaa)*
aaa may occur indefinitely often or may be omitted
(aaa)+
aaa may occur indefinitely often but at least once
(aaa)m..n
aaa may occur from m to n times