12-07-2021 04:23 PM
Hello, I want to extract various data that have been logged with Citadel. It's easy to attach each individual database, create a trace and export what I need. However, I have to do this manually for hundreds of databases. So I was wondering if there is a way to automate a sequence like this:
- attach a database at a known location
- enter trace parameters
- export results in a text format to a given location
- repeat
I know that there is a VI that can read a trace from a database, and I can parse the output of that, so as a last resort I can write some code that does that. But I was hoping I can tell NI MAX to run a script that tells it what and how to do it.
Many thanks!
Solved! Go to Solution.
12-07-2021 04:42 PM - edited 12-07-2021 04:42 PM
Disclaimer - I don't know DSC or Citadel, just googled and this article content seems to match some of your requirements.
You be the judge - whether this is enough to point you in the right direction or wait until someone who knows the answer
https://www.ni.com/en-us/innovations/white-papers/11/retrieving-data-from-a-citadel-database.html
12-08-2021 11:15 AM
Thank you! I did read that white paper, and that's where I learned about the built-in VIs to read a trace, etc. I'm leaning towards just writing a VI to read the databases and export the data in the way I want it. I was hoping that this all could be scripted in NI MAX.