batch_status    (integer)

Navigation:  Ole automation > Automation object properties >

batch_status    (integer)

Previous pageReturn to chapter overviewNext page

Inspect this value to find out if SCOUT is busy with a batch fit operation.

 

If the value of batch_status is 1 the batch fit is still active.

If the value is 0 the batch fit is finished and you can pick up the results.

 

VBA example:

This example starts the batch fit and then waits in a loop until the batch fit is done. Every 3 seconds the batch status is checked. Finally a message box indicates the termination of the batch fit.

 

  scout.batch_go

  While scout.batch_status <> 0

        Application.Wait Now + TimeSerial(0, 0, 3)

  Wend

  msgbox "Batch finished"