Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Virtual TEDS download with and without serial number

I am learning the NI-DAQmx C API and want to explore TEDS (Transducer Electronic Data Sheet) capabilities for educational purposes. Since I do not have a physical TEDS sensor available right now, I want to use Virtual TEDS to understand how the TEDS workflow works in C code before integrating a real sensor later.

My Setup:

  • Hardware: NI USB-9219 (or similar TEDS-capable DAQ device)

  • Software: NI-DAQmx latest version, Visual Studio 2019/2022

  • Goal: Write C code using DAQmxConfigureTEDS() and DAQmxCreateTEDSAIVoltageChan() to read from a Virtual TEDS sensor

What I've Tried So Far:

  1. I read the NI-DAQmx documentation on DAQmxConfigureTEDS and DAQmxCreateTEDSAIVoltageChan.

  2. I understand that I can use a .ted file (Virtual TEDS datasheet) instead of a physical sensor.

  3. I'm not sure where to find/download a sample .ted file or how to create one.

My Questions:

  1. Virtual TEDS File: Where can I download a sample .ted file for a common sensor type (e.g., voltage, temperature, pressure)? Or how do I create one? the documneatition says you need teds sensor serial number but i do not have one, it will be of great help if you can attach a .ted file

  2. Configuration Steps in Visual Studio:

    • After I have a .ted file, what are the exact steps to configure it for use with my USB-9219 in Visual Studio?

    • Do I need to configure it in NI MAX first, or can I do it purely in C code using DAQmxConfigureTEDS?

  3. C Code Example: Could someone share a minimal working example of C code that uses Virtual TEDS with DAQmxConfigureTEDS("Dev1/ai0", "C:\\path\\to\\file.ted")?

  4. Troubleshooting: What are the common errors when setting up Virtual TEDS, and how do I debug them?

0 Kudos
Message 1 of 1
(29 Views)