User guide
LBA-USB User Guide Document No: 11294 Page 127
5.3.25 OpenIndex
This method initiates communication between the LBA-USB ActiveX control and
LBA-USB. You must call this method, or the Open method, before calling any
other method or accessing any of the properties. If you do not call this method,
then all the properties will be zero, methods will have no effect, and no events
will fire.
OpenIndex takes one parameter, which is the index of the application you want
to connect to. The AppInfo property can be used to determine which application
to connect to.
If you do not care which LBA-USB application you connect to, or have only one
LBA-USB, then call the Open method.
-1 LBA-USB is not available
0 OK
1 Other initialization error
5.3.26 Start
This method is identical to clicking Start! in LBA-USB. This method has no effect
if LBA-USB is already collecting frames of data.
If Ultracal! is not complete, LBA-USB cannot start. If there is any other problem,
LBA-USB will not start and will display an error message.
This method returns the following:
-1 LBA-USB is not available
0 OK
1 Load configuration error
5.3.27 Stop
This method is identical to clicking Stop! in LBA-USB. This method has no effect
if LBA-USB is stopped. This method immediately cancels the Ultracal! operation.
Any previous Ultracal! is retained.










