Control a Front-End Processor (FEP) from an application
int PtFepCmd( PtWidget_t *widget, long cmd, long sub_cmd, char const *data );
The data string must be a null-terminated UTF-8 string that's identical to the string that the FEP's GUI displays in the mode-selection buttons.
ph
PtFepCmd() lets you control a Photon front-end processor (FEP) from an application. This function lets you create your own front-end processor that includes all of the functionality of the GUI versions of the FEPs.
To use this function, start the FEP with the -h option to suppress the GUI interface. For more information, see the documentation for cpim and vpim.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |