Back to Adaptive Vision Studio website

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

Lex_SetDigitalOutput


Module: ThirdParty

Sets a digital output state of LEX computers.

Name Type Description
inOutput Integer Number of output to change
inState Bool State of pin output to set

Description

This filter can change state of digital outputs in LEX computers. Maximal number of output 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