#include #include #include #include #include #include #include #include long burstApply(struct subRecord *psub) { char command[50]; strcpy( command, "python $APP/TpgPatternSetup/lcls2-timing-patterns/tools/apply2tpg" ); //printf("Running script %s\n", psub->desc); //system(psub->desc); printf("Running script %s\n", command); system(command); psub->val=0; return(0); } epicsRegisterFunction(burstApply);