Using TEDS with NI-DAQmx in LabVIEW

Updated Jul 30, 2019

Reported In

Hardware

  • NI-9234

Software

  • LabVIEW

Driver

  • NI-DAQmx

Programming Language

  • LabVIEW G

Issue Details

I have one accelerometer that supports Transducer Electronic Data Sheet (TEDS) and one NI-9234 IEPE Module. I'm new to TEDS, but I have been able to configure my physical channel in MAX and it was pretty easy. However, I want to have the flexibility to configure different TEDS sensors in my LabVIEW application for the same task without needing MAX. How can I start programming TEDS with NI-DAQmx in LabVIEW?

Solution

In LabVIEW, there is a subpallete from NI-DAQmx where you can access TEDS functions. To access it, open the functions pallete and go to Measurement I/O>>NI-DAQmx>>Advanced>>DAQmx TEDS.
 

Using those functions, you can basically:
  • Associate TEDS information with the physical channel you specify using the function DAQmx Configure TEDS.
  • Write TEDS data to the TEDS sensor connected to the physical channel you specify using the function DAQmx Write TEDS Data.
  • Get the TEDS properties from a specific physical channel using the DAQmx Physical Channel Property Node.
  • Remove TEDS information from the physical channel you specify using the function DAQmx Clear TEDS.
Note: In case you have configured this physical channel in MAX previously, the functions listed above will temporarily override that configuration.

In case you are starting working with TEDS in LabVIEW, you can first use the function DAQmx Configure TEDS and add the physical channels you want to associate TEDS information. You can optionally point to a virtual TEDS file. If you do not point to a Virtual TEDS file, NI-DAQmx will attempt to find a TEDS sensor connected to the physical channel you entered and get the information from it.
After calling the function DAQmx Configure TEDSyou can create a TEDS virtual channel using the function DAQmx Create Virtual Channel. If you want to create an accelerometer virtual channel, for example, you will have to click on the drop-down menu below the VI icon and select Analog Input>>TEDS>>Acceleration>>Accelerometer, as shown in the picture below.
 

 

Note: TEDS virtual channels VIs require you to configure the physical channel(s) with TEDS information before calling them.

After configuring the virtual channel, you can move on configuring the NI-DAQmx task as usual.

Additional Information

You can use the TEDS library to manipulate TEDS data to use it throughout your code.