Click here to show toolbars of the Web Online Help System: show toolbars |
MIL_ID ObjectId, | //in |
MIL_INT64 ControlType, | //in |
MIL_DOUBLE ControlValue | //in |
This function controls settings for the MIL objects in a publishing application within the Distributed MIL monitoring configuration. You can set the read/write access and the name of each MIL object on the specified application.
Specifies the identifier of the MIL object to control. The MIL object can be a MIL utility object (allocated using MobjAlloc()) or any other MIL object, except for MIL objects allocated using MfuncAlloc().
Specifies the type of MIL object setting to control.
See the Parameter associations section for possible values that can be specified.
Specifies the MIL object setting's new value.
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 ControlType and corresponding ControlValue parameter settings are used to control the access of remote MIL objects.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Controls a MIL object's remote access rights. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the MIL object will not be visible. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the MIL object can only be used as a source or to be inquired. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the MIL object can be used as a destination or can be controlled by MIL functions. |
The following ControlType and corresponding ControlValue parameter settings are used to associate a name to a MIL object.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a name to associate with a MIL object. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the address of the string identifying the specified object's name, from a MIL_CONST_TEXT_PTR to a MIL_DOUBLE. |
||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
This parameter specifies the string whose address to cast. |
|||||||||||||||||||||||||||||||||||||||
|
1 If you are passing the value in a variable, don't enclose it in MIL_TEXT().
The following ControlType and corresponding ControlValue parameter settings are used to control message mailbox objects allocated using MobjAlloc() with M_MESSAGE_MAILBOX.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the behavior of the queue when the message limit is attained. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_WRITE_TIMEOUT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that a MIL error is generated when the message limit is attained. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to wait for the write timeout to elapse. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the number of messages the queue can hold. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 100 messages. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the number of messages the queue can hold. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the amount of time to wait for a read operation. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_INFINITE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the read operation waits indefinitely. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the amount of time to wait, in msecs. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Resets the message mailbox by removing all messages. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default behavior. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the amount of time to wait for a write operation. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_INFINITE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the write operation waits indefinitely. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the amount of time to wait, in msecs. |
Parameters
ObjectId See ObjectId of the main function for a description. ControlType See ControlType of the main function for a description. ControlValue See ControlValue of the main function for a description. |
Parameters
ObjectId See ObjectId of the main function for a description. ControlType See ControlType of the main function for a description. ControlValue See ControlValue of the main function for a description. |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |