Jump to content

drjdpowell

Members
  • Posts

    1,971
  • Joined

  • Last visited

  • Days Won

    175

drjdpowell last won the day on October 4

drjdpowell had the most liked content!

Profile Information

  • Gender
    Male
  • Location
    Oxford, UK

LabVIEW Information

  • Version
    LabVIEW 2017
  • Since
    1999

Recent Profile Visitors

19,404 profile views

drjdpowell's Achievements

  1. I have published a 0.3.1 package on VIPM.io with Antoine's changes (LabVIEW 2017). Then I've accepted your Pull Requests and published a 0.4.0 version as well (LabVIEW 2019): https://www.vipm.io/package/jdp_science_postgresql/
  2. I think your second point is wrong; VIs without the front panel loaded don't use any resources. EXEs don't even include the code for those front panels.
  3. I think this is a Windows touch-screen behaviour, due to Windows using press-and-hold to give a right click. Windows waits for the release before sending "mouse down" so it can decide to make it a right click or not. It's annoying but I have not found a way around this.
  4. Note the WITHOUT ROWID keyword also, as that could make a significant performance improvement with this kind of table.
  5. A non-JSON option you could try is: CREATE TABLE TestData ( Channel, Time, Data, -- individual reading at Time for Channel PRIMARY KEY (Channel,Time) ) WITHOUT ROWID This is every reading sorted by a Primary Key that is Channel+Time. This makes looking up a specific channel in a specific Time Range fast. BTW, you don't need to make an index on a Primary Key; there is already an implicit index . You would select using something like: SELECT (Time/60)*60, Avg(Data) FROM TestData WHERE Channel=? AND TIME BETWEEN ? AND 1717606846 GROUP BY Time/60
  6. Why don't you just try it? Open your SQLite viewer app if choice and execute "SELECT * FROM sqlite_schema"
  7. You're looking for the sqlite-schema table: https://www.sqlite.org/schematab.html
  8. Yes, at some point I intend to make an interface that has "to JSON" and "from JSON" methods, that one can inherit from. But at the moment JSONtext is based in LabVIEW 2017.
  9. I will fix the inconsistance, either by making comlex numbers full not supported or fully supported.
  10. Not necessarily, but it is trickier than it looks because of those "multipoint paths" that unflatten does not support. A path like $.a.[new,old].b[4].c.d, for example. If all paths were straightforward like $.a.b.c.d then it would be easy. Although I use JSON for configuration, I'm not using it in the same way you are doing, so it hasn't motivated me to solve this issue. Sorry.
  11. See if "Unflatten JSONpath Array to Object" will do what you want. It will create the extra levels if needed.
  12. That vipm package seems to have gotten corrupted somehow. I'll contact NI about it. In the meantime, try getting it from here: https://forums.ni.com/t5/JDP-Science-Tools/Out-of-Memory-Error/m-p/4335019/highlight/true#M156
  13. Unable to install to LabVIEW 2023 (64-bit) or LabVIEW 2019 (64-bit) as VIPM doesn't think it is supported in LabVIEW 2023, not sure if this is true, or an oversight somewhere. It looks like people are actively commenting on it this year, so I just wonder if its my system specific. I did try downloading from NI, LAVA and VIPM.

    1. drjdpowell

      drjdpowell

      I think there might be a corruption of the vipm file.  I can't get the download to work even though the original I have installs fine.

    2. drjdpowell
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.