Search found 18 matches

by scope
Thu 17. Oct 2024, 16:55
Forum: PCAN-Explorer 6 & Add-ins
Topic: Periodic Frame with CRC Transmission in VBScript
Replies: 1
Views: 2187

Periodic Frame with CRC Transmission in VBScript

Hello,

I hope you're doing well.

I need to send a periodic frame that includes a CRC, which I calculate using VBScript. However, I can't use an endless loop function since I need to run other VBScript functions as well. Do you have any suggestions on how I could resolve this issue?

Thank you in ...
by scope
Fri 23. Aug 2024, 16:08
Forum: PCAN-Explorer 6 & Add-ins
Topic: Sending a Transmit List using VBScript
Replies: 1
Views: 3378

Sending a Transmit List using VBScript

Hello,

I'm using a PCAN-EXPLORER 6 and a PCAN-USB FD.
How can I load a Transmit List, send it, and Control it (Stop and Continue) using VBScript Macros ?

Best Regards, Thank you!
by scope
Thu 23. May 2024, 17:51
Forum: PCAN-Explorer 6 & Add-ins
Topic: Instruments-Panel: Getting Ordinal of Enum from Value-Edit in VbsMacro
Replies: 1
Views: 1278

Instruments-Panel: Getting Ordinal of Enum from Value-Edit in VbsMacro

Hello Marvin!
Hope you are doing well!

Is ther a way i can get the Index of a selected value in a Value Edit that is connected to a signal with an ENUM?


Dim panel, temp
Set panel = Documents("HMI-Internal_CAN.ipf").ActiveWindow.Object
Set temp = panel.Scenes(1).Controls("ve1")
'''''''''' here i ...
by scope
Wed 22. May 2024, 10:02
Forum: PCAN-Explorer 6 & Add-ins
Topic: Node addressing
Replies: 5
Views: 2879

Re: Node addressing

Thanks Marvin,
that was helpful I appreciate the support,
one last question please : How can I change and control the Cycle time of a msg via the Instrument panel ?
I know I need to have a VBScript Sub function but I don't know how to implement it.
Best Regards !
scope
by scope
Fri 17. May 2024, 16:53
Forum: PCAN-Explorer 6 & Add-ins
Topic: Node addressing
Replies: 5
Views: 2879

Re: Node addressing

Hello Marv,

Thank you for your prompt response. However, I believe there might be a misunderstanding regarding my setup and requirements.

To clarify, both of my nodes (Node 1 and Node 2) are sending the same CAN message type with different Message IDs (0x4800001 for Node 1 and 0x4800002 for Node 2 ...
by scope
Fri 17. May 2024, 12:42
Forum: PCAN-Explorer 6 & Add-ins
Topic: Node addressing
Replies: 5
Views: 2879

Node addressing

I have the following set-up :
2 nodes 1 and 2 connected to my PCAN_USB FD to my PC where i have the PCAN_EXPOLORER 6

Node addressing is done on the least significant byte of the MessageId. For example for the message MSG_test (0x4800000):

if the HMI receives the message 0x4800001, this means that ...
by scope
Mon 6. May 2024, 12:22
Forum: PCAN-Explorer 6 & Add-ins
Topic: Read UI element using VBS marco
Replies: 1
Views: 1288

Read UI element using VBS marco

Hello,
How can I read a value from an "Edit Value" field in my Instrument panel using a Sub in the VBS Macro File ?
Thanks!
by scope
Mon 12. Feb 2024, 10:53
Forum: PCAN-Explorer 6 & Add-ins
Topic: Receive Signal
Replies: 3
Views: 1876

Re: Receive Signal

** Forum Admin **
The own code is removed - because it is nearly a 100% copy of a PEAK-System internal Sample code -copied 1:1
It is not public - It have nothing to do with the request
** Forum Admin **
by scope
Mon 12. Feb 2024, 10:32
Forum: PCAN-Explorer 6 & Add-ins
Topic: Receive Signal
Replies: 3
Views: 1876

Receive Signal

In VBS Macro file how to use onReceive signal?
I've read the documentation but I can't get it to work
by scope
Thu 8. Feb 2024, 17:11
Forum: PCAN-Explorer 6 & Add-ins
Topic: How to send symboles
Replies: 2
Views: 1718

Re: How to send symboles

Thank you, I sent an email