{"id":41345,"date":"2024-07-12T10:29:46","date_gmt":"2024-07-12T02:29:46","guid":{"rendered":"https:\/\/hongtronics.com\/?p=41345"},"modified":"2024-07-12T11:50:39","modified_gmt":"2024-07-12T03:50:39","slug":"baby-lin-device-efficiently-stores-bus-data","status":"publish","type":"post","link":"https:\/\/hongtronics.com\/en\/baby-lin-device-efficiently-stores-bus-data\/","title":{"rendered":"MacroHong Technologies | Optimization Begins with Data: How to Efficiently Store Bus Data in Baby-LIN Devices?"},"content":{"rendered":"<p class=\"has-text-color has-link-color wp-elements-28367079eed05409a83d72f4dd0f27b2\" style=\"color:#0d274d;font-size:25px\"><strong>Introduction<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"has-medium-font-size\">Recording automotive bus data is important for monitoring communication between automotive electronic control units (ECUs) and diagnosing network faults. By recording bus data during testing, the<strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0d274d\" class=\"has-inline-color\">Not only can you monitor whether a product is functioning as intended, but you can also track the cause behind a particular error or malfunction.<\/mark><\/strong>This is crucial to ensure the quality and performance of automotive products. In this article, we will explain how Macronix Baby-LIN series products realize efficient bus data recording and storage.<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/45d07816-f650-45eb-9c2c-6333010010a9.png\" alt=\"\u5b8f\u8679Baby-LIN\u7cfb\u5217\u7522\u54c1\" class=\"wp-image-41346\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/45d07816-f650-45eb-9c2c-6333010010a9.png 1024w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/45d07816-f650-45eb-9c2c-6333010010a9-300x88.png 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/45d07816-f650-45eb-9c2c-6333010010a9-768x225.png 768w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/45d07816-f650-45eb-9c2c-6333010010a9-600x176.png 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Honghong Baby-LIN Series<\/figcaption><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">Honghong Baby-LIN series products (<a href=\"https:\/\/hongtronics.com\/en\/linbus\/\" title=\"\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0d274d\" class=\"has-inline-color\"><strong>Learn more about our products<\/strong><\/mark><\/a>As a professional LIN bus product, it is favored by the market for its high performance and reliability. It supports various LIN network configurations and can record and analyze a large amount of bus data to help engineers.<strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0d274d\" class=\"has-inline-color\">Quickly pinpoint problems and optimize system performance.<\/mark><\/strong>Currently, Honghong Baby-LIN series products are widely used in monitoring, analyzing and diagnosing vehicle network communications, and are indispensable professional tools for automobile manufacturers and suppliers in the R&amp;D and production processes.<\/p>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-b2cc9f986f9e706bff8c9476bddf3e48\" style=\"color:#0d274d;font-size:25px\"><strong><em>01#<\/em><br>Realization Methods:<br>Efficient recording of bus data<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">MAXTRON Baby-LIN devices offer two efficient methods of bus data logging, both of which provide flexible options to accommodate different logging needs and environments.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-horizontal is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\"><strong>Method 1: Use Simple Menu<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<p class=\"has-medium-font-size\">Connecting the Macrohon Baby-LIN device to a PC, you can use Simple Menu to record the bus data. Open the Simple Menu<strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0d274d\" class=\"has-inline-color\">Journal Viewer.<\/mark><\/strong>You can record the complete bus communication of Macrohon Baby-LIN devices and save it to a local file on your computer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"229\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10001-1024x229.png\" alt=\"log\" class=\"wp-image-41347\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10001-1024x229.png 1024w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10001-300x67.png 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10001-768x171.png 768w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10001-600x134.png 600w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10001.png 1080w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">After opening the log file view, the user can add a<strong>Logger<\/strong>to access the logging configuration interface. Here, you can either load a pre-existing log configuration or create a completely new one to meet specific needs.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"292\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10002-1024x292.png\" alt=\"log\" class=\"wp-image-41348\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10002-1024x292.png 1024w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10002-300x86.png 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10002-768x219.png 768w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10002-600x171.png 600w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10002.png 1080w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">Depending on the specific requirements of the individual, the user is able to<strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0d274d\" class=\"has-inline-color\">Customize settings for logging of bus communications.<\/mark><\/strong>In the next step, the user can decide what data needs to be tracked and recorded, and how this data should be saved.<\/p>\n\n\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#e7f2fa\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"has-medium-font-size\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0d274d\" class=\"has-inline-color\">Simple Menu<\/mark><\/strong><br>Free control software for Honghong Baby-LIN devices, which can load SDF files configured through SessionConf to realize control of LIN or CAN devices. Users can follow a preset schedule and logic to perform operations, monitor and record messages, and send specific commands.<\/p>\n\n\n\n<p class=\"has-small-font-size\"><em>*For more information, please feel free to<a href=\"https:\/\/line.me\/R\/ti\/p\/@433rhnwm\" title=\"\">Consultation with Honghong Staff<\/a><\/em><\/p>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\"><strong>Method 2: microSD card<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<p class=\"has-medium-font-size\">Some models of Macrohon Baby-LIN devices are equipped with microSD card support, allowing users to record bus data directly to the SD card. These data are stored in the form of files.<strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0d274d\" class=\"has-inline-color\">Located in the \u201d\\Loggs\u201d folder named \u201dProduct Name\u201d.<\/mark>\u3002<\/strong>The filename will contain the date, time, and channel information that initiated the logging, ensuring traceability of the logging.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"390\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/Loggs-1024x390.png\" alt=\"Loggs\" class=\"wp-image-41356\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/Loggs-1024x390.png 1024w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/Loggs-300x114.png 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/Loggs-768x292.png 768w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/Loggs-1536x584.png 1536w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/Loggs-600x228.png 600w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/Loggs.png 1769w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Configuring the use of Hong Kong's Baby-LIN device logging function<\/figcaption><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">During data recording, if the device is equipped with an LD3-SD card, its LED will flash in a certain pattern (on for 1 second, off for 1 second) to provide users with real-time indication of the recording status. In addition, the recording function is configured and activated according to the current working mode of the Macrohon Baby-LIN device.<\/p>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-8b0e697f82e96bd7f1173f0c9349c3c0\" style=\"color:#0d274d;font-size:25px\"><strong>02#<br>In-depth parsing:<br>Common Formats of Data Records<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">MAXTRON Baby-LIN devices offer two main data logging formats to meet different analytical needs and compatibility.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\" style=\"text-decoration:underline\"><a class=\"wp-block-button__link wp-element-button\">binary format<\/a><\/div>\n<\/div>\n\n\n\n<p class=\"has-medium-font-size\">The format uses a proprietary binary data format for storing data that can be stored in<strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0d274d\" class=\"has-inline-color\">Faster speeds and smaller gears<\/mark><\/strong>Recording. Files in this format can be recorded using the<strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0d274d\" class=\"has-inline-color\">\u201cLogViewer\u201d<\/mark><\/strong>View log data and export signal data, which can also be converted to other formats. To access signal values, LogViewer needs the SDF file on which the communication is based, so you can filter and display the data by selecting the signal and time grids, which can also be exported as CSV files.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"692\" height=\"176\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10004.png\" alt=\"LogViewer\" class=\"wp-image-41350\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10004.png 692w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10004-300x76.png 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10004-600x153.png 600w\" sizes=\"(max-width: 692px) 100vw, 692px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\" style=\"text-decoration:underline\"><a class=\"wp-block-button__link wp-element-button\">ASCII code format<\/a><\/div>\n<\/div>\n\n\n\n<p class=\"has-medium-font-size\">This format is<mark style=\"background-color:rgba(0, 0, 0, 0);color:#0d274d\" class=\"has-inline-color\"><strong>User Readable<\/strong><\/mark>in ASCII format, which can be processed by certain third-party products. It consists of<strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0d274d\" class=\"has-inline-color\">A title, recorded frame data and notes<\/mark><\/strong>The structure is as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"692\" height=\"489\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10005.png\" alt=\"ASCII\u78bc\" class=\"wp-image-41351\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10005.png 692w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10005-300x212.png 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/10005-600x424.png 600w\" sizes=\"(max-width: 692px) 100vw, 692px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">Use the first frame to explain the meaning of each line of the frame:<br>2.2788508: timestamp representing the time since the device was powered up<br>Li: Bus Identification<br>11: Frame ID<br>Tx: direction of the frame<br>1: Frame length<br>00: All data bytes of the frame<br>checksum=ff: checksum of the frame<br>CSM=classic: frame verification type<\/p>\n\n\n\n<p class=\"has-text-align-center has-text-color has-link-color has-medium-font-size wp-elements-f9a687d05329b878f67297d7895f901f\" style=\"color:#0d274d\"><strong>Conclusion<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">In the complex environment of automotive networks, accurate recording and storage of bus data is critical to ensure communication reliability and troubleshooting. By providing a flexible recording method, either via Simple Menu or microSD card, Honghong's Baby-LIN series can effectively capture and store critical communication data. This data not only helps to monitor the performance of the product to ensure that it operates as expected, but also provides in-depth analysis when problems occur, helping technicians to quickly locate and resolve them.<\/p>\n\n\n\n<p class=\"has-text-align-center has-text-color has-link-color has-medium-font-size wp-elements-59b9e64c5c5f136579b23d3d31d51365\" style=\"color:#0d274d\"><strong>If you are interested in the above, please<a href=\"https:\/\/line.me\/R\/ti\/p\/@433rhnwm\">Welcome to contact us<\/a>!<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><p class=\"MsoNormal\"><span class=\"15\" style=\"font-family: \u5b8b\u4f53; font-size: 13.5pt;\"><\/span><\/p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"197\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u516c\u53f8\u8cc7\u8a0a\u6b04_\u8cc7\u8a0a\u5361-\u592702-1.png\" alt=\"\" class=\"wp-image-40098\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u516c\u53f8\u8cc7\u8a0a\u6b04_\u8cc7\u8a0a\u5361-\u592702-1.png 1024w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u516c\u53f8\u8cc7\u8a0a\u6b04_\u8cc7\u8a0a\u5361-\u592702-1-300x58.png 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u516c\u53f8\u8cc7\u8a0a\u6b04_\u8cc7\u8a0a\u5361-\u592702-1-768x148.png 768w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u516c\u53f8\u8cc7\u8a0a\u6b04_\u8cc7\u8a0a\u5361-\u592702-1-600x115.png 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>","protected":false},"excerpt":{"rendered":"<p>\u5c0e\u8b80 \u8a18\u9304\u6c7d\u8eca\u532f\u6d41\u6392\u6578\u64da\u5c0d\u65bc\u76e3\u63a7\u6c7d\u8eca\u96fb\u5b50\u63a7\u5236\u55ae\u5143\uff08ECU\uff09\u9593\u901a\u4fe1\u548c\u8a3a\u65b7\u7db2\u8def\u6545\u969c\u5177\u6709\u91cd\u8981\u610f\u7fa9\u3002\u901a\u904e\u8a18\u9304\u6e2c\u8a66\u6642\u7684\u532f [&hellip;]<\/p>","protected":false},"author":33,"featured_media":41353,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","iawp_total_views":36,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[2293],"tags":[2208],"table_tags":[],"class_list":["post-41345","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-can-lin","tag-baby-lin","entry","has-media","owp-thumbs-layout-horizontal","owp-btn-normal","owp-tabs-layout-horizontal","has-no-thumbnails","has-product-nav"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/07\/45d07816-f650-45eb-9c2c-6333010010a9-1.png","_links":{"self":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts\/41345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/comments?post=41345"}],"version-history":[{"count":3,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts\/41345\/revisions"}],"predecessor-version":[{"id":41461,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts\/41345\/revisions\/41461"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/media\/41353"}],"wp:attachment":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/media?parent=41345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/categories?post=41345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/tags?post=41345"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/table_tags?post=41345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}