Back to FabImage Library website

You are here: Start » Function Reference » Neousys » Neousys_SetDigitalOutput_Single

Neousys_SetDigitalOutput_Single


Header:ThirdPartySdk.h
Namespace:fil

Sets value to single digital output channel on a Neousys computer.

Syntax

void fil::Neousys_SetDigitalOutput_Single
(
	Neousys_State& ioState,
	int inChannel,
	bool inValue
)

Parameters

Name Type Range Default Description
ioState Neousys_State& Object used to maintain state of the function.
inChannel int 0 - 15 Desired output channel identifier
inValue bool Value to set to desired output channel

Remarks

Availability

Before you use this filter make sure how many digital input and output channels does your Neousys device provide.

Compatibility

Neousys Watchdog Timer and Digital I/O support is not provided when using 32-bit FabImage on a 64-bit operating system. Please use 64-bit FabImage in such a case.

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.

See Also

  • Neousys_SetDigitalOutput_Single_Checked – Sets value to single digital output channel on a Neousys computer. Additionally, does a read-back of the value to make sure it's identical to the written value.