a question about PCAN Basic send example

This forum covers issues concerning multiple software products.

a question about PCAN Basic send example

Postby workhard10 » Tue 24. Nov 2015, 15:50

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.
Attachments
Erorr.pdf
(116.39 KiB) Downloaded 208 times
workhard10
 
Posts: 9
Joined: Wed 18. Nov 2015, 10:37

Re: a question about PCAN Basic send example

Postby M.Maidhof » Tue 24. Nov 2015, 16:22

Hi,

which CAN Hardware from PEAK do you use?

regards

Michael
M.Maidhof
Support
Support
 
Posts: 1239
Joined: Wed 22. Sep 2010, 13:00
Location: Darmstadt, Germany

Re: a question about PCAN Basic send example

Postby workhard10 » Tue 24. Nov 2015, 22:17

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
workhard10
 
Posts: 9
Joined: Wed 18. Nov 2015, 10:37

Re: a question about PCAN Basic send example

Postby K.Wagner » Wed 25. Nov 2015, 09:04

Double post was deleted
Best regards,
Keneth
K.Wagner
Software Development
Software Development
 
Posts: 682
Joined: Wed 22. Sep 2010, 12:36
Location: Darmstadt, Germany

Re: a question about PCAN Basic send example

Postby workhard10 » Wed 25. Nov 2015, 10:59

K.Wagner wrote:Double post was deleted


thanks!
workhard10
 
Posts: 9
Joined: Wed 18. Nov 2015, 10:37

Re: a question about PCAN Basic send example

Postby M.Maidhof » Wed 25. Nov 2015, 15:00

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
M.Maidhof
Support
Support
 
Posts: 1239
Joined: Wed 22. Sep 2010, 13:00
Location: Darmstadt, Germany

Re: a question about PCAN Basic send example

Postby workhard10 » Thu 26. Nov 2015, 12:33

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! :D

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
workhard10
 
Posts: 9
Joined: Wed 18. Nov 2015, 10:37

Re: a question about PCAN Basic send example

Postby M.Maidhof » Thu 26. Nov 2015, 12:41

yes, use CAN_Read() and CAN_Write() to exchange CAN data, to control your device and read the status.

regards

Michael
M.Maidhof
Support
Support
 
Posts: 1239
Joined: Wed 22. Sep 2010, 13:00
Location: Darmstadt, Germany


Return to Software



This website uses cookies for analytics, for logins to the online shop and the forum, and for the handling of an order. By browsing this website you agree to the use of cookies. Detailed information on their use can be found in our privacy policy.

OKPrivacy Policy