Inspect this value to find out if CODE 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.
wcd.batch_go
While wcd.batch_status <> 0
Application.Wait Now + TimeSerial(0, 0, 3)
Wend
msgbox "Batch finished"