Package qubx :: Module acquirefile
[hide private]
[frames] | no frames]

Module acquirefile

source code

Classes [hide private]
  AcquirePrefix
  AcquireHeader
  AcquireSeriesDescriptor
  AcquireSweepPrefixAnalogChannel
  AcquireSweepPrefixAperiodicChannel
  AcquireSweepDescriptor
  AcquireSegmentDescriptor
  AcquireChannelDescriptor
  AcquireBlockDescriptor
  AcquireAnalogInChannelRecord
  AcquireAperiodicChannelRecord
  AcquireAperiodicEntry
  AcquireBlockTag
  Block
  AcquireFile
Functions [hide private]
 
read_string8(buf, loc_bytes, count) source code
 
read_string16(buf, loc_bytes, count) source code
 
read_struct(buf, loc_bytes, format) source code
 
round_up(i, divisor) source code
 
ReadHeader(buf) source code
 
ReadFilePrefix(buf, loc_bytes, block, header) source code
 
ReadSweepPrefix(buf, loc_bytes, block, header) source code
 
ReadSweep(buf, loc_bytes, block, header) source code
 
ReadSeries(buf, loc_bytes, block, header) source code
 
ReadBlock(buf, loc_bytes, header) source code
 
ScaleUnit(value, sUnit='')
Returns a scaled value of "val" as function return with a single character unit scaler from the metric scale set as a tuple of the form (Scaled Value, Scaler Char+sUnit)
source code
Variables [hide private]
  ACQUIRE_FORMAT = 1
  ACQUIRE_BLOCK_SIZE = 1024
  ACQUIRE_FILE_COMMENT_SIZE = 256
  ACQUIRE_COMMENT_SIZE = 80
  ACQUIRE_FILE_TECHNIQUE_SIZE = 256
  ACQUIRE_TECHNIQUE_SIZE = 80
  ACQUIRE_SCREEN_SIZE = 80
  ACQUIRE_LABEL_SIZE = 16
  ACQUIRE_UNITS_SIZE = 16
  ACQUIRE_SIGNAL_SIZE = 32
  ACQUIRE_CONTROL_NAME_SIZE = 80
  ACQUIRE_USER_NAME_SIZE = 64
  ACQUIRE_COMPUTER_NAME_SIZE = 64
  ACQUIRE_APERIODIC_CHANNEL_CONTROL = 0
  ACQUIRE_APERIODIC_CHANNEL_IMAGE = 1
  ACQUIRE_DATA_BLOCK = 1
  ACQUIRE_SWEEP_BLOCK = 2
  ACQUIRE_CONTROL_BLOCK = 3
  ACQUIRE_SERIES_BLOCK = 4
  ACQUIRE_FILE_PREFIX_BLOCK = 5
  ACQUIRE_SWEEP_PREFIX_BLOCK = 6
  __package__ = 'qubx'
  e = 2.71828182846
  pi = 3.14159265359