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