how to log more message information in CANalyzer?

View: New views
3 Messages — Rating Filter:   Alert me  

how to log more message information in CANalyzer?

by Bo Wang-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
 
Dear All
 
When I use CANalyzer, I found that some information of the message such as its name and its sending node name are not automatically logged. In the "trace" branch of the measurement setup, we can configure to display the above information in the trace window. But in the "logging" branch, there is no such similiar configuration.
 
I tried to insert a CAPL node in logging branch where the following event is added
 
on message *
{
// task1: get customized message information;
// task2: use function writeToLog() to output obtained information;
}
 
Using "message selectors", e.g., this.ID, this.CAN, I can access some of the message information but not information such as message name.
 
 
Any suggestions? Thanks in advance.
 
 
Regards
 
Bo
 


New Windows 7: Find the right PC for you. Learn more.

RE: how to log more message information in CANalyzer?

by Klüser, Jürgen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hello Bo,
 
since version there are many extension for using database information in CAPL. For example the function DBLookup allows to retrieve names of messages, of the transmitting nodes etc.
 
Another question is, if you really need this information in the log file itself. If you load a log file in the offline mode or as a replay block, you just need to assign the dbc and have all original symbolic information available.
 
Best regards
Juergen
 
-------------------------------------------------
Juergen Klueser
Director PON
Open Networking Tools and Components
Vector Informatik GmbH
Ingersheimer Strasse 24
D-70499 Stuttgart, Germany
Phone: +49 711 80670-202
Fax:   +49 711 80670-249
Internet: http://www.vector-informatik.de
          http://www.canopen-solutions.com
          http://www.vector.com/car2x
-------------------------------------------------
Get a fully functional EDS editor - free-of-charge!
Visit us at http://www.canopen-forum.com
 
Besuchen Sie uns auf folgenden Veranstaltungen /
Visit Vector at important events:
 
Agritechnica Hannover, Hall 16, booth E15
8.Nov. - 11.Nov. 2009
 
SPS/IPC/DRIVES 2009 Nürnberg, booth 6-340
24.Nov. - 26.Nov. 2009
 
http://www.vector-worldwide.com/vi_events_en.html
 


From: canlist-owner@... [mailto:canlist-owner@...] On Behalf Of Bo Wang
Sent: Thursday, November 05, 2009 1:49 PM
To: canlist@...
Subject: [CANLIST] how to log more message information in CANalyzer?

 
Dear All
 
When I use CANalyzer, I found that some information of the message such as its name and its sending node name are not automatically logged. In the "trace" branch of the measurement setup, we can configure to display the above information in the trace window. But in the "logging" branch, there is no such similiar configuration.
 
I tried to insert a CAPL node in logging branch where the following event is added
 
on message *
{
// task1: get customized message information;
// task2: use function writeToLog() to output obtained information;
}
 
Using "message selectors", e.g., this.ID, this.CAN, I can access some of the message information but not information such as message name.
 
 
Any suggestions? Thanks in advance.
 
 
Regards
 
Bo
 


New Windows 7: Find the right PC for you. Learn more.

RE: how to log more message information in CANalyzer?

by Klüser, Jürgen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
forgot to mention the version...   since V7.1


From: canlist-owner@... [mailto:canlist-owner@...] On Behalf Of Klüser, Jürgen
Sent: Thursday, November 05, 2009 2:14 PM
To: canlist@...
Subject: RE: [CANLIST] how to log more message information in CANalyzer?

Hello Bo,
 
since version there are many extension for using database information in CAPL. For example the function DBLookup allows to retrieve names of messages, of the transmitting nodes etc.
 
Another question is, if you really need this information in the log file itself. If you load a log file in the offline mode or as a replay block, you just need to assign the dbc and have all original symbolic information available.
 
Best regards
Juergen
 
-------------------------------------------------
Juergen Klueser
Director PON
Open Networking Tools and Components
Vector Informatik GmbH
Ingersheimer Strasse 24
D-70499 Stuttgart, Germany
Phone: +49 711 80670-202
Fax:   +49 711 80670-249
Internet: http://www.vector-informatik.de
          http://www.canopen-solutions.com
          http://www.vector.com/car2x
-------------------------------------------------
Get a fully functional EDS editor - free-of-charge!
Visit us at http://www.canopen-forum.com
 
Besuchen Sie uns auf folgenden Veranstaltungen /
Visit Vector at important events:
 
Agritechnica Hannover, Hall 16, booth E15
8.Nov. - 11.Nov. 2009
 
SPS/IPC/DRIVES 2009 Nürnberg, booth 6-340
24.Nov. - 26.Nov. 2009
 
http://www.vector-worldwide.com/vi_events_en.html
 


From: canlist-owner@... [mailto:canlist-owner@...] On Behalf Of Bo Wang
Sent: Thursday, November 05, 2009 1:49 PM
To: canlist@...
Subject: [CANLIST] how to log more message information in CANalyzer?

 
Dear All
 
When I use CANalyzer, I found that some information of the message such as its name and its sending node name are not automatically logged. In the "trace" branch of the measurement setup, we can configure to display the above information in the trace window. But in the "logging" branch, there is no such similiar configuration.
 
I tried to insert a CAPL node in logging branch where the following event is added
 
on message *
{
// task1: get customized message information;
// task2: use function writeToLog() to output obtained information;
}
 
Using "message selectors", e.g., this.ID, this.CAN, I can access some of the message information but not information such as message name.
 
 
Any suggestions? Thanks in advance.
 
 
Regards
 
Bo
 


New Windows 7: Find the right PC for you. Learn more.