Twinleaf I/O Labview Library
Switch branches/tags
Nothing to show
Clone or download
Latest commit 41c0cbe Aug 22, 2018
Permalink
Failed to load latest commit information.
Labview Signal Processing Suppress data stream update glitches Mar 14, 2018
TIO Examples remove copies Aug 22, 2018
TIO Library Correct timebase parsing Aug 20, 2018
TIO Test Fix borken links Mar 22, 2018
doc Fix links Dec 20, 2017
LICENSE.txt Initial upload. Jul 18, 2017
README.md typo and email. Dec 21, 2017

README.md

Labview Twinleaf I/O

This package implements a communications protocol in labview to work with Twinleaf sensors using Twinleaf I/O (TIO) as the communications layer. Data from the sensors is received via PUB messages and sensor parameters may be changed using REQ/REP messages.

VM Monitor

An included example for monitoring data from a Twinleaf VMR vector magnetometer.

Prerequisites

Installation

Unzip or clone into the instr.lib folder in the Labview installation directory.

Use

Several example VIs are available:

  • VM Monitor: view and log data from a Twinleaf VMR sensor.
  • CSB Control: Adjust the output of a Twinleaf CSB current supply.

These examples can be called with "url" that is either a serial port (ASRL47::INSTR, COMx) or a net url such as tcp://localhost if using a serial port proxy such as the one in tio-tools.

Programming

VM Monitor

The execution is threaded by virtue of three separate loops: an event loop (top), a stream loop (middle), and, in this case, a signal processing loop (bottom). Stream data returns from the TIO Device Tick VI and can be converted to a useful array using TIO Data Stream. RPC is handled using named queues.

TODO

  • Heartbeat
  • Close port