ProjLib819v8110.zip (2.7 KB)
Hello,
Here is my issue. 8.1.9 and 8.1.10 gateways have the exact same PROJECT LIBRARYs.
I run some script in 8.1.9 through some PROJECT LIBRARYs.
It all executes.
Then I run the exact same in 8.1.10. The first time it executes, the script
just STOPS(does not go to exception trap inside function). It just STOPS, weird.
Then I call it a second time and the entire script executes.
I do not see what I am doing wrong…
I have attached the 2 PROJECT LIBRARY scripts:
package = aProjLib
script module = Ign
script module = Dates
I am testing this on a GATEWAY that has a DEVICE that is “connected”.
Here is what I am running in the script console on the GATEWAY:
llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
#just run this in the console
print ‘starting 8.1.9’
#choose a device on your gateway that is CONNECTED
sDevice = “TubeRfid1002”
print ‘BEFORE calling deviceConnected() from script CONSOLE’
bcon = aProjLib.Ign.deviceConnected(sDevice)
print ‘AFTER below is function in SCRIPT CONSOLE’
print ‘’
print ‘finished’
print ‘’
my script console output on 8.1.9:
my script console output on 8.1.9:
my script console output on 8.1.9:
starting 8.1.9
BEFORE calling deviceConnected() from script CONSOLE
in deviceConnected BEFORE call to aProjLib.Dates.secondsBetweenDates()
in secondsBetweenDates() function
in deviceConnected AFTER call to aProjLib.Dates.secondsBetweenDates()
AFTER below is function in SCRIPT CONSOLE
finished
my script console output on 8.1.10
my script console output on 8.1.10
my script console output on 8.1.10
starting 8.1.10
BEFORE calling deviceConnected() from script CONSOLE
in deviceConnected BEFORE call to aProjLib.Dates.secondsBetweenDates()
llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
Notice how the 8.1.10 only has a few lines printed out vs. 8.1.9
IF I just hit the EXECUTE button again on the 8.1.10, the output is the same as 8.1.9 (full output)
thank you