C++Instrument Catalog MFC 1.2
Metrolab C++InstrumentCatalog for MFC
Loading...
Searching...
No Matches
MFC3045.cpp File Reference

MFC3045 Metrolab Probe-Array Instrument Driver Note: This API is working with MFC3045 Firmware version 2.22 (february 2001) The MFC - 3045 is controlled with a set of commands sent by a computer via a RS - 232C link. An MFC - 3045 command consists of 3 ASCII characters (which are the command mnemonic) followed either by a terminator or by a comma, a decimal number (the parameter) and a terminator.The terminator consists of either the 2 characters "Carriage - Return and Line - Feed" <CR - LF> or of a semicolon <;>. The semicolon terminator is used to send several commands on one line. See MFC3045 manual (ver3.0) for more details on RS 232 commands. The following commands are not supported by this driver : SMA,x ; UPD,x ; ERA (In comment text the abreviations PA is used for the probe array, MU for the main unit). More...

#include <locale>
#include <regex>
#include <iomanip>
#include <sstream>
#include "MFC3045.h"
#include "OSDefines.h"
#include "Helpers.h"
#include "Exception.h"
#include "date.h"
Include dependency graph for MFC3045.cpp:

Go to the source code of this file.

Macros

#define DEBUG_MTL_INSTRUMENT_MFC3045   1
#define DEBUG_MTL_INSTRUMENT_MFC3045_ERRORS_ONLY   1
#define MTL_INSTRUMENT_MFC3045_DEBUG_COUT(__X__)
#define MTL_INSTRUMENT_MFC3045_DEBUG_CERR(__X__)
#define SMA_PA   "PA\r\n"
#define SMA_UP   "UP\r\n"
#define SMA_DN   "DN\r\n"
#define SMA_EE   "EE\r\n"
#define SMA_RS   "RS\r\n"
#define SMA_ME   "ME\r\n"
#define SMA_CE   "CE\r\n"
#define SMA_DR   "DR\r\n"

Typedefs

typedef MTL::CException< CMFC3045Instrument > CMFC3045InsException

Detailed Description

MFC3045 Metrolab Probe-Array Instrument Driver Note: This API is working with MFC3045 Firmware version 2.22 (february 2001) The MFC - 3045 is controlled with a set of commands sent by a computer via a RS - 232C link. An MFC - 3045 command consists of 3 ASCII characters (which are the command mnemonic) followed either by a terminator or by a comma, a decimal number (the parameter) and a terminator.The terminator consists of either the 2 characters "Carriage - Return and Line - Feed" <CR - LF> or of a semicolon <;>. The semicolon terminator is used to send several commands on one line. See MFC3045 manual (ver3.0) for more details on RS 232 commands. The following commands are not supported by this driver : SMA,x ; UPD,x ; ERA (In comment text the abreviations PA is used for the probe array, MU for the main unit).

Date
2026

Definition in file MFC3045.cpp.

Macro Definition Documentation

◆ DEBUG_MTL_INSTRUMENT_MFC3045

#define DEBUG_MTL_INSTRUMENT_MFC3045   1

Definition at line 37 of file MFC3045.cpp.

◆ DEBUG_MTL_INSTRUMENT_MFC3045_ERRORS_ONLY

#define DEBUG_MTL_INSTRUMENT_MFC3045_ERRORS_ONLY   1

Definition at line 38 of file MFC3045.cpp.

◆ MTL_INSTRUMENT_MFC3045_DEBUG_CERR

#define MTL_INSTRUMENT_MFC3045_DEBUG_CERR ( __X__)

Definition at line 48 of file MFC3045.cpp.

◆ MTL_INSTRUMENT_MFC3045_DEBUG_COUT

#define MTL_INSTRUMENT_MFC3045_DEBUG_COUT ( __X__)

Definition at line 47 of file MFC3045.cpp.

◆ SMA_CE

#define SMA_CE   "CE\r\n"

Definition at line 57 of file MFC3045.cpp.

◆ SMA_DN

#define SMA_DN   "DN\r\n"

Definition at line 53 of file MFC3045.cpp.

◆ SMA_DR

#define SMA_DR   "DR\r\n"

Definition at line 58 of file MFC3045.cpp.

◆ SMA_EE

#define SMA_EE   "EE\r\n"

Definition at line 54 of file MFC3045.cpp.

◆ SMA_ME

#define SMA_ME   "ME\r\n"

Definition at line 56 of file MFC3045.cpp.

◆ SMA_PA

#define SMA_PA   "PA\r\n"

Definition at line 51 of file MFC3045.cpp.

◆ SMA_RS

#define SMA_RS   "RS\r\n"

Definition at line 55 of file MFC3045.cpp.

◆ SMA_UP

#define SMA_UP   "UP\r\n"

Definition at line 52 of file MFC3045.cpp.

Typedef Documentation

◆ CMFC3045InsException