Back to Adaptive Vision Library website

You are here: Start » Function Reference » Hilscher » Hilscher_Channel_IOWrite_SInt32

Hilscher_Channel_IOWrite_SInt32


Header:ThirdPartySdk.h
Namespace:avl

Sends generic packet that can be filled with any data through Hilscher device.

Syntax

void avl::Hilscher_Channel_IOWrite_SInt32
(
	avl::Hilscher_State& ioState,
	const atl::Optional<atl::String>& inBoardName,
	const int inChannelNumber,
	const int inOffset,
	const int inData
)

Parameters

Name Type Range Default Description
ioState Hilscher_State& Object used to maintain state of the function.
inBoardName const Optional<String>& NIL
inChannelNumber const int 0 - 10
inOffset const int 0 - 10000
inData const int -127 - 128

Remarks

Driver

For profinet: Firmware (recommended 3.13 series) https://kb.hilscher.com/display/PNS3V5/Version+History+-+V3.5+to+V3.x

Firmware needs to be uploaded to the card prior to opening any type of channel.
In case of failing to update the firmware, try to restart your computer.

IO Offset (inOffset)
Offset as displayed in Hilscher software

Multithreaded environment

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