Hi,
replaced the ddls and used the java test application (NetBeans project) you have send and its working now, all 4 channels are read now! many thanks!
I also checked my own application, which still uses the old java peak.can.basic package and its working too. the significant change must be ...
Search found 8 matches
- Mon 6. Nov 2023, 13:04
- Forum: PCAN-Basic
- Topic: JAVA JNI Channels (channel id) missing when reading data
- Replies: 9
- Views: 5442
- Thu 2. Nov 2023, 14:01
- Forum: PCAN-Basic
- Topic: JAVA JNI Channels (channel id) missing when reading data
- Replies: 9
- Views: 5442
Re: JAVA JNI Channels (channel id) missing when reading data
hello,
have you found a solution already?
best regards - Philipp
have you found a solution already?
best regards - Philipp
- Sat 14. Oct 2023, 15:17
- Forum: PCAN-Basic
- Topic: JAVA JNI Channels (channel id) missing when reading data
- Replies: 9
- Views: 5442
Re: JAVA JNI Channels (channel id) missing when reading data
thank you! I'm in vacation until 1.11.
- Fri 13. Oct 2023, 11:03
- Forum: PCAN-Basic
- Topic: JAVA JNI Channels (channel id) missing when reading data
- Replies: 9
- Views: 5442
Re: JAVA JNI Channels (channel id) missing when reading data
PCANBasicExample.exe gets all 4 can-id.
maybe i should try another java version? I have not changed your netbeans java application, just compiled and run.
maybe i should try another java version? I have not changed your netbeans java application, just compiled and run.
- Thu 12. Oct 2023, 18:08
- Forum: PCAN-Basic
- Topic: JAVA JNI Channels (channel id) missing when reading data
- Replies: 9
- Views: 5442
Re: JAVA JNI Channels (channel id) missing when reading data
By the way, what is better:
while(true) loop to read data
or
event driven by JNI interface if receive-events are detected?
do you suggest one method?
best wishes Philipp
while(true) loop to read data
or
event driven by JNI interface if receive-events are detected?
do you suggest one method?
best wishes Philipp
- Wed 11. Oct 2023, 15:14
- Forum: PCAN-Basic
- Topic: JAVA JNI Channels (channel id) missing when reading data
- Replies: 9
- Views: 5442
JAVA JNI Channels (channel id) missing when reading data
Hi,
thanks to you, I got my java program connected to the PCAN FD system yesterday and thanks to your netbeans program provided I could overcome the TPCANStatus.PCAN_ERROR_QRCVEMPTY message I got after some time always.
And learned I can read meassages two wasy: myself or event driven by JNI ...
thanks to you, I got my java program connected to the PCAN FD system yesterday and thanks to your netbeans program provided I could overcome the TPCANStatus.PCAN_ERROR_QRCVEMPTY message I got after some time always.
And learned I can read meassages two wasy: myself or event driven by JNI ...
- Tue 10. Oct 2023, 12:34
- Forum: PCAN-Basic
- Topic: PCAN_ERROR_UNKNOWN
- Replies: 4
- Views: 13734
Re: PCAN_ERROR_UNKNOWN
Hi,
thank you very much, I got the params to connect successfully:
"f_clock=80000000,nom_brp=2,nom_tseg1=63,nom_tseg2=16,nom_sjw=16,data_brp=2,data_tseg1=15,data_tseg2=4,data_sjw=4"
now, I'll have the next problem reading the data, but I'll try to figure it out by myself first
best wishes Philipp
thank you very much, I got the params to connect successfully:
"f_clock=80000000,nom_brp=2,nom_tseg1=63,nom_tseg2=16,nom_sjw=16,data_brp=2,data_tseg1=15,data_tseg2=4,data_sjw=4"
now, I'll have the next problem reading the data, but I'll try to figure it out by myself first
best wishes Philipp
- Mon 9. Oct 2023, 18:37
- Forum: PCAN-Basic
- Topic: PCAN_ERROR_UNKNOWN
- Replies: 4
- Views: 13734
PCAN_ERROR_UNKNOWN
Hello,
I'm developing an interface to PCAN-Micro-FD (using Java 17), but I'm getting PCAN_ERROR_UNKNOWN and cannot find the problem.
1. Installed all dlls (for java) according to your documentation
2. Configured PCAN-Micro-FD (fig1 attached) with protocoll CAN FD
3. Connection with PCAN-View is ...
I'm developing an interface to PCAN-Micro-FD (using Java 17), but I'm getting PCAN_ERROR_UNKNOWN and cannot find the problem.
1. Installed all dlls (for java) according to your documentation
2. Configured PCAN-Micro-FD (fig1 attached) with protocoll CAN FD
3. Connection with PCAN-View is ...