8devices Community
https://www.8devices.com/community/

Function CANALMSG in usb2can.dll
https://www.8devices.com/community/viewtopic.php?f=16&t=743
Page 1 of 1

Author:  Urghs [ 13 May 2014, 12:58 ]
Post subject:  Function CANALMSG in usb2can.dll

Hi guys, i'm trying to create my own software in order to control CanBus messages, so i downloaded the canal api on the website; i can't use the full version of Microsoft Visual studio, so i decided to import a shared library (the .dll file) in NI LabView.

Now i'm able to open and close a specific bus into LabView, but i have problems with the CANALMSG function. I read the pdf guide about the canal api, but there are no examples about the function and i'm not sure i'm doing well. Can someone please explain me how to write in the code each parameter that belongs to the function, or give me any example?

I'm receiving an output error of invalid parameter, so i think the issue is in what i wrote.
Regards

Author:  gedass [ 13 May 2014, 20:39 ]
Post subject:  Re: Function CANALMSG in usb2can.dll

Hi,
CANALMSG is stucture.It isn't function.
Examples you can find here:
http://8devices.com/media/files/usb2can ... ce_1_0.zip

Author:  Urghs [ 13 May 2014, 21:23 ]
Post subject:  Re: Function CANALMSG in usb2can.dll

Thanks gedass for the reply, i've already looked into the source code and it isn't helpful for me. I'm new to programming, i'd like a clearer explanation...

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/