Back to Aurora Vision Library website

You are here: Start » Function Reference » Hardware Support » Imago Technologies » VisionBox_RS232WriteNBytes

VisionBox_RS232WriteNBytes


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Sends byte array through RS232 port.

Syntax

void avl::VisionBox_RS232WriteNBytes
(
	VisionBox_State& ioState,
	const atl::Array<int>& inBytesToWrite
)

Parameters

Name Type Default Description
Input will be modified ioState VisionBox_State& Object used to maintain state of the function.
Input value inBytesToWrite const Array<int>&

Description

This filter is simple wrapper over Rs232::WriteNByte SDK function. Refer to AGE-X SDK to see how to use this function properly.

Remarks

Precondition for use of VisionBox filters is to have Imago Technologies AGE-X SKD installed on target computer. AGE-X SDK provides filters with necessary libraries (DLL files) and drivers. After installation of AGE-X SDK, system restart may be required.

Recommended AGE-X SDK version for Aurora Vision Studio usage is 1.6.8.0.

Multithreaded environment

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

Errors

List of possible exceptions:

Error type Description
DomainError Values of inBytesToWrite array has to be between 0 a 255