PEAK USB CAN Dongle driver for LabVIEW
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
PEAK USB CAN Dongle driver for LabVIEW
Here are VIs to Init, Read, Write and Close PEAK USB CAN Dongle.
To use these VIs PEAK driver should be installed and PCAN_USB.DLL should be present in System32 folder.
To use these VIs PEAK driver should be installed and PCAN_USB.DLL should be present in System32 folder.
Re: PEAK USB CAN Dongle driver for LabVIEW
Summary:-
I have installed PCAN lite and have full communication with the CAN device.
The Hex addresses that we are seeing movement on and are interested in are 150H and 320H.
The red LED on the dongle flashes 'quickly'.
I have then reproduced the sample.vi driver program using Labview 7.1 (saved to 7.0).
I have installed pcan_usb.dll.
When the sample.vi is running the red led on the dongle flashes 'slowly'
I have tried various settings etc within the sample.vi and I cannot recieve any data (as per pcan lite) other than the following:-
The read.vi gives error 8 when recieving ID0 and no data.
The read .vi gives error 32 when recieving ID1 but gives 4bits of data (0, 0, 0, 8).
No other ID's or bits of data are recieved appear.
Any help would appreciated.
I have installed PCAN lite and have full communication with the CAN device.
The Hex addresses that we are seeing movement on and are interested in are 150H and 320H.
The red LED on the dongle flashes 'quickly'.
I have then reproduced the sample.vi driver program using Labview 7.1 (saved to 7.0).
I have installed pcan_usb.dll.
When the sample.vi is running the red led on the dongle flashes 'slowly'
I have tried various settings etc within the sample.vi and I cannot recieve any data (as per pcan lite) other than the following:-
The read.vi gives error 8 when recieving ID0 and no data.
The read .vi gives error 32 when recieving ID1 but gives 4bits of data (0, 0, 0, 8).
No other ID's or bits of data are recieved appear.
Any help would appreciated.
Re: PEAK USB CAN Dongle driver for LabVIEW
I only have access to Labview 7.0 and 7.1
Unfortunately 'eg's drivers are in Labview 8.0.
Can anyone help by saving them to previous version (7.1) so that I can try them.
Thanks for any help given
Unfortunately 'eg's drivers are in Labview 8.0.
Can anyone help by saving them to previous version (7.1) so that I can try them.
Thanks for any help given
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: PEAK USB CAN Dongle driver for LabVIEW
So Pcan_Full doesn't work correctly, but if you use Pcan_Lite it works?
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: PEAK USB CAN Dongle driver for LabVIEW
BigBoy писал(а):I only have access to Labview 7.0 and 7.1
Unfortunately 'eg's drivers are in Labview 8.0.
Can anyone help by saving them to previous version (7.1) so that I can try them.
Thanks for any help given
Here you can download my drivers for 7.1
- Вложения
-
- PCAN_LV71.zip
- (77.17 КБ) 1360 скачиваний
Re: PEAK USB CAN Dongle driver for LabVIEW
I am sorry but I have been busy (see below) and so missed your post.
I have managed to get the PCAN usb drivers as supplied by the company to work.
It was an error caused by me (surprise-surprise) in my top level vi that was the problem.
I have since downloaded your drivers, they also work very well.
Thanks a lot for all your assistance
I have managed to get the PCAN usb drivers as supplied by the company to work.
It was an error caused by me (surprise-surprise) in my top level vi that was the problem.
I have since downloaded your drivers, they also work very well.
Thanks a lot for all your assistance
-
- interested
- Сообщения: 1
- Зарегистрирован: 17 мар 2009, 17:18
- Версия LabVIEW: 8.2
- Контактная информация:
Re: PEAK USB CAN Dongle driver for LabVIEW
Good afternoon.
I am currently trying to communicate via CAN, PCAN through.
However I am not able to connect.
PCANexplorer call through the network and is waiting for messages. However I can not do with LabVIEW
I tried to book pcan but nothing done
Could help me?
I am currently trying to communicate via CAN, PCAN through.
However I am not able to connect.
PCANexplorer call through the network and is waiting for messages. However I can not do with LabVIEW
I tried to book pcan but nothing done
Could help me?
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
-
- interested
- Сообщения: 3
- Зарегистрирован: 12 июн 2009, 12:58
- Версия LabVIEW: 8
- Контактная информация:
Re: PEAK USB CAN Dongle driver for LabVIEW
Hello,
I am using the PCAN vi that you supplied( thanks very much). i wish to control a device that uses a peak usb attachment.
i have attached the pcan view for usb.
from what i can make 15E triggers a read function ( the function i wish to create in labview) the 226 to 262 are initialisation
i wish to be able to initialise the device and read through labview and i am uncertain what i require to do to the vi in order to achieve it. or what changes i need to make as well,
any input would be great
thanks guys,
Brian
I am using the PCAN vi that you supplied( thanks very much). i wish to control a device that uses a peak usb attachment.
i have attached the pcan view for usb.
from what i can make 15E triggers a read function ( the function i wish to create in labview) the 226 to 262 are initialisation
i wish to be able to initialise the device and read through labview and i am uncertain what i require to do to the vi in order to achieve it. or what changes i need to make as well,
any input would be great
thanks guys,
Brian
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: PEAK USB CAN Dongle driver for LabVIEW
Hi Brian, did you try my example VI where you will get started with use of the driver I made.
- Вложения
-
- PCAN_Terminal.vi
- (22.5 КБ) 839 скачиваний
-
- interested
- Сообщения: 3
- Зарегистрирован: 12 июн 2009, 12:58
- Версия LabVIEW: 8
- Контактная информация:
Re: PEAK USB CAN Dongle driver for LabVIEW
The subVI is not executable. You must fix all errors in the subVI before this VI can run.
i get this error for both PCAN_READ and PCAN_WRITE
i am running 8.6
i get this error for both PCAN_READ and PCAN_WRITE
i am running 8.6
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: PEAK USB CAN Dongle driver for LabVIEW
Download this, and start the Terminal Example. Which errors you get? Why is it not executable?
- Вложения
-
- PCAN_LV_8_0.zip
- (75.5 КБ) 1135 скачиваний
-
- interested
- Сообщения: 3
- Зарегистрирован: 12 июн 2009, 12:58
- Версия LabVIEW: 8
- Контактная информация:
Re: PEAK USB CAN Dongle driver for LabVIEW
cheers for that i am gettin communication from my device now,
not exactly what i was expecting but i think it s more an issue on my side,
thanks a mill for the vi etc!
not exactly what i was expecting but i think it s more an issue on my side,
thanks a mill for the vi etc!
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: PEAK USB CAN Dongle driver for LabVIEW
Ok, no prob
If you get more questions, you can open a new thread in forum, but I think it will be easy for you now to adapt the example terminal VI for our issue.
Salut, eg
If you get more questions, you can open a new thread in forum, but I think it will be easy for you now to adapt the example terminal VI for our issue.
Salut, eg
-
- interested
- Сообщения: 3
- Зарегистрирован: 07 фев 2012, 07:34
- Версия LabVIEW: 2011
- Контактная информация:
Re: PEAK USB CAN Dongle driver for LabVIEW
Could you please upload file PCAN_USB.DLL? I don't see it here.
I need it for my project.
Thanks alot
I need it for my project.
Thanks alot
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
- 4 Ответы
- 480 Просмотры
-
Последнее сообщение Eugene543210
-
- 4 Ответы
- 617 Просмотры
-
Последнее сообщение Borjomy_1
-
- 4 Ответы
- 240 Просмотры
-
Последнее сообщение Embedder74
-
- 0 Ответы
- 1894 Просмотры
-
Последнее сообщение Anastasia
-
- 3 Ответы
- 2065 Просмотры
-
Последнее сообщение PozhiloyGoblin