Search found 4 matches

by RiccardoTa
Wed 23. Oct 2024, 16:41
Forum: PCAN-Explorer 6 & Add-ins
Topic: Sending CAN messages with different timing in the same script
Replies: 2
Views: 4555

Re: Sending CAN messages with different timing in the same script

Thank you for your reply,
I will try this method
Riccardo
by RiccardoTa
Mon 21. Oct 2024, 10:58
Forum: PCAN-Explorer 6 & Add-ins
Topic: Sending CAN messages with different timing in the same script
Replies: 2
Views: 4555

Sending CAN messages with different timing in the same script

Hello everyone,
I need help understanding how to write this script in PCAN-Explorer 6:

Basically I need to send two different CAN messages, one for communicate with a board every 250ms and one to pilot a load every 4 seconds.
Something like this:

for x times:

Message 1
ID 1
(data)
wait 250 ...
by RiccardoTa
Tue 2. Jul 2024, 11:26
Forum: PCAN-Explorer 6 & Add-ins
Topic: Help writing Macro
Replies: 1
Views: 1207

Help writing Macro

Hello everyone, I need help solving a problem with a macro I wrote:


Sub automationTest2() 'Automation for bus 1
Dim msg, msg1
' Initialize the CAN message
For i = 0 To 1
Set msg = TransmitMessages.Add

With msg
If Connections.Count > 0 Then _
Set .Connection = Connections(1)
.ID ...
by RiccardoTa
Mon 24. Jun 2024, 17:27
Forum: PCAN-Explorer 6 & Add-ins
Topic: help request for CAN process automation in PCAN Explorer 6
Replies: 3
Views: 5360

help request for CAN process automation in PCAN Explorer 6

Hello everyone, this is my first post in this forum, I tried to search if there is already some explanation for my problem but there is not, so here is my request:

I have to test four battery-charger that communicate via PCAN-usb using four different PCAN-usb and PCAN Explorer 6.

I've already ...