Example Code

Sensorsoft Humidity and Temperature Meter

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Instrument Control

    Software

  • LabVIEW

    Driver

  • NI VISA

Code and Documents

Attachment

Overview

These two VIs, written in LabVIEW 2009, SP1, talk to a Sensorsoft SS6610J / SS6610C Humidity/Temperature Meter.

 

Description

 These two VIs, written in LabVIEW 2009, SP1, talk to a Sensorsoft SS6610J / SS6610C Humidity/Temperature Meter. The main VI prompts the user for a path and filename in which to store the data. The program checks to see if that file already exists and – if it does – asks the user if s/he want to append data to the existing file. The output of the program is four columns of data written to a .txt file that can be read by Excel (for example). The columns are: (a) absolute date & time (b) time in seconds for easy data manipulation (c) temperature (0.5 deg C resolution) and (d) humidity data (1% resolution). The sensor is capable of higher resolutions of 0.1 deg C and 0.1% humidity, and the VIs are written so that others may implement these functions if desired – but they are not implemented yet.  I'm not a LabVIEW guru; uploaded improvements are welcome. 

 

Requirements

Software: 

LabVIEW 2012 or compatible

 

 

Steps to Implement or Execute Code

Download two VIs: “Sensorsoft-MAIN.vi” and “sensorsoft-read.vi," and run them in LabVIEW

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

 

 

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.