Search found 124 matches

by K.Wolf
Wed 28. Apr 2021, 10:33
Forum: PCAN-Explorer 6 & Add-ins
Topic: Aus PCAN-Makro heraus DLL aufrufen und Argumente übergeben
Replies: 2
Views: 61

Re: Aus PCAN-Makro heraus DLL aufrufen und Argumente übergeben

Hallo, wenn Sie eine DLL in PCAN-Explorer öffnen, wird immer eine Callback-DLL erwartet, weil nichts anderes in diesem Kontext Sinn ergibt. Mir ist kein einfacher Weg bekannt, Funktionen von klassischen DLLs aus einem Makro heraus (VBS-Makro?) aufzurufen, da VBS dies nicht unterstützt. Wenn sie mit ...
by K.Wolf
Wed 7. Apr 2021, 11:43
Forum: PCAN-Developer 4
Topic: wrong Delphi implementation of GetParam for CAN_PARAM_NETCLIENTS
Replies: 1
Views: 90

Re: wrong Delphi implementation of GetParam for CAN_PARAM_NETCLIENTS

Thank you for this suggestion, we will add the appropriate overload to CanApi4.pas.
by K.Wolf
Thu 25. Mar 2021, 08:28
Forum: PCAN-Developer 4
Topic: Relation between bus errors in CANAPI2 and CANAPI4
Replies: 1
Views: 100

Re: Relation between bus errors in CANAPI2 and CANAPI4

Hi, As you can see from the error code values, CAN_ERR_BUSHEAVY and CAN_ERR_BUSWARNING are identical. This warning is issued when one of the error counters of the CAN controller exceeds the configured Error Warning limit, which is 96 by default. This Error Warning Limit can also be adjusted with the...
by K.Wolf
Mon 8. Mar 2021, 11:14
Forum: PCAN-Developer 4
Topic: Delphi VCL sample locks up when using "Read using an Event"
Replies: 2
Views: 157

Re: Delphi VCL sample locks up when using "Read using an Event"

Thank you for bringing this to our attention.
A simple solution to avoid a deadlock is to use TThread.Queue instead of TThread.Synchronize in the TMainForm.TextOutput function.
by K.Wolf
Fri 16. Oct 2020, 15:57
Forum: PCAN-Explorer 6 & Add-ins
Topic: Request: Store column widths in transmit lists
Replies: 2
Views: 381

Re: Request: Store column widths in transmit lists

Hi, the widths of the columns in a Transmit list window are actually taken from the columns of the default Transmit list in the in the Receive/Transmit window. I admit this is awkward, but it has been fixed in the upcoming release 6.4.0, where the column widths are stored in the layout file of the p...
by K.Wolf
Tue 8. Sep 2020, 15:19
Forum: PCAN-Developer 4
Topic: Connection Bitrate and logging
Replies: 1
Views: 471

Re: Connection Bitrate and logging

Hi, setting the individual bit rate parameters is only required for CAN FD Nets, which is the same as in PCAN-Basic when calling the InitializeFD function. If you define a Net e.g. for a standard PCAN-USB (NXP SJA1000 CAN controller) you can use the RegisterNet overload that accepts an UInt32 bitrat...
by K.Wolf
Fri 10. Jul 2020, 08:09
Forum: Software
Topic: PCAN OEM Driver 4.2.0 certificate expired
Replies: 4
Views: 835

Re: PCAN OEM Driver 4.2.0 certificate expired

Hi, what an absurd requirement. The validity dates of the original certificate with which the device drivers were signed have absolute no meaning other than the actual signing process can only take place within that date range. The signed driver package does never "expire". Code signing certificates...
by K.Wolf
Mon 9. Sep 2019, 16:21
Forum: PCAN-Explorer 5 & Add-ins
Topic: Send message in macro VBS
Replies: 3
Views: 4325

Re: Send message in macro VBS

To send a frame without data, set DLC to 0 in your symbol:

Code: Select all

[TestNoMux]
ID=001h
DLC=0
And use this (simplified) code from the previous post to send the frame:

Code: Select all

Sub Send_TestNoMux()   
   SymbolsManager("Ctrl").Item("TestNoMux").DefaultMultiplexer.Send(1)
End Sub
by K.Wolf
Fri 6. Sep 2019, 12:24
Forum: PCAN-Explorer 6 & Add-ins
Topic: Automation: Help with executing Transmit list
Replies: 4
Views: 3060

Re: Automation: Help with executing Transmit list

To access your transmit list you do not need the Project object, only the Documents collection. Here is an example how to open your transmit list and access the messages in it: IPEDocument doc = app.Documents.Open("MyTransmitList.xmt"); if (doc != null) { IPETransmitMessages list = (doc.ActiveWindow...
by K.Wolf
Wed 4. Sep 2019, 14:47
Forum: PCAN-Explorer 6 & Add-ins
Topic: Automation: Help with executing Transmit list
Replies: 4
Views: 3060

Re: Automation: Help with executing Transmit list

Hi, I don't know how complex your testing app is going to be and what specific tasks it hast to accomplish, but if the focus lies on sending and receiving CAN messages perhaps it would be better to write a C# application that uses our PCAN-Basic API so you can communicate directly with the CAN bus a...