DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS_AppendDataValues with an array of strings

Solved!
Go to solution

Could anyone give me a sample of how to use function TDMS_AppendDataValues() with array of strings?

 

tdmsError =TDMS_AppendDataValues(phChannels[usChan], arrayofstrings, iTotalNoOfRec, TRUE);

 

I always get General protection exception.

0 Kudos
Message 1 of 2
(4,376 Views)
Solution
Accepted by topic author NiCoder

Have a look at TDMS_AppendDataValues.

 

char *values[] = {"one", "two", "three", "four", "five"};
TDMS_AppendDataValues (channel, values, 5, 1);

 Doesn't this example work?

0 Kudos
Message 2 of 2
(4,368 Views)