WaitForValue

Navigation:  NxLib API > C# Interface / CLI > NxLibItem >

WaitForValue

Previous pageReturn to chapter overviewNext page

Waits until the item has a specific value.

Signatures

Variants throwing exceptions on API errors:

void WaitForValue(int value, bool waitForEqual)

void WaitForValue(double value, bool waitForEqual)

void WaitForValue(bool value, bool waitForEqual)

void WaitForValue(String value, bool waitForEqual)

Variants returning API errors as int parameter:

void WaitForValue(Out int returnCode, int value, bool waitForEqual)

void WaitForValue(Out int returnCode, double value, bool waitForEqual)

void WaitForValue(Out int returnCode, bool value, bool waitForEqual)

void WaitForValue(Out int returnCode, String value, bool waitForEqual)

Parameters

returnCode

The error code returned when accessing the item.

value

The value to wait for.

waitForEqual

Indicates whether to wait until the item has the given value, or whether to wait until the item has a value different than the specified one.

Return Value

none