Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Hardware Support » LEX » Lex_GetDigitalInput

Lex_GetDigitalInput


Module: ThirdParty

Gets a digital input state of LEX computers.

Name Type Description
inInput Integer Number of pin to read
outState Bool Read state of chosen pin

Description

This filter can read state of digital inputs in LEX computers. Maximal number of input vary between different models.

Remarks

Running LEX related filters

Mechanism of Digital IO control of LEX computers demands to be run by Administrator account. LEX related filters will not work if Adaptive Vision Studio or any program based on Adaptive Vision Library is not run by Administrator. One can achieve that by right clicking on program to be ran and selecting "Run as administrator".

This filter is available only on 64-bit platform.

Multithreaded environment

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

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
RuntimeError Lex filters are available only on 64-bit platform.
SystemError Could not initialize F75111 DIO controller. LEX needs Administrator privileges to run.

Complexity Level

This filter is available on Basic Complexity Level.

Disabled in Lite Edition

This filter is disabled in Lite Edition. It is available only in full, Adaptive Vision Studio Professional version.

See Also