05-25-2009 04:07 AM
Hello
I have a LV7.1 DAQ to save data in 2 sample rates, 15 kHz and 150 Hz, into TDM-files.
When I try to read these data with DIAdem 9.1, there is no time channel. However, as in former .dat-times, time data are included implicitly as t0 and dt.
How can use this information to build time channels? I tried ChnGenTime, but this would only permit 1sec as minimum time interval.
I might consider writing two explicit time channels in LV but this seems tricky to me.
Thank you for your assistance.
Michael
05-25-2009 12:41 PM
nimic wrote:Hello
I have a LV7.1 DAQ to save data in 2 sample rates, 15 kHz and 150 Hz, into TDM-files.
When I try to read these data with DIAdem 9.1, there is no time channel. However, as in former .dat-times, time data are included implicitly as t0 and dt.
How can use this information to build time channels? I tried ChnGenTime, but this would only permit 1sec as minimum time interval.
Hello Michael,
It sounds like you store Waveform Channels in LabVIEW. To convert Waveforms into X (time) and Y (data) channels, try the following function:
Call WfChnToChn("WafeFormChannelName")
I don't have version 9.1 (I use version 11), so I'm not sure if that command already exists in version 9.1, but you can give it a try.
You can also do this "manually" in the ANALYSIS part of DIAdem. Go to the "Channel Functions" icon and select the "Numeric Channel <-> Waveform Channels" icon.
Hope this help, let me know if you have any additional questions,
05-26-2009 07:00 AM
WfChnToChn does not exist in DIAdem 9.1
It was introduced with DIAdem 10.0
I would suggest that normally 9.1 should load the time channel explcitely when loading the tdm file.
As far as I can remember there is a checkbox in the Navigator that has to be enabled to load
waveform data.
Could you provide an example tdm file that you created.
Greetings
Andreas
05-26-2009 08:52 AM
Hi Michael,
Waveform channels were first supported in DIAdem 10.0, so none of the above-mentioned functions or compatability checkboxes will be available in DIAdem 9.1. Andreas is correct that waveform channels in a TDM file will load automatically with a matching Time channel in DIAdem 9.1. I'm not sure what's going wrong on your end, but I agree with Andreas that the simplest and most direct way to help you would be to look at one of these TDM files (along with its matching TDX file, of course).
Brad Turpin
DIAdem Product Support Engineer
National Instruments