06-24-2009 03:14 AM
I have a Labview dll need to call in CVI. but it always shows error.
void __cdecl Idx_RW_Reg(uint16_t Register, int32_t RegLength,
LVBoolean Data_in[], uint8_t OperationRd1Wr0, TD1Hdl *read_reg_table_in,
uint16_t PortAddress, TD1Hdl *Table_of_reg_out, LVBoolean ControlFrame[],
uint16_t *PortAddressOut, int32_t len, int32_t len2);
TD1Hdl *read_reg_table_in:What's this,who can tell me
typedef struct {
int32_t dimSizes[2];
LVBoolean BoolEn[1];
} TD1;
typedef TD1 **TD1Hdl;
Any help is greatly appreciated.
Thanks.
Solved! Go to Solution.
06-25-2009 10:46 AM
Hi,
What is your call code?
I advise you to read: Calling a LabVIEW DLL from a CVI or Other C/C++ project
Regards,
Aurélien J.
National Instruments France
06-26-2009 02:27 AM
Merci !