1 #ifndef __MLPIPARAMETERLIB_H__ 2 #define __MLPIPARAMETERLIB_H__ 440 #define MLPI_SIDN_TYPE_DRIVE_S (0x0000000000ULL) 443 #define MLPI_SIDN_TYPE_DRIVE_P (0x0000008000ULL) 446 #define MLPI_SIDN_TYPE_AXIS (0x0100000000ULL) 449 #define MLPI_SIDN_TYPE_CONTROL (0x0200000000ULL) 452 #define MLPI_SIDN_TYPE_KINEMATIC (0x2B00000000ULL) 455 #define MLPI_SIDN_TYPE_PROBE (0x2D00000000ULL) 458 #define MLPI_SIDN_TYPE_POSLIMSWITCH (0x2E00000000ULL) 461 #define MLPI_SIDN_TYPE_OSCILLOSCOPE (0x2F00000000ULL) 464 #define MLPI_SIDN_INSTANCE_MASK (0xFF00000000000000ULL) 467 #define MLPI_SIDN_TYPE_MASK (0xFF00008000ULL) 470 #define MLPI_SIDN_SET_MASK (0x00007000) 473 #define MLPI_SIDN_BLOCK_MASK (0x00000FFF) 476 #define MLPI_SIDN_SE_MASK (0x00FF0000) 479 #define MLPI_SIDN_SI_MASK (0xFF000000) 498 #define MLPI_ADDRESS_MODE_LOGICAL (0x0000000000000000ULL) 501 #define MLPI_ADDRESS_MODE_PHYSICAL (0x0000000000000001ULL) 504 #define MLPI_ADDRESS_MODE_TOPOLOGICAL (0x0000000000000002ULL) 509 #define MLPI_ADDRESS_MODE_LOGICAL_NATIVE (0x0000000000000003ULL) 513 #define MLPI_ADDRESS_SLAVE_MASK (0x000000000000FFFFULL) 516 #define MLPI_ADDRESS_MASTER_MASK (0x00000000FFFF0000ULL) 519 #define MLPI_ADDRESS_MODE_MASK (0x000000FF00000000ULL) 539 #define MLPI_SIDN(type, set, block, si, se) ( (ULLONG) ( \ 540 ( ( ((ULLONG) type ) ) & MLPI_SIDN_TYPE_MASK ) | \ 541 ( ( ((ULLONG) set ) << 12) & MLPI_SIDN_SET_MASK ) | \ 542 ( ( ((ULLONG) block) ) & MLPI_SIDN_BLOCK_MASK ) | \ 543 ( ( ((ULLONG) si ) << 24) & MLPI_SIDN_SI_MASK ) | \ 544 ( ( ((ULLONG) se ) << 16) & MLPI_SIDN_SE_MASK ) ) ) 550 #define MLPI_SIDN_A(block) (MLPI_SIDN(MLPI_SIDN_TYPE_AXIS, 0, block, 0, 0)) 556 #define MLPI_SIDN_C(block) (MLPI_SIDN(MLPI_SIDN_TYPE_CONTROL, 0, block,0, 0)) 562 #define MLPI_SIDN_K(block) (MLPI_SIDN(MLPI_SIDN_TYPE_KINEMATIC, 0, block, 0, 0)) 568 #define MLPI_SIDN_M(block) (MLPI_SIDN(MLPI_SIDN_TYPE_PROBE, 0, block, 0, 0)) 574 #define MLPI_SIDN_N(block) (MLPI_SIDN(MLPI_SIDN_TYPE_POSLIMSWITCH, 0, block, 0, 0)) 580 #define MLPI_SIDN_O(block) (MLPI_SIDN(MLPI_SIDN_TYPE_OSCILLOSCOPE, 0, block, 0, 0)) 586 #define MLPI_SIDN_S(block) (MLPI_SIDN(MLPI_SIDN_TYPE_DRIVE_S, 0, block, 0, 0)) 592 #define MLPI_SIDN_P(block) (MLPI_SIDN(MLPI_SIDN_TYPE_DRIVE_P, 0, block, 0, 0)) 597 #define MLPI_SIDN_INST(sidn) ( (UCHAR) ((sidn & MLPI_SIDN_INSTANCE_MASK ) >> 56 ) ) 602 #define MLPI_SIDN_TYPE(sidn) ( (ULLONG) ((sidn & MLPI_SIDN_TYPE_MASK ) ) ) 607 #define MLPI_SIDN_SET(sidn) ( (UCHAR) ((sidn & MLPI_SIDN_SET_MASK ) >> 12 ) ) 612 #define MLPI_SIDN_BLOCK(sidn) ( (USHORT) ((sidn & MLPI_SIDN_BLOCK_MASK) ) ) 617 #define MLPI_SIDN_SI(sidn) ( (UCHAR) ((sidn & MLPI_SIDN_SI_MASK ) >> 24 ) ) 622 #define MLPI_SIDN_SE(sidn) ( (UCHAR) ((sidn & MLPI_SIDN_SE_MASK ) >> 16 ) ) 636 #define MLPI_ADDRESS(mode, master, slave) ( (ULLONG) ( \ 637 ( ( ((ULLONG) mode ) << 32 ) & MLPI_ADDRESS_MODE_MASK ) | \ 638 ( ( ((ULLONG) master ) << 16 ) & MLPI_ADDRESS_MASTER_MASK ) | \ 639 ( ( ((ULLONG) slave ) ) & MLPI_ADDRESS_SLAVE_MASK ) ) ) 642 #define MLPI_PARAMETER_MASTER_ADDRESS(x) ( (USHORT)((x>>16) & 0xFFFF) ) 643 #define MLPI_PARAMETER_SLAVE_ADDRESS(x) ( (USHORT) (x & 0xFFFF) ) 644 #define MLPI_PARAMETER_ADDRESS_MODE(x) ( (UCHAR) (((ULLONG)x>>32) & 0x0F) ) 651 #define MLPI_PARAMETER_EIDN_MAX_LENGTH_OF_NAME ( 60) 654 #define MLPI_PARAMETER_EIDN_MAX_LENGTH_OF_UNIT ( 12) 657 #define MLPI_PARAMETER_EIDN_MAX_LENGTH_OF_DATA (65532) 671 }MlpiParamImExportStatus;
687 #if !defined(TARGET_OS_VXWORKS) 781 #if !defined(TARGET_OS_VXWORKS) 795 #if defined(TARGET_OS_WINNT) 796 #if defined(MLPI_EXPORTS) 797 #define MLPI_API __declspec(dllexport) 798 #elif defined(MLPI_IMPORTS) 799 #define MLPI_API __declspec(dllimport) 804 #if defined(MLPI_EXPORTS) 805 #define MLPI_API __attribute__ ((visibility("default"))) 806 #elif defined(MLPI_IMPORTS) 2892 #endif // endof: #ifndef __MLPIPARAMETERLIB_H__ MLPIRESULT mlpiParameterReadDataDouble(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, DOUBLE *data)
This function reads the 64-bit floating point data value (double precision) of a parameter.
MLPIRESULT mlpiParameterReadMinimumUlong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, ULONG *data)
This function reads the 32-bit unsigned minimum value of a parameter.
unsigned char UCHAR
1 byte unsigned integer
MLPIRESULT mlpiParameterReadDataUlong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, ULONG *data)
This function reads the 32-bit unsigned data value of a parameter.
MLPIRESULT mlpiParameterReadDataString(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, WCHAR16 *data, const ULONG numElements, ULONG *numElementsRet)
This function reads the value of a parameter and returns it as string. A conversion from other types ...
MLPIRESULT mlpiParameterReadDataArrayVoid(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, void *data, const ULONG dataSize, ULONG *dataSizeRet)
This function reads the data value of a parameter.
MLPIRESULT mlpiParameterReadMaximumLong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, LONG *data)
This function reads the 32-bit signed maximum value of a parameter.
MLPIRESULT mlpiParameterReadDefaultUshort(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, USHORT *data)
This function reads the 16-bit unsigned default value of a parameter.
MLPIRESULT mlpiParameterCommand(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn)
This function sets a command through a parameter. The command will be executed and the function will ...
MLPIRESULT mlpiParameterReadDataLlong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, LLONG *data)
This function reads the 64-bit signed data value of a parameter.
unsigned long long ULLONG
8 byte unsigned integer
MLPIRESULT mlpiParameterWriteDataString(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const WCHAR16 *data)
This function writes a given UTF16 string to a parameter.
int LONG
4 byte signed integer
MLPIRESULT mlpiParameterExportFileStartProcess(const MLPIHANDLE connection, const WCHAR16 *path, const WCHAR16 *exportPattern, PROCESSHANDLE *process)
This function exports parameters to a file on CF card in a asynchronous way. In string 'exportPattern...
MLPIRESULT mlpiParameterWriteDataUlong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const ULONG data)
This function writes a given 32-bit unsigned data value to a parameter.
char CHAR
1 byte signed integer
MLPIRESULT mlpiParameterReadDataArrayFloat(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, FLOAT *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 32-bit floating point data values (single precision) of a parameter...
MLPIRESULT mlpiParameterWriteAccessStatus(const MLPIHANDLE connection, const PROCESSHANDLE process, const BOOL8 waitForWriteAccess, const ULONG timeout, MlpiParamWriteAccess *writeAccess, const ULONG numElements, ULONG *numElementsRet)
This function reads the status of a write access monitoring process. The process has be initialized v...
MLPIRESULT mlpiParameterImportExportAbort(const MLPIHANDLE connection, const PROCESSHANDLE process)
This function stops a given parameter process.
MLPIRESULT mlpiParameterReadDefaultUllong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, ULLONG *data)
This function reads the 64-bit unsigned default value of a parameter.
MLPIRESULT mlpiParameterReadName(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, WCHAR16 *name, const ULONG numElements)
This function reads the name of a parameter (Parameter structure, sercos element 2).
signed char BOOL8
1 byte boolean
MLPIRESULT mlpiParameterReadMinimumUchar(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, UCHAR *data)
This function reads the 8-bit unsigned minimum value of a parameter.
MlpiParameterCommandStatus
This enumeration defines the status of a command execution using mlpiParameterReadCommandStatus.
unsigned short USHORT
2 byte unsigned integer
MLPIRESULT mlpiParameterReadDefaultLong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, LONG *data)
This function reads the 32-bit signed default value of a parameter.
MLPIRESULT mlpiParameterReadMinimumShort(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, SHORT *data)
This function reads the 16-bit signed minimum value of a parameter.
MlpiProcessState
This enumeration defines the state of a process.
MLPIRESULT mlpiParameterReadMinimumChar(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, CHAR *data)
This function reads the 8-bit signed minimum value of a parameter.
struct MlpiSidnError MlpiSidnError
This structure defines the information returned in case an error occurred during parameter import or ...
unsigned long PROCESSHANDLE
MLPI handle value used for a process.
Procedure command has been executed correctly.
struct MlpiParamWriteAccess MlpiParamWriteAccess
This structure defines the information of an parameter used by function mlpiParameterWriteAccessSetup...
MLPIRESULT mlpiParameterReadMinimumLong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, LONG *data)
This function reads the 32-bit signed minimum value of a parameter.
MLPIRESULT mlpiParameterReadDataUllong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, ULLONG *data)
This function reads the 64-bit unsigned data value of a parameter.
MLPIRESULT mlpiParameterWriteDataArrayLong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const LONG *data, const ULONG numElements)
This function writes an array of given 32-bit signed data values to a parameter.
MLPIRESULT mlpiParameterReadUnit(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, WCHAR16 *unit, const ULONG numElements)
This function reads the unit of a parameter (d structure, sercos element 4).
MLPIRESULT mlpiParameterWriteDataUshort(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const USHORT data)
This function writes a given 16-bit unsigned data value to a parameter.
MLPIRESULT mlpiParameterReadDataFloat(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, FLOAT *data)
This function reads the 32-bit floating point data value (single precision) of a parameter.
Procedure command is set.
MLPIRESULT mlpiParameterReadMinimumLlong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, LLONG *data)
This function reads the 64-bit signed minimum value of a parameter.
MLPIRESULT mlpiParameterReadDataArrayDouble(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, DOUBLE *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 64-bit floating point data values (double precision) of a parameter...
MLPIRESULT mlpiParameterReadMinimumDouble(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, DOUBLE *data)
This function reads the 64-bit floating point minimum value (double precision) of a parameter...
MLPIRESULT mlpiParameterWriteDataArrayDouble(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const DOUBLE *data, const ULONG numElements)
This function writes an array of given 64-bit floating point data values (double precision) to a para...
MLPIRESULT mlpiParameterWriteDataDouble(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const DOUBLE data)
This function writes a given 64-bit floating point data value (double precision) to a parameter...
MlpiParameterProcessType
This enumeration defines the type of the parameter process.
MLPIRESULT mlpiParameterWriteDataArrayUllong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const ULLONG *data, const ULONG numElements)
This function writes an array of given 64-bit unsigned data values to a parameter.
struct MlpiParamProcessStatus MlpiParamProcessStatus
This structure defines the information about a parameter process status.
MLPIRESULT mlpiParameterWriteDataArrayFloat(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const FLOAT *data, const ULONG numElements)
This function writes an array of given 32-bit floating point data values (single precision) to a para...
short SHORT
2 byte signed integer
MLPIRESULT mlpiParameterWriteDataLong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const LONG data)
This function writes a given 32-bit signed data value to a parameter.
MLPIRESULT mlpiParameterWriteDataShort(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const SHORT data)
This function writes a given 16-bit signed data value to a parameter.
MLPIRESULT mlpiParameterReadDataArrayUchar(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, UCHAR *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 8-bit unsigned data values of a parameter.
MLPIRESULT mlpiParameterWriteDataArrayUchar(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const UCHAR *data, const ULONG numElements)
This function writes an array of given 8-bit unsigned data values to a parameter. ...
MLPIRESULT mlpiParameterImportFile(const MLPIHANDLE connection, const WCHAR16 *path, MlpiSidnError *errorList, const ULONG numElements, ULONG *numElementsRet, const WCHAR16 *mapping)
This function imports a parameter file from CF-card. The string 'mapping' can give information on whi...
MLPIRESULT mlpiParameterReadDataArrayLlong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, LLONG *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 64-bit signed data values of a parameter.
MLPIRESULT mlpiParameterWriteDataArrayUshort(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const USHORT *data, const ULONG numElements)
This function writes a array of given 16-bit unsigned data values to a parameter. ...
MLPIRESULT mlpiParameterReadDefaultDouble(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, DOUBLE *data)
This function reads the 64-bit floating point default value (double precision) of a parameter...
Procedure command is activated but not yet executed.
wchar_t WCHAR16
UTF16 string.
unsigned int ULONG
4 byte unsigned integer
MLPIRESULT mlpiParameterReadCommandStatus(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, USHORT *status)
This function reads the parameter command status (comparing to MlpiParameterCommandStatus). Use this function to get the command status of parallel command executions triggered by several calls of mlpiParameterWriteDataUlong or the like.
Error, procedure command execution impossible.
MLPIRESULT mlpiParameterReadDataArrayChar(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, CHAR *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 8-bit signed data values of a parameter.
MLPIRESULT mlpiParameterReadAttribute(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, ULONG *attribute)
This function reads the attribute of a parameter (Parameter structure, sercos element 3)...
Procedure command has been canceled and is inactive.
MLPIRESULT mlpiParameterReadDefaultLlong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, LLONG *data)
This function reads the 64-bit signed default value of a parameter.
MLPIRESULT mlpiParameterWriteDataArrayChar(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const CHAR *data, const ULONG numElements)
This function writes an array of given 8-bit signed data values to a parameter.
MLPIRESULT mlpiParameterWriteAccessSetup(const MLPIHANDLE connection, MlpiParamWriteAccess *writeAccess, const ULONG numElements, PROCESSHANDLE *process)
This function initializes a monitoring of parameters on a write access of the operation data...
MLPIRESULT mlpiParameterReadMaximumDouble(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, DOUBLE *data)
This function reads the 64-bit floating point maximum value (double precision) of a parameter...
MLPIRESULT mlpiParameterReadEverything(const MLPIHANDLE connection, MlpiReadEverything *readEverything, const ULONG numElements, UCHAR *data, const ULONG dataSize)
This function reads every element of a list of given parameters (Parameter structure). This means that you can read multiple parameters at once and you can read each element (value, default value, min, max, attribute, ...) of each parameter at once. All with a single function call instead of multiple calls to different functions. On the server side, the firmware tries to read the data in parallel where possible.
MLPIRESULT mlpiParameterReadMaximumUlong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, ULONG *data)
This function reads the 32-bit unsigned maximum value of a parameter.
MLPIRESULT mlpiParameterWriteDataArrayUlong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const ULONG *data, const ULONG numElements)
This function writes an array of given 32-bit unsigned data values to a parameter.
MLPIRESULT mlpiParameterReadDefaultShort(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, SHORT *data)
This function reads the 16-bit signed default value of a parameter.
MLPIRESULT mlpiParameterReadDataShort(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, SHORT *data)
This function reads the 16-bit signed data value of a parameter.
MLPIRESULT mlpiParameterExportFile(const MLPIHANDLE connection, const WCHAR16 *path, const WCHAR16 *exportPattern, MlpiSidnError *errorList, const ULONG numElements, ULONG *numElementsRet)
This function exports parameters to a file on CF-card. In String 'exportPattern' the instances can be...
MLPIRESULT mlpiParameterReadDataLong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, LONG *data)
This function reads the 32-bit signed data value of a parameter.
Error, command status invalid.
MLPIRESULT mlpiParameterReadMinimumUshort(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, USHORT *data)
This function reads the 16-bit unsigned minimum value of a parameter.
MLPIRESULT mlpiParameterWriteAccessAbort(const MLPIHANDLE connection, const PROCESSHANDLE process)
This function aborts a write access monitoring process.
MLPIRESULT mlpiParameterWriteDataArrayShort(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const SHORT *data, const ULONG numElements)
This function writes an array of given 16-bit signed data values to a parameter.
MLPIRESULT mlpiParameterWriteDataUllong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const ULLONG data)
This function writes a given 64-bit unsigned data value to a parameter.
MLPIRESULT mlpiParameterReadDefaultUlong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, ULONG *data)
This function reads the 32-bit unsigned default value of a parameter.
MLPIRESULT mlpiParameterReadMaximumShort(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, SHORT *data)
This function reads the 16-bit signed maximum value of a parameter.
MLPIRESULT mlpiParameterImportExportGetInfo(const MLPIHANDLE connection, const PROCESSHANDLE process, WCHAR16 *pattern, ULONG numElementsPattern, WCHAR16 *file, ULONG numElementsFile)
This function returns information about a parameter process (import or export).
struct MlpiReadEverything MlpiReadEverything
This structure defines the information returned using mlpiParameterReadEverything.
MLPIRESULT mlpiParameterReadDefaultFloat(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, FLOAT *data)
This function reads the 32-bit floating point default value (single precision) of a parameter...
MLPIRESULT mlpiParameterReadMaximumChar(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, CHAR *data)
This function reads the 8-bit signed maximum value of a parameter.
MLPIRESULT mlpiParameterReadMinimumFloat(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, FLOAT *data)
This function reads the 32-bit floating point minimum value (single precision) of a parameter...
MLPIRESULT mlpiParameterReadMaximumString(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, WCHAR16 *data, const ULONG numElements, ULONG *numElementsRet)
This function reads the maximum value of a parameter and returns it as UTF16 String. A conversion is done automatically.
MLPIRESULT mlpiParameterReadDefaultString(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, WCHAR16 *data, const ULONG numElements, ULONG *numElementsRet)
This function reads the default value of a parameter and returns it as string. A conversion is done a...
MLPIRESULT mlpiParameterReadMaximumLlong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, LLONG *data)
This function reads the 64-bit signed maximum value of a parameter.
MLPIRESULT mlpiParameterReadMaximumFloat(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, FLOAT *data)
This function reads the 32-bit floating point maximum value (single precision) of a parameter...
MLPIRESULT mlpiParameterImportExportStatus(const MLPIHANDLE connection, const PROCESSHANDLE process, MlpiParamProcessStatus *status, ULONG *currentCount, ULONG *expectedCount, ULONG *errorsCount, MlpiSidnError *errorList, ULONG numElements)
This function returns the status of a parameter process (import or export).
MLPIRESULT mlpiParameterReadMinimumUllong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, ULLONG *data)
This function reads the 64-bit unsigned minimum value of a parameter.
long long LLONG
8 byte signed integer
MLPIRESULT mlpiParameterReadDataArrayLong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, LONG *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 32-bit signed data values of a parameter.
MLPIRESULT mlpiParameterReadDataUshort(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, USHORT *data)
This function reads the 16-bit unsigned data value of a parameter.
float FLOAT
4 byte floating point
MLPIRESULT mlpiParameterReadMinimumString(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, WCHAR16 *data, const ULONG numElements, ULONG *numElementsRet)
This function reads the minimum value of a parameter and returns it as String. A conversion is done a...
double DOUBLE
8 byte floating point
MLPIRESULT mlpiParameterReadDataArrayUllong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, ULLONG *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 64-bit unsigned data values of a parameter.
MLPIRESULT mlpiParameterWriteDataArrayVoid(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const void *data, const ULONG dataSize)
This function writes a given data value to a parameter.
MLPIRESULT mlpiParameterReadMaximumUllong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, ULLONG *data)
This function reads the 64-bit unsigned maximum value of a parameter.
MLPIRESULT mlpiParameterReadListLength(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, ULONG *numElements, ULONG *numMaxElements, ULONG *elementSize)
This function reads the current and maximum length of a list parameter.
MLPIRESULT mlpiParameterWriteDataLlong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const LLONG data)
This function writes a given 64-bit signed data value to a parameter.
unsigned long MLPIHANDLE
common MLPI-API handle value
MLPIRESULT mlpiParameterReadDataArrayUlong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, ULONG *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 32-bit unsigned data values of a parameter.
MLPIRESULT mlpiParameterImportFileStartProcess(const MLPIHANDLE connection, const WCHAR16 *path, const WCHAR16 *mapping, PROCESSHANDLE *process)
This function imports a parameter file from CF card in a asynchronous way. The string 'mapping' can g...
MLPIRESULT mlpiParameterReadDataStatus(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, BOOL8 *status)
This function reads the data status of a parameter.
MLPIRESULT mlpiParameterWriteDataArrayLlong(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const LLONG *data, const ULONG numElements)
This function writes an array of given 64-bit signed data values to a parameter.
Procedure command execution is interrupted.
MLPIRESULT mlpiParameterWriteDataFloat(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, const FLOAT data)
This function writes a given 32-bit floating point data value (single precision) to a parameter...
MLPIRESULT mlpiParameterReadDataArrayShort(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, SHORT *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 16-bit signed data values of a parameter.
int MLPIRESULT
common MLPI-API return value
MLPIRESULT mlpiParameterReadMaximumUshort(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, USHORT *data)
This function reads the 16-bit unsigned maximum value of a parameter.
MLPIRESULT mlpiParameterReadMaximumUchar(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, UCHAR *data)
This function reads the 8-bit unsigned maximum value of a parameter.
MLPIRESULT mlpiParameterReadDataArrayUshort(const MLPIHANDLE connection, const ULLONG address, const ULLONG sidn, USHORT *data, const ULONG numElements, ULONG *numElementsRet)
This function reads an array of 16-bit unsigned data values of a parameter.