03-20-2008 03:23 AM
// Example Usage
BOOL ANT_ResponseFunction(UCHAR ucChannel, UCHAR ucResponseMesgID);
UCHAR aucResponseBuffer[MESG_RESPONSE_EVENT_SIZE];
..
ANT_AssignResponseFunction(&ANT_ResponseFunction, aucResponseBuffer);
03-20-2008 05:59 AM
03-21-2008 02:49 PM
hi,
first: thanx for the answer. i've already tried to buidl a wrapper dll (in labview) but the problem is, that i dont get the correct prototype that should look like this
BOOL (*RESPONSE_FUNC)(UCHAR ucANTChannel, UCHAR ucResponseMsgID);
How do i get the pointer as returntype?
thanx a lot
martin
03-22-2008 03:43 AM
03-22-2008 09:09 AM
hello,
thanks for the answeres. that the dll creation doesnt work with labview ist bad for me, cause my prog skills are very littel. has anyone a link to a good tutorial or so that can help me to create the wrapper dll.
thanx a lot
martin
03-22-2008 10:41 AM
If you don't know C already you would have a very steep learning curve. C in itself is already quite a bit to learn but pointers and expecially function pointers are another step higher in the knowledge ladder when learning C programming.
@martinboecskoer wrote:
hello,
thanks for the answeres. that the dll creation doesnt work with labview ist bad for me, cause my prog skills are very littel. has anyone a link to a good tutorial or so that can help me to create the wrapper dll.