[{"data":1,"prerenderedAt":663},["ShallowReactive",2],{"docs-nav-docs_en":3,"docs-page-\u002Fen\u002Flogging-and-replay\u002Freplaying-a-log":371,"docs-surround-\u002Fen\u002Flogging-and-replay\u002Freplaying-a-log":660},[4],{"title":5,"path":6,"stem":7,"children":8},"En","\u002Fen","en",[9,13,45,62,80,107,161,175,194,215,242,287,307],{"title":10,"path":6,"stem":11,"navTitle":12},"QInsight Documentation","en\u002Findex","Overview",{"title":14,"navTitle":15,"path":16,"stem":17,"children":18,"page":44},"Getting Started",null,"\u002Fen\u002Fgetting-started","en\u002F01.getting-started",[19,23,27,31,36,40],{"title":20,"path":21,"stem":22,"navTitle":20},"What is QENEX Suite","\u002Fen\u002Fgetting-started\u002Fwhat-is-qenex-suite","en\u002F01.getting-started\u002F1.what-is-qenex-suite",{"title":24,"path":25,"stem":26,"navTitle":24},"What is QInsight","\u002Fen\u002Fgetting-started\u002Fwhat-is-qinsight","en\u002F01.getting-started\u002F2.what-is-qinsight",{"title":28,"path":29,"stem":30,"navTitle":28},"Installation","\u002Fen\u002Fgetting-started\u002Finstallation","en\u002F01.getting-started\u002F3.installation",{"title":32,"path":33,"stem":34,"navTitle":35},"The QInsight user interface","\u002Fen\u002Fgetting-started\u002Fthe-qinsight-interface","en\u002F01.getting-started\u002F4.the-qinsight-interface","User interface",{"title":37,"path":38,"stem":39,"navTitle":37},"Licensing","\u002Fen\u002Fgetting-started\u002Flicensing","en\u002F01.getting-started\u002F5.licensing",{"title":41,"path":42,"stem":43,"navTitle":41},"Release notes","\u002Fen\u002Fgetting-started\u002Frelease-notes","en\u002F01.getting-started\u002F6.release-notes",false,{"title":46,"navTitle":15,"path":47,"stem":48,"children":49,"page":44},"First Project","\u002Fen\u002Ffirst-project","en\u002F02.first-project",[50,54,58],{"title":51,"path":52,"stem":53,"navTitle":51},"Create a project","\u002Fen\u002Ffirst-project\u002Fcreate-a-project","en\u002F02.first-project\u002F1.create-a-project",{"title":55,"path":56,"stem":57,"navTitle":55},"Project structure","\u002Fen\u002Ffirst-project\u002Fproject-structure","en\u002F02.first-project\u002F2.project-structure",{"title":59,"path":60,"stem":61,"navTitle":59},"Project password","\u002Fen\u002Ffirst-project\u002Fproject-password","en\u002F02.first-project\u002F3.project-password",{"title":63,"navTitle":15,"path":64,"stem":65,"children":66,"page":44},"Connecting a Device","\u002Fen\u002Fconnecting-a-device","en\u002F03.connecting-a-device",[67,71,75],{"title":68,"path":69,"stem":70,"navTitle":68},"Add a driver","\u002Fen\u002Fconnecting-a-device\u002Fadd-a-driver","en\u002F03.connecting-a-device\u002F1.add-a-driver",{"title":72,"path":73,"stem":74,"navTitle":72},"Add a protocol","\u002Fen\u002Fconnecting-a-device\u002Fadd-a-protocol","en\u002F03.connecting-a-device\u002F2.add-a-protocol",{"title":76,"path":77,"stem":78,"navTitle":79},"Link a driver and a protocol","\u002Fen\u002Fconnecting-a-device\u002Flink-driver-and-protocol","en\u002F03.connecting-a-device\u002F3.link-driver-and-protocol","Linking",{"title":81,"navTitle":15,"path":82,"stem":83,"children":84,"page":44},"Variables","\u002Fen\u002Fvariables","en\u002F04.variables",[85,89,94,98,103],{"title":86,"path":87,"stem":88,"navTitle":86},"What is a variable","\u002Fen\u002Fvariables\u002Fwhat-is-a-variable","en\u002F04.variables\u002F1.what-is-a-variable",{"title":90,"path":91,"stem":92,"navTitle":93},"Conversion and presentation","\u002Fen\u002Fvariables\u002Fconversion-and-presentation","en\u002F04.variables\u002F2.conversion-and-presentation","Conversion & presentation",{"title":95,"path":96,"stem":97,"navTitle":95},"Add a variable","\u002Fen\u002Fvariables\u002Fadd-a-variable","en\u002F04.variables\u002F3.add-a-variable",{"title":99,"path":100,"stem":101,"navTitle":102},"Matrix variable (array, curve, map)","\u002Fen\u002Fvariables\u002Fmatrix-variable","en\u002F04.variables\u002F4.matrix-variable","Matrix variable",{"title":104,"path":105,"stem":106,"navTitle":104},"Events","\u002Fen\u002Fvariables\u002Fevents","en\u002F04.variables\u002F5.events",{"title":108,"navTitle":15,"path":109,"stem":110,"children":111,"page":44},"Visualization","\u002Fen\u002Fvisualization","en\u002F05.visualization",[112,117,122,126,131,136,141,146,151,156],{"title":113,"path":114,"stem":115,"navTitle":116},"Create a workspace","\u002Fen\u002Fvisualization\u002Fcreate-a-workspace","en\u002F05.visualization\u002F1.create-a-workspace","Workspace",{"title":118,"path":119,"stem":120,"navTitle":121},"Writing values to the device","\u002Fen\u002Fvisualization\u002Fwrite-to-device","en\u002F05.visualization\u002F10.write-to-device","Writing to the device",{"title":123,"path":124,"stem":125,"navTitle":123},"Add a control","\u002Fen\u002Fvisualization\u002Fadd-a-control","en\u002F05.visualization\u002F2.add-a-control",{"title":127,"path":128,"stem":129,"navTitle":130},"Bind a control to a variable","\u002Fen\u002Fvisualization\u002Fbind-a-control","en\u002F05.visualization\u002F3.bind-a-control","Bind a control",{"title":132,"path":133,"stem":134,"navTitle":135},"Graph — signal time course","\u002Fen\u002Fvisualization\u002Fgraph-control","en\u002F05.visualization\u002F4.graph-control","Graph",{"title":137,"path":138,"stem":139,"navTitle":140},"XY Graph — signal versus signal","\u002Fen\u002Fvisualization\u002Fxy-graph-control","en\u002F05.visualization\u002F5.xy-graph-control","XY Graph",{"title":142,"path":143,"stem":144,"navTitle":145},"Gauge — instantaneous value indicator","\u002Fen\u002Fvisualization\u002Fgauge-control","en\u002F05.visualization\u002F6.gauge-control","Gauge",{"title":147,"path":148,"stem":149,"navTitle":150},"Single-Signal — a value with a caption","\u002Fen\u002Fvisualization\u002Fsignal-control","en\u002F05.visualization\u002F7.signal-control","Single-Signal",{"title":152,"path":153,"stem":154,"navTitle":155},"Watch Table — a table of variables","\u002Fen\u002Fvisualization\u002Fwatch-table-control","en\u002F05.visualization\u002F8.watch-table-control","Watch Table",{"title":157,"path":158,"stem":159,"navTitle":160},"Matrix control — maps and calibration","\u002Fen\u002Fvisualization\u002Fmatrix-control","en\u002F05.visualization\u002F9.matrix-control","Matrix control",{"title":162,"navTitle":15,"path":163,"stem":164,"children":165,"page":44},"Running and Monitoring","\u002Fen\u002Frunning","en\u002F06.running",[166,170],{"title":167,"path":168,"stem":169,"navTitle":167},"Start and stop","\u002Fen\u002Frunning\u002Fstart-and-stop","en\u002F06.running\u002F1.start-and-stop",{"title":171,"path":172,"stem":173,"navTitle":174},"Watching live data","\u002Fen\u002Frunning\u002Fwatching-live-data","en\u002F06.running\u002F2.watching-live-data","Live data",{"title":176,"navTitle":15,"path":177,"stem":178,"children":179,"page":44},"Logging and Replay","\u002Fen\u002Flogging-and-replay","en\u002F07.logging-and-replay",[180,184,189],{"title":181,"path":182,"stem":183,"navTitle":181},"Logging data","\u002Fen\u002Flogging-and-replay\u002Flogging-data","en\u002F07.logging-and-replay\u002F1.logging-data",{"title":185,"path":186,"stem":187,"navTitle":188},"Replaying a log","\u002Fen\u002Flogging-and-replay\u002Freplaying-a-log","en\u002F07.logging-and-replay\u002F2.replaying-a-log","Replay",{"title":190,"path":191,"stem":192,"navTitle":193},"Exporting data","\u002Fen\u002Flogging-and-replay\u002Fexporting-data","en\u002F07.logging-and-replay\u002F3.exporting-data","Export",{"title":195,"navTitle":15,"path":196,"stem":197,"children":198,"page":44},"Python Scripts","\u002Fen\u002Fpython-scripts","en\u002F08.python-scripts",[199,203,207,211],{"title":200,"path":201,"stem":202,"navTitle":12},"Scripts overview","\u002Fen\u002Fpython-scripts\u002Fscripts-overview","en\u002F08.python-scripts\u002F1.scripts-overview",{"title":204,"path":205,"stem":206,"navTitle":204},"Accessing variables","\u002Fen\u002Fpython-scripts\u002Faccessing-variables","en\u002F08.python-scripts\u002F2.accessing-variables",{"title":208,"path":209,"stem":210,"navTitle":208},"Example script","\u002Fen\u002Fpython-scripts\u002Fexample-script","en\u002F08.python-scripts\u002F3.example-script",{"title":212,"path":213,"stem":214,"navTitle":212},"CSV post-processing","\u002Fen\u002Fpython-scripts\u002Fcsv-post-processing","en\u002F08.python-scripts\u002F4.csv-post-processing",{"title":216,"navTitle":15,"path":217,"stem":218,"children":219,"page":44},"Custom extensions","\u002Fen\u002Fcustom-extensions","en\u002F09.custom-extensions",[220,224,228,232,237],{"title":221,"path":222,"stem":223,"navTitle":221},"Custom driver","\u002Fen\u002Fcustom-extensions\u002Fcustom-driver","en\u002F09.custom-extensions\u002F1.custom-driver",{"title":225,"path":226,"stem":227,"navTitle":225},"Custom protocol","\u002Fen\u002Fcustom-extensions\u002Fcustom-protocol","en\u002F09.custom-extensions\u002F2.custom-protocol",{"title":229,"path":230,"stem":231,"navTitle":229},"Custom Control","\u002Fen\u002Fcustom-extensions\u002Fcustom-control","en\u002F09.custom-extensions\u002F3.custom-control",{"title":233,"path":234,"stem":235,"navTitle":236},"Complete example — ISS position","\u002Fen\u002Fcustom-extensions\u002Fiss-example","en\u002F09.custom-extensions\u002F4.iss-example","Example ISS",{"title":238,"path":239,"stem":240,"navTitle":241},"Complete example — temperature sensor","\u002Fen\u002Fcustom-extensions\u002Ftemp-sensor-example","en\u002F09.custom-extensions\u002F5.temp-sensor-example","Example temp sensor",{"title":243,"navTitle":15,"path":244,"stem":245,"children":246,"page":44},"QFW SDK","\u002Fen\u002Fdevice-sdk","en\u002F10.device-sdk",[247,252,257,262,267,272,277,282],{"title":248,"path":249,"stem":250,"navTitle":251},"QFW SDK — introduction","\u002Fen\u002Fdevice-sdk\u002Fintroduction","en\u002F10.device-sdk\u002F1.introduction","Introduction",{"title":253,"path":254,"stem":255,"navTitle":256},"XCP in the QFW SDK","\u002Fen\u002Fdevice-sdk\u002Fxcp","en\u002F10.device-sdk\u002F2.xcp","XCP",{"title":258,"path":259,"stem":260,"navTitle":261},"Integration step by step: XCP on TCP with FreeRTOS + lwIP","\u002Fen\u002Fdevice-sdk\u002Fintegration-tcp","en\u002F10.device-sdk\u002F3.integration-tcp","Integration: XCP on TCP",{"title":263,"path":264,"stem":265,"navTitle":266},"XCP on classic CAN — what changes","\u002Fen\u002Fdevice-sdk\u002Fcan","en\u002F10.device-sdk\u002F4.can","XCP on classic CAN",{"title":268,"path":269,"stem":270,"navTitle":271},"Integration without an RTOS: XCP on TCP from the main loop","\u002Fen\u002Fdevice-sdk\u002Fbaremetal","en\u002F10.device-sdk\u002F5.baremetal","Integration without an RTOS",{"title":273,"path":274,"stem":275,"navTitle":276},"The engine contract","\u002Fen\u002Fdevice-sdk\u002Fengine-contract","en\u002F10.device-sdk\u002F6.engine-contract","Engine contract",{"title":278,"path":279,"stem":280,"navTitle":281},"Variable addresses for QInsight","\u002Fen\u002Fdevice-sdk\u002Fvariable-addresses","en\u002F10.device-sdk\u002F7.variable-addresses","Variable addresses",{"title":283,"path":284,"stem":285,"navTitle":286},"Troubleshooting the SDK integration","\u002Fen\u002Fdevice-sdk\u002Ftroubleshooting","en\u002F10.device-sdk\u002F8.troubleshooting","Troubleshooting",{"title":288,"navTitle":15,"path":289,"stem":290,"children":291,"page":44},"Reference","\u002Fen\u002Freference","en\u002F11.reference",[292,296,300,304],{"title":293,"path":294,"stem":295,"navTitle":293},"Drivers","\u002Fen\u002Freference\u002Fdrivers","en\u002F11.reference\u002F1.drivers",{"title":297,"path":298,"stem":299,"navTitle":297},"Protocols","\u002Fen\u002Freference\u002Fprotocols","en\u002F11.reference\u002F2.protocols",{"title":301,"path":302,"stem":303,"navTitle":301},"Controls","\u002Fen\u002Freference\u002Fcontrols","en\u002F11.reference\u002F3.controls",{"title":286,"path":305,"stem":306,"navTitle":286},"\u002Fen\u002Freference\u002Ftroubleshooting","en\u002F11.reference\u002F4.troubleshooting",{"title":308,"navTitle":15,"path":309,"stem":310,"children":311,"page":44},"Examples","\u002Fen\u002Fexamples","en\u002F12.examples",[312,316,321,326,331,335,339,343,347,351,356,361,366],{"title":313,"path":314,"stem":315,"navTitle":313},"Simulation: all signals","\u002Fen\u002Fexamples\u002Fsimulation-all-signals","en\u002F12.examples\u002F01.simulation-all-signals",{"title":317,"path":318,"stem":319,"navTitle":320},"Modbus RTU master over a serial line","\u002Fen\u002Fexamples\u002Fserial-modbus-master","en\u002F12.examples\u002F02.serial-modbus-master","Modbus RTU master",{"title":322,"path":323,"stem":324,"navTitle":325},"Modbus RTU slave with simulated sensors","\u002Fen\u002Fexamples\u002Fserial-modbus-slave","en\u002F12.examples\u002F03.serial-modbus-slave","Modbus RTU slave",{"title":327,"path":328,"stem":329,"navTitle":330},"Modbus TCP master over a TCP client","\u002Fen\u002Fexamples\u002Ftcp-client-modbus-master","en\u002F12.examples\u002F04.tcp-client-modbus-master","Modbus TCP master",{"title":332,"path":333,"stem":334,"navTitle":332},"Modbus TCP slave on the TCP Server","\u002Fen\u002Fexamples\u002Ftcp-server-modbus-slave","en\u002F12.examples\u002F05.tcp-server-modbus-slave",{"title":336,"path":337,"stem":338,"navTitle":336},"Bit field and a script","\u002Fen\u002Fexamples\u002Fbit-field-script","en\u002F12.examples\u002F08.bit-field-script",{"title":340,"path":341,"stem":342,"navTitle":340},"Two ECUs at once","\u002Fen\u002Fexamples\u002Ftwo-ecus","en\u002F12.examples\u002F09.two-ecus",{"title":344,"path":345,"stem":346,"navTitle":344},"ISS position live","\u002Fen\u002Fexamples\u002Fiss-live-tracking","en\u002F12.examples\u002F10.iss-live-tracking",{"title":348,"path":349,"stem":350,"navTitle":348},"Simulated thermometer","\u002Fen\u002Fexamples\u002Fsimul-temp-measure","en\u002F12.examples\u002F11.simul-temp-measure",{"title":352,"path":353,"stem":354,"navTitle":355},"JSON signals from a Python generator","\u002Fen\u002Fexamples\u002Fjson-signal-python","en\u002F12.examples\u002F12.json-signal-python","JSON signals from Python",{"title":357,"path":358,"stem":359,"navTitle":360},"Raw CAN frames from a Raspberry Pi","\u002Fen\u002Fexamples\u002Fraw-can-python","en\u002F12.examples\u002F13.raw-can-python","Raw CAN from a Raspberry Pi",{"title":362,"path":363,"stem":364,"navTitle":365},"XCP on TCP on a NUCLEO-H723ZG: measurement, stimulation and calibration maps","\u002Fen\u002Fexamples\u002Ftcp-client-xcp-nucleo-maps","en\u002F12.examples\u002F14.tcp-client-xcp-nucleo-maps","XCP on TCP on NUCLEO-H723ZG",{"title":367,"path":368,"stem":369,"navTitle":370},"XCP on CAN on a NUCLEO-H723ZG: measurement, stimulation and calibration maps","\u002Fen\u002Fexamples\u002Fcan-xcp-nucleo-maps","en\u002F12.examples\u002F15.can-xcp-nucleo-maps","XCP on CAN on NUCLEO-H723ZG",{"id":372,"title":185,"body":373,"description":654,"extension":655,"meta":656,"navTitle":188,"navigation":657,"path":186,"seo":658,"stem":187,"__hash__":659},"docs_en\u002Fen\u002F07.logging-and-replay\u002F2.replaying-a-log.md",{"type":374,"value":375,"toc":644},"minimark",[376,380,398,408,413,446,450,465,591,612,616,619,623,634,638],[377,378,185],"h1",{"id":379},"replaying-a-log",[381,382,383,384,388,389,393,394,397],"p",{},"A recorded ",[385,386,387],"code",{},".qilog"," file can be played back into the project — the values\nflow into the same variables and appear on the same controls as during live\nmeasurement. Everything is controlled in the ",[390,391,392],"strong",{},"Runtime"," ribbon menu, group\n",[390,395,396],{},"Replay data",".",[399,400,401],"blockquote",{},[381,402,403,404],{},"📷 ",[405,406,407],"em",{},"Image placeholder — the Runtime ribbon, Replay data group with the timeline.",[409,410,412],"h2",{"id":411},"steps","Steps",[414,415,416,429,434,440],"ol",{},[417,418,419,422,423,425,426,397],"li",{},[390,420,421],{},"Import"," — choose a ",[385,424,387],{}," file. The runtime must be stopped.\nThe data loads in the background; loading of a large file can be\ninterrupted with ",[390,427,428],{},"Stop loading",[417,430,431,433],{},[390,432,188],{}," — starts the playback. While replaying, the regular drivers\nare disabled — only the replay driver feeds the variables, using the\noriginal timing of the record.",[417,435,436,439],{},[390,437,438],{},"Pause \u002F Resume"," — pauses and resumes the playback.",[417,441,442,445],{},[390,443,444],{},"Stop"," — ends the playback and restores the drivers to their original\nstate.",[409,447,449],{"id":448},"replay-driver-settings","Replay driver settings",[381,451,452,453,456,457,460,461,464],{},"Import prepares the ",[390,454,455],{},"Data Log Replay"," driver in the project — you will\nfind it in ",[390,458,459],{},"Project Configuration"," and you can edit its ",[390,462,463],{},"Settings","\nfield:",[466,467,468,484],"table",{},[469,470,471],"thead",{},[472,473,474,478,481],"tr",{},[475,476,477],"th",{},"Parameter",[475,479,480],{},"Default",[475,482,483],{},"Meaning",[485,486,487,511,525,546,573],"tbody",{},[472,488,489,495,498],{},[490,491,492],"td",{},[385,493,494],{},"file",[490,496,497],{},"—",[490,499,500,501,503,504,506,507,510],{},"path to the ",[385,502,387],{}," file; set by the ",[390,505,421],{}," button. A relative path is resolved against the QInsight data folder (",[385,508,509],{},"C:\\Users\\\u003Cname>\\AppData\\Local\\Qenex\\QInsight",").",[472,512,513,518,520],{},[490,514,515],{},[385,516,517],{},"directory",[490,519,497],{},[490,521,522,523],{},"replaces the folder while keeping the file name from ",[385,524,494],{},[472,526,527,532,537],{},[490,528,529],{},[385,530,531],{},"mode",[490,533,534],{},[385,535,536],{},"realtime",[490,538,539,541,542,545],{},[385,540,536],{}," = playback in the original timing of the record; ",[385,543,544],{},"immediate"," = no pacing, all records are published at once (quickly fills graphs and exports)",[472,547,548,553,558],{},[490,549,550],{},[385,551,552],{},"speed",[490,554,555],{},[385,556,557],{},"1",[490,559,560,561,564,565,568,569,572],{},"playback speed multiplier, positive values only; decimal ",[390,562,563],{},"point"," (",[385,566,567],{},"0.5",", ",[385,570,571],{},"2",")",[472,574,575,580,585],{},[490,576,577],{},[385,578,579],{},"loop",[490,581,582],{},[385,583,584],{},"false",[490,586,587,590],{},[385,588,589],{},"true"," = restart the playback endlessly after the record finishes",[381,592,593,594,596,597,599,600,602,603,605,606,608,609,611],{},"The ",[390,595,421],{}," button sets ",[385,598,494],{}," to the selected file; your ",[385,601,531],{},",\n",[385,604,552],{}," and ",[385,607,579],{}," values are preserved. An invalid value falls back to\nthe default with a warning in the log. When the file in ",[385,610,494],{}," does not\nexist (deleted, unplugged disk), the replay is empty and the cause is in\nthe log.",[409,613,615],{"id":614},"timeline","Timeline",[381,617,618],{},"Next to the buttons is a timeline with the current position and the total\nrecord duration. When paused (and after the data has fully loaded) you can\ndrag the position — the controls catch up to the exact state at the chosen\ntime. The position can also be typed in.",[409,620,622],{"id":621},"scripts-during-replay","Scripts during replay",[381,624,625,626,628,629,633],{},"Whether a script runs during playback is controlled by its ",[390,627,188],{},"\ncheckbox (see ",[630,631,200],"a",{"href":632},"\u002Fpython-scripts\u002Fscripts-overview",") — useful\nfor retrospective analysis, while intervention scripts stay live-only.",[409,635,637],{"id":636},"next","Next",[381,639,640,641,397],{},"A record can be turned into a table —\n",[630,642,190],{"href":643},"\u002Flogging-and-replay\u002Fexporting-data",{"title":645,"searchDepth":646,"depth":646,"links":647},"",3,[648,650,651,652,653],{"id":411,"depth":649,"text":412},2,{"id":448,"depth":649,"text":449},{"id":614,"depth":649,"text":615},{"id":621,"depth":649,"text":622},{"id":636,"depth":649,"text":637},"Importing a .qilog record and playing it back on the controls, including the timeline.","md",{},true,{"title":185,"description":654},"PcgA5wq_q93qf0BIaF7SX-Y-KKSiRWM_3NGPJJ48-ro",[661,662],{"title":181,"path":182,"stem":183,"navTitle":181,"children":-1},{"title":190,"path":191,"stem":192,"navTitle":193,"children":-1},1795105299702]