Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
EdmiError edmiActivateModel (SdaiServerContext serverContextId); 

Reads the optional message given by the system administrator when the EDMserver has been set unavailable for maintenance reasons.

...

Arguments

...

*;
TypeNameComment
SdaiStringunavailableMessageVariable that will receive a pointer to a message from the system administrator. The text string will be located in an internal buffer and will be overwritten by the next EDMinterface call. Do not free this address with edmiFree

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
 SdaiInteger nConnected;
 tEdmiWhoIsOn *pWhoIsOn;
 SdaiString unavailMsg;
 . . .
 if (edmiWhoIsOn(&nConnected, &pWhoIsOn) == edmiEUNAVAILABLE)) {

...


 edmiGetUnavailableMessage(&unavailMsg);

...


 printf("NOTE: System is unavailable!\n")

...


 printf("Message from System Administrator\n");

...


 printf("%s", unavailMsg); 
 }

 
}

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"