Search found 10 matches

by se_akr
Fri 2. Sep 2022, 11:11
Forum: PCAN-Explorer 6 & Add-ins
Topic: VbScrip macro: How to get Project directory
Replies: 4
Views: 4002

Re: How to get Project directory

MsgBox ActiveProject.Path is perfect

Thank you !

Best regards
by se_akr
Fri 2. Sep 2022, 07:33
Forum: PCAN-Explorer 6 & Add-ins
Topic: VbScrip macro: How to get Project directory
Replies: 4
Views: 4002

Re: How to get Project directory

Hello,

PCAN-Explorer 6 with Instruments Panel.

Just have a window which print the path of the project after clicking on a button. I need MsgBox, but I don't know how to get the path

Best regards
by se_akr
Thu 1. Sep 2022, 15:44
Forum: PCAN-Explorer 6 & Add-ins
Topic: VbScrip macro: How to get Project directory
Replies: 4
Views: 4002

VbScrip macro: How to get Project directory

Hello,

I'd like to print my project directory on a Message Box. Something like

Code: Select all

MsgBox ProjectPath
How can I get this directory on my script ?
I succeed to print the path for active document, but not the project

Thanks in advance for your help
by se_akr
Mon 18. Jul 2022, 08:03
Forum: PCAN-Explorer 6 & Add-ins
Topic: Instruments Panel: Trigger on signal : is there any tips ?
Replies: 3
Views: 3387

Re: Trigger on signal : is there any tips ?

Sorry if I'm not enough precise

I have a bitmap list with three pictures which are sensitive on a signal like this:
Red circle : [0 - 44]
Green circle : [45 - 55]
Red circle : [56 - 100]

Is it possible to stop being sensitive to this signal when the value from CAN is inside the two ...
by se_akr
Wed 13. Jul 2022, 11:01
Forum: PCAN-Explorer 6 & Add-ins
Topic: Instruments Panel: Trigger on signal : is there any tips ?
Replies: 3
Views: 3387

Instruments Panel: Trigger on signal : is there any tips ?

Hello everyone,

I first post questions here : https://forum.peak-system.com/viewtopic.php?f=119&t=7043 and got solution to my problem

To sum up, I needed to change color of a led related to a signal value. Solution was to use a bitmap list and change the bitmap pic related to a signal value. It ...
by se_akr
Tue 12. Jul 2022, 11:57
Forum: PCAN-USB
Topic: Driver's installation for PCAN-USB
Replies: 1
Views: 2772

Re: Driver's installation for PCAN-USB

Finally, it was USB wires who was unsoldered inside PCAN-USB. Sorry for interruption

Have nice day !
by se_akr
Tue 12. Jul 2022, 09:08
Forum: PCAN-USB
Topic: Driver's installation for PCAN-USB
Replies: 1
Views: 2772

Driver's installation for PCAN-USB

Hello,

I downloaded the driver installion file for PCAN-USB from there :
https://www.peak-system.com/PCAN-USB.199.0.html?&L=1&gclid=EAIaIQobChMInqji4fzw-AIVSunmCh1UfAD7EAAYASACEgLhuPD_BwE
and I executed PeakOemDrv.exe

Then, when I plug my PCAN-USB on USB port, nothing happen. Device is neither ...
by se_akr
Mon 11. Jul 2022, 15:21
Forum: PCAN-Explorer 6 & Add-ins
Topic: Execute macro when received some data
Replies: 4
Views: 3405

Re: Execute macro when received some data

Ok I see. Finally, it is possible to "simulate" an hysteresis:

Value ---> Bitmap
0 --------> Led_red.bmp
85 --------> Led_green.bmp
170 --------> Led_red.bmp

This is just an example, but led will be green between 85 and 169

Thank you so much for your help

Best regards
by se_akr
Mon 11. Jul 2022, 15:01
Forum: PCAN-Explorer 6 & Add-ins
Topic: Execute macro when received some data
Replies: 4
Views: 3405

Re: Execute macro when received some data

Thanks for you fast reply,

Bitmap List seems to be interesting, but there is something I don't understand. When I am editing the Bitmap Item, it is "Signal Value" and not "Signal Threshold". Even though it is named "Signal Value", is it really talking about a threshold ?
by se_akr
Mon 11. Jul 2022, 14:16
Forum: PCAN-Explorer 6 & Add-ins
Topic: Execute macro when received some data
Replies: 4
Views: 3405

Execute macro when received some data

Hello everyone,

I'd like to change the color of a led in my panel related to the data received from CAN.
More exactly, I will receive some data from CAN and the color of the led will be green is value is inside the interval otherwise the led will be red. I know it is not possible to do this ...