GetReady - method of object PmCommMsg

Detects whether the PmCommMsg object is ready to transfer the message.
GetReady As Boolean
b = oCommMsg.GetReady()
Return Values:
true - Object is ready to transfer the message (the Run method can be called)
false - Object is not ready to transfer the message (the message from the previous calling the Run method is still transferring)
The PmCommMsg object gets in the transfer data state by the Run method. During the transfer the Run method cannot be re-called over the object and the GetReady method then returns the value false. After the transfer (i.e. after the onEndOfTransfer event fires) the Run method can be called again and the GetReady method returns the value true.
See also:
- Run
VBScriptSelect and copy to clipboard

If oCommMsg.GetReady() Then
  Pm.Debug "CommMsg is not ready (the previous message is being transmitted)"
End If
PROMOTIC 8.3.30 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice