MIL_ID IoCmdListSysId, | //in |
MIL_INT64 InquireType, | //in |
void *UserVarPtr | //out |
This function inquires about the specified I/O command list setting.
Note that you can use MsysIoControl() to control specific I/O command list settings.
On a Matrox 4Sight GPm computer, this function is only available if a MIL Host system was previously allocated. It is not available on a Matrox 4Sight GP.
Specifies the type of I/O command list setting about which to inquire.
See the Parameter associations section for possible values that can be specified.
Specifies the address in which to write the requested information. Since the MsysIoInquire() function also returns the requested information, you can set this parameter to M_NULL.
See the Parameter associations section for possible values that can be returned.
The tables below list possible values for the InquireType parameter and possible values returned to the UserVarPtr parameter.
The following inquire types allow you to inquire general I/O command list settings.
For inquiring general I/O command list
settings
|
|||||||||||||||||||||||||||||||||||||||
InquireType | Description | MIL system-specific tooltip (‡) |
|||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_CLOCK_FREQUENCY |
Inquires the frequency of the I/O command list's clock signal. (summarize)Inquires the frequency of the I/O command list's clock signal. (more details...) |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
[This is
only applicable to Matrox 4Sight GP/GPm platform]
On a Matrox 4Sight GPm computer, this function is only available if a MIL Host system was previously allocated. It is not available on a Matrox 4Sight GP. |
‡ | a | |||||||||||||||||||||||||||||||||||||
UserVarPtr extra info |
Data type info: Data
type: address of a
MIL_DOUBLE
Data type info: Data
type: address of a
MIL_DOUBLE
|
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
Value |
Specifies the frequency of the I/O command list's clock, in Hz. |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_IO_COMMAND_COUNTER_ACTIVATION |
Inquires which edge of the source signal is used to increment the I/O command list's internal counter. SET (summarize)Inquires which edge of the source signal is used to increment the I/O command list's internal counter. SET (more details...) |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
[This is
only applicable to Matrox 4Sight GP/GPm platform]
On a Matrox 4Sight GPm computer, this function is only available if a MIL Host system was previously allocated. It is not available on a Matrox 4Sight GP. |
‡ | a | |||||||||||||||||||||||||||||||||||||
UserVarPtr extra info |
Data type info: Data
type: address of a MIL_INT
Data type info: Data
type: address of a MIL_INT
|
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_ANY_EDGE |
Specifies to use both a low-to-high and a high-to-low signal transition to increment the I/O command list's internal counter. |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_EDGE_FALLING |
Specifies to use a high-to-low signal transition to increment the I/O command list's internal counter. |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_EDGE_RISING |
Specifies to use a low-to-high signal transition to increment the I/O command list's internal counter. |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_IO_COMMAND_COUNTER_SOURCE |
Inquires the signal to use as the counter source. SET (summarize)Inquires the signal to use as the counter source. SET (more details...) |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
[This is
only applicable to Matrox 4Sight GP/GPm platform]
On a Matrox 4Sight GPm computer, this function is only available if a MIL Host system was previously allocated. It is not available on a Matrox 4Sight GP. |
‡ | a | |||||||||||||||||||||||||||||||||||||
UserVarPtr extra info |
Data type info: Data
type: address of a
MIL_INT64
Data type info: Data
type: address of a
MIL_INT64
|
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_AUX_IOn |
Specifies to use auxiliary input signal n as the counter source, where n is the number for one of the auxiliary input signals. INFO |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_CLOCK |
Specifies to use your hardware's clock signal as a counter source. INFO |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_ROTARY_ENCODERn |
Specifies to use the output of rotary decoder n as the counter source, where n is the number of the rotary decoder. INFO |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_IO_COMMAND_LIST_NUMBER |
Inquires which I/O command list is allocated. SET (summarize)Inquires which I/O command list is allocated. SET (more details...) |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
[This is
only applicable to Matrox 4Sight GP/GPm platform]
On a Matrox 4Sight GPm computer, this function is only available if a MIL Host system was previously allocated. It is not available on a Matrox 4Sight GP. |
‡ | a | |||||||||||||||||||||||||||||||||||||
UserVarPtr extra info |
Data type info: Data
type: address of a
MIL_INT64
Data type info: Data
type: address of a
MIL_INT64
|
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_IO_COMMAND_LIST1 |
Specifies the first I/O command list. |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_IO_COMMAND_LIST2 |
Specifies the second I/O command list. |
‡ | a | w U53 |
z | ||||||||||||||||||||||||||||||||||
M_IO_OBJECT_TYPE |
Inquires the type of I/O command list that is allocated. SET (summarize)Inquires the type of I/O command list that is allocated. SET (more details...) |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
[This is
only applicable to Matrox 4Sight GP/GPm platform]
On a Matrox 4Sight GPm computer, this function is only available if a MIL Host system was previously allocated. It is not available on a Matrox 4Sight GP. |
‡ | a | |||||||||||||||||||||||||||||||||||||
UserVarPtr extra info |
Data type info: Data
type: address of a
MIL_INT64
Data type info: Data
type: address of a
MIL_INT64
|
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_IO_COMMAND_LIST |
Specifies a general I/O command list. |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_OWNER_SYSTEM |
Inquires the MIL identifier (MIL_ID) of the system on which the I/O command list has been allocated. SET (summarize)Inquires the MIL identifier (MIL_ID) of the system on which the I/O command list has been allocated. SET (more details...) |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
[This is
only applicable to Matrox 4Sight GP/GPm platform]
On a Matrox 4Sight GPm computer, this function is only available if a MIL Host system was previously allocated. It is not available on a Matrox 4Sight GP. |
‡ | a | |||||||||||||||||||||||||||||||||||||
UserVarPtr extra info |
Data type info: Data
type: address of a MIL_ID
Data type info: Data
type: address of a MIL_ID
|
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_DEFAULT_HOST |
Specifies the default Host system of the current MIL application. |
‡ | a | ||||||||||||||||||||||||||||||||||||
MIL system identifier |
Specifies a valid system identifier, previously allocated using MsysAlloc(). INFO |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_REFERENCE_VALUE |
Inquires the I/O command list's internal counter value at the current moment (that is, the moment MsysIoInquire() is called). (summarize)Inquires the I/O command list's internal counter value at the current moment (that is, the moment MsysIoInquire() is called). (more details...) |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
[This is
only applicable to Matrox 4Sight GP/GPm platform]
On a Matrox 4Sight GPm computer, this function is only available if a MIL Host system was previously allocated. It is not available on a Matrox 4Sight GP. |
‡ | a | |||||||||||||||||||||||||||||||||||||
UserVarPtr extra info |
Data type info: Data
type: address of a MIL_INT64
MORE
Data type info: Data
type: address of a MIL_INT64
MORE
|
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
Value |
Specifies the I/O command list's internal counter value. |
‡ | a | t U28 |
w U53 |
z |
The following inquire types allow you to inquire settings for one of the I/O command list's reference latches.
For inquiring reference latch settings
|
|||||||||||||||||||||||||||||||||||||||
InquireType | Description | MIL system-specific tooltip (‡) |
|||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_REFERENCE_LATCH_ACTIVATION + |
Inquires the signal transition upon which to store the time or counter value to the specified reference latch. SET You must specify a combination value from the following table: Inquires the signal transition upon which to store the time or counter value to the specified reference latch. SET (more details...) |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
[This is
only applicable to Matrox 4Sight GP/GPm platform]
On a Matrox 4Sight GPm computer, this function is only available if a MIL Host system was previously allocated. It is not available on a Matrox 4Sight GP. |
‡ | a | |||||||||||||||||||||||||||||||||||||
UserVarPtr extra info |
Data type info: Data
type: address of a MIL_INT
Data type info: Data
type: address of a MIL_INT
|
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
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 | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_EDGE_FALLING |
Specifies to store the time or counter value to the latch upon a high-to-low signal transition. |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_EDGE_RISING |
Specifies to store the time or counter value to the latch upon a low-to-high signal transition. |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_REFERENCE_LATCH_STATE + |
Inquires the state of the specified reference latch. SET You must specify a combination value from the following table: Inquires the state of the specified reference latch. SET (more details...) |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
[This is
only applicable to Matrox 4Sight GP/GPm platform]
On a Matrox 4Sight GPm computer, this function is only available if a MIL Host system was previously allocated. It is not available on a Matrox 4Sight GP. |
‡ | a | |||||||||||||||||||||||||||||||||||||
UserVarPtr extra info |
Data type info: Data
type: address of a MIL_INT
Data type info: Data
type: address of a MIL_INT
|
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies the reference latch is disabled. |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies the reference latch is enabled. |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_REFERENCE_LATCH_TRIGGER_SOURCE + |
Inquires which input signal will trigger storing the time or counter value to the specified reference latch. SET You must specify a combination value from the following table: Inquires which input signal will trigger storing the time or counter value to the specified reference latch. SET (more details...) |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
[This is
only applicable to Matrox 4Sight GP/GPm platform]
On a Matrox 4Sight GPm computer, this function is only available if a MIL Host system was previously allocated. It is not available on a Matrox 4Sight GP. |
‡ | a | |||||||||||||||||||||||||||||||||||||
UserVarPtr extra info |
Data type info: Data
type: address of a MIL_INT
Data type info: Data
type: address of a MIL_INT
|
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_AUX_IOn |
Specifies to use auxiliary input signal n, where n is a number of the auxiliary input signal. INFO |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_EXPOSURE |
Specifies to route the exposure signal of the camera. |
‡ | t U28 |
||||||||||||||||||||||||||||||||||||
M_GRAB_TRIGGER_READY |
Specifies to route the internal grab trigger ready signal. |
‡ | t U28 |
||||||||||||||||||||||||||||||||||||
M_TIMER_STROBE |
Specifies to route the internal timer strobe signal. |
‡ | t U28 |
||||||||||||||||||||||||||||||||||||
M_TIMERn |
Specifies to use timer n, where n is a number of the timer. |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
M_REFERENCE_LATCH_VALUE + |
Inquires the last time or counter value stored by the specified reference latch. You must specify a combination value from the following table: Inquires the last time or counter value stored by the specified reference latch. (more details...) |
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
[This is
only applicable to Matrox 4Sight GP/GPm platform]
On a Matrox 4Sight GPm computer, this function is only available if a MIL Host system was previously allocated. It is not available on a Matrox 4Sight GP. |
‡ | a | |||||||||||||||||||||||||||||||||||||
UserVarPtr extra info |
Data type info: Data
type: address of a MIL_INT64
MORE
Data type info: Data
type: address of a MIL_INT64
MORE
|
‡ | a | t U28 |
w U53 |
z | |||||||||||||||||||||||||||||||||
Value |
Specifies the last timestamp or counter value stored by the specified reference latch. |
‡ | a | t U28 |
w U53 |
z |
You must add the following value to the above-mentioned values to specify which reference latch to inquire about.
For specifying the reference latch to
inquire
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description |
MIL system-specific tooltip (‡) |
|||||||||||||||||||||||||||||||||||||
M_LATCHn |
Specifies to inquire about reference latch n, where n is the latch number. INFO |
‡ | a | t U28 |
w U53 |
z |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |