User Tools

Site Tools


code:open-source:hse-db:faq

03 FAQ

Upgrade Instructions


How can I encrypt my credentials in the config file?

  • read about AES encryption
  • create a subclass of DB-Interface
  • add decryption before calling the parent's Init method

Advanced usage in subVI

If you want to access a database from a SubVI of a larger DQMH module, but you don't want to start the entire module, there's an easy way to get a DB-Connector running in the SubVI without starting the whole project:

  1. Configure DB-Connector in your project
  2. Open “Test DB-Connector.vi” and run
  3. Press “Run New Module Instance”
  4. Your SubVI should already look somewhat like this:
  5. Copy value from “Active Modules” to your SubVI “DB Module ID” front panel element and run. The DQMH request VIs send commands to the running instance of DB-Connector
  6. When done, use “Stop Module Instance” in DB-Connector and close your SubVI.

code/open-source/hse-db/faq.txt · Last modified: 2024/02/09 15:14 by alexander.elbert