08-06-2019 04:21 PM
I would like to programatically remove all of the TEDS configurations that are stored on my hardware in NIMax. I have tried to use the DAQmx Clear TEDS Vi for this with no luck.
08-06-2019 04:43 PM
As an aside I'd like to query the measurement direction and record that information. This is in the TEDS properties which can be seen in NiMax but it is not one of the available options for the Teds channel property node. Is there a way to get this information out in Labivew
08-12-2019 07:47 PM - edited 08-12-2019 08:14 PM
I'm not sure about the first question, but regarding the second you could try something like this:
Here I've shown the name of the only VI not on the TEDs palette, which I found by placing some of those VIs on my block diagram, then going to the Files view in Project Explorer, then right clicking on the TEDS VIs and choosing Explore..., then opening the TEDS_api.llb and scrolling down the list to find the TEDS_Parse Binary TEDS(u8).vi
I'm just getting the value of a default property here - you'd want to instead choose whatever the label of your Sensitivity Direction is, or whichever you needed.
Edit: See below for the correct way to get the property labels. The table instead gets their descriptions, which can't be used to get the values (although you could parse the second column for the values if you are only looking for "x", "y", "z" and don't require numeric precision).
08-12-2019 07:54 PM - edited 08-12-2019 08:08 PM
It also turns out that the TEDS library is only installed by default in LabVIEW 2018 or later. If you're using an earlier version of LabVIEW, take a look at these links to help you get it working:
How Do I Install the TEDS Library into LabVIEW?
Reading Smart TEDS Sensors and Virtual TEDS Files in LabVIEW
The second link includes an example that shows a way to get the property labels (the table gives the descriptions it seems).
A modified example might be more like this:
08-13-2019 08:23 AM
@cbutcher wrote:
It also turns out that the TEDS library is only installed by default in LabVIEW 2018 or later. If you're using an earlier version of LabVIEW, take a look at these links to help you get it working:
How Do I Install the TEDS Library into LabVIEW?
Reading Smart TEDS Sensors and Virtual TEDS Files in LabVIEW
The second link includes an example that shows a way to get the property labels (the table gives the descriptions it seems).
A modified example might be more like this:
Adding to the above...
As of LV 2017 the "Templates" where not included in RT PXI installs. They have to be copied from the Windows machine to the correct path on the RT system.
Ben