Skip to content

Parameter Database #778

Jun 25, 2021 · 8 comments · 19 replies
Discussion options

You must be logged in to vote

To answer your questions:

1. PrmDb is meant to store values persistently through a reboot. It allows one to changed the code's behavior without requiring a software update or repeated commanding. The PrmDb instance can serve all the components.
2. See here for some tutorials that use it.
3. You can get an initial database by issuing the _PRM_SET and then _PRM_SAVE for each of your components. That sends the values to the memory copy in PrmDb. Then issue the PRM_SAVE_FILE to save them to a file. The next time you boots, those values will be restored from disk.

Replies: 8 comments 19 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@sheershak-agarwal
Comment options

@sheershak-agarwal
Comment options

@timcanham
Comment options

@sheershak-agarwal
Comment options

@timcanham
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by LeStarch
Comment options

You must be logged in to vote
6 replies
@maxfirefly
Comment options

@maxfirefly
Comment options

@timcanham
Comment options

@maxfirefly
Comment options

@timcanham
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@thomas-bc
Comment options

@maxfirefly
Comment options

@thomas-bc
Comment options

@maxfirefly
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants