OK, I finally have LV 8.20 here and can test. Unfortunately your solution doesn't seem to work like I'd like to, but I think I found another solution.
Using the Variable Manager you can nicely create new processes and variables and set up all things
but which database to log to. What I tried to do now, is to create a small application that binds another database to a exisiting process. Unfortunately it isn't as easy...
You can only define a database for a process on creating a new process using the DSC VIs! (Or did I miss something? I even had a look at the low level VIs but didn't find anything.)
So I did it the hard way:
- choose a process
- get a list of all defined variables
- get all the properties of the variables and store them
- delete the process
- create a new process with the same name and attach it to the wanted database
- recreate all variables
I have some "proof of concept" code up and running, even though I don't think this is the most elegant solution. Now I'll implement a nice interface where I can save the setup to an XML as well...
But maybe there's even a simpler way like some DLL call to attach a database to a existing process?
And please NI, add this feature to the next version! It's just a settings dialog for each process...
Cheers,
Carsten