Electronics and Software
Engineering Innovation
BMeasure-lib  1.0.0
BMeasureD.h File Reference
#include <BTypes.h>
#include <BObj.h>
#include <BTime.h>
#include <BTimeUs.h>
#include <BArray.h>
#include <BComplex.h>
#include <BoapMc.h>

Classes

class  BMeasureApi::Version
 
class  BMeasureApi::NodeInfo
 
class  BMeasureApi::NodeStatus
 
class  BMeasureApi::BoardConfig
 
class  BMeasureApi::ChannelConfig
 
class  BMeasureApi::Information
 
class  BMeasureApi::AlarmConfig
 
class  BMeasureApi::Configuration
 
class  BMeasureApi::ConfigItem
 
class  BMeasureApi::MeasurementConfig
 
class  BMeasureApi::DataBlock
 
class  BMeasureApi::DataProc
 
class  BMeasureApi::DataBlockProc
 
class  BMeasureApi::InfoBlock
 
class  BMeasureApi::AwgConfig
 
class  BMeasureApi::FilesysInfo
 
class  BMeasureApi::FileInfo
 
class  BMeasureApi::FileData
 
class  BMeasureApi::CalibrateInfo
 

Namespaces

 BMeasureApi
 

Enumerations

enum  BMeasureApi::ErrorNum { BMeasureApi::ErrorNumSystem = 64, BMeasureApi::ErrorNumDataOverrun = 65, BMeasureApi::ErrorNumToFast = 66 }
 
enum  BMeasureApi::NodeType { BMeasureApi::NodeTypeNone = 0, BMeasureApi::NodeTypeBMeasure1 = 1 }
 
enum  BMeasureApi::SecurityMode { BMeasureApi::SecurityModeBasic, BMeasureApi::SecurityModeConfig, BMeasureApi::SecurityModeFull }
 
enum  BMeasureApi::Status {
  BMeasureApi::StatusNone = 0x00, BMeasureApi::StatusError = 0x01, BMeasureApi::StatusWarning = 0x02, BMeasureApi::StatusRun = 0x04,
  BMeasureApi::StatusTriggerWait = 0x08, BMeasureApi::StatusEnd0 = 0x10, BMeasureApi::StatusEnd1 = 0x20, BMeasureApi::StatusDataOverrun = 0x40,
  BMeasureApi::StatusFpgaOverrun = 0x80, BMeasureApi::StatusAlarm = 0x0100
}
 
enum  BMeasureApi::Mode {
  BMeasureApi::ModeIdle = 0, BMeasureApi::ModeRun = 1, BMeasureApi::ModeRunProgram = 2, BMeasureApi::ModeInternal = 3,
  BMeasureApi::ModeSleep = 4, BMeasureApi::ModeDemo1 = 5
}
 
enum  BMeasureApi::BlockTypes { BMeasureApi::BlockTypeInfo = 0x424E4531, BMeasureApi::BlockTypeData = 0x424E4532 }
 
enum  BMeasureApi::ChannelType {
  BMeasureApi::ChannelTypeNone = 0, BMeasureApi::ChannelTypeAnalogueIn = 1, BMeasureApi::ChannelTypeAnalogueOut = 2, BMeasureApi::ChannelTypeDigitalIn = 3,
  BMeasureApi::ChannelTypeDigitalOut = 4
}
 
enum  BMeasureApi::SampleType {
  BMeasureApi::SampleTypeNone = 0, BMeasureApi::SampleTypeBool = 1, BMeasureApi::SampleTypeInt8 = 2, BMeasureApi::SampleTypeInt16 = 3,
  BMeasureApi::SampleTypeInt32 = 4, BMeasureApi::SampleTypeFloat32 = 5, BMeasureApi::SampleTypeFloat64 = 6
}
 
enum  BMeasureApi::SyncMode { BMeasureApi::SyncModeOff = 0, BMeasureApi::SyncModeMaster = 1, BMeasureApi::SyncModeSlave = 2 }
 
enum  BMeasureApi::MeasureMode { BMeasureApi::MeasureModeOff = 0, BMeasureApi::MeasureModeOneShot = 1, BMeasureApi::MeasureModeRepeat = 2, BMeasureApi::MeasureModeContinuous = 3 }
 
enum  BMeasureApi::MeasureOption { BMeasureApi::MeasureOptionNone = 0, BMeasureApi::MeasureOptionProcess = 0x01 }
 
enum  BMeasureApi::TriggerMode { BMeasureApi::TriggerModeOff = 0, BMeasureApi::TriggerModePositive = 1, BMeasureApi::TriggerModeNegative = 2 }
 
enum  BMeasureApi::TriggerConfig { BMeasureApi::TriggerConfigNone = 0 }
 
enum  BMeasureApi::DigitalMode {
  BMeasureApi::DigitalModeInput = 0, BMeasureApi::DigitalModeOutput = 1, BMeasureApi::DigitalModeInOut = 2, BMeasureApi::DigitalModeSyncMaster = 3,
  BMeasureApi::DigitalModeSyncSlave = 4
}
 
enum  BMeasureApi::AwgMode {
  BMeasureApi::AwgModeNone, BMeasureApi::AwgModeDc, BMeasureApi::AwgModeSine, BMeasureApi::AwgModeSquare,
  BMeasureApi::AwgModeTriangle, BMeasureApi::AwgModeNoise, BMeasureApi::AwgModeTrackRms, BMeasureApi::AwgModeTrackMean,
  BMeasureApi::AwgModeArbitrary
}
 
enum  BMeasureApi::AwgOutput { BMeasureApi::AwgOutputNone, BMeasureApi::AwgOutputAO0, BMeasureApi::AwgOutputAO1, BMeasureApi::AwgOutputAO01 }
 
enum  BMeasureApi::FileType { BMeasureApi::FileTypeNone, BMeasureApi::FileTypeFile, BMeasureApi::FileTypeDir }
 
enum  BMeasureApi::FilesysDeleteType { BMeasureApi::FilesysDeleteTypeNone, BMeasureApi::FilesysDeleteTypeData, BMeasureApi::FilesysDeleteTypeFormat }
 
enum  BMeasureApi::LogData { BMeasureApi::LogDataOff, BMeasureApi::LogDataRaw = 0x01, BMeasureApi::LogDataProcessed = 0x02 }
 
enum  BMeasureApi::LogDataMode { BMeasureApi::LogDataModeNormal, BMeasureApi::LogDataModeDeleteOld }
 
enum  BMeasureApi::DataType { BMeasureApi::DataTypeFloat32, BMeasureApi::DataType125i, BMeasureApi::DataTypeProc }
 
enum  BMeasureApi::DataSend { BMeasureApi::DataSendOff, BMeasureApi::DataSendStatus = 0x01, BMeasureApi::DataSendRaw = 0x02, BMeasureApi::DataSendProcessed = 0x04 }
 
enum  BMeasureApi::CalibrateStage {
  BMeasureApi::CalibrateStageNone = 0, BMeasureApi::CalibrateStageClear = 1, BMeasureApi::CalibrateStageSettle = 2, BMeasureApi::CalibrateStageAdcOffsets = 3,
  BMeasureApi::CalibrateStageDacOffsets = 4, BMeasureApi::CalibrateStageDacScaling0 = 5, BMeasureApi::CalibrateStageDacScaling1 = 6, BMeasureApi::CalibrateStageAdcScaling = 7,
  BMeasureApi::CalibrateStageAttenScaling = 8, BMeasureApi::CalibrationStageFiveVolts = 9
}
 
enum  BMeasureApi::MessageSource {
  BMeasureApi::MessageSourceGeneral = 0, BMeasureApi::MessageSourceDebug = 1, BMeasureApi::MessageSourceTest = 2, BMeasureApi::MessageSourceWifi = 3,
  BMeasureApi::MessageSourceWifiTest = 4
}
 
enum  BMeasureApi::NetworkMode { BMeasureApi::NetworkModeOff = 0, BMeasureApi::NetworkModeDhcp = 1, BMeasureApi::NetworkModeManual = 2 }
 
enum  BMeasureApi::WifiMode { BMeasureApi::WifiModeOff, BMeasureApi::WifiModeClient, BMeasureApi::WifiModeAp }
 
enum  BMeasureApi::AlarmMode { BMeasureApi::AlarmModeOff, BMeasureApi::AlarmModeHigh, BMeasureApi::AlarmModeLow, BMeasureApi::AlarmModeRange }
 
enum  BMeasureApi::AlarmOutput {
  BMeasureApi::AlarmOutputOff, BMeasureApi::AlarmOutputDioHigh, BMeasureApi::AlarmOutputDioLow, BMeasureApi::AlarmOutputRelayOn,
  BMeasureApi::AlarmOutputRelayOff
}
 
enum  BMeasureApi::EventMode { BMeasureApi::EventModeOff, BMeasureApi::EventModeAlarm, BMeasureApi::EventModeSecond }
 
enum  BMeasureApi::Rs485Mode { BMeasureApi::Rs485ModeOff, BMeasureApi::Rs485ModeBoap }
 
enum  BMeasureApi::BMeasFileType { BMeasureApi::BMeasFileTypeBlock512, BMeasureApi::BMeasFileTypeStream }
 

Functions

BString BMeasureApi::toBString (ErrorNum v)
 
BError BMeasureApi::fromBString (BString str, ErrorNum &v)
 
BString BMeasureApi::toBStringJson (BString n, ErrorNum v)
 
BString BMeasureApi::toBString (NodeType v)
 
BError BMeasureApi::fromBString (BString str, NodeType &v)
 
BString BMeasureApi::toBStringJson (BString n, NodeType v)
 
BString BMeasureApi::toBString (SecurityMode v)
 
BError BMeasureApi::fromBString (BString str, SecurityMode &v)
 
BString BMeasureApi::toBStringJson (BString n, SecurityMode v)
 
BString BMeasureApi::toBString (Status v)
 
BError BMeasureApi::fromBString (BString str, Status &v)
 
BString BMeasureApi::toBStringJson (BString n, Status v)
 
BString BMeasureApi::toBString (Mode v)
 
BError BMeasureApi::fromBString (BString str, Mode &v)
 
BString BMeasureApi::toBStringJson (BString n, Mode v)
 
BString BMeasureApi::toBString (BlockTypes v)
 
BError BMeasureApi::fromBString (BString str, BlockTypes &v)
 
BString BMeasureApi::toBStringJson (BString n, BlockTypes v)
 
BString BMeasureApi::toBString (ChannelType v)
 
BError BMeasureApi::fromBString (BString str, ChannelType &v)
 
BString BMeasureApi::toBStringJson (BString n, ChannelType v)
 
BString BMeasureApi::toBString (SampleType v)
 
BError BMeasureApi::fromBString (BString str, SampleType &v)
 
BString BMeasureApi::toBStringJson (BString n, SampleType v)
 
BString BMeasureApi::toBString (SyncMode v)
 
BError BMeasureApi::fromBString (BString str, SyncMode &v)
 
BString BMeasureApi::toBStringJson (BString n, SyncMode v)
 
BString BMeasureApi::toBString (MeasureMode v)
 
BError BMeasureApi::fromBString (BString str, MeasureMode &v)
 
BString BMeasureApi::toBStringJson (BString n, MeasureMode v)
 
BString BMeasureApi::toBString (MeasureOption v)
 
BError BMeasureApi::fromBString (BString str, MeasureOption &v)
 
BString BMeasureApi::toBStringJson (BString n, MeasureOption v)
 
BString BMeasureApi::toBString (TriggerMode v)
 
BError BMeasureApi::fromBString (BString str, TriggerMode &v)
 
BString BMeasureApi::toBStringJson (BString n, TriggerMode v)
 
BString BMeasureApi::toBString (TriggerConfig v)
 
BError BMeasureApi::fromBString (BString str, TriggerConfig &v)
 
BString BMeasureApi::toBStringJson (BString n, TriggerConfig v)
 
BString BMeasureApi::toBString (DigitalMode v)
 
BError BMeasureApi::fromBString (BString str, DigitalMode &v)
 
BString BMeasureApi::toBStringJson (BString n, DigitalMode v)
 
BString BMeasureApi::toBString (AwgMode v)
 
BError BMeasureApi::fromBString (BString str, AwgMode &v)
 
BString BMeasureApi::toBStringJson (BString n, AwgMode v)
 
BString BMeasureApi::toBString (AwgOutput v)
 
BError BMeasureApi::fromBString (BString str, AwgOutput &v)
 
BString BMeasureApi::toBStringJson (BString n, AwgOutput v)
 
BString BMeasureApi::toBString (FileType v)
 
BError BMeasureApi::fromBString (BString str, FileType &v)
 
BString BMeasureApi::toBStringJson (BString n, FileType v)
 
BString BMeasureApi::toBString (FilesysDeleteType v)
 
BError BMeasureApi::fromBString (BString str, FilesysDeleteType &v)
 
BString BMeasureApi::toBStringJson (BString n, FilesysDeleteType v)
 
BString BMeasureApi::toBString (LogData v)
 
BError BMeasureApi::fromBString (BString str, LogData &v)
 
BString BMeasureApi::toBStringJson (BString n, LogData v)
 
BString BMeasureApi::toBString (LogDataMode v)
 
BError BMeasureApi::fromBString (BString str, LogDataMode &v)
 
BString BMeasureApi::toBStringJson (BString n, LogDataMode v)
 
BString BMeasureApi::toBString (DataType v)
 
BError BMeasureApi::fromBString (BString str, DataType &v)
 
BString BMeasureApi::toBStringJson (BString n, DataType v)
 
BString BMeasureApi::toBString (DataSend v)
 
BError BMeasureApi::fromBString (BString str, DataSend &v)
 
BString BMeasureApi::toBStringJson (BString n, DataSend v)
 
BString BMeasureApi::toBString (CalibrateStage v)
 
BError BMeasureApi::fromBString (BString str, CalibrateStage &v)
 
BString BMeasureApi::toBStringJson (BString n, CalibrateStage v)
 
BString BMeasureApi::toBString (MessageSource v)
 
BError BMeasureApi::fromBString (BString str, MessageSource &v)
 
BString BMeasureApi::toBStringJson (BString n, MessageSource v)
 
BString BMeasureApi::toBString (NetworkMode v)
 
BError BMeasureApi::fromBString (BString str, NetworkMode &v)
 
BString BMeasureApi::toBStringJson (BString n, NetworkMode v)
 
BString BMeasureApi::toBString (WifiMode v)
 
BError BMeasureApi::fromBString (BString str, WifiMode &v)
 
BString BMeasureApi::toBStringJson (BString n, WifiMode v)
 
BString BMeasureApi::toBString (AlarmMode v)
 
BError BMeasureApi::fromBString (BString str, AlarmMode &v)
 
BString BMeasureApi::toBStringJson (BString n, AlarmMode v)
 
BString BMeasureApi::toBString (AlarmOutput v)
 
BError BMeasureApi::fromBString (BString str, AlarmOutput &v)
 
BString BMeasureApi::toBStringJson (BString n, AlarmOutput v)
 
BString BMeasureApi::toBString (EventMode v)
 
BError BMeasureApi::fromBString (BString str, EventMode &v)
 
BString BMeasureApi::toBStringJson (BString n, EventMode v)
 
BString BMeasureApi::toBString (Rs485Mode v)
 
BError BMeasureApi::fromBString (BString str, Rs485Mode &v)
 
BString BMeasureApi::toBStringJson (BString n, Rs485Mode v)
 
BString BMeasureApi::toBString (BMeasFileType v)
 
BError BMeasureApi::fromBString (BString str, BMeasFileType &v)
 
BString BMeasureApi::toBStringJson (BString n, BMeasFileType v)