Search found 20 matches

by jnota
Fri 15. Jan 2016, 13:48
Forum: PCAN-Explorer 5 & Add-ins
Topic: Instruments Panel - Start a Macro when Run Mode is activated
Replies: 1
Views: 3175

Instruments Panel - Start a Macro when Run Mode is activated

Hello,

Is it possible to run a VBS Macro as soon as the Run Mode is activated?
If yes, how?

Thanks in advance for your support.
by jnota
Wed 9. Dec 2015, 17:59
Forum: PCAN-Explorer 5 & Add-ins
Topic: Lower and upper signal threshold in Instruments Panel?
Replies: 1
Views: 3084

Lower and upper signal threshold in Instruments Panel?

Hello,

Is it possible to set a lower and an upper threshold for a signal in Instruments Panel?
I need to toggle a LED if a signal value lies between in determined value's interval. (for example, between 0 and 500).

Is it possible to do this? How?


Thanks in advance for your help.
by jnota
Thu 12. Nov 2015, 10:12
Forum: PCAN-Explorer 5 & Add-ins
Topic: How to send a remote request through Instruments Panel?
Replies: 4
Views: 6965

Re: How to send a remote request through Instruments Panel?

Thank you for your answer.

I've already made the macro.
But now how can I call this specific Macro?
If I just write "MacroRun", the program will always run the macro that is in the dropdown list...
Is there a way to call a specific one?
by jnota
Wed 11. Nov 2015, 11:26
Forum: PCAN-Explorer 5 & Add-ins
Topic: How to send a remote request through Instruments Panel?
Replies: 4
Views: 6965

How to send a remote request through Instruments Panel?

Hello,

I'm trying to send a Remote Frame through the Instruments Panel (for example, using a button), but I didn't figure it out yet how to do it...
The program asks always for a signal assignment, but in this case there is no signal. No data. I just need to send a remote request.

Any ideas ...
by jnota
Mon 1. Jun 2015, 13:14
Forum: PCAN-Explorer 5 & Add-ins
Topic: Delete messages with a specific CAN-ID from Transmit List
Replies: 2
Views: 5198

Re: Delete messages with a specific CAN-ID from Transmit Lis

Here you find a simple Macro which generate 3 differnt CAN-ID´s in the Transmit List: ID 0x100, ID 0x110 and ID 0x120. Then the macro search in the Transmit List for the ID 0x100, ID 0x110 and ID0x120 and delete them.
Hope that solve your problem.

Option Explicit

Sub TransmitListSample_Start ...
by jnota
Mon 1. Jun 2015, 10:16
Forum: PCAN-Explorer 5 & Add-ins
Topic: Delete messages with a specific CAN-ID from Transmit List
Replies: 2
Views: 5198

Delete messages with a specific CAN-ID from Transmit List

Hello everyone,

Does anyone knows how to delete messages with a specific CAN-ID from the Transmit List through VBS?
I don't want to clear all the Transmit List, just to erase some messages, according to their CAN-IDs...

Thanks in advance!
by jnota
Wed 20. May 2015, 17:36
Forum: PCAN-Explorer 5 & Add-ins
Topic: Start a New Trace Window within a VBS
Replies: 3
Views: 4733

Re: Start a New Trace Window within a VBS

I've already figured it out too!
I just need to use something like this:

Code: Select all

   For i = 1 to counter
		Set trc1msgs = trc1.Messages.Item(i)
		PrintToOutputWindow "CAN MSG: " & Hex(trc1msgs.Data(1))
	Next
Thanks anyway!
by jnota
Wed 20. May 2015, 15:27
Forum: PCAN-Explorer 5 & Add-ins
Topic: Start a New Trace Window within a VBS
Replies: 3
Views: 4733

Re: Start a New Trace Window within a VBS

Another problem came:
Is it possible to read the data of the traced messages and print it to the OutputWindow?
I tried but only could do that with the last traced message...
I searched about TraceMessage but I haven't found any practical examples...
by jnota
Wed 20. May 2015, 15:22
Forum: PCAN-Explorer 5 & Add-ins
Topic: Receiving Messages and reading their data
Replies: 14
Views: 19464

Re: Receiving Messages and reading their data

Ok, I'll try to play with timing and to see what happens.
Thanks!