[ { "id": "6227e8ba8dedaa74", "type": "OpcUa-Method", "z": "070a31134aa2a454", "endpoint": "cebbb9db44969334", "objectId": "", "methodId": "", "name": "", "inputArguments": [], "outputArguments": [], "arg0name": "", "arg0type": "", "arg0typeid": "", "arg0value": "", "arg1name": "", "arg1type": "", "arg1typeid": "", "arg1value": "", "arg2name": "", "arg2type": "", "arg2typeid": "", "arg2value": "", "out0name": "", "out0type": "", "out0typeid": "", "out0value": "", "x": 560, "y": 760, "wires": [ [ "db56716c79064173" ] ] }, { "id": "9dd1732527fb0555", "type": "function", "z": "070a31134aa2a454", "name": "startSample", "func": "let sampleToRun = { \n SampleName: \"Sample1\",\n SamplePosition: {\n Row: 'Y',\n Column: 1 \n }, \n CellType: {\n CellTypeName: \"BCI Default\",\n // MinDiameter:0,\n // MaxDiameter:0,\n // NumImages:0,\n // CellSharpness:0,\n // MinCircularity:0,\n // DeclusterDegree:'0 None',\n },\n Dilution: 1,\n // SampleUuid: '{00000000-0000-0000-0000-000000000000}',\n // WashType: '0',\n}\n\n\nmsg.inputArguments = [\n { \"dataType\": \"ExtensionObject\", \"value\": sampleToRun }\n]\nmsg.objectId = 'ns=2;i=15309'\nmsg.methodId = 'ns=2;i=15310'\n\nreturn msg\n", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 330, "y": 760, "wires": [ [ "6227e8ba8dedaa74", "a516fafdc5b529b7" ] ] }, { "id": "c4f5f3565bae852c", "type": "inject", "z": "070a31134aa2a454", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 170, "y": 760, "wires": [ [ "9dd1732527fb0555" ] ] }, { "id": "db56716c79064173", "type": "debug", "z": "070a31134aa2a454", "name": "debug 1", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 760, "y": 760, "wires": [] }, { "id": "87893ef028e4f256", "type": "function", "z": "070a31134aa2a454", "name": "lock", "func": "// let sampleSetToRun = {}\n// sampleSetToRun.SampleSetName = 'PITEST'\n// sampleSetToRun.Samples = []\n// let SampleName = 'Ebert'\n// let CellType = {\n// CellTypeName: 'BCI Default'\n// }\n// let Dilution = 1\n// let SamplePosition = {\n// Row: 'A',\n// Column: '7'\n// }\n// let SaveEveryNthImage = 1\n\n// sampleSetToRun.Samples.push(SampleName)\n// sampleSetToRun.Samples.push(CellType)\n// sampleSetToRun.Samples.push(Dilution)\n// sampleSetToRun.Samples.push(SamplePosition)\n// sampleSetToRun.Samples.push(SaveEveryNthImage)\n\n// msg.inputArguments = [\n// { dataType: \"ExtensionObject\", value: sampleSetToRun }\n// ]\nmsg.objectId = 'ns=2;i=15272'\nmsg.methodId = 'ns=2;i=15273'\n\nreturn msg\n", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 350, "y": 800, "wires": [ [ "6227e8ba8dedaa74" ] ] }, { "id": "ffc87902c8034c62", "type": "inject", "z": "070a31134aa2a454", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 170, "y": 800, "wires": [ [ "87893ef028e4f256" ] ] }, { "id": "b77601b198a916ef", "type": "function", "z": "070a31134aa2a454", "name": "unlock", "func": "// let sampleSetToRun = {}\n// sampleSetToRun.SampleSetName = 'PITEST'\n// sampleSetToRun.Samples = []\n// let SampleName = 'Ebert'\n// let CellType = {\n// CellTypeName: 'BCI Default'\n// }\n// let Dilution = 1\n// let SamplePosition = {\n// Row: 'A',\n// Column: '7'\n// }\n// let SaveEveryNthImage = 1\n\n// sampleSetToRun.Samples.push(SampleName)\n// sampleSetToRun.Samples.push(CellType)\n// sampleSetToRun.Samples.push(Dilution)\n// sampleSetToRun.Samples.push(SamplePosition)\n// sampleSetToRun.Samples.push(SaveEveryNthImage)\n\n// msg.inputArguments = [\n// { dataType: \"ExtensionObject\", value: sampleSetToRun }\n// ]\nmsg.objectId = 'ns=2;i=15272'\nmsg.methodId = 'ns=2;i=15275'\n\nreturn msg\n", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 350, "y": 840, "wires": [ [ "6227e8ba8dedaa74" ] ] }, { "id": "fb04ea9eb57e5e9a", "type": "inject", "z": "070a31134aa2a454", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 170, "y": 840, "wires": [ [ "b77601b198a916ef" ] ] }, { "id": "a516fafdc5b529b7", "type": "debug", "z": "070a31134aa2a454", "name": "debug 2", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 540, "y": 700, "wires": [] }, { "id": "f25ee577b4f9662b", "type": "function", "z": "070a31134aa2a454", "name": "startSampleToRun", "func": "let sampleSetToRun = {\n SampleSetName: \"SampleSet_001\",\n Samples: [\n { SampleName: \"Sample1\", SamplePosition: { Row: 'A', Column: 3 }, CellTypeName: \"BCI Default\", Dilution: 1, SaveEveryNthImage: 1 }\n // Add more samples as needed\n ]\n}\n\n\nmsg.inputArguments = [\n { \"dataType\": \"ExtensionObject\", \"value\": sampleSetToRun }\n]\nmsg.objectId = 'ns=2;i=15309'\nmsg.methodId = 'ns=2;i=15313'\n\nreturn msg\n", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 310, "y": 680, "wires": [ [] ] }, { "id": "cebbb9db44969334", "type": "OpcUa-Endpoint", "endpoint": "opc.tcp://127.0.0.1:62641", "secpol": "Basic256Sha256", "secmode": "SignAndEncrypt", "none": false, "login": true, "usercert": false, "usercertificate": "", "userprivatekey": "" } ]