New to PE. Help regarding Macros and commands

Comprehensive CAN monitor for Windows® and its add-ins: Plotter, CANdb Import, Instruments Panel, and J1939
Post Reply
mihirkiran26
Posts: 6
Joined: Thu 17. Mar 2016, 13:48

New to PE. Help regarding Macros and commands

Post by mihirkiran26 » Fri 18. Mar 2016, 15:56

Hello,
I'm new to PCE and I'm currently using PCE 5.

I have to perform the following tasks and I would like guidance on how best they can be done.

1) I have a transmit list with say 10 Analogs (Analogs 1 through 10),10 Drive signals ( 1 through 10) .. so on..
Each analog in turn has 8 bytes of data, each byte has a significance. Do I use a symbol for Analogs as a whole, and then individually assign a multiplexer for each analog (Analog 1, 2 so on) and variable to each byte in that specific analog?

2) Once I have the transmit list ready, are there any sample macros that I can use to send all analogs at once, wait to get a return signal and then send all drive signals at once.. so on ?

3) While reviewing the received signals in the trace, would it be possible to assign a logic condition to the received data? For ex, if the analog value I want to read is within spec, then can I get the trace to say "Pass" or fail? if I need a macro for this, could you please provide a sample macro?

4) How can I completely automate this process of loading a transmit list with symbols, sending messages, reading back messages, performing a check whether the data passed or failed and then store it in a result file.. either csv or excel..

Thanks!!!

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: New to PE. Help regarding Macros and commands

Post by PEAK-Support » Fri 15. Apr 2016, 09:50

1. You could use the PCAN-Symbol Editor to build your needed Symbol file for Transmit Messages and/or Receive Messages. Inside the single CAN-ID (Symbol) you could store the Analog and/or digital Information (Signal)

2. You could find some sample macros preinstaled on the PE5 Project directory, some very good code samples in the online help, and we could send you a download link to our PE5 sample macro package (please send request with PE5 SerNo to support[at]peak-system.com)

3. No, inside the Tracer you could not define any Signal logic. But you could use the Macro Files to build your application for your need - see Pos. 2

4. Also this information could be found inside the help file and when you study the sample macros.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

mihirkiran26
Posts: 6
Joined: Thu 17. Mar 2016, 13:48

Re: New to PE. Help regarding Macros and commands

Post by mihirkiran26 » Fri 15. Apr 2016, 21:12

I appreciate your response! Thanks

Post Reply