Bosch DCN Next Generation Bedienungsanleitung Seite 217

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 296
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 216
DCN Next Generation Open Interface Release 2.4 Text Status Display
en | 217
Bosch Communications Systems | 2007 February | SRS_LDINF | Du080902
void LD_SendAnumData(LD_T_DISPLAY_DATA* ptDisplayData)
{
/* Handle data of ptDisplayData */
}
Assume that we want to store display settings of LD_C_DISPLAY_TWO. We then need the
following functions and control flow:
LD_T_DISPLAY_REC tSettings;
tSettings.wDisplayId = LD_C_DISPLAY_TWO;
/* Enable VT and MM application */
tSettings.wFlags = LD_C_VT_FLAG_DISPLAY | LD_C_MM_FLAG_DISPLAY;
tSettings.wNrOfSpeakerLines = 4;
tSettings.wNrOfRequestLines = 6;
WORD wError;
wError = LD_StoreDisplaySettings(&tSettings);
if (wError != LD_E_NOERROR)
{
switch (wError)
{
case LD_E_APP_NOT_STARTED:
/* Application not started, handle error */
break;
case LD_E_UNKNOWN_DISPLAY:
/* Incorrect display, handle error */
break;
case LD_E_WRONG_PARAMETER:
/* Incorrect parameter, handle error */
break;
case LD_E_LINES_OVERFLOW:
/* wNrOfSpeakerLines + wNrOfRequestLines >
LD_C_MAX_NUMBER_OF_DISPLAY_LINES */
break;
default:
/* Handle unknown error */
break;
}
}
When we no longer need to be able to receive update notifications we can stop the
communication with the LD application using the function:
wError = LD_StopLDApp();
if (wError != LD_E_NOERROR)
{
/* do error handling */
}
This ends remotely controlling the LD application.
Seitenansicht 216
1 2 ... 212 213 214 215 216 217 218 219 220 221 222 ... 295 296

Kommentare zu diesen Handbüchern

Keine Kommentare