Electronics and Software
Engineering Innovation
BMeasure-lib  0.2.8
BMeasureApi Namespace Reference

Classes

class  AwgConfig
 
class  BMeasure
 
class  BMeasureUnit
 
class  BMeasureUnit1
 
class  BMeasureUnitDevice
 
class  BMeasureUnits
 
class  BMeasureUnitsDataBlock
 
class  BoardConfig
 
class  ChannelConfig
 
class  CommsNet
 
class  CommsSerial
 
class  CommsUsb
 
class  ConfigItem
 
class  Configuration
 
class  DataBlock
 
class  DataFile
 
class  FileData
 
class  FileInfo
 
class  FilesysInfo
 
class  InfoBlock
 
class  Information
 
class  MeasurementConfig
 
class  NodeInfo
 
class  NodeStatus
 
class  Version
 

Typedefs

typedef BArray< ChannelConfigChannelConfigs
 

Enumerations

enum  ErrorNum { ErrorSystem = 64, ErrorDataOverrun = 65 }
 
enum  NodeType { NodeTypeNone = 0, NodeTypeBMeasure1 = 1 }
 
enum  SecureMode { SecureModeOpen, SecureMoteRemote, SecureModeFull }
 
enum  Status {
  StatusNone = 0x00, StatusError = 0x01, StatusWarning = 0x02, StatusRun = 0x04,
  StatusDataOverrun = 0x08, StatusEnd0 = 0x10, StatusEnd1 = 0x20, StatusFpgaOverrun = 0x40
}
 
enum  Mode {
  ModeSleep = 0, ModeIdle = 1, ModeRun = 2, ModeRunProgram = 3,
  ModeInternal = 4, ModeDemo1 = 5
}
 
enum  BlockTypes { BlockTypeInfo = 0x424E4531, BlockTypeData = 0x424E4532 }
 
enum  ChannelType {
  ChannelTypeNone = 0, ChannelTypeAnalogueIn = 1, ChannelTypeAnalogueOut = 0x81, ChannelTypeDigitalIn = 2,
  ChannelTypeDigitalOut = 0x82
}
 
enum  SampleType {
  SampleTypeNone = 0, SampleTypeBool = 1, SampleTypeInt8 = 2, SampleTypeInt16 = 3,
  SampleTypeInt32 = 4, SampleTypeFloat32 = 5, SampleTypeFloat64 = 6
}
 
enum  SyncMode { SyncModeOff = 0, SyncModeMaster = 1, SyncModeSlave = 2 }
 
enum  MeasureMode { MeasureModeOff = 0, MeasureModeOneShot = 1, MeasureModeRepeat = 2, MeasureModeContinuous = 3 }
 
enum  TriggerMode { TriggerModeOff = 0, TriggerModePositive = 1, TriggerModeNegative = 2 }
 
enum  TriggerConfig { TriggerConfigNone = 0 }
 
enum  DigitalMode {
  DigitalModeInput = 0, DigitalModeOutput = 1, DigitalInOut = 2, DigitalModeSyncMaster = 3,
  DigitalModeSyncSlave = 4
}
 
enum  Waveform {
  WaveformNone, WaveformSine, WaveformSquare, WaveformTriangle,
  WaveformNoise, WaveformArbitrary
}
 
enum  CalibrateMode { CalibrateModeNone, CalibrateModeOffsets }
 
enum  FileType { FileTypeNone, FileTypeFile, FileTypeDir }
 
enum  FilesysDeleteType { FilesysDeleteTypeNone, FilesysDeleteTypeData, FilesysDeleteTypeFormat }
 
enum  LogDataMode { LogDataModeNormal, LogDataModeDeleteOld }
 
enum  TdsDataType {
  TdsTypeVoid, TdsTypeI8, TdsTypeI16, TdsTypeI32,
  TdsTypeI64, TdsTypeU8, TdsTypeU16, TdsTypeU32,
  TdsTypeU64, TdsTypeSingleFloat, TdsTypeDoubleFloat, TdsTypeExtendedFloat,
  TdsTypeSingleFloatWithUnit =0x19, TdsTypeDoubleFloatWithUnit, TdsTypeExtendedFloatWithUnit, TdsTypeString =0x20,
  TdsTypeBoolean =0x21, TdsTypeTimeStamp =0x44, TdsTypeFixedPoint =0x4F, TdsTypeComplexSingleFloat =0x08000c,
  TdsTypeComplexDoubleFloat =0x10000d, TdsTypeDAQmxRawData =0xFFFFFFFF
}
 

Functions

const char * channelTypeString (ChannelType type)
 
const char * sampleTypeString (SampleType type)
 
BFloat32 toFloat (BUInt32 v)
 
static int unitSort (BMeasureUnit1 *&u1, BMeasureUnit1 *&u2)
 
const BUInt32 TocMetaData (1<< 1)
 
const BUInt32 TocNewObjList (1<< 2)
 
const BUInt32 TocRawData (1<< 3)
 
const BUInt32 TocInterleavedData (1<< 5)
 
const BUInt32 TocBigEndian (1<< 6)
 
const BUInt32 TocDaqRawData (1<< 7)
 
BUInt32 round512 (BUInt32 s)
 

Variables

const BUInt32 apiVersion = 0
 

Typedef Documentation

◆ ChannelConfigs

Enumeration Type Documentation

◆ BlockTypes

Enumerator
BlockTypeInfo 
BlockTypeData 

◆ CalibrateMode

Enumerator
CalibrateModeNone 
CalibrateModeOffsets 

◆ ChannelType

Enumerator
ChannelTypeNone 
ChannelTypeAnalogueIn 
ChannelTypeAnalogueOut 
ChannelTypeDigitalIn 
ChannelTypeDigitalOut 

◆ DigitalMode

Enumerator
DigitalModeInput 
DigitalModeOutput 
DigitalInOut 
DigitalModeSyncMaster 
DigitalModeSyncSlave 

◆ ErrorNum

Enumerator
ErrorSystem 
ErrorDataOverrun 

◆ FilesysDeleteType

Enumerator
FilesysDeleteTypeNone 
FilesysDeleteTypeData 
FilesysDeleteTypeFormat 

◆ FileType

Enumerator
FileTypeNone 
FileTypeFile 
FileTypeDir 

◆ LogDataMode

Enumerator
LogDataModeNormal 
LogDataModeDeleteOld 

◆ MeasureMode

Enumerator
MeasureModeOff 
MeasureModeOneShot 
MeasureModeRepeat 
MeasureModeContinuous 

◆ Mode

Enumerator
ModeSleep 
ModeIdle 
ModeRun 
ModeRunProgram 
ModeInternal 
ModeDemo1 

◆ NodeType

Enumerator
NodeTypeNone 
NodeTypeBMeasure1 

◆ SampleType

Enumerator
SampleTypeNone 
SampleTypeBool 
SampleTypeInt8 
SampleTypeInt16 
SampleTypeInt32 
SampleTypeFloat32 
SampleTypeFloat64 

◆ SecureMode

Enumerator
SecureModeOpen 
SecureMoteRemote 
SecureModeFull 

◆ Status

Enumerator
StatusNone 
StatusError 
StatusWarning 
StatusRun 
StatusDataOverrun 
StatusEnd0 
StatusEnd1 
StatusFpgaOverrun 

◆ SyncMode

Enumerator
SyncModeOff 
SyncModeMaster 
SyncModeSlave 

◆ TdsDataType

Enumerator
TdsTypeVoid 
TdsTypeI8 
TdsTypeI16 
TdsTypeI32 
TdsTypeI64 
TdsTypeU8 
TdsTypeU16 
TdsTypeU32 
TdsTypeU64 
TdsTypeSingleFloat 
TdsTypeDoubleFloat 
TdsTypeExtendedFloat 
TdsTypeSingleFloatWithUnit 
TdsTypeDoubleFloatWithUnit 
TdsTypeExtendedFloatWithUnit 
TdsTypeString 
TdsTypeBoolean 
TdsTypeTimeStamp 
TdsTypeFixedPoint 
TdsTypeComplexSingleFloat 
TdsTypeComplexDoubleFloat 
TdsTypeDAQmxRawData 

◆ TriggerConfig

Enumerator
TriggerConfigNone 

◆ TriggerMode

Enumerator
TriggerModeOff 
TriggerModePositive 
TriggerModeNegative 

◆ Waveform

Enumerator
WaveformNone 
WaveformSine 
WaveformSquare 
WaveformTriangle 
WaveformNoise 
WaveformArbitrary 

Function Documentation

◆ channelTypeString()

const char * BMeasureApi::channelTypeString ( ChannelType  type)

◆ round512()

BUInt32 BMeasureApi::round512 ( BUInt32  s)

◆ sampleTypeString()

const char * BMeasureApi::sampleTypeString ( SampleType  type)

◆ TocBigEndian()

const BUInt32 BMeasureApi::TocBigEndian ( 1<<  6)

◆ TocDaqRawData()

const BUInt32 BMeasureApi::TocDaqRawData ( 1<<  7)

◆ TocInterleavedData()

const BUInt32 BMeasureApi::TocInterleavedData ( 1<<  5)

◆ TocMetaData()

const BUInt32 BMeasureApi::TocMetaData ( 1<<  1)

◆ TocNewObjList()

const BUInt32 BMeasureApi::TocNewObjList ( 1<<  2)

◆ TocRawData()

const BUInt32 BMeasureApi::TocRawData ( 1<<  3)

◆ toFloat()

BFloat32 BMeasureApi::toFloat ( BUInt32  v)
inline

◆ unitSort()

static int BMeasureApi::unitSort ( BMeasureUnit1 *&  u1,
BMeasureUnit1 *&  u2 
)
static

Variable Documentation

◆ apiVersion

const BUInt32 BMeasureApi::apiVersion = 0