### Navigation

- index
- modules |
- previous |
- mwavepy v1.4 documentation »
- mwavepy API »
- mwavepy Package »

# virtualInstruments Package

## `virtualInstruments` Package

import virtual instruments

## `futekLoadCell` Module

class `mwavepy.virtualInstruments.futekLoadCell.``FutekMonitor`(ax=None, window_length=-1, **kwargs)

  Bases: `object`

  `get_data_and_plot`()
  `update_axis_scale`()
  `update_data`()
  `update_line`()

class `mwavepy.virtualInstruments.futekLoadCell.``Futek_USB210_pipe`(sample_rate=2.5, avg_len=1)

  Bases: `object`

  `close`()
  `data`
  `read`()
  `write`(data='gimme datan')

class `mwavepy.virtualInstruments.futekLoadCell.``Futek_USB210_socket`(*args, **kwargs)

  Bases: `mwavepy.virtualInstruments.generalSocketReader.GeneralSocketReader`

## `generalSocketReader` Module

class `mwavepy.virtualInstruments.generalSocketReader.``GeneralSocketReader`(sock=None, sample_rate=2.5, avg_len=1, query_string='1', msg_len=1000.0)

  A general class which wraps a socket and has a simple data query function, implemented by the property data_point.

  this was made as a way to interface a piece of hardware which did not support gpib. is useful for general interfacing of non-standard hardware or software.

  example usage:
    gsr = generalSocketRead() gsr.connect(‘127.0.0.1’,1111) gsr.data_point # implicityly calls send() then receive()
  `close`()
  `connect`(host, port)
  `data`

    tmp = [] for n in range(self.avg_len):

    > sleep(1./self.sample_rate) self.send(self.query_string) tmp.append(float(self.receive()))

    return npy.mean(tmp)

  `receive`()
  `send`(data)

## `lifetimeProbeTester` Module

## `lifetimeProbeTesterFunctions` Module

## `stages` Module

## `vna` Module

### Navigation

- index
- modules |
- previous |
- mwavepy v1.4 documentation »
- mwavepy API »
- mwavepy Package »