Closed jakehawkes closed 9 years ago
Can you post some code pieces?
Sure thing. It is the "example_02" that I'm trying to run via a local WAMP install.
<!doctype html>
My Chrome javascript console is saying that line #1 of modbus.min.js
Am I using the wrong version of jquery? I'm not using the jquery included in the examples, because Chrome was complaining about a missing ".map" file.
-J
jakehawkes@computer.org +1 587 225 2276
On Thu, Aug 27, 2015 at 1:27 PM, Cloud Automation notifications@github.com wrote:
Can you post some code pieces?
— Reply to this email directly or view it on GitHub https://github.com/Cloud-Automation/chrome-modbus/issues/1#issuecomment-135529971 .
You need to run it as a chrome app or chrome extension. Otherwise there is no global chrome interface. That's why it is undefined.
sheepish sorry, I guessed I missed that critical piece of info.... Are you aware of any cross-browser equivalent?
jakehawkes@computer.org +1 587 225 2276
On Thu, Aug 27, 2015 at 2:16 PM, Cloud Automation notifications@github.com wrote:
You need to run it as a chrome app or chrome extension. Otherwise there is no global chrome interface. That's why it is undefined.
— Reply to this email directly or view it on GitHub https://github.com/Cloud-Automation/chrome-modbus/issues/1#issuecomment-135540145 .
You mean like for a Firefox app? Nope, but feel free to fork :-)
Error is: Uncaught TypeError: Cannot read property 'tcp' of undefinedmodbus.min.js:1 ModbusClientmain.js:17 (anonymous function)main.js:103 (anonymous function)
I'm on Windows/cygwin, with a fresh install of bower and chrome-modbus, running in Chrome Version 39.0.2171.95 m