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