edmiVersion
EdmiError edmiVersion(SdaiInteger *edmdVersionId,
SdaiInteger *edmiVersionId,
SdaiString *edmdVersionText,
SdaiString *edmiVersionText);
Returns the version identifier and the version header text of the actual running EDMinterface and the EDMserver.
Arguments
Type | Name | Comment |
SdaiInteger | edmdVersion | Address of a variable that will receive the version identifier of the actual running EDMserver. |
SdaiInteger | edmiVersion | Address of a variable that will receive the version identifier of the actual running EDMinterface. |
SdaiString | edmdVersionText | Address of a variable that will receive the address of the running EDMserver version identifier message. This text string is located in a buffer in EDMinterface that can be overwritten by the next EDMinterface call. |
SdaiString | edmiVersionText | Address of a variable that will receive the address of the running EDMinterface version identifier message. This text string is located in a buffer in EDMinterface that can be overwritten by the next EDMinterface call. |
Return Value
Options
Example
EdmiError rstat;
SdaiInteger edmdVersion, edmiVersion;
SdaiString edmdVersionText, edmiVersionText;
. . .
if (rstat = edmiVersion (&edmdVersion,
&edmiVersion,
&edmdVersionText,
&edmiVersionText)) {
/* Error in operation */
printf("\nError: %s in edmiVersion \n",
edmiGetErrorText(rstat));
goto error;
}
printf("\nEDMDversionId: %ld: %s", edmdVersion, edmdVersionText);
printf("\nEDMIversionId: %ld: %s", edmiVersion, edmiVersionText);
. . .
See also
Filter by label
There are no items with the selected labels at this time.