Search found 13 matches

by Bourass
Thu 30. May 2019, 11:16
Forum: PCAN-Basic
Topic: READ/WRITE from PCAN using C++
Replies: 9
Views: 11790

Re: READ/WRITE from PCAN using C++

Hi,
just i want to understand the issue that i got from my codes using pcan, i have created an application for recieving the data from my device which are connected to pcan , i got the error when i used the application but when i used the application and pcanview ( i send the data in pcanview ) the ...
by Bourass
Mon 20. May 2019, 14:31
Forum: PCAN-Basic
Topic: Ask for information
Replies: 8
Views: 7614

Re: Ask for information

in the configuration of the bitrate should i change something or it is ok
bitrate = b"f_clock_mhz=80, nom_brp=10, nom_tseg1=12, nom_tseg2=3, nom_sjw=1, data_brp=4, data_tseg1=7, data_tseg2=2, data_sjw=1"
i have the feeling that the bitrate it is not well configured as i copy paste it because i did ...
by Bourass
Mon 20. May 2019, 14:11
Forum: Linux
Topic: PCAN-USB FD API InitializeFD faild
Replies: 2
Views: 4225

Re: PCAN-USB FD API InitializeFD faild

Hi,

how did you solve the issue.
i have the same issue sometimes could you please explain more.
by Bourass
Thu 16. May 2019, 17:44
Forum: PCAN-Basic
Topic: Ask for information
Replies: 8
Views: 7614

Re: Ask for information

Thanks for your repy , i am using windows 10. i am using Uninitialization at end of my code and in the start of the code , it means

Uninitialize
initialize
data Traitement( read and write)
Uninitialize
what do you think?
by Bourass
Thu 16. May 2019, 14:52
Forum: PCAN-Basic
Topic: Ask for information
Replies: 8
Views: 7614

Re: Ask for information

i did not understand your idea this happens when connections to PCAN channels are kept in the background.
could you please explain more about this issue because i am using code python as exe on another app and i am getting this issue everytime.
regarding the CAN_Uninitialization of course at end of ...
by Bourass
Thu 16. May 2019, 13:53
Forum: PCAN-Basic
Topic: Ask for information
Replies: 8
Views: 7614

Re: Ask for information

Hi,

and When i run the program the first time it gives me an error " A PCAN Channel has not been initialized yet or the initialization process has failed ". Is there anyone who can tell me how to remove this error because i am stuck with this problem. but when i run it for the seconde it worked ...
by Bourass
Thu 16. May 2019, 12:37
Forum: PCAN-Basic
Topic: Ask for information
Replies: 8
Views: 7614

Ask for information

I'm using PCAN-Basic to talk to my devices, but sometime i try to start my application , CAN_Initialize is failing with status
" *** Remote Interpreter Reinitialized ***
b'A PCAN Channel has not been initialized yet or the initialization process has failed'"
but sometimes it worked perfectly ...
by Bourass
Wed 6. Feb 2019, 11:24
Forum: PCAN-Basic
Topic: support for periodic/cyclic messages/frames
Replies: 13
Views: 23680

Re: support for periodic/cyclic messages/frames

Using this timer can i send many frames periodically or not?
thanks
by Bourass
Wed 6. Feb 2019, 10:05
Forum: PCAN-Basic
Topic: support for periodic/cyclic messages/frames
Replies: 13
Views: 23680

Re: support for periodic/cyclic messages/frames

Hi,

You will also find timer examples in our source code examples for PCANBasic, used for CAN_Read(). You can also use those timer for CAN_Write().


i did not find any timer used for CAN_Read(), can you please show me this timer in the read function and how can i adapt it to Write function ...
by Bourass
Wed 30. Jan 2019, 17:45
Forum: PCAN-Basic
Topic: READ/WRITE from PCAN using C++
Replies: 9
Views: 11790

Re: READ/WRITE from PCAN using C++

i got it ,i have done all steps , thanks for your relevant help!
i need now your help in how can i write a frame in hexadecimal for instance i have frame with ID=0x100
and Data=0x0400020000000000;
how can i send it , another question i need function for the sake of sending some data periodically ...