I have installed USB hid device and connected by barcode scanner by using the GETHID DEVICES the product id and vendor is obtaines and pasted in the HID Devices block but still the connection seems to be disconnected. Please help me....
here is my flow..
[{"id":"729f8468.b47dbc","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"632a3966.4e64e8","type":"inject","z":"729f8468.b47dbc","name":"","repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":180,"y":140,"wires":[["14f877c5.78cd48"]]},{"id":"167e060f.1502ba","type":"debug","z":"729f8468.b47dbc","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":570,"y":140,"wires":[]},{"id":"14f877c5.78cd48","type":"getHIDdevices","z":"729f8468.b47dbc","name":"Get USB Device IDs","x":380,"y":120,"wires":[["167e060f.1502ba"]]},{"id":"500d4560.c8462c","type":"HIDdevice","z":"729f8468.b47dbc","connection":"12763923.7040f7","name":"Barcode Scanner","x":110,"y":220,"wires":[["5d269865.5134c8"],[]]},{"id":"5d269865.5134c8","type":"join","z":"729f8468.b47dbc","name":"Create Array","mode":"custom","build":"array","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"1","count":"","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":310,"y":220,"wires":[["d0e87266.42154"]]},{"id":"d0e87266.42154","type":"function","z":"729f8468.b47dbc","name":"extract barcode","func":"var data = ''; // initialize output string\nfor(i = 0; i < msg.payload.length - 2; i+=2) { // get every other character for 1D barcodes\n next = msg.payload[i][3] - 29; // offset for integer numbers\n if(next < 0) next = String.fromCharCode(next + 122); // offset for ascii characters\n if(next == 15) data += ' '; // handle any space characters\n else if(next == 10) data += 0; // 10 is used in place of zero, since 0 means \"nothing\"\n else data += next;\n}\nreturn { payload : data };","outputs":1,"noerr":0,"x":480,"y":220,"wires":[["64f6799b.cbd528"]]},{"id":"64f6799b.cbd528","type":"debug","z":"729f8468.b47dbc","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":650,"y":220,"wires":[]},{"id":"12763923.7040f7","type":"HIDConfig","vid":"1112","pid":"58","name":"Inateck BCST-33 1D Barcode Scanner"}]