diff --git a/rheometerApp/src/rheometerMain.cpp b/rheometerApp/src/rheometerMain.cpp new file mode 100644 index 0000000000000000000000000000000000000000..cb3e2c7c92fe80eb64adbf05b98ad159e15dc2e2 --- /dev/null +++ b/rheometerApp/src/rheometerMain.cpp @@ -0,0 +1,24 @@ +/* rheometerMain.cpp */ +/* Author: Jim Larsson */ +/* Date: 2022-09-05 */ + +#include <stddef.h> +#include <stdlib.h> +#include <stddef.h> +#include <string.h> +#include <stdio.h> + +#include "epicsExit.h" +#include "epicsThread.h" +#include "iocsh.h" + +int main(int argc,char *argv[]) +{ + if(argc>=2) { + iocsh(argv[1]); + epicsThreadSleep(.2); + } + iocsh(NULL); + epicsExit(0); + return(0); +}