[{"data":1,"prerenderedAt":355},["ShallowReactive",2],{"docs-nav-docs_cs":3,"docs-page-\u002Fcs\u002Fconnecting-a-device\u002Fadd-a-driver":189,"docs-surround-\u002Fcs\u002Fconnecting-a-device\u002Fadd-a-driver":352},[4],{"title":5,"path":6,"stem":7,"children":8},"Cs","\u002Fcs","cs",[9,13,37,50,68,85,104,118,137,158,175],{"title":10,"path":6,"stem":11,"navTitle":12},"Dokumentace QInsight","cs\u002Findex","Přehled",{"title":14,"navTitle":15,"path":16,"stem":17,"children":18,"page":36},"Začínáme",null,"\u002Fcs\u002Fgetting-started","cs\u002F01.getting-started",[19,23,27,31],{"title":20,"path":21,"stem":22,"navTitle":20},"Co je QENEX Suite","\u002Fcs\u002Fgetting-started\u002Fwhat-is-qenex-suite","cs\u002F01.getting-started\u002F1.what-is-qenex-suite",{"title":24,"path":25,"stem":26,"navTitle":24},"Co je QInsight","\u002Fcs\u002Fgetting-started\u002Fwhat-is-qinsight","cs\u002F01.getting-started\u002F2.what-is-qinsight",{"title":28,"path":29,"stem":30,"navTitle":28},"Instalace","\u002Fcs\u002Fgetting-started\u002Finstallation","cs\u002F01.getting-started\u002F3.installation",{"title":32,"path":33,"stem":34,"navTitle":35},"Uživatelské rozhraní QInsight","\u002Fcs\u002Fgetting-started\u002Fthe-qinsight-interface","cs\u002F01.getting-started\u002F4.the-qinsight-interface","Uživatelské rozhraní",false,{"title":38,"navTitle":15,"path":39,"stem":40,"children":41,"page":36},"První projekt","\u002Fcs\u002Ffirst-project","cs\u002F02.first-project",[42,46],{"title":43,"path":44,"stem":45,"navTitle":43},"Založení projektu","\u002Fcs\u002Ffirst-project\u002Fcreate-a-project","cs\u002F02.first-project\u002F1.create-a-project",{"title":47,"path":48,"stem":49,"navTitle":47},"Struktura projektu","\u002Fcs\u002Ffirst-project\u002Fproject-structure","cs\u002F02.first-project\u002F2.project-structure",{"title":51,"navTitle":15,"path":52,"stem":53,"children":54,"page":36},"Připojení zařízení","\u002Fcs\u002Fconnecting-a-device","cs\u002F03.connecting-a-device",[55,59,63],{"title":56,"path":57,"stem":58,"navTitle":56},"Přidání driveru","\u002Fcs\u002Fconnecting-a-device\u002Fadd-a-driver","cs\u002F03.connecting-a-device\u002F1.add-a-driver",{"title":60,"path":61,"stem":62,"navTitle":60},"Přidání protokolu","\u002Fcs\u002Fconnecting-a-device\u002Fadd-a-protocol","cs\u002F03.connecting-a-device\u002F2.add-a-protocol",{"title":64,"path":65,"stem":66,"navTitle":67},"Propojení driveru a protokolu","\u002Fcs\u002Fconnecting-a-device\u002Flink-driver-and-protocol","cs\u002F03.connecting-a-device\u002F3.link-driver-and-protocol","Propojení",{"title":69,"navTitle":15,"path":70,"stem":71,"children":72,"page":36},"Proměnné","\u002Fcs\u002Fvariables","cs\u002F04.variables",[73,77,81],{"title":74,"path":75,"stem":76,"navTitle":74},"Co je proměnná","\u002Fcs\u002Fvariables\u002Fwhat-is-a-variable","cs\u002F04.variables\u002F1.what-is-a-variable",{"title":78,"path":79,"stem":80,"navTitle":78},"Konverze a prezentace","\u002Fcs\u002Fvariables\u002Fconversion-and-presentation","cs\u002F04.variables\u002F2.conversion-and-presentation",{"title":82,"path":83,"stem":84,"navTitle":82},"Přidání proměnné","\u002Fcs\u002Fvariables\u002Fadd-a-variable","cs\u002F04.variables\u002F3.add-a-variable",{"title":86,"navTitle":15,"path":87,"stem":88,"children":89,"page":36},"Vizualizace","\u002Fcs\u002Fvisualization","cs\u002F05.visualization",[90,95,99],{"title":91,"path":92,"stem":93,"navTitle":94},"Vytvoření pracovní plochy","\u002Fcs\u002Fvisualization\u002Fcreate-a-workspace","cs\u002F05.visualization\u002F1.create-a-workspace","Pracovní plocha",{"title":96,"path":97,"stem":98,"navTitle":96},"Přidání controlu","\u002Fcs\u002Fvisualization\u002Fadd-a-control","cs\u002F05.visualization\u002F2.add-a-control",{"title":100,"path":101,"stem":102,"navTitle":103},"Navázání controlu na proměnnou","\u002Fcs\u002Fvisualization\u002Fbind-a-control","cs\u002F05.visualization\u002F3.bind-a-control","Navázání controlu",{"title":105,"navTitle":15,"path":106,"stem":107,"children":108,"page":36},"Běh a sledování","\u002Fcs\u002Frunning","cs\u002F06.running",[109,113],{"title":110,"path":111,"stem":112,"navTitle":110},"Spuštění a zastavení","\u002Fcs\u002Frunning\u002Fstart-and-stop","cs\u002F06.running\u002F1.start-and-stop",{"title":114,"path":115,"stem":116,"navTitle":117},"Sledování živých dat","\u002Fcs\u002Frunning\u002Fwatching-live-data","cs\u002F06.running\u002F2.watching-live-data","Živá data",{"title":119,"navTitle":15,"path":120,"stem":121,"children":122,"page":36},"Logování a přehrávání","\u002Fcs\u002Flogging-and-replay","cs\u002F07.logging-and-replay",[123,127,132],{"title":124,"path":125,"stem":126,"navTitle":124},"Logování dat","\u002Fcs\u002Flogging-and-replay\u002Flogging-data","cs\u002F07.logging-and-replay\u002F1.logging-data",{"title":128,"path":129,"stem":130,"navTitle":131},"Přehrávání logu","\u002Fcs\u002Flogging-and-replay\u002Freplaying-a-log","cs\u002F07.logging-and-replay\u002F2.replaying-a-log","Přehrávání",{"title":133,"path":134,"stem":135,"navTitle":136},"Export dat","\u002Fcs\u002Flogging-and-replay\u002Fexporting-data","cs\u002F07.logging-and-replay\u002F3.exporting-data","Export",{"title":138,"navTitle":15,"path":139,"stem":140,"children":141,"page":36},"Python skripty","\u002Fcs\u002Fpython-scripts","cs\u002F08.python-scripts",[142,146,150,154],{"title":143,"path":144,"stem":145,"navTitle":12},"Přehled skriptů","\u002Fcs\u002Fpython-scripts\u002Fscripts-overview","cs\u002F08.python-scripts\u002F1.scripts-overview",{"title":147,"path":148,"stem":149,"navTitle":147},"Přístup k proměnným","\u002Fcs\u002Fpython-scripts\u002Faccessing-variables","cs\u002F08.python-scripts\u002F2.accessing-variables",{"title":151,"path":152,"stem":153,"navTitle":151},"Příklad skriptu","\u002Fcs\u002Fpython-scripts\u002Fexample-script","cs\u002F08.python-scripts\u002F3.example-script",{"title":155,"path":156,"stem":157,"navTitle":155},"Post-processing CSV","\u002Fcs\u002Fpython-scripts\u002Fcsv-post-processing","cs\u002F08.python-scripts\u002F4.csv-post-processing",{"title":159,"navTitle":15,"path":160,"stem":161,"children":162,"page":36},"Vlastní rozšíření","\u002Fcs\u002Fcustom-extensions","cs\u002F09.custom-extensions",[163,167,171],{"title":164,"path":165,"stem":166,"navTitle":164},"Vlastní driver","\u002Fcs\u002Fcustom-extensions\u002Fcustom-driver","cs\u002F09.custom-extensions\u002F1.custom-driver",{"title":168,"path":169,"stem":170,"navTitle":168},"Vlastní protokol","\u002Fcs\u002Fcustom-extensions\u002Fcustom-protocol","cs\u002F09.custom-extensions\u002F2.custom-protocol",{"title":172,"path":173,"stem":174,"navTitle":172},"Vlastní Control","\u002Fcs\u002Fcustom-extensions\u002Fcustom-control","cs\u002F09.custom-extensions\u002F3.custom-control",{"title":176,"navTitle":15,"path":177,"stem":178,"children":179,"page":36},"Reference","\u002Fcs\u002Freference","cs\u002F10.reference",[180,185],{"title":181,"path":182,"stem":183,"navTitle":184},"Drivery, protokoly a controly","\u002Fcs\u002Freference\u002Fdrivers-protocols-controls","cs\u002F10.reference\u002F1.drivers-protocols-controls","Drivery, protokoly, controly",{"title":186,"path":187,"stem":188,"navTitle":186},"Řešení potíží","\u002Fcs\u002Freference\u002Ftroubleshooting","cs\u002F10.reference\u002F2.troubleshooting",{"id":190,"title":56,"body":191,"description":346,"extension":347,"meta":348,"navTitle":56,"navigation":349,"path":57,"seo":350,"stem":58,"__hash__":351},"docs_cs\u002Fcs\u002F03.connecting-a-device\u002F1.add-a-driver.md",{"type":192,"value":193,"toc":338},"minimark",[194,198,211,216,262,276,280,290,297,301,307,321,328,332],[195,196,56],"h1",{"id":197},"přidání-driveru",[199,200,201,205,206,210],"p",{},[202,203,204],"strong",{},"Driver"," je knihovna, která propojuje QENEX Suite s konkrétním hardwarem\nnebo komunikačním rozhraním — např. s TCP\u002FIP spojením nebo CAN adaptérem.\nDrivery jsou pluginy: aplikace je načítá ze složky ",[207,208,209],"code",{},"Drivers"," vedle\nQInsight.exe, takže je lze doplňovat i bez nové verze aplikace.",[212,213,215],"h2",{"id":214},"postup","Postup",[217,218,219,231,240,251],"ol",{},[220,221,222,223,226,227,230],"li",{},"V ribbon menu klikněte na ",[202,224,225],{},"Home → Project Configuration → Drivers",".\nOtevře se konfigurace projektu na sekci ",[202,228,229],{},"Drivers & Protocols",".",[220,232,233,234,236,237,230],{},"V levém sloupci ",[202,235,209],{}," vyberte z nabídky požadovaný driver\na klikněte na tlačítko ",[202,238,239],{},"+",[220,241,242,243,246,247,250],{},"Driver se přidá do seznamu. Ve sloupci ",[202,244,245],{},"Label"," si ho můžete pojmenovat,\nsloupce Name a Version jsou informativní. Checkbox ",[202,248,249],{},"Enabled"," určuje,\nzda se driver při spuštění použije.",[220,252,253,254,257,258,261],{},"V detailu driveru vyplňte pole ",[202,255,256],{},"Settings"," — konfigurační parametry ve\nformátu ",[207,259,260],{},"klíč=hodnota"," oddělené středníkem.",[199,263,264,271],{},[265,266],"img",{"alt":267,"className":268,"src":270},"Sekce Drivers & Protocols s přidaným driverem",[269],"img-light","\u002Fimg\u002FQInsight_tut_3_1_light.png",[265,272],{"alt":267,"className":273,"src":275},[274],"img-dark","\u002Fimg\u002FQInsight_tut_3_1_dark.png",[212,277,279],{"id":278},"příklad-tcp-client","Příklad: TCP Client",[281,282,287],"pre",{"className":283,"code":285,"language":286},[284],"language-text","ip=127.0.0.1;port=5000;connectionTimeoutMs=5000;reconnectTimeMs=1000;numberOfReconnections=3\n","text",[207,288,285],{"__ignoreMap":289},"",[199,291,292,293,296],{},"Driver ",[202,294,295],{},"TcpClientDriver"," se připojí jako klient na zadanou IP adresu\na port a čte data ze zařízení. Další parametry určují timeout připojení\na chování při výpadku (interval a počet pokusů o znovupřipojení).",[212,298,300],{"id":299},"příklad-peak-can","Příklad: PEAK CAN",[281,302,305],{"className":303,"code":304,"language":286},[284],"deviceId=1;bitrate=250000\n",[207,306,304],{"__ignoreMap":289},[199,308,292,309,312,313,316,317,320],{},[202,310,311],{},"PeakCANDriver"," komunikuje přes USB adaptér PEAK PCAN. Jedna\ninstance driveru odpovídá jednomu fyzickému adaptéru — vybírá se podle\n",[202,314,315],{},"Device ID"," (hexadecimálně, nastavené v adaptéru), takže konfigurace\npřežije přepojení do jiného USB portu. ",[207,318,319],{},"bitrate"," je rychlost CAN sběrnice\n(50 kbit\u002Fs až 1 Mbit\u002Fs).",[199,322,323,324,230],{},"Přehled všech dodávaných driverů a jejich parametrů najdete\nv ",[325,326,327],"a",{"href":182},"referenci",[212,329,331],{"id":330},"dále","Dále",[199,333,334,335,230],{},"Driver sám o sobě datům nerozumí — o jejich výklad se stará\n",[325,336,337],{"href":61},"protokol",{"title":289,"searchDepth":339,"depth":339,"links":340},3,[341,343,344,345],{"id":214,"depth":342,"text":215},2,{"id":278,"depth":342,"text":279},{"id":299,"depth":342,"text":300},{"id":330,"depth":342,"text":331},"Připojení hardwaru přes driver a jeho konfigurace.","md",{},true,{"title":56,"description":346},"MY3YfdmnKOUyQ1H6QuY8pwwO-alQMIKnNCFgFYvNB3o",[353,354],{"title":47,"path":48,"stem":49,"navTitle":47,"children":-1},{"title":60,"path":61,"stem":62,"navTitle":60,"children":-1},1783626657537]