Joel,
Thank You. That puts me on the right track.
Paul
Joel,
Thank You. That puts me on the right track.
Paul
scriptVar = scriptVar + 1 ;
Joel,
Below is the export of the point.
{
"dataPoints":[
{
"loggingType":"ON_CHANGE",
"intervalLoggingPeriodType":"MINUTES",
"intervalLoggingType":"INSTANT",
"purgeType":"YEARS",
"pointLocator":{
"dataType":"NUMERIC",
"settable":true,
"varName":"scriptVar"
},
"eventDetectors":[
],
"engineeringUnits":"No units",
"plotType":"STEP",
"chartColour":null,
"chartRenderer":null,
"dataSourceXid":"DS_240092",
"defaultCacheSize":1,
"deviceName":"testScript",
"discardExtremeValues":false,
"discardHighLimit":1.7976931348623157E308,
"discardLowLimit":-1.7976931348623157E308,
"enabled":true,
"intervalLoggingPeriod":15,
"name":"scriptVar",
"purgeOverride":true,
"purgePeriod":1,
"textRenderer":{
"type":"PLAIN",
"suffix":""
},
"tolerance":0.0,
"xid":"DP_472381"
}
]
}
Below is the export of the script data source.
{
"dataSources":[
{
"xid":"DS_240092",
"type":"SCRIPTING",
"alarmLevels":{
"SCRIPT_ERROR":"URGENT",
"DATA_TYPE_ERROR":"URGENT",
"LOG_ERROR":"URGENT"
},
"purgeType":"YEARS",
"context":[
{
"dataPointXid":"DP_320492",
"varName":"p7"
}
],
"logLevel":"DEBUG",
"cronPattern":"0 * * * * ?",
"executionDelaySeconds":0,
"script":"scriptVar = scriptVar + 1 ;",
"enabled":true,
"name":"testScript",
"purgeOverride":true,
"purgePeriod":1
}
]
}
I have created a new script data source with a new point. I have the script scheduled to run every minute but can not get the point to update the value. I am new to this system and am just trying to figure out the capabilities at this time. I am monitoring my home with the system as a test site. I do not get any errors in the script module as there is only 1 line of code where I am incrementing the point value by adding 1 to it. When I view the point in the Watchers list, it never updates. I have set the point to an odd value from the watchers list but it doesn't change. Is there any documentation available that may help me?
I have created a new script data source with a new point. I have the script scheduled to run every minute but can not get the point to update the value. I am new to this system and am just trying to figure out the capabilities at this time. I am monitoring my home with the system as a test site. I do not get any errors in the script module as there is only 1 line of code where I am incrementing the point value by adding 1 to it. When I view the point in the Watchers list, it never updates. I have set the point to an odd value from the watchers list but it doesn't change. Is there any documentation available that may help me?
I installed Mango on a Windows 7 64 bit platform and can not seem to get email to work. I get the message that the test email was sent, however ir appears that it never is really sent. I also got a failure messgae on the mailing list when I tried to send a test message. Could not find ftl.testEmail.ftl. I copied the file testEmail.ftl and renamed it to ftl.teseEmail.ftl and then it says it sent the email, however it never sends it. Any ideas on what I missed?
I installed Mango on a Windows 7 64 bit platform and can not seem to get email to work. I get the message that the test email was sent, however ir appears that it never is really sent. I also got a failure messgae on the mailing list when I tried to send a test message. Could not find ftl.testEmail.ftl. I copied the file testEmail.ftl and renamed it to ftl.teseEmail.ftl and then it says it sent the email, however it never sends it. Any ideas on what I missed?
If you are trying to discover devices on remote networks, other subnets, you will need to have BBMDs configured on each network or create some code to register as a foreign device to some existing device on the other subnet, BACnet uses broadcasts for its discovery. There is information on the BACnet.org site about this.