From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

PicoTech Picologger TC-08 Thermocouple USB interface

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.

    Software

  • LabVIEW

    Driver

  • NI VISA

Code and Documents

Attachment

Download All

Overview
    These VI's provide a more uniform route to communicating with the TC-08. They also allow modification of parameters such as temperature readback.

 

Requirements
    Software
        LabVIEW 2012 (or compatible)
        NI-VISA

    Hardware
        USB device

 

Instructions
    The USB device must be detected by the OS and the DLL (included) to be placed in the system32 directory. If the unit is already in use by another program then the VI's will not work, likewise if the device is not closed it cannot be opened for additional reads. 

 

Additional Information or References

微信截图_20170308200312.png

 

Caveats and Additional Notes

    The USB device must be detected by the OS and the DLL (included) to be placed in the system32 directory.  If the unit is already in use by another program then the VI's will not work, likewise if the device is not closed it cannot be opened for additional reads.

 

**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.

Comments
giordy72
Member
Member
on

There is an error in the closeTC08.vi.

the function 'usb_tc08_close_unit' returns 0 for an error, and 1 for a sucessful operation.