Announcement

Collapse
No announcement yet.

Jon00 Virtual device graphing utility

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

    Originally posted by bdraper View Post
    I have not been able to find DecimalPlaces in the manual. I use the Data1Multiplier through Data10Multiplier to store the data with or without decimal places. See page 19 and 20 in the manual.

    This is what is looks like in in the application.

    Click image for larger version

Name:	Annotation 2019-05-19 071133.jpg
Views:	235
Size:	129.9 KB
ID:	1305877
    Billy, I think you are getting confused with my other charting package. This relates to the simple charting as a virtual device.
    Jon

    Comment


      Originally posted by shodge View Post
      Jon,

      Having a issue with:

      DecimalPlaces=1

      having no effect. I would expect the graphs I put this in, only will show 1 number to the right of the decimal point. (i.e. 74.1), Instead I get the default of 2 decimals on all graphs regardless of the 'DecimalPlaces directive.

      Any way to debug this?

      -Stan
      Sorry, that entry was left in the documentation from the HS2 version. The HS3 script does not have that setting....
      Jon

      Comment


        Originally posted by jon00 View Post

        Billy, I think you are getting confused with my other charting package. This relates to the simple charting as a virtual device.
        LOL... sorry for any confusion. Sometimes I get the names confused on these two packages. I use them both extensively, by now I would have thought I had sorted it all out...

        Billy Draper

        Comment


          Hi Jon,

          I'm trying to load graphdata using the Data=$GVD:<global variable name> directive. I get the following error when loading the graph data.

          Code:
          Jon00_VDGraphError within Sub Main1 processing Graph1 at block 2 (Method 'System.String[].Get' not found.)
          I'm using your example script to load the data into a globalvar. That seems to work fine. no errors. This is the code:
          Sub Main (ByVal Parm As Object)
          hs.createvar("mygraphdata1")
          Dim data(1) As String
          data(0)="12.9;16.8;17.4;9.6;13;18.9;18.2;17.7;17.2;14.9;13.6 ;20.1;14.4;14.4;14.4;14.4;14.4;14.4;14.4;14.4;14.4;14.4;14.4 ;14.4;14.4;14.4;14.4;14.4;10;7;12.4;16.5;10;11.5;8.6;3.7;3.9 "
          data(1)="6/16/2019 10:03:00 PM;6/17/2019 10:03:30 PM;6/18/2019 10:04:00 PM;6/19/2019 10:04:01 PM;6/20/2019 10:04:30 PM;6/21/2019 10:04:30 PM;6/22/2019 10:05:00 PM;6/23/2019 10:04:59 PM;6/24/2019 10:05:00 PM;6/25/2019 10:05:00 PM;6/26/2019 10:05:01 PM;6/27/2019 10:05:00 PM;6/28/2019 10:05:00 PM;6/29/2019 10:05:00 PM;6/30/2019 10:04:30 PM;7/01/2019 10:04:30 PM;7/02/2019 10:04:00 PM;7/03/2019 10:04:00 PM;7/04/2019 10:03:30 PM;7/05/2019 10:03:00 PM;7/06/2019 10:02:00 PM;7/07/2019 10:02:00 PM;7/08/2019 10:01:30 PM;7/09/2019 10:00:30 PM;7/10/2019 10:00:01 PM;7/11/2019 9:59:30 PM;7/12/2019 9:58:30 PM;7/13/2019 9:56:56 PM;7/14/2019 9:56:30 PM;7/15/2019 9:56:00 PM;7/16/2019 9:55:00 PM;7/17/2019 9:54:00 PM;7/18/2019 9:53:00 PM;7/19/2019 9:51:30 PM;7/20/2019 9:55:53 PM;7/21/2019 11:11:37 AM;7/21/2019 11:16:23 AM"
          hs.SaveVar("mygraphdata1",data)
          End sub
          I'm running hs3linux 351. I hope the error is not related to mono or linux version :-)

          Do you have any suggestions?
          And thank you for providing us your usefull scripts

          Zigmund

          Comment


            It does look like a mono issue...unfortunately I have nothing setup for Linux at the moment so may take a few days before I can look at this.

            Also, the date/time and decimal notation being entered should match that of your country. Is the above correct?
            Jon

            Comment


              Originally posted by zigmund View Post
              Hi Jon,

              I'm trying to load graphdata using the Data=$GVD:<global variable name> directive. I get the following error when loading the graph data.

              Code:
              Jon00_VDGraphError within Sub Main1 processing Graph1 at block 2 (Method 'System.String[].Get' not found.)
              I'm using your example script to load the data into a globalvar. That seems to work fine. no errors. This is the code:


              I'm running hs3linux 351. I hope the error is not related to mono or linux version :-)

              Do you have any suggestions?
              And thank you for providing us your usefull scripts

              Zigmund
              Please try V1.0.7 (on my site) to see if this resolves your issue.
              Jon

              Comment


                Thank you Jon. It does. Problem solved!

                Comment


                  I have moved to HS4 Beta. I am using the virtual device graphing script but since moving to HS4, the graphs are now displaying centered as below.
                  Click image for larger version  Name:	Graph.PNG Views:	0 Size:	46.6 KB ID:	1379856

                  Appreciate any help to resolve this.
                  Last edited by ozinnewy; April 21, 2020, 06:37 PM. Reason: typo

                  Comment


                    Yes, I'm aware of this issue. It is on the list of (many) things to do and will try and take a look over the next few days.
                    Jon

                    Comment


                      Please try version 1.0.8 which should now be compatible with both HS3 & HS4.

                      Please let me know if it corrects your issue.
                      Jon

                      Comment


                        Thanks Jon for getting to this so soon. Have installed the new version and has fixed the issue.
                        Click image for larger version

Name:	Graph1.PNG
Views:	65
Size:	43.7 KB
ID:	1380148

                        Comment


                          Hi,

                          I decided to give this a go on HS4 V4.1.9.0. running on Windows 10.
                          The install appeared to go OK and I got to demo graphs.
                          However, when I tried to get to the setup page I get the HS headers but nothing on the page.
                          In the log I see;
                          24/11/2020 11:32:50

                          HomeSeer
                          Error
                          Compiling script Jon00DBSetupASP.vben: Type 'FontFamily' is not defined.
                          24/11/2020 11:32:50

                          HomeSeer
                          Error
                          Compiling script Jon00DBSetupASP.vben: Type 'InstalledFontCollection' is not defined.
                          24/11/2020 11:32:50

                          HomeSeer
                          Error
                          Compiling script Jon00DBSetupASP.vben: Namespace or type specified in the Imports 'System.Drawing.Text' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
                          24/11/2020 11:32:50

                          HomeSeer
                          Error
                          Compiling script Jon00DBSetupASP.vben: Namespace or type specified in the Imports 'System.Core' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
                          24/11/2020 11:31:44

                          HomeSeer
                          Error
                          Compiling script Jon00DBSetupASP.vben: Type 'FontFamily' is not defined.
                          24/11/2020 11:31:44

                          HomeSeer
                          Error
                          Compiling script Jon00DBSetupASP.vben: Type 'InstalledFontCollection' is not defined.
                          24/11/2020 11:31:44

                          HomeSeer
                          Error
                          Compiling script Jon00DBSetupASP.vben: Namespace or type specified in the Imports 'System.Drawing.Text' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
                          24/11/2020 11:31:44

                          HomeSeer
                          Error
                          Compiling script Jon00DBSetupASP.vben: Namespace or type specified in the Imports 'System.Core' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
                          24/11/2020 11:31:18

                          HomeSeer
                          Error
                          Compiling script Jon00DBSetupASP.vben: Type 'FontFamily' is not defined.
                          24/11/2020 11:31:18

                          HomeSeer
                          Error
                          Compiling script Jon00DBSetupASP.vben: Type 'InstalledFontCollection' is not defined.
                          24/11/2020 11:31:18

                          HomeSeer
                          Error
                          Compiling script Jon00DBSetupASP.vben: Namespace or type specified in the Imports 'System.Drawing.Text' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
                          24/11/2020 11:31:18

                          HomeSeer
                          Error
                          Compiling script Jon00DBSetupASP.vben: Namespace or type specified in the Imports 'System.Core' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

                          Anybody got any suggestions?

                          Comment


                            Did you add the ScriptingReferences entry with Homeseer shut down (page 3 in the docs)?

                            P.S. - You posted on the wrong forum. Your issue refers to here: https://forums.homeseer.com/forum/3r...r-3-homeseer-4
                            Jon

                            Comment

                            Working...
                            X