01-18-2024 01:34 PM
Hi all,
I was wondering if anyone here has experienced any problems reading TEDs off a PCB PIEZOTRONICS brand microphone in LabVIEW, or might have some insights as to why I am. Specifically, I am trying to read TEDs from a model 378B02 IEPE microphone; It is connected to a NI-9234 cDAQ module.
When I call the, "DAQmx Create Channel (TEDS-AI-Sound Pressure-Microphone.vi)" pictured below, I get error -200709,
"No TEDS sensor was detected on the specified physical channel.
Ensure that your sensor is properly connected. If the sensor is connected to a TEDS interface device with addresses, make sure the configured address matches the address set on the interface device."
If I then go into MAX and configure TEDs there, MAX has no problem reading and applying TEDs to that channel. Furthermore, after configuring TEDs in MAX, the code snippet works without error. If I then delete the TEDs configuration from MAX, then the error returns. What is even more strange is that as I have been troubleshooting this problem, the code snippet has on rare occasion worked without TEDs being pre-configured in MAX.
This is a problem for my application, which needs to automatically read and apply TEDs calibration to an operator selected microphone. The microphone model may vary, and the position it is plugged into may also vary. Having to configure TEDs in MAX is not ideal since this application and related hardware needs to, "just work" on anyone's laptop with minimal configuration. Anyone got any ideas?
Solved! Go to Solution.
01-18-2024 05:47 PM - edited 01-18-2024 05:48 PM
I used to call this VI before I created the task; this VI reads TEDS and stores it in the DAQmx driver to use it later.
https://www.ni.com/docs/en-US/bundle/ni-daqmx-labview-api-ref/page/lvdaqmx/mxconfigteds.html
Alternatively, go into NI MAX, select the DSA module, and somewhere in the right-click menu will be an option to discover and read TEDS, which will also do the same.
01-19-2024 08:11 AM
Hi Santhosh,
That did resolve my problem. Thank you!