Sets an individual Digital data source state.
Namespace:
PPJoy
Assembly:
PPJoyWrapper (in PPJoyWrapper.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub SetDigitalDataSourceState ( _
dataSourceNum As Integer, _
newValue As Boolean _
) |
| C# |
|---|
public void SetDigitalDataSourceState(
int dataSourceNum,
bool newValue
) |
| Visual C++ |
|---|
public:
void SetDigitalDataSourceState(
int dataSourceNum,
bool newValue
) |
Parameters
- dataSourceNum
- Type: System..::.Int32
Zero-based index of the digital data source to update.
- newValue
- Type: System..::.Boolean
A new value to apply to the specified digital data source.
Remarks
Exceptions
| Exception | Condition |
|---|
| System..::.ArgumentOutOfRangeException | Thrown if the dataSourceNum argument < 1 or > MaxDigitalDataSources |
See Also