{"id":1389,"date":"2020-06-04T23:50:08","date_gmt":"2020-06-04T21:50:08","guid":{"rendered":"https:\/\/cpk-studio.com\/?page_id=1389"},"modified":"2022-10-14T20:38:58","modified_gmt":"2022-10-14T18:38:58","slug":"how-to-enable-datalogging-on-keysight-3070","status":"publish","type":"page","link":"https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/","title":{"rendered":"How to enable datalogging on Keysight 3070 ?"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1389\" class=\"elementor elementor-1389\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7ba3585 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7ba3585\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d34e66f\" data-id=\"d34e66f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8233a17 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8233a17\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0ba3312\" data-id=\"0ba3312\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-442d425 elementor-widget elementor-widget-text-editor\" data-id=\"442d425\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span data-contrast=\"auto\">The datalogging routines are enabled or disabled by the values of variables in a subroutine called Set_Custom_Options in testplan file.<\/span><\/p><p>\u00a0<\/p><h6><strong>1. Change QSTATS_Mode variable to Histo:<\/strong><\/h6><pre>\u00a0<span data-contrast=\"none\">QSTATS_Mode = Histo<\/span><\/pre><ul><li style=\"list-style-type: none;\"><ul><li><span data-contrast=\"auto\">Off : turns off data logging<\/span><\/li><li><span data-contrast=\"auto\">No_Histo : logs failing data and disables random sampling (enabled by Histo).<\/span><\/li><li><span data-contrast=\"auto\">Histo : logs failing data and enables the random sampling of data from 10% (the default) of the analog components that pass.\u00a0<\/span><\/li><\/ul><div>\u00a0<\/div><\/li><\/ul><h6><strong>2. Set <\/strong><span data-contrast=\"auto\"><strong>Analog_Sample_Rate<\/strong> (data sampling) : 0.1=10%\u00a0\u00a0\u00a0 1=100%<\/span><\/h6><p><span data-contrast=\"auto\">Define board datalogging sampling rate. The remaining boards are then logged with a log level of failures.\u00a0<\/span><\/p><pre>Analog_Sample_Rate = 1<\/pre><p>\u00a0<\/p><h6><span data-contrast=\"auto\"><strong>3. Change datalogging directory<\/strong> (defined in sub <\/span><span data-contrast=\"auto\">Initialize_Constants):<\/span><\/h6><p><span data-contrast=\"auto\">Default value is :\u00a0<\/span><\/p><pre><span data-contrast=\"none\">Log_Path$ = btgetenv$(\"AGILENT3070_ROOT\")&amp;\"\/qm\/logdata\/testerq\/\"<\/span><\/pre><p><span data-contrast=\"auto\">This default location is also used by Pushbutton QSTAT translator wich will process and then delete all log files located in <\/span><span data-contrast=\"none\">qm\/logdata\/testerq<\/span><span data-contrast=\"auto\"> directories and sub directories.<\/span><\/p><p>Changing Log_Path$ directory will allo you to keep native log file.<\/p><p>\u00a0<\/p><h6><strong>4. Log level:\u00a0<\/strong><\/h6><p><span data-contrast=\"auto\">The log level is function establishes the level of information that is to be generated as log records. When a level is selected, all lower levels, except none, are automatically included; when none is specified, it turns all logging off.<\/span><\/p><p><span data-contrast=\"auto\">Once the level is established, it remains established through all subsequent program runs until another log level is function changes it, or until the user logs out of the system. The log records are generated (unless none is specified) even if the default log file is not open. The log records are held in a buffer until a log out, log clear, log clear for retest, or wait for start function is executed.<\/span><\/p><ul><li style=\"list-style-type: none;\"><ul><li data-aria-posinset=\"1\" data-aria-level=\"3\"><span data-contrast=\"auto\">none \u2013 Turns all types of logging off (the default). This includes logging activities for all other logging statements. This parameter can be used to temporarily stop data logging. Resume data logging by using another log level is function.<\/span><\/li><li data-aria-posinset=\"2\" data-aria-level=\"3\"><span data-contrast=\"auto\">manual \u2013 Generate records for the log and log using statements.<\/span><\/li><li data-aria-posinset=\"3\" data-aria-level=\"3\"><span data-contrast=\"auto\">board \u2013 Generate records for the log board, log board start and log board end statements. Includes manual level.<\/span><\/li><li data-aria-posinset=\"4\" data-aria-level=\"3\"><span data-contrast=\"auto\">failures \u2013 Generate records for tests that fail. Includes board and manual levels.<\/span><\/li><li data-aria-posinset=\"5\" data-aria-level=\"3\"><span data-contrast=\"auto\">indictments \u2013 Generates records as in the failures level, plus specific information on devices indicted as potential (or known) failures.<\/span><\/li><li data-aria-posinset=\"6\" data-aria-level=\"3\"><span data-contrast=\"auto\">analog \u2013 Generate records for analog tests which pass. Includes failures, board and manual levels.<\/span><\/li><li data-aria-posinset=\"7\" data-aria-level=\"3\"><span data-contrast=\"auto\">all \u2013 Generate records for digital tests which pass. Includes analog, indictments, failures, board and manual levels.<\/span><\/li><\/ul><\/li><\/ul><p><span data-contrast=\"auto\">To collect maximum data, it is recommanded to force log level to all (ensure HDD capacity is sufficient) in <\/span><span data-contrast=\"auto\">sub Start_Logging<\/span><span data-contrast=\"auto\">.<\/span><\/p><pre><span data-contrast=\"none\">sub Start_Logging<\/span>\u00a0\n<span data-contrast=\"none\">global Analog_Sample_Rate, QSTATS_Mode, Histo, Board$, Tests_On_This_Board<\/span>\u00a0\n<span data-contrast=\"none\">global Sampling, True, False<\/span>\u00a0\n<span data-contrast=\"none\">global Proc_Step$, Batch$, Oper$, Board_Rev$, Testplan$<\/span>\u00a0\n<span data-contrast=\"none\">global Testrev$, Known_Good$, Serial$, Version_Label$<\/span>\u00a0\n<span data-contrast=\"none\">\u00a0<\/span> \n<span data-contrast=\"none\">Sampling = False<br \/><br \/><\/span><span data-contrast=\"none\">if learning then<\/span><br \/><span data-contrast=\"none\">\u00a0 log level is all<\/span><br \/><span data-contrast=\"none\">else<\/span><br \/><span data-contrast=\"none\">\u00a0 if rnd &lt; Analog_Sample_Rate * (QSTATS_Mode = Histo) then<\/span><br \/><span data-contrast=\"none\">\u00a0\u00a0\u00a0 log level is analog without nhls, pins<\/span><br \/><span data-contrast=\"none\">\u00a0\u00a0\u00a0 Sampling = True<\/span><br \/><span data-contrast=\"none\">\u00a0 else<\/span><br \/><span data-contrast=\"none\">\u00a0\u00a0\u00a0 log level is indictments without nhls<\/span><br \/><span data-contrast=\"none\">\u00a0 end if<\/span><br \/><span data-contrast=\"none\">end if<br \/><\/span><br \/><strong>log level is all<\/strong>\u00a0<br \/><br \/><span data-contrast=\"none\">print \"Log level: \";lli$;\";\u00a0 Report level: \";rli$;\";\u00a0 Board type: \";Board$<\/span><br \/><span data-contrast=\"none\">PS$ = Proc_Step$<\/span><br \/><span data-contrast=\"none\">if Tests_On_This_Board = 1 then<\/span><br \/><span data-contrast=\"none\">\u00a0 log board Board$, PS$, Batch$, Oper$, Board_Rev$, Testplan$, Testrev$, \"\", \"\", Version_Label$<\/span><br \/><span data-contrast=\"none\">end if<\/span><br \/><span data-contrast=\"none\">log board start Serial$, Known_Good$<\/span><br \/><span data-contrast=\"none\">print<\/span><br \/><br \/><span data-contrast=\"none\">Subend<\/span><\/pre><p>\u00a0<\/p><p>\u00a0<\/p><p>\u00a0<\/p><p>\u00a0<\/p><p>\u00a0<\/p><p>\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>The datalogging routines are enabled or disabled by the values of variables in a subroutine called Set_Custom_Options in testplan file.&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":955,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1389","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to enable datalogging on Keysight 3070 ? - CPK Studio<\/title>\n<meta name=\"description\" content=\"How to setup and make all Keysight ICT 3070 measurements logged into one file ? See how to enable datalogging by changing settings in testplan file...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to enable datalogging on Keysight 3070 ? - CPK Studio\" \/>\n<meta property=\"og:description\" content=\"How to setup and make all Keysight ICT 3070 measurements logged into one file ? See how to enable datalogging by changing settings in testplan file...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/\" \/>\n<meta property=\"og:site_name\" content=\"CPK Studio\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-14T18:38:58+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/\",\"url\":\"https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/\",\"name\":\"How to enable datalogging on Keysight 3070 ? - CPK Studio\",\"isPartOf\":{\"@id\":\"https:\/\/cpk-studio.com\/#website\"},\"datePublished\":\"2020-06-04T21:50:08+00:00\",\"dateModified\":\"2022-10-14T18:38:58+00:00\",\"description\":\"How to setup and make all Keysight ICT 3070 measurements logged into one file ? See how to enable datalogging by changing settings in testplan file...\",\"breadcrumb\":{\"@id\":\"https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/cpk-studio.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resources\",\"item\":\"https:\/\/cpk-studio.com\/index.php\/resources\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to enable datalogging on Keysight 3070 ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpk-studio.com\/#website\",\"url\":\"https:\/\/cpk-studio.com\/\",\"name\":\"CPK Studio\",\"description\":\"Process capability analysis software for test equipment\",\"publisher\":{\"@id\":\"https:\/\/cpk-studio.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpk-studio.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/cpk-studio.com\/#organization\",\"name\":\"CPK Studio\",\"url\":\"https:\/\/cpk-studio.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpk-studio.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cpk-studio.com\/wp-content\/uploads\/2020\/04\/bar-chart3.png\",\"contentUrl\":\"https:\/\/cpk-studio.com\/wp-content\/uploads\/2020\/04\/bar-chart3.png\",\"width\":256,\"height\":256,\"caption\":\"CPK Studio\"},\"image\":{\"@id\":\"https:\/\/cpk-studio.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to enable datalogging on Keysight 3070 ? - CPK Studio","description":"How to setup and make all Keysight ICT 3070 measurements logged into one file ? See how to enable datalogging by changing settings in testplan file...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/","og_locale":"en_US","og_type":"article","og_title":"How to enable datalogging on Keysight 3070 ? - CPK Studio","og_description":"How to setup and make all Keysight ICT 3070 measurements logged into one file ? See how to enable datalogging by changing settings in testplan file...","og_url":"https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/","og_site_name":"CPK Studio","article_modified_time":"2022-10-14T18:38:58+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/","url":"https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/","name":"How to enable datalogging on Keysight 3070 ? - CPK Studio","isPartOf":{"@id":"https:\/\/cpk-studio.com\/#website"},"datePublished":"2020-06-04T21:50:08+00:00","dateModified":"2022-10-14T18:38:58+00:00","description":"How to setup and make all Keysight ICT 3070 measurements logged into one file ? See how to enable datalogging by changing settings in testplan file...","breadcrumb":{"@id":"https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cpk-studio.com\/index.php\/resources\/how-to-enable-datalogging-on-keysight-3070\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/cpk-studio.com\/"},{"@type":"ListItem","position":2,"name":"Resources","item":"https:\/\/cpk-studio.com\/index.php\/resources\/"},{"@type":"ListItem","position":3,"name":"How to enable datalogging on Keysight 3070 ?"}]},{"@type":"WebSite","@id":"https:\/\/cpk-studio.com\/#website","url":"https:\/\/cpk-studio.com\/","name":"CPK Studio","description":"Process capability analysis software for test equipment","publisher":{"@id":"https:\/\/cpk-studio.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpk-studio.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cpk-studio.com\/#organization","name":"CPK Studio","url":"https:\/\/cpk-studio.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpk-studio.com\/#\/schema\/logo\/image\/","url":"https:\/\/cpk-studio.com\/wp-content\/uploads\/2020\/04\/bar-chart3.png","contentUrl":"https:\/\/cpk-studio.com\/wp-content\/uploads\/2020\/04\/bar-chart3.png","width":256,"height":256,"caption":"CPK Studio"},"image":{"@id":"https:\/\/cpk-studio.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/cpk-studio.com\/index.php\/wp-json\/wp\/v2\/pages\/1389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpk-studio.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cpk-studio.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cpk-studio.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cpk-studio.com\/index.php\/wp-json\/wp\/v2\/comments?post=1389"}],"version-history":[{"count":23,"href":"https:\/\/cpk-studio.com\/index.php\/wp-json\/wp\/v2\/pages\/1389\/revisions"}],"predecessor-version":[{"id":1591,"href":"https:\/\/cpk-studio.com\/index.php\/wp-json\/wp\/v2\/pages\/1389\/revisions\/1591"}],"up":[{"embeddable":true,"href":"https:\/\/cpk-studio.com\/index.php\/wp-json\/wp\/v2\/pages\/955"}],"wp:attachment":[{"href":"https:\/\/cpk-studio.com\/index.php\/wp-json\/wp\/v2\/media?parent=1389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}