From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-15-2020 01:25 PM
Hi all,
I am struggling with a third party dll and using the call library function. There is a handle type called 'typedef struct tagST25R3911HANDLE {} * ST25R3911HANDLE; 'that is used in most of the functions. When I used the import shared library wizard labview converted it to an empty cluster structure and made it adapt to type. I can't figure out what to make of this. I've tried a few different data types, but keep getting a 1097 error. Anybody have any ideas?
07-15-2020 03:16 PM
Update: figured out the problem. Had to pull a value from another function for handle value.
01-18-2024 06:24 AM
Hi gimongreg007,
I know this thread is a from a few years ago. I am having the same issue with this same dll.
How did you get the value for the handle?
Regards
John
01-18-2024 07:48 AM
Try to change this in the header file:
typedef struct tagST25R3911HANDLE {} * ST25R3911HANDLE;
into
typedef void * ST25R3911HANDLE;
That should probably let the import library wizard be happy.
It should generate a Numeric, Pointer sized (unsigned) Integer for this parameter.