Page 1 of 1
a question about PCAN Basic send example
Posted: Tue 24. Nov 2015, 15:50
by workhard10
I want to try the PCAN Basic send example, and I got a Erorr window, can anyone tell me, how can I solve the problem?
see the attachment.
Re: a question about PCAN Basic send example
Posted: Tue 24. Nov 2015, 16:22
by M.Maidhof
Hi,
which CAN Hardware from PEAK do you use?
regards
Michael
Re: a question about PCAN Basic send example
Posted: Tue 24. Nov 2015, 22:17
by workhard10
M.Maidhof wrote:Hi,
which CAN Hardware from PEAK do you use?
regards
Michael
I use PCAN-USB optoentkoppelt IPEH-002022.
Do you know, how can I delete the post? I have already a same post in Foren-Übersicht ‹ Software Support ‹ Development Packages ‹ PCAN-Basic
Re: a question about PCAN Basic send example
Posted: Wed 25. Nov 2015, 09:04
by K.Wagner
Double post was deleted
Re: a question about PCAN Basic send example
Posted: Wed 25. Nov 2015, 10:59
by workhard10
K.Wagner wrote:Double post was deleted
thanks!
Re: a question about PCAN Basic send example
Posted: Wed 25. Nov 2015, 15:00
by M.Maidhof
Hi,
to solve your problem, please do the following steps:
- select "PCAN_USBBUS1" instead of "PCAN_NONEBUS" for the channel
please also check the correct installation of your PCANBasic dlls:
Windows 32-bit systems:
32-bit DLL > Windows\System32
Windows 64-bit system:
32-bit DLL > Windows\SysWOW64
64-bit DLL > Windows\System32
please uninstall the labview drivers, and reinstall them again after you have placed the dlls in the needed directory
regards
Michael
Re: a question about PCAN Basic send example
Posted: Thu 26. Nov 2015, 12:33
by workhard10
M.Maidhof wrote:Hi,
to solve your problem, please do the following steps:
- select "PCAN_USBBUS1" instead of "PCAN_NONEBUS" for the channel
please also check the correct installation of your PCANBasic dlls:
Windows 32-bit systems:
32-bit DLL > Windows\System32
Windows 64-bit system:
32-bit DLL > Windows\SysWOW64
64-bit DLL > Windows\System32
please uninstall the labview drivers, and reinstall them again after you have placed the dlls in the needed directory
regards
Michael
Thanks a lot! It runs now!
I don't know how I can use the example to build my own Frontpanel and to send/receive the CAN bus data to/from another microcontroller CAN interface.
I have a PCB borad and there are 19 relaies on the PCB borad. The 19 relaies are controlled by the micocontroller LPC11C12FBD48, and there is a CAN interface on the PCB board. I have conected PCAN-USB(IPEH-002022) to the CAN bus interface on my relay board and I want to controll the 19 relaies on the PCB board with my own Labview Frontpanel.
I image the Labview Frontpanel like that: there are 19 switches to turn on/off the relaies on the board and there are 19 small windows to show the status of relaies, on or off. The data will be exchange between labview and PCB board....
Can you give me some help? I look forward to your help.
regards
Lidong
Re: a question about PCAN Basic send example
Posted: Thu 26. Nov 2015, 12:41
by M.Maidhof
yes, use CAN_Read() and CAN_Write() to exchange CAN data, to control your device and read the status.
regards
Michael