NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

setup database dynamically

Hi Markus,

scrub that idea, it didnt work.

one thing I have noticed, when the execution is closed then the database is released. You dont have to exit TestStand or close the sequencefile.

Regards

Ray

Regards
Ray Farmer
0 Kudos
Message 11 of 13
(1,312 Views)
Hi all,
I think now that there is now easy solution to change the database within the UUT loop. You have to modify DBLog.dll to add an additional method for closing/resetting  the used database to achieve that. And that's outside my time and knowledge ressources. I'll have to  live with the workaround to provide an extra sequence for each database.
0 Kudos
Message 12 of 13
(1,302 Views)
The DBLog server adds a reference for the database connection to the execution and it is based on the name of he schema.  For example, look for a property named something like: "RunState.Execution.TSDatabaseLoggingDatalinkGeneric_Recordset__NI_". If you are running a single execution, I think that all that you need to do is release this property, i.e. set it to Nothing before starting the next loop.
Scott Richardson
https://testeract.com
0 Kudos
Message 13 of 13
(1,295 Views)