MIL_ID IoCmdListSysId, | //in |
MIL_INT64 ControlType, | //in |
MIL_DOUBLE ControlValue | //in |
This function allows you to control an I/O command list setting.
To inquire the current value of a particular I/O command list setting, use MsysIoInquire().
This function is only available on Matrox 4Sight GPm.
Specifies the type of I/O command list setting to control.
See the Parameter associations section for possible values that can be specified.
Specifies the new value to assign to the I/O command list setting specified by the ControlType parameter.
See the Parameter associations section for possible values that can be specified.
The tables below list possible values for the ControlType and ControlValue parameters.
The following control type allows you to control an I/O command list setting.
For controlling I/O command list
settings
|
|||||||||||||||||||||||||||||||||||||||
ControlType |
Description
|
MIL system-specific tooltip (†) |
|||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_IO_COMMAND_COUNTER_ACTIVATION |
Sets which edge of the source signal to use to increment the I/O command list's internal counter. INQ (more details...) |
† | a | ||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_EDGE_RISING. |
† | a | ||||||||||||||||||||||||||||||||||||
M_EDGE_FALLING |
Specifies to use a high-to-low signal transition to increment the I/O command list's internal counter. |
† | a | ||||||||||||||||||||||||||||||||||||
M_EDGE_RISING |
Specifies to use a low-to-high signal transition to increment the I/O command list's internal counter. |
† | a |
The following control types allow you to control settings for one of the I/O command list's reference latches. Reference latches are used to store a time or counter value when the required signal transition occurs on a specified input signal. You can then inquire the time or counter value saved in the latch using MsysIoInquire() with M_REFERENCE_LATCH_VALUE.
For controlling an I/O command list
reference latch
|
|||||||||||||||||||||||||||||||||||||||
ControlType |
Description
|
MIL system-specific tooltip (†) |
|||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_REFERENCE_LATCH_ACTIVATION + |
Sets the signal transition upon which to store the time or counter value to the specified reference latch. INQ (more details...) |
† | a | ||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_EDGE_RISING. |
† | a | ||||||||||||||||||||||||||||||||||||
M_ANY_EDGE |
Specifies to store the time or counter value to the latch upon both a low-to-high and a high-to-low signal transition. |
† | a | ||||||||||||||||||||||||||||||||||||
M_EDGE_FALLING |
Specifies to store the time or counter value to the latch upon a high-to-low signal transition. |
† | a | ||||||||||||||||||||||||||||||||||||
M_EDGE_RISING |
Specifies to store the time or counter value to the latch upon a low-to-high signal transition. |
† | a | ||||||||||||||||||||||||||||||||||||
M_REFERENCE_LATCH_STATE + |
Sets the state of the specified reference latch. INQ (more details...) |
† | a | ||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DISABLE. |
† | a | ||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies the reference latch is disabled. |
† | a | ||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies the reference latch is enabled. |
† | a | ||||||||||||||||||||||||||||||||||||
M_REFERENCE_LATCH_TRIGGER_SOURCE + |
Sets which input signal will trigger storing the timestamp or counter value to the specified reference latch. INQ (more details...) |
† | a | ||||||||||||||||||||||||||||||||||||
M_AUX_IOn |
Specifies to use auxiliary input signal n, where n is a number of the auxiliary input signal. |
† | a |
You must add the following value to the above-mentioned values to specify which reference latch to affect.
For specifying the reference latch to
affect
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
MIL system-specific tooltip (†) |
|||||||||||||||||||||||||||||||||||||
M_LATCHn |
Specifies to affect reference latch n, where n is a number from 1 to 4. |
† | a |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |