help create GUI using VBS macros
help create GUI using VBS macros
Hello Support @ peak
I want to implement CCP protocol using PCAN USB and PCAN FD. Right now im able to transmit data via PCAN and displayed on Explorer 6. I think we have write the script on VBS to implement CCP/XCP. Pls support us the sample code for write CCP/XCP protocol. Finally I need to generate GUI to diagnosis the vehicle.
I want to implement CCP protocol using PCAN USB and PCAN FD. Right now im able to transmit data via PCAN and displayed on Explorer 6. I think we have write the script on VBS to implement CCP/XCP. Pls support us the sample code for write CCP/XCP protocol. Finally I need to generate GUI to diagnosis the vehicle.
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: help create GUI using VBS macros
Hello,
PCAN-Explorer 6 does not have XCP/CCP specfic features.
We do not provide any sample code to implement the CCP or XCP protocol
via macros, nor do we recommend to implement the protocols in macro. If
you only need to implement small portions of the protocol it might be feasible, implementing the whole protocol we do not recommend nor
can we specifically support that.
We have a CCP and XCP APIs which allows you to write your own software for
those protocols:
PCAN CCP API
https://www.peak-system.com/PCAN-CCP-AP ... .html?&L=1
PCAN XCP API
https://www.peak-system.com/PCAN-XCP-AP ... .html?&L=1
The APIs come with examples on how to use the API.
Best Regards
Marvin
PCAN-Explorer 6 does not have XCP/CCP specfic features.
We do not provide any sample code to implement the CCP or XCP protocol
via macros, nor do we recommend to implement the protocols in macro. If
you only need to implement small portions of the protocol it might be feasible, implementing the whole protocol we do not recommend nor
can we specifically support that.
We have a CCP and XCP APIs which allows you to write your own software for
those protocols:
PCAN CCP API
https://www.peak-system.com/PCAN-CCP-AP ... .html?&L=1
PCAN XCP API
https://www.peak-system.com/PCAN-XCP-AP ... .html?&L=1
The APIs come with examples on how to use the API.
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: help create GUI using VBS macros
what do you mean by small portion of protocol?
If we cannot implement CCP/XCP on macro then what platform and framework you suggest for implementing the same. I suppose Microsoft visual studio can support this. But have zero clue how to start about.
One more thing
Can we create a .exe file for the GUI ? to play with our parameters
ADMIN(add second request to keep the thread clean..)
If we cannot implement CCP/XCP on macro then what platform and framework you suggest for implementing the same. I suppose Microsoft visual studio can support this. But have zero clue how to start about.
One more thing
Can we create a .exe file for the GUI ? to play with our parameters
ADMIN(add second request to keep the thread clean..)
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: help create GUI using VBS macros
PCAN-Explorer is a CAN Anaylzer - you could write simple scripts, but we offer no protocoll implementation inside the Tool (exception is J1939).
If you want to implement a single protocoll request (one small part of a protocol) it might be possible (your job) but we do not recommend it...
The PE6 Macros are not the right choice. (thats what Marvin means with "small portion of protocol" )
We offer a Software Stack as an Windows Interface DLL for the CCP/XCP Protocols - see information from Marvin.
With this API´s you could easy build own applications using C/C++/C#/Pascal-Delphi/VB-Net etc.
BUT you need to have to understand how the protocoll works, have read and understand the protocol description. Then the API is easy to use.
If you later on build own Appliation with a GUI or only command line is your up to you and your work.
We offer the Protocol Stack, and our customer have the knowledge to build his project with our Tools.
If you want to implement a single protocoll request (one small part of a protocol) it might be possible (your job) but we do not recommend it...
The PE6 Macros are not the right choice. (thats what Marvin means with "small portion of protocol" )
We offer a Software Stack as an Windows Interface DLL for the CCP/XCP Protocols - see information from Marvin.
With this API´s you could easy build own applications using C/C++/C#/Pascal-Delphi/VB-Net etc.
BUT you need to have to understand how the protocoll works, have read and understand the protocol description. Then the API is easy to use.
If you later on build own Appliation with a GUI or only command line is your up to you and your work.
We offer the Protocol Stack, and our customer have the knowledge to build his project with our Tools.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: help create GUI using VBS macros
Hi
Is there a way to set up an multiframe and put it out from the Transmit window without using any API?
for us that lack programming experience
Is there a way to set up an multiframe and put it out from the Transmit window without using any API?
for us that lack programming experience

- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: help create GUI using VBS macros
What exactly do you mean by a "multi-frame"?
If you want to send e.g. a sequence of CAN frames, this is very easy to do with the simple standard macro´s (also with VBS - but more complicated).
Search in the online help for standard macros - there are also embedded examples available.
If you want to send e.g. a sequence of CAN frames, this is very easy to do with the simple standard macro´s (also with VBS - but more complicated).
Search in the online help for standard macros - there are also embedded examples available.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: help create GUI using VBS macros
I´m interested in sending for example frame "DierctionData" PGN: 130577 (hex: 1FE11), and signal for "Drift Speed" from NMEA2000 std where signal has start bit 96.
Is using Standard macro suitable for this?
Is using Standard macro suitable for this?
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: help create GUI using VBS macros
You talk now about a J1939 Msg - this is possible if you own the J1939 AddIn and if it does NOT use one of NMEA specific transfer protocols ( see NMEA Documentation )
otherwise you need to know what you do and build the frame "manual" in VBS
otherwise you need to know what you do and build the frame "manual" in VBS
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------