02-11-2016 10:42 AM
How do you create a TDM file with an implicit channel using CVI? What properties do you have to set to get an implicit channel? The "representation" property is read-only, so I cannot set it to implicit_linear. So far I have
status = DDC_AddChannel(channelGroupHandle, DDC_Double, "DateTime", "Linear Time", "s", &channelHandle);
status = DDC_CreateChannelProperty(channelHandle, "implicit_start", DDC_Double, 53431389753.546461);
status = DDC_CreateChannelProperty(channelHandle, "implicit_increment", DDC_Double, intervalSeconds);
status = DDC_CreateChannelProperty(channelHandle, "length", DDC_Int32, nPts);
status = DDC_CreateChannelProperty(channelHandle, "lengthmax", DDC_Int32, nPts);
status = DDC_CreateChannelProperty(channelHandle, "monotony", DDC_String, "increasing");
status = DDC_CreateChannelProperty(channelHandle, "displaytype", DDC_String, "time");
02-12-2016 05:13 PM
Hi Gaius,
Are you looking to set up channels in CVI and then use them in DIAdem?
02-13-2016 11:24 AM
Yes, that is correct. I am programming in the CVI environment. I am using the DIAdem library that is available in CVI. I am using CVI 2015 version.
02-15-2016 09:55 AM
Hi Gaius,
the CVI-TDM library doesn't allow for creating implicit chaannels.
However, in case you only want to write TDM files, the
may be an alternative.