Back to FabImage Library website
You are here: Start » Function Reference » Hardware Support » Imago Technologies » VisionBox_RS232ReadNBytes
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Reads byte array from RS232 port.
Syntax
void fil::VisionBox_RS232ReadNBytes ( VisionBox_State& ioState, const int inBytesToRead, const int inTimeoutInMs, ftl::Array<int>& outData, int& outBytesReceived )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
ioState | VisionBox_State& | Object used to maintain state of the function. | ||
![]() |
inBytesToRead | const int | |||
![]() |
inTimeoutInMs | const int | 0 - ![]() |
||
![]() |
outData | Array<int>& | |||
![]() |
outBytesReceived | int& |
Description
This filter is simple wrapper over Rs232::ReadNByte 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 FabImage 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.