Back to Aurora Vision Library Lite website

You are here: Start » Hardware Support » Hilscher » Hilscher_Channel_Close

Hilscher_Channel_Close


Header: ThirdPartySdk.h
Namespace: avl

Closes a Hilscher device channel connection.

Syntax

C++
Python
 
void avl::Hilscher_Channel_Close
(
	avl::Hilscher_State& ioState,
	const atl::Optional<atl::String>& inBoardName,
	const int inChannelNumber,
	const bool inCloseCommunication
)

Parameters

Name Type Range Default Description
Input will be modified ioState Hilscher_State& Object used to maintain state of the function.
Input value inBoardName const Optional<String>& NIL
Input value inChannelNumber const int 0 - 10
Input value inCloseCommunication const bool False Close communication between card and PLC

Remarks

Driver

For profinet: Firmware (recommended 3.13 series) https://hilscher.atlassian.net/wiki/spaces/PNS3V5/pages/123210653/Expired+Versions+-+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.

Warning:All tools applied to a specific device or file should be managed within a single thread to ensure centralized tracking, traceability, and consistency throughout the process.

Multithreaded environment

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