Intro to SQLite in LabVIEW

Поделиться
HTML-код
  • Опубликовано: 19 сен 2024
  • Quick introduction to “SQLite Library” for LabVIEW.
    Support: lavag.org/topi...
    Package: www.vipm.io/pa...
    Talk on advanced techniques: • Application Design Aro...

Комментарии • 19

  • @gerwinverkerk
    @gerwinverkerk 10 часов назад

    Amazing, thank you for creating this library!

  • @emmanuelberaud8213
    @emmanuelberaud8213 7 лет назад

    Great introductory video to get started with SQLite. Thanks!

  • @irwynptytzelow
    @irwynptytzelow 2 года назад

    Great library, thank you!

  • @gerardjohns8185
    @gerardjohns8185 5 лет назад

    Great demo.

  • @talatidipak
    @talatidipak 2 года назад

    SIR , Please upload oops from scratch in labview....thanks in advance

  • @harrisonwilterdink829
    @harrisonwilterdink829 6 лет назад +1

    What is the black magic you used to re-size the For loop at 3:20? I have never seen that before!

    • @drjdpowell
      @drjdpowell  6 лет назад

      That’s just mouse-drag while holding the ctrl key. In the latest LabVIEW versions you can also shrink things by holding ctrl and alt.

  • @HeroEngineering
    @HeroEngineering 5 лет назад

    Great work! I'm trying to compare the speed of SQLite vs just reading through CSV and I expected SQLite to be a lot quicker than reading through the CSV. Investigating a little more, is it because the SQLite is going through an intermediary DLL to access the database?

    • @drjdpowell
      @drjdpowell  5 лет назад

      Speed advantages come in through rapid lookup, rather than straight reading of everything.

    • @HeroEngineering
      @HeroEngineering 5 лет назад

      @@drjdpowell thanks for the reply! one more question - does the library support a call to "Export to CSV" programatically?

  • @thedeadguyzero
    @thedeadguyzero 6 лет назад

    Hello James. I've been trying to make my own kind of "write to database" from the templates shown in the video. Is there any way to "drop table if exist" - kind of command? I want to place it as a subVI inside a while loop, and i can't seem to figure out how not to have to save a new database everytime. Is that possible?

    • @drjdpowell
      @drjdpowell  6 лет назад

      Yes, see www.sqlite.org/lang_droptable.html

    • @thedeadguyzero
      @thedeadguyzero 6 лет назад

      Thank you for the answer. I will give it a try.

    • @thedeadguyzero
      @thedeadguyzero 6 лет назад

      Oh i'm sorry James. I guess i was tired yesterday when i wrote to you. I did not mean drop the table, but drop the database. So say i just want to create and save my database only once, and afterwards just keep writing to it, without the need to define the path everytime. Is that possible?

  • @VishnuPrasanthEr
    @VishnuPrasanthEr 7 лет назад

    Great job!! Doubt : Can we convert XML files into SQL file using this library?

    • @drjdpowell
      @drjdpowell  7 лет назад

      XML? No. But if you can convert your XML to JSON, then you can use the JSON1 extension to SQLite to input the JSON directly (sqlite.org/json1.html). You can then run SQL queries on the JSON.

    • @VishnuPrasanthEr
      @VishnuPrasanthEr 7 лет назад

      Thanks James!! I tried to deply the code in RT Targe(Pharlap OS in PXI with LV 2015)t, I am getting a error code:7 File not found. But the code works fine in Host(Windows PC with LV 2015). Any solution?.

    • @drjdpowell
      @drjdpowell  7 лет назад

      The LabVIEW package comes with a Windows-compiled dll. It will also run on LinuxRT if you install SQLite separately using opkg. But I don’t know of anyone who has run it on Pharlap. You would need to compile SQLite for Pharlap.