#include #include #include #include #include #include #include #include long continuousApply(struct subRecord *psub) { char command[50]; //char source[50]; //strcpy( command, "$IOC_DATA/sioc-sys0-ts01/TpgPatternSetup/apply2tpg.bash" ); //printf("Running script %s\n", psub->desc); //system(psub->desc); printf("Apply Pattern%s\n"); //system(command); psub->val=0; return(0); } epicsRegisterFunction(continuousApply);