LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing TDM files without Diadem installed from CVI

Hello,

I would like to read/write tdm files from LabWindows/CVI without having Diadem installed.

I need to re-open the tdm file for each channel tested and add the meta-data and the measured values for the current channel to the tdm file.

What is the right way to do it?

Best regards
Yannick W.


0 Kudos
Message 1 of 9
(4,740 Views)
Yannick,

Which version of CVI do you have? With version 7.1 and later, there is a library in CVI, called "DIAdem Connectivity" that allows you to read and write tdm files without having to have DIAdem installed.

Luis
NI
0 Kudos
Message 2 of 9
(4,729 Views)
Hello Luis,
 
I have CVI 8.0. I have try to use it, but I cant create custom propertys and this is absolutly mandatory. I have try with DDC_SetFileProperty but only the 3 standart property are supported.
 
Is there any beta version of the Diadem connectivity that support custom properties?
 
Best regards,
Yannick W.
0 Kudos
Message 3 of 9
(4,715 Views)
Yannick,

Custom properties are not yet officially supported in this library, but since you asked for a beta version, you might want to give it a shot and see if it works. The functionality is already there in CVI 8.0, but it's not exposed through the header file or function panels. I don't have function panels/documentation for you, but you can include the the attached header file in your source code to start using them.

Good luck!
Luis
0 Kudos
Message 4 of 9
(4,706 Views)

Hello Luis,

same problem here, - thanks for the hint and the header file. I will also give it a try.

Are there any other limitiations besides customized properities compared to e.g. the LabView connectivity VI's?

 

Thanks,

Greg

 

0 Kudos
Message 5 of 9
(4,677 Views)
Hello Luis,

I have try the header file and I have saved my custom properties. It works fine.
Thanks alot...

Best regards
Yannick W

0 Kudos
Message 6 of 9
(4,668 Views)
Greg,

I believe the LabVIEW VIs support queries. The CVI library currently does not. Other than that (and the custom properties) they should be equivalent.

Luis
0 Kudos
Message 7 of 9
(4,658 Views)
Hello Luis,

The function DDC_SetDataValues create a "Numeric channel" type. Is it possible to generate a "Waveform channel" where you specify the "Waveform properties" like x-name, wf_xunit_string, wf_start_offset and wf_increment?

Best regards,
Yannick W.

0 Kudos
Message 8 of 9
(4,644 Views)
Yannick,

SetDataValues expects only a simple numeric array (not a waveform) so it will not automatically create those properties for you. You can, if you wish, use the CreateChannelCustomProperty to create those properties explicitly.

I'm not sure if you are trying to match what LV does with waveforms... the difference is that the waveform data type does not exist in CVI, and so there is no built-in support in the CVI libraries for handling waveforms.

Luis
0 Kudos
Message 9 of 9
(4,624 Views)