You are here: Start » Function Reference » Hardware Support » Matrox » Matrox_SetOutputLevel
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Sets output signal level.
Syntax
void fil::Matrox_SetOutputLevel ( Matrox_State& ioState, ftl::Optional<const fil::MatroxSystemAndDeviceIdentifier&> inDeviceID, int inOutput, bool inLevel, bool inForceUserOutputSource )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
ioState | Matrox_State& | Object used to maintain state of the function. | ||
![]() |
inDeviceID | Optional<const MatroxSystemAndDeviceIdentifier&> | NIL | Device identification. | |
![]() |
inOutput | int | 0 - 63 | Output signal. | |
![]() |
inLevel | bool | Logic level of the output signal. | ||
![]() |
inForceUserOutputSource | bool | Whether to set the output source to user bit or not. |
Remarks
I/O device driver software
This filter is intended to cooperate with a Matrox device using its vendor SDK. To be able to connect to the device, it is required to install Matrox MIL X SDK. Matrox industrial PCs usually come with a preinstalled runtime license.
Add DLL path to system environment variable may be required.
Recommended Matrox MIL X SDK version for FabImage Studio usage is V22H1 (10.50.924).
Device identification
Device field can be used to specify the number (rank) of the target board of the specified system type. Device can be set to:
- DEFAULT - Specifies the default board. The default board is set in the MILConfig utility.
- DEVn - Specifies the device number (rank) of the board (where 0 <= n <=15).
System field can be used to specify the system type. System can be set to:
- HOST - Specifies the default build-in system like IO in industrial PC.
- CONCORD - Specifies the IO system from Concord framegrabber.
This filter allows to set the logical level of a specific output port of the device.
Setting the output source
The source of the specific output port must be set to User using Matrox_SetOutputSource filter first for this filter to take effect. It is also possible to force an automatic change of the output source by setting the inForceUserOutputSource field value to true.
See Also
- Matrox_SetOutputSource – Sets output signal source.