GX1110, GX1120
Function Generator and Arbitrary Waveform Generator modes.
Opens a virtual panel used to interactively control the board.
GtWavePanel (pnHandle, hwndParent, nMode, phwndPanel, pnStatus)
The function is used to create the panel window. The panel window may be opened as a modal or a modeless window depending on the nMode parameters.
If the mode is set to modal dialog (nMode=1), the panel will disable the parent window (hwndParent) and the function will return only after the window closes. In that case, the pnHandle may return the handle created by the user using the panel Initialize dialog. This handle may be used when calling other GX110 functions.
If a modeless dialog is created (nMode=0), the function returns immediately after creating the panel window returning the handle to the panel - phwndPanel. It is the responsibility of calling program to dispatch windows messages to this window so that the window can respond to messages.
The following example opens the panel in modal mode:
DWORD dwPanel;
SHORT nHandle=0, nStatus;
GtWavePanel(&nHandle, 0, 1, &dwPanel, &nStatus);
GtWaveInitialize, GtWaveGetErrorString