Back to FabImage Library website

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

Neousys_GetDigitalInput_Single


Header:ThirdPartySdk.h
Namespace:fil

Gets value of single digital input channel on a Neousys computer.

Syntax

void fil::Neousys_GetDigitalInput_Single
(
	Neousys_State& ioState,
	int inChannel,
	bool& outValue
)

Parameters

Name Type Range Default Description
ioState Neousys_State& Object used to maintain state of the function.
inChannel int 0 - 15 Desired input channel identifier
outValue bool& Value to get from desired input 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