From 089b9de297b9898591fcb26b47644a1fb3fca499 Mon Sep 17 00:00:00 2001 From: Patrick McDonagh Date: Fri, 22 Jan 2016 18:04:29 -0600 Subject: [PATCH] Prepare files for test device --- python/tagserver.py | 2 +- www/functions_SQLite.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/tagserver.py b/python/tagserver.py index d0140e9..48b7a18 100644 --- a/python/tagserver.py +++ b/python/tagserver.py @@ -32,7 +32,7 @@ def main(): db.commit() db.close() - PLC_IP_ADDRESS = "192.168.1.10" # MAKE THIS A db VALUE + PLC_IP_ADDRESS = "10.10.10.3" # MAKE THIS A db VALUE scan_rate = 10 tagList = []; diff --git a/www/functions_SQLite.js b/www/functions_SQLite.js index 452eef7..6d9e2d5 100644 --- a/www/functions_SQLite.js +++ b/www/functions_SQLite.js @@ -1,4 +1,4 @@ -var dbFile = "/mnt/usb/data.db" +var dbFile = "/usr/db/data.db" // app.get('/json/add/:tag', fns.addTag); // Adds a tag to the scan list // app.get('/json/remove/:tag', fns.removeTag); // Removes a tag from the scan list // app.get('/json/val/:tag', fns.latestTagValue); // Gets the latest value of a single tag