ISIS Logo
ECLAB
An EPICS support module to export potentiostat values as process variables
ECLabTestMain.cpp
Go to the documentation of this file.
1 /* ECLabTestMain.cpp */
2 /* Author: Marty Kraimer Date: 17MAR2000 */
3 
4 #include <stddef.h>
5 #include <stdlib.h>
6 #include <stddef.h>
7 #include <string.h>
8 #include <stdio.h>
9 
10 #include "epicsExit.h"
11 #include "epicsThread.h"
12 #include "iocsh.h"
13 
14 #include <shareLib.h>
15 
16 int main(int argc,char *argv[])
17 {
18  if(argc>=2) {
19  iocsh(argv[1]);
20  epicsThreadSleep(.2);
21  }
22  iocsh(NULL);
23  epicsExit(0);
24  return(0);
25 }
int main(int argc, char *argv[])
Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.5