Wait for specific double value of an item. When the condition to wait for is already satisfied initially, the function returns immediately.
void nxLibWaitForDoubleValue (NXLIBERR* result, NXLIBDOUBLE itemPath, NXLIBINT value, NXLIBBOOL waitForEqual);
result |
The error code of the operation. If the item is deleted during the wait operation, the return code will be NxLibItemInexistent. |
itemPath |
The path of the item to wait for. |
value |
The value to wait for. |
waitForEqual |
When true, the function waits until the item has the specified value, otherwise it waits until the item's value is different from the specified value. |
none