MIL_ID ContextFuncId, | //in |
MIL_INT ParamIndex, | //in |
const void *ParamValuePtr, | //in |
MIL_UINT ParamType, | //in |
MIL_INT NumOfItems, | //in |
MIL_INT64 MilObjectType, | //in |
MIL_INT Attribute | //in |
This function allows you to register a parameter of any data type to the current user-defined MIL function. The MfuncParam() function should be called in the master function after a call to MfuncAlloc() and before a call to MfuncCall().
MfuncParam() calls an explicitly named type-specific variation of this function. For example, to register a MIL_INT, it calls MfuncParamMilInt(). Note that, for execution efficiency, you can call the appropriate, explicitly named, type-specific variation of MfuncParam() directly. When registering parameters using the explicitly named type-specific variation of MfuncParam(), you must use that function's specific signature, found below.
Specifies the index of the parameter within the user-defined MIL function's parameter list. The index of the first parameter is considered to be one.
Specifies the address of the array or variable to register.
Note that for non-arrays, you must pass a reference to the variable. For arrays, you just pass the array name.
Specifies the parameter type of the parameter in the user-defined MIL function. Parameter types include data types, arrays of data types, void pointers, strings, and file names.
See the Parameter associations section for possible values that can be specified.
Specifies the size of the data pointed to by the ParamValuePtr parameter.
When the data is an array, the size is the number of elements. When the data is a string, the size is the number of characters in the string. When the data is a pointer, the size is in bytes. For all other types of data, set this parameter to M_DEFAULT.
This value must be greater than 0 in all cases other than M_DEFAULT.
See the Parameter associations section for possible values that can be specified.
Specifies the type of the MIL object when the data type of the parameter of the user-defined function is MIL_ID. The available object types are divided into two groups. When the specified object is of a type listed in the first group, you can specify a single or multiple object type(s) from this group. The object types of the second group cannot be used in combination with each other.
When the data type of the parameter of the user-defined function is not MIL_ID or an array of MIL_ID s, set MilObjectType to M_NULL.
The following value specifies the type of MIL objects that the MIL identifier type parameter will accept. Any value in this table can be combined with one or more values in this table. For example, if the MIL object is expected to be of type M_ARRAY or M_COUNT_LIST, set the MilObjectType parameter to M_ARRAY + M_COUNT_LIST.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL application context allocated using MappAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL array buffer allocated using MbufAlloc2d() with M_ARRAY. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL augmentation result buffer allocated using MimAllocResult() with M_AUGMENTATION_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL container buffer allocated using MbufAllocContainer(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL count list result buffer allocated using MimAllocResult() with M_COUNT_LIST. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL digitizer allocated using MdigAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL display allocated using MdispAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL event allocated using MthrAlloc() with M_EVENT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL event list result buffer allocated using MimAllocResult() with M_EVENT_LIST. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL extreme list result buffer allocated using MimAllocResult() with M_EXTREME_LIST. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL find orientation list result buffer allocated using MimAllocResult() with M_FIND_ORIENTATION_LIST. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 2D graphics context allocated using MgraAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 2D graphics list allocated using MgraAllocList(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL histogram list result buffer allocated using MimAllocResult() with M_HIST_LIST. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies an HTTP server allocated using MobjAlloc() with M_HTTP_SERVER. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL image processing context allocated using MimAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL image buffer allocated using MbufAllocColor() with M_IMAGE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL kernel buffer allocated using MbufAlloc2d() with M_KERNEL. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL locate 1D peak result buffer allocated using MimAllocResult() with M_LOCATE_PEAK_1D_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL LUT buffer allocated using MbufAlloc2d() with M_LUT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL message mailbox allocated using MobjAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL project list result buffer allocated using MimAllocResult() with M_PROJ_LIST. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL sequence context allocated using MseqAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL MimStatCalculate() result buffer allocated using MimAllocResult() with M_STATISTICS_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL structuring element buffer allocated using MbufAlloc2d() with M_STRUCT_ELEMENT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL system I/O context allocated using MsysIoAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL system context allocated using MsysAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL wavelet transform result buffer allocated using MimAllocResult() with M_WAVELET_TRANSFORM_RESULT. |
The following value specifies the type of MIL objects that the MIL identifier type parameter will accept. No value in this table can be combined with any other value in this table, though a value in this table can be combined with one or more values from the above table.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D display allocated using M3ddispAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D graphics list allocated using M3dgraAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D geometry object allocated using M3dgeoAlloc() with M_GEOMETRY. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D transformation matrix object allocated using M3dgeoAlloc() with M_TRANSFORMATION_MATRIX. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D image processing context that can be used with M3dimCalculateMapSize(), allocated using M3dimAlloc() with M_CALCULATE_MAP_SIZE_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D image processing context that can be used with M3dimFillGaps(), allocated using M3dimAlloc() with M_FILL_GAPS_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D image processing context that can be used with M3dimMesh(), allocated using M3dimAlloc() with M_MESH_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D image processing context that can be used with M3dimNormals(), allocated using M3dimAlloc() with M_NORMALS_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D image processing result buffer for profile results, allocated using M3dimAllocResult() with M_PROFILE_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D image processing context that can be used with M3dimStat(), allocated using M3dimAlloc() with M_STATISTICS_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D image processing result buffer used to store M3dimStat() results, and is allocated using M3dimAllocResult() with M_STATISTICS_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D image processing context that can be used with M3dimSample(), allocated using M3dimAlloc() with M_SUBSAMPLE_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D image processing context that can be used with M3dimSample(), allocated using M3dimAlloc() with M_SURFACE_SAMPLE_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D reconstruction result buffer allocated using M3dmapAllocResult() with M_DEPTH_CORRECTED_DATA. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D draw context allocated using M3dmapAlloc() with M_DRAW_3D_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D reconstruction result buffer allocated using M3dmapAllocResult() with M_LASER_CALIBRATION_DATA. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D reconstruction context allocated using M3dmapAlloc() with M_LASER. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D reconstruction result buffer allocated using M3dmapAllocResult() with M_POINT_CLOUD_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL fit 3D metrology context allocated using M3dmetAlloc() with M_FIT_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL fit 3D metrology result buffer allocated using M3dmetAllocResult() with M_FIT_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL statistics 3D metrology context allocated using M3dmetAlloc() with M_STATISTICS_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL statistics 3D metrology result buffer allocated using M3dmetAllocResult() with M_STATISTICS_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL pairwise 3D registration context allocated using M3dregAlloc() with M_PAIRWISE_REGISTRATION_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL pairwise 3D registration result buffer allocated using M3dregAllocResult() with M_PAIRWISE_REGISTRATION_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL bead context allocated using MbeadAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL bead result buffer allocated using MbeadAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL blob analysis context allocated using MblobAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL blob analysis result buffer allocated using MblobAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL camera calibration context allocated using McalAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL 3D draw calibration context allocated using McalAlloc() with M_DRAW_3D_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL fixturing offset object allocated using McalAlloc() with M_FIXTURING_OFFSET. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL predefined convolutional neural network context allocated using MclassAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL tree ensemble classifier context allocated using MclassAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL features dataset context allocated using MclassAlloc() with M_DATASET_FEATURES. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL classification dataset allocated using MclassAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL result buffer to hold the classification results performed with a predefined convolutional neural network context using MclassPredict(). Allocated using MclassAllocResult(). (summarize)Specifies a MIL result buffer to hold the classification results performed with a predefined convolutional neural network context using MclassPredict(). (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL tree ensemble prediction result buffer, allocated using MclassAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL context to hold the training settings of a convolutional neural network training context allocated using MclassAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL result buffer to hold the result of a call to MclassTrain(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL tree ensemble training context, allocated using MclassAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL tree ensemble training result buffer, allocated using MclassAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL code context allocated using McolAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL code detect result buffer allocated using McodeAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL code grade result buffer allocated using McodeAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL code model allocated using McodeModel() with M_ADD. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL code read result buffer allocated using McodeAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL code train result buffer allocated using McodeAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL code write result buffer allocated using McodeAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL color analysis context (for matching) allocated using McolAlloc() with M_COLOR_MATCHING. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL color analysis result buffer (for matching) allocated using McolAllocResult() with M_COLOR_MATCHING_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL relative color calibration context allocated using McolAlloc() with M_COLOR_CALIBRATION_RELATIVE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL industrial communication context allocated using McomAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL SureDotOCR context allocated using MdmrAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL SureDotOCR result buffer allocated using MdmrAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL edge contour context allocated using MedgeAlloc() with M_CONTOUR. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL edge crest context allocated using MedgeAlloc() with M_CREST. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL edge result buffer allocated using MedgeAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL measurement context allocated using MmeasAllocContext(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL measurement marker allocated using MmeasAllocMarker(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL measurement result buffer allocated using MmeasAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL metrology context allocated using MmetAlloc() with M_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL metrology derived geometry region object allocated using MmetAlloc() with M_DERIVED_GEOMETRY_REGION. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL metrology result buffer allocated using MmetAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL Model Finder context allocated using MmodAlloc() with M_GEOMETRIC. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL Model Finder context allocated using MmodAlloc() with M_GEOMETRIC_CONTROLLED. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL Model Finder result buffer allocated using MmodAllocResult() with M_DEFAULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL Model Finder context allocated using MmodAlloc() with M_SHAPE_CIRCLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL Model Finder context allocated using MmodAlloc() with M_SHAPE_ELLIPSE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL Model Finder context allocated using MmodAlloc() with M_SHAPE_RECTANGLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL Model Finder result buffer allocated using MmodAllocResult() with M_SHAPE_CIRCLE or M_SHAPE_ELLIPSE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL Model Finder context allocated using MmodAlloc() with M_SHAPE_SEGMENT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL mutex allocated using MthrAlloc() with M_MUTEX. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL character recognition font context allocated using MocrAllocFont(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL character recognition result buffer allocated using MocrAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL pattern matching context allocated using MpatAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL pattern matching result buffer allocated using MpatAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL registration context allocated using MregAlloc() with M_DEPTH_FROM_FOCUS. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL registration result buffer allocated using MregAllocResult() with M_DEPTH_FROM_FOCUS_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL registration context allocated using MregAlloc() with M_EXTENDED_DEPTH_OF_FIELD. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL registration result buffer allocated using MregAllocResult() with M_EXTENDED_DEPTH_OF_FIELD_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL registration context allocated using MregAlloc() with M_HIGH_DYNAMIC_RANGE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL registration result buffer allocated using MregAllocResult() with M_HIGH_DYNAMIC_RANGE_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL registration context allocated using MregAlloc() with M_PHOTOMETRIC_STEREO. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL registration result buffer allocated using MregAllocResult() with M_PHOTOMETRIC_STEREO_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL registration context allocated using MregAlloc() with M_STITCHING. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL registration result buffer allocated using MregAllocResult() with M_STITCHING_RESULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL selectable thread allocated using MthrAlloc() with M_SELECTABLE_THREAD. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL string context allocated using MstrAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL string result buffer allocated using MstrAllocResult(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL thread allocated using MthrAlloc() with M_THREAD. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL thread context object allocated using MthrAlloc() with M_THREAD. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL object from group one of the user-defined object types allocated using MfuncAllocId() with M_USER_OBJECT_1. You must specify a combination value from the following table: Specifies a MIL object from group one of the user-defined object types allocated using MfuncAllocId() with M_USER_OBJECT_1. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a MIL object from group two of the user-defined object types allocated using MfuncAllocId() with M_USER_OBJECT_2. You must specify a combination value from the following table: Specifies a MIL object from group two of the user-defined object types allocated using MfuncAllocId() with M_USER_OBJECT_2. (more details...) |
You must add the following value to the above-mentioned values to set the offset.
The offset allows you to distinguish between the different object types of the same group (for example, M_USER_OBJECT_1 + 0x0001).
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the offset within the selected object type group. The value must have only one of its 16 least significant bits set. (summarize)Specifies the offset within the selected object type group. (more details...) |
Specifies whether the parameter will be used for data input or to store new data.
When registering a const array type parameter, Attribute must be set to M_IN.
See the Parameter associations section for possible values that can be specified.
The tables below list possible values for the ParamType, NumOfItems, and Attribute parameters.
The following values specify to call type-specific variations of MfuncParam() that register parameters that handle primitive MIL data types, such as, MIL_DOUBLE, MIL_INT, and MIL_UINT64, as well as strings, void pointers and file names.
Unless otherwise specified, when specifying values from this table, you must set the NumOfItems parameter to M_DEFAULT, the MilObjectType parameter to M_NULL, and the Attribute parameter to M_NULL.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
NumOfItems | |||||||||||||||||||||||||||||||||||||||
Attribute | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamMilDouble(), which then registers a type MIL_DOUBLE parameter for the current user-defined MIL function. (summarize)Specifies to call MfuncParamMilDouble(), which then registers a type MIL_DOUBLE parameter for the current user-defined MIL function. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamMilInt(), which then registers a type MIL_INT parameter for the current user-defined MIL function. (summarize)Specifies to call MfuncParamMilInt(), which then registers a type MIL_INT parameter for the current user-defined MIL function. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamMilInt32(), which then registers a type MIL_INT32 parameter for the current user-defined MIL function. (summarize)Specifies to call MfuncParamMilInt32(), which then registers a type MIL_INT32 parameter for the current user-defined MIL function. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamMilInt64(), which then registers a type MIL_INT64 parameter for the current user-defined MIL function. (summarize)Specifies to call MfuncParamMilInt64(), which then registers a type MIL_INT64 parameter for the current user-defined MIL function. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamMilUint(), which then registers a type MIL_UINT parameter for the current user-defined MIL function. (summarize)Specifies to call MfuncParamMilUint(), which then registers a type MIL_UINT parameter for the current user-defined MIL function. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamMilUint32(), which then registers a type MIL_UINT32 parameter for the current user-defined MIL function. (summarize)Specifies to call MfuncParamMilUint32(), which then registers a type MIL_UINT32 parameter for the current user-defined MIL function. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamMilUint64(), which then registers a type MIL_INT64 parameter for the current user-defined MIL function. (summarize)Specifies to call MfuncParamMilUint64(), which then registers a type MIL_INT64 parameter for the current user-defined MIL function. (more details...) |
The following values specify to call type-specific variations of MfuncParam() that register parameters that handle arrays of primitive MIL data types, such as, MIL_DOUBLE, MIL_INT, and MIL_UINT64.
When specifying values from this table, you must set the NumOfItems parameter to the number of items in the array, and you must set the MilObjectType parameter to M_NULL.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
NumOfItems | |||||||||||||||||||||||||||||||||||||||
Attribute | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamArrayMilDouble(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_DOUBLE. (summarize)Specifies to call MfuncParamArrayMilDouble(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_DOUBLE. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamArrayMilInt(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_INT. (summarize)Specifies to call MfuncParamArrayMilInt(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_INT. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamArrayMilInt32(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_INT32. (summarize)Specifies to call MfuncParamArrayMilInt32(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_INT32. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamArrayMilInt64(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_INT64. (summarize)Specifies to call MfuncParamArrayMilInt64(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_INT64. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamArrayMilUint(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_UINT. (summarize)Specifies to call MfuncParamArrayMilUint(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_UINT. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamArrayMilUint32(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_UINT32. (summarize)Specifies to call MfuncParamArrayMilUint32(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_UINT32. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamArrayMilUint64(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_UINT64. (summarize)Specifies to call MfuncParamArrayMilUint64(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_UINT64. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
The following values specify to call type-specific variations of MfuncParam() that register parameters that handle const arrays of primitive MIL data types, such as, MIL_DOUBLE, MIL_INT, and MIL_UINT64, as well as const pointers and const strings.
Unless otherwise specified, when specifying values from this table, you must set the NumOfItems parameter to the number of items in the array, and you must set the MilObjectType parameter to M_NULL.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
NumOfItems | |||||||||||||||||||||||||||||||||||||||
Attribute | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamConstArrayMilDouble(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_DOUBLE. (summarize)Specifies to call MfuncParamConstArrayMilDouble(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_DOUBLE. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the following. (summarize)Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamConstArrayMilInt(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_INT. (summarize)Specifies to call MfuncParamConstArrayMilInt(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_INT. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the following. (summarize)Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamConstArrayMilInt32(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_INT32. (summarize)Specifies to call MfuncParamConstArrayMilInt32(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_INT32. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the following. (summarize)Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamConstArrayMilInt64(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_INT64. (summarize)Specifies to call MfuncParamConstArrayMilInt64(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_INT64. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the following. (summarize)Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamConstArrayMilUint(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_UINT. (summarize)Specifies to call MfuncParamConstArrayMilUint(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_UINT. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the following. (summarize)Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamConstArrayMilUint32(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_UINT32. (summarize)Specifies to call MfuncParamConstArrayMilUint32(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_UINT32. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the following. (summarize)Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamConstArrayMilUint64(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_UINT64. (summarize)Specifies to call MfuncParamConstArrayMilUint64(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_UINT64. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the following. (summarize)Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
The following values specify to call type-specific variations of MfuncParam() that register a string or file name parameter.
Unless otherwise specified, when specifying values from this table, you must set the MilObjectType parameter to M_NULL.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
NumOfItems | |||||||||||||||||||||||||||||||||||||||
Attribute | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamConstMilText(), which then registers a parameter of the current user-defined MIL function that handles a const string. (summarize)Specifies to call MfuncParamConstMilText(), which then registers a parameter of the current user-defined MIL function that handles a const string. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies one of the following. (summarize)Specifies one of the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies for MIL to auto-calculate the number of characters in the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the number of characters in the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the following. (summarize)Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the object passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamFilename(), which then registers a parameter of the current user-defined MIL function that handles a file name. (summarize)Specifies to call MfuncParamFilename(), which then registers a parameter of the current user-defined MIL function that handles a file name. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies one of the following. (summarize)Specifies one of the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies for MIL to auto-calculate the number of characters in the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the number of characters in the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies one of the following. (summarize)Specifies one of the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the parameter of the current user-defined MIL function will be registered for file reading only. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the parameter of the current user-defined MIL function will be registered for file writing only. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamMilText(), which then registers a parameter of the current user-defined MIL function that handles a string. (summarize)Specifies to call MfuncParamMilText(), which then registers a parameter of the current user-defined MIL function that handles a string. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies one of the following. (summarize)Specifies one of the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies for MIL to auto-calculate the number of characters in the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the number of characters in the string. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
The following values specify to call type-specific variations of MfuncParam() that register pointer parameters, including arrays and const arrays of pointers.
Unless otherwise specified, when specifying values from this table, you must set the MilObjectType parameter to M_NULL.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
NumOfItems | |||||||||||||||||||||||||||||||||||||||
Attribute | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamConstDataPointer(), which then registers a parameter of the current user-defined MIL function that handles a const data pointer. (summarize)Specifies to call MfuncParamConstDataPointer(), which then registers a parameter of the current user-defined MIL function that handles a const data pointer. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the number of bytes in the pointer. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the following. (summarize)Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the object passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamDataPointer(), which then registers a parameter of the current user-defined MIL function that handles a data pointer. (summarize)Specifies to call MfuncParamDataPointer(), which then registers a parameter of the current user-defined MIL function that handles a data pointer. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the number of bytes in the pointer. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the object passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the object passed to ParamValuePtr is used to store new data from the user-defined function. |
The following values specify to call type-specific variations of MfuncParam() that register parameters that handle a MIL_ID, including arrays and const arrays of MIL_ID s.
When registering MIL_ID parameters, you must specify a value for MilObjectType.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
NumOfItems | |||||||||||||||||||||||||||||||||||||||
Attribute | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamArrayMilId(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_ID. (summarize)Specifies to call MfuncParamArrayMilId(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_ID. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specify the number of elements in the array. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the objects referenced in the array passed to ParamValuePtr are used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the objects referenced by the MIL_ID passed to ParamValuePtr are used to store new data from the user-defined function. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamConstArrayMilId(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_ID. (summarize)Specifies to call MfuncParamConstArrayMilId(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_ID. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specify the number of elements in the array. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the following. (summarize)Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the objects referenced in the array passed to ParamValuePtr are used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to call MfuncParamMilId(), which then registers a type MIL_ID parameter of the current user-defined MIL function. (summarize)Specifies to call MfuncParamMilId(), which then registers a type MIL_ID parameter of the current user-defined MIL function. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
This parameter must be set to M_DEFAULT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the object referenced by the MIL_ID passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the object referenced by the MIL_ID passed to ParamValuePtr is used to store new data from the user-defined function. |
You can add one or more of the following values to the above-mentioned values to specify the optional settings for a MIL identifier type parameter.
When you register a MIL identifier type of parameter, the user-defined function will throw an error if a value other than a MIL_ID is passed to it. There are, however, non-standard identifier values that can be accepted. The values specified below specify which non-standard identifier values are valid in addition to a MIL_ID.
There is also the optional of specifying that a MIL identifier will not be internally modified or compensated during the execution of the user-defined function.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this parameter will accept M_DEFAULT as a valid MIL_ID. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this parameter will accept M_NULL as a valid MIL_ID. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this parameter will accept any valid MIL_ID, but will not internally modify it. This means different things depending on if this value is added to M_IN or M_OUT. For a MIL identifier type parameter set to M_IN, the buffer specified by the user is used as the source of information for the user-defined function. When that source buffer is on a different system, the MIL identifier for that buffer is internally modified if the content of the buffer needs to be copied to another system for processing. This modification is called compensation. If your application uses the MIL identifiers exactly as specified by the user, your application could crash by inadvertently pointing to a buffer whose content has been copied to another buffer with a compensated MIL identifier. You can avoid this by adding M_AS_VALUE to M_IN when registering your parameter. This has the effect of keeping the specific value of the MIL identifier specified by the user, without compensating it. For a MIL identifier type parameter set to M_OUT, the buffer specified by the user is used as the destination of information for the user-defined function. When you register this parameter without M_AS_VALUE, the user must specify the MIL_ID of a previously allocated buffer. When the user-defined function is called, the content of that destination buffer will be filled with new data. When you register this parameter as M_OUT + M_AS_VALUE, the user must specify a pointer. When the user-defined function is called, the pointer will be filled with a MIL_ID. The MIL_ID could be, for example, a newly-allocated buffer or the result of an inquire. (summarize)Specifies that this parameter will accept any valid MIL_ID, but will not internally modify it. (more details...) |
You can add one or more of the following values to the above-mentioned values to specify the image buffer type, if MilObjectType is set to M_IMAGE.
If you specify an M_IMAGE object (from the ParamValuePtr parameter) that does not correspond to any of the type(s) selected from the values listed below, an error is returned. If none of the values specified below are added, any M_IMAGE object will be accepted. Note that you cannot specify any of the following if the MilObjectType parameter is set to a combination of values.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the buffer can be displayed. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the buffer can have data grabbed into it. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the buffer can be processed. |
void MfuncParamArrayMilDouble (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_DOUBLE *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamArrayMilId
(MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_ID *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT64 MilObjectType,
MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. MilObjectType See MilObjectType of the main function for a description. Attribute See Attribute of the main function for a description. |
void MfuncParamArrayMilInt (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_INT *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamArrayMilInt32 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_INT32 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamArrayMilInt64 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_INT64 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamArrayMilUint (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_UINT *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamArrayMilUint32 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_UINT32 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamArrayMilUint64 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_UINT64 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilDouble (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_DOUBLE *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilId (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_ID *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT64 MilObjectType,
MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. MilObjectType See MilObjectType of the main function for a description. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilInt (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_INT *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilInt32 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_INT32 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilInt64 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_INT64 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilUint (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_UINT *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilUint32 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_UINT32 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilUint64 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_UINT64 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. Specifies the value of the type MIL_UINT64 parameter. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstDataPointer (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const void *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstMilText (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_CONST_TEXT_PTR ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the length of the string in characters, including the null terminator. Attribute See Attribute of the main function for a description. |
void MfuncParamDataPointer (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
void *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the size of the data, in bytes, pointed to by ParamValuePtr. Attribute See Attribute of the main function for a description. |
void MfuncParamFilename
(MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_CONST_TEXT_PTR ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the length of the string in characters, including the null terminator. Attribute See Attribute of the main function for a description. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_DOUBLE parameter. |
void MfuncParamMilId
(MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_ID ParamValue,
MIL_INT64 MilObjectType,
MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_ID parameter. MilObjectType See MilObjectType of the main function for a description. Attribute See Attribute of the main function for a description. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_INT parameter. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_INT32 parameter. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_INT64 parameter. |
void MfuncParamMilText
(MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_TEXT_PTR ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the length of the string in characters, including the null terminator. Attribute See Attribute of the main function for a description. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_UINT parameter. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_UINT32 parameter. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_UINT64 parameter. |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |