DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Search results won't display Channel.Maximum or Channel.Minimum

I did a Search Channels on a given channel name. I got the desired results except when I display Channel.Maximum (or minimum) in the search results I get NOVALUE for the results. However I can display the max or min for a file in the data portal. Why won't the search return the values? I watched one of the demo videos and it looked like it worked fine there.
 
George
0 Kudos
Message 1 of 9
(4,726 Views)

Hi George

That is no standard function of DIAdem. But the menu is available after using the menu Help>>Examples and starting the Example "New Example for Version 10.0">>"Shortcut menu for the Searchresultlist of the Datafinder"

Hope this helps.

Winfried

0 Kudos
Message 2 of 9
(4,709 Views)

I get the Channel.Maximum for the example you mentioned, but when I go back to my data I get NOVALUE again for Channel.Maximum.

Why would that be presented as a search property if you can't search on it?

George

0 Kudos
Message 3 of 9
(4,700 Views)

Hi George

It seems that the characterist values are not calculated for that datasets. I suggest that you do not use TDM data. Most dataplugins do not calculate that characteristic values.

Winfried

0 Kudos
Message 4 of 9
(4,692 Views)

How does the example get the Channel.Maximum data?

I'm using TDMS data. I thought that was the recommended data type to use now. If DIAdem doesn't calculate characteristic values for the recommended data type it seems like it really should.

Can someone please explain why the Channel. Maximum and Channel.Minimum show up as properties available for search when searching a Channel if DIAdem doesn't intent to return a value? I'm a little disheartened now. I thought this search engine was going to be useful.

George

0 Kudos
Message 5 of 9
(4,687 Views)
Hi George,
 
There are a number of Channel properties that DIAdem calculates automatically when a data set is loaded into the Data Portal:
 
Minimum
Maximum
NoValueKey
Monotony
SourceDataFileName
SourceDataFilePath
      :           :          :
 
These properties can exist in the data file but often do not.  Any TDM file will automatically have the Minimum and Maximum properties assigned in the data file, but these are not automatically assigned in TDMS files or DataPlugin files.  You can, of course, always calculate any properties and save them to the file at the same time as you're saving the original data-- then they will be available for searching.  The DataFinder will only return search results if the property exists in the data file and has a value assigned to it.
 
For the particular case of the Minimum and Maximum properties, these are standard properties that are automatically optimized by the DataFinder, so these names show up in the property list even when there are no Minimum or Maximum properties in your search files, just like the annoying "RegisterInt#", "RegisterTxt#", "RegisterVal#" properties.
 
If you load the data file into DIAdem, then re-save it over the original data file, all these automatically calculated "Data Portal" properties are then saved to the data file and are then available for searching in the DataFinder.
 
Hope that clears things up,
Brad Turpin
DIAdem Product Support Engineer
National Instuments
Message 6 of 9
(4,685 Views)

Thanks. That clears it up. Not really what I wanted to hear, but at least I understand now. Guess I'll have to store more data.

George

0 Kudos
Message 7 of 9
(4,680 Views)
I had the same problem and this thread answered my basic question.  Would you provide a little more information about how to save the maximum and minimum properties when the TDMS file is created?  I'm using LabView to create the TDMS file and wonder if there is a function in LabView to store these properties.
 
-Craig
0 Kudos
Message 8 of 9
(4,363 Views)
Use the TDMS Set Properties VI to store Maximum and Minimum. See the attached VI for an example.

George
0 Kudos
Message 9 of 9
(4,349 Views)