From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-04-2016 03:52 PM
Hi all,
I use Matlab for write tdm and tdms files by DDC (Diadem Data Connectivi
I get an error message.
[err,dummyVar,timevalue] = calllib(libname,'DDC_CreateChannelPropertyString','Waveform','wf_xname','Time');
Error using calllib
Parameter must be scalar.
I do not understand what the problem is?
Thanks and best regards
Sergey
Solved! Go to Solution.
12-05-2016 04:23 AM
The channel
DDCChannelHandle
is referred by a numeric value not a string
int DDC_CreateChannelPropertyString (DDCChannelHandle channel, const char *property, const char *value);
This number should be available in your code if only the property is missing it is the output parameter of
int DDC_AddChannel (DDCChannelGroupHandle channelGroup, DDCDataType dataType, const char *name, const char *description, const char *unitString, DDCChannelHandle *channel);
12-06-2016 11:31 AM
Thank you.