Code covered by the BSD License  

Highlights from
Matlab LibTiePie 0.4.3 instrument driver for Handyscope HS5

  • BitMask2Array( nMask )BitMask2Array extracts from an integer the values of the separate bits.
  • VersionNumber2String( nVe...VersionNumber2String converts a 64 bit version number to a string.
  • DeviceLibTiePie.Device is a common ancestor for test and measurement devices in LibTiePie.
  • Enum.ARAuto resolution modes:
  • Enum.BMGenerator burst modes
  • Enum.CKCoupling kinds
  • Enum.COClock output types
  • Enum.CONNECTORTYPEConnector types:
  • Enum.CSClock sources
  • Enum.DEVICETYPEDevice types, used for several LibTiePie.Library.List methods.
  • Enum.FMGenerator frequency modes
  • Enum.IDDeviceIDs, used for several LibTiePie.Library.List methods.
  • Enum.IDKINDId kinds, used for several LibTiePie.Library.List methods.
  • Enum.MMMeasure modes
  • Enum.STGenerator signal types
  • Enum.TCTrigger conditions
  • Enum.TKTrigger kinds
  • Enum.TOETrigger output events
  • Enum.TRISTATETristate value
  • GeneratorUse LibTiePie.Generator for controlling LibTiePie arbitrary wavevorm generators.
  • I2CHostUse LibTiePie.I2CHost for controlling LibTiePie I2C hosts (contained in oscilloscopes).
  • LibraryLibTiePie is a library for controlling TiePie engineering's test and measurement equipment.
  • ListLibTiePie.List is the device list object in LibTiePie.
  • OscilloscopeUse LibTiePie.Oscilloscope for controlling LibTiePie oscilloscopes.
  • OscilloscopeChannelLibTiePie.OscilloscopeChannel controls a LibTiePie oscilloscope channel.
  • TriggerInputLibTiePie.TriggerInput controls a LibTiePie trigger input.
  • TriggerOutputLibTiePie.TriggerOutput controls a LibTiePie trigger output.
  • View all files
Be the first to rate this file! 3 Downloads (last 30 days) File Size: 19.3 KB File ID: #43741 Version: 1.1

Matlab LibTiePie 0.4.3 instrument driver for Handyscope HS5

by

 

03 Oct 2013 (Updated )

MatlabLibTiePie : TiePie engineering's instrument library for Matlab 7.6 = 2008a and higher.

| Watch this File

File Information
Description

====================================================================================
MatlabLibTiePie : TiePie engineering's instrument library for Matlab 7.6 = 2008a and higher.
====================================================================================

MatlabLibTiePie is a Matlab package for using LibTiePie supported devices with Matlab 7.6 = 2008a and up.
LibTiePie is a library for controlling TiePie engineering's test and measurement equipment.
The following device types are supported:
- oscilloscopes
- function generators / arbitrary waveform generators (AWG)
- I2C hosts.

For examples and more information, see api.tiepie.com and www.tiepie.com/LibTiePie .

Setup:

The parent directory of the +LibTiePie directory must be in the Matlab path (or must be the current directory).
Therefore, create a directory structure such as 'C:\TiePie\+LibTiepie'.
To temporarily add 'C:\TiePie' to the Matlab path, execute 'addpath C:\TiePie'.
To permanently add 'C:\TiePie' to the Matlab path, use file->set path->add folder->save->close, or in Matlab 2012b+'s ribbon menu Environment->Set Path.

libtiepie.dll (or .so) and libtiepie.h must also be in the Matlab path. You can copy them to the 'C:\TiePie' directory already added to the Matlab path.

Use:

It is recommended to import the enumerated constants for LibTiePie to be able to use them for example as MM.STREAM instead of LibTiePie.Enum.MM.STREAM.
You can do this by executing 'import LibTiePie.Enum.*'.

Now you can open the library as follows:

>> LibTiePie = LibTiePie.Library

Search for devices:

>> LibTiePie.List.Update

Open the first oscilloscope:

>> Scope = LibTiePie.List.OpenOscilloscope( IDKIND.INDEX , 0 )

or function generator:

>> Gen = LibTiePie.List.OpenGenerator( IDKIND.INDEX , 0 )

Matlab will show which properties and methods can be used on each object.

Required Products MATLAB
MATLAB release MATLAB 7.6 (R2008a)
Other requirements LibTiePie library (see www.tiepie.com/LibTiePie) and TiePie engineering instrument (see www.tiepie.com/HS5)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
04 Oct 2013 1.1

minor textual modifications

Contact us