LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

DIAdem Connectivity Library 64bit AddChannel problem

Hi,

I want to write 64bit TDM export programme in programming language Delphi. The problem I have is that function DDC_AddChannel always returns error code -6203 which means the wrong datatype was added to function. But for 32bit version works.

 

I call function like:
 DDC_AddChannel(ChannelGroup, DDC_Float, PFieldName, PChNum, PFieldUnit, @channel);

 

The DDC_Float is defined in enum DDCDataType. The enum looks like:

type
DDCDataType= (

   DDC_notype {= 0},
   DDC_UInt8 {= 5}, // unsigned char
   DDC_Int16 {= 2}, // short
   DDC_Int32 {= 3}, // int
   DDC_Float {= 9}, // float -> single
   DDC_Double {= 10}, // double
   DDC_String {= 23}, // string
   DDC_Timestamp {= 30} // timestamp
); 

 

So where is the problem ?
Thanks for the answers in advance.

Kind regards,
Primus

0 Kudos
Message 1 of 1
(2,952 Views)