Announcement

Collapse
No announcement yet.

Drawing Charts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Drawing Charts

    Michael,
    WinXPPro, w/MS Java VM, DS9097, 1 combo Temp/Humidity 1 wire devices (so far). Charts for both devices can be seen with the 1wire java driver tool. There seems to be data in the MSCdatabase. However, can't seem to be able to draw any charts. Reinstalled ChartDirector just to be sure. I emailed you the database, temp.ini, and a sample full log file.
    Excerpt from sample log entry (debug turned on):

    mcsTemperature Debug~!~FormatTemperatureScreen Progress 0
    7/26/2003 9:42:12 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 1
    7/26/2003 9:42:12 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 2
    7/26/2003 9:42:12 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 3
    7/26/2003 9:42:12 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 10
    7/26/2003 9:42:12 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 11
    7/26/2003 9:42:20 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 0
    7/26/2003 9:42:20 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 1
    7/26/2003 9:42:20 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 2
    7/26/2003 9:42:20 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 3
    7/26/2003 9:42:20 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 4
    7/26/2003 9:42:20 AM~!~mcsTemperature~!~ BuildForecastTable: 3001, Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
    7/26/2003 9:42:20 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 5, Sensor Count=14
    7/26/2003 9:42:20 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 6 SELECT Avg(R1) AS Rave, Min(R1) AS Rmin, Max(R1) AS Rmax FROM tblTemperatureForecast WHERE SampleDate >=#2002-07-26 10:00# AND SampleDate < #2003-07-26 10:00# AND R1<>0 AND (not isNull(R1))
    7/26/2003 9:42:20 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 7, Device Type=0
    7/26/2003 9:42:20 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 6 SELECT Avg(R2) AS Rave, Min(R2) AS Rmin, Max(R2) AS Rmax FROM tblTemperatureForecast WHERE SampleDate >=#2002-07-26 10:00# AND SampleDate < #2003-07-26 10:00# AND R2<>0 AND (not isNull(R2))
    7/26/2003 9:42:20 AM~!~mcsTemperature Debug~!~FormatTemperatureScreen Progress 7, Device Type=0
    7/26/2003 9:42:20 AM~!~mcsTemperature~!~ FormatTemperatureScreen: Subscript out of range
    7/26/2003 9:42:37 AM~!~mcsTemperature Debug~!~Weather image size is 440x297
    7/26/2003 9:42:52 AM~!~mcsTemperature Debug~!~Database Timer=5
    7/26/2003 9:42:53 AM~!~mcsTemperature Debug~!~DS9097 Device = DS2438 BC00000015226426
    7/26/2003 9:42:54 AM~!~mcsTemperature Debug~!~setIO from 0 to 19
    7/26/2003 9:42:54 AM~!~mcsTemperature Debug~!~Calibrate 69.8 with bias 0
    7/26/2003 9:42:54 AM~!~mcsTemperature Debug~!~setIO from 0 to 19
    7/26/2003 9:42:54 AM~!~mcsTemperature Debug~!~DS9097 Device = DS1982 41000001888CC909
    7/26/2003 9:42:59 AM~!~mcsTemperature Debug~!~FormatGroupScreen Progress 0
    7/26/2003 9:42:59 AM~!~mcsTemperature Debug~!~FormatGroupScreen Progress 1
    7/26/2003 9:42:59 AM~!~mcsTemperature Debug~!~FormatGroupScreen Progress 2
    7/26/2003 9:42:59 AM~!~mcsTemperature Debug~!~FormatGroupScreen Progress 3
    7/26/2003 9:43:27 AM~!~MOTION~!~\\\\\\\\\\ Occupancy Sensor set to "occupied" - Vacant (00:02)
    7/26/2003 9:43:54 AM~!~mcsTemperature Debug~!~Database Timer=4
    7/26/2003 9:43:54 AM~!~mcsTemperature Debug~!~DS9097 Device = DS2438 BC00000015226426
    7/26/2003 9:43:55 AM~!~mcsTemperature Debug~!~setIO from 0 to 19
    7/26/2003 9:43:55 AM~!~mcsTemperature Debug~!~Calibrate 70.025 with bias 0
    7/26/2003 9:43:55 AM~!~mcsTemperature Debug~!~setIO from 0 to 19
    7/26/2003 9:43:55 AM~!~mcsTemperature Debug~!~DS9097 Device = DS1982 41000001888CC909

    Thanx for advising!
    David

    #2
    Ok, don't know what happened, but now the charting is working (after a reboot). I still get subscript out of range in the log though.
    ???

    Comment


      #3
      Well, one more reboot and now no subscript errors..weird.
      Maybe another reboot and I will have more features?

      Comment

      Working...
      X