ISIS Logo
lvDCOM
An EPICS support module to export LabVIEW values as process variables
Classes | Macros | Enumerations
lvDCOMInterface.h File Reference

header for lvDCOMInterface class. More...

#include <stdio.h>
#include <windows.h>
#include <tchar.h>
#include <atlbase.h>
#include <atlstr.h>
#include <atlcom.h>
#include <atlwin.h>
#include <atltypes.h>
#include <atlctl.h>
#include <atlhost.h>
#include <string>
#include <vector>
#include <map>
#include <list>
#include <stdexcept>
#include <sstream>
#include <fstream>
#include <iostream>
#include <epicsMutex.h>
#include <epicsThread.h>
#include <epicsExit.h>
#include <macLib.h>
#include "labview.tlh"
#include <msxml2.h>

Go to the source code of this file.

Classes

struct  ViRef
 Hold a reference to a LabVIEW VI. More...
 
class  lvDCOMInterface
 Manager class for LabVIEW DCOM Interaction. Parses an lvinput.xml file and provides access to the LabVIEW VI controls/indicators described within. More...
 

Macros

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
 

Enumerations

enum  lvDCOMOptions {
  viWarnIfIdle = 1, viStartIfIdle = 2, viStopOnExitIfStarted = 4, viAlwaysStopOnExit = 8,
  lvNoStart = 16, lvSECIConfig = 32, lvSECINoSetter = 64
}
 Options that can be passed from EPICS iocsh via lvDCOMConfigure command. More...
 

Detailed Description

header for lvDCOMInterface class.

Author
Freddie Akeroyd, STFC ISIS Facility, GB

Definition in file lvDCOMInterface.h.

Macro Definition Documentation

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS

Definition at line 23 of file lvDCOMInterface.h.

Enumeration Type Documentation

Options that can be passed from EPICS iocsh via lvDCOMConfigure command.

In the iocBoot st.cmd file you will need to add the relevant integer enum values together and pass this single integer value.

Enumerator
viWarnIfIdle 

(1) If the LabVIEW VI is idle when we connect to it, issue a warning message

viStartIfIdle 

(2) If the LabVIEW VI is idle when we connect to it, attempt to start it

viStopOnExitIfStarted 

(4) On IOC exit, stop any LabVIEW VIs that we started due to viStartIfIdle being specified

viAlwaysStopOnExit 

(8) On IOC exit, stop any LabVIEW VIs that we have connected to

lvNoStart 

(16) Do not start LabVIEW, connect to existing instance otherwise fail. As loading a Vi starts labview, vis will not be loaded or started until a labview instance is detected. Automatically set for lvDCOMSECIConfigure()

lvSECIConfig 

(32) Automatically set if lvDCOMSECIConfigure() has been used

lvSECINoSetter 

(64) Do not generate setter XML / :SP PVs in SECI mode

Definition at line 68 of file lvDCOMInterface.h.

Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.5