Jump to content

DSC Module - Changing Citadel Path of Variables Library


Recommended Posts

Hello

I am working on a DSC project and am having trouble to find a way to programatically change the citadel logging path of a shared variables libraray.

The application has to run as an Exe. So using the Project properties won't be a solution I guess.

I hope someone can help me on this.

Thanks

Dermot

Link to post
Share on other sites

QUOTE (D. Ackermann @ Dec 2 2008, 09:31 AM)

Hello

I am working on a DSC project and am having trouble to find a way to programatically change the citadel logging path of a shared variables libraray.

The application has to run as an Exe. So using the Project properties won't be a solution I guess.

I hope someone can help me on this.

Thanks

Dermot

After taking a quick glance at some of my code it looks like...

1) Stop logging

2) Use "Create Database.vi" to specify where the data should be stored.

3) Re-start logging.

Ben

Link to post
Share on other sites

QUOTE (D. Ackermann @ Dec 2 2008, 08:31 AM)

Hello

I am working on a DSC project and am having trouble to find a way to programatically change the citadel logging path of a shared variables libraray.

The application has to run as an Exe. So using the Project properties won't be a solution I guess.

I hope someone can help me on this.

Thanks

Dermot

Dermot - what is the overall big picture? Will this be programmatically changed periodically? Will you need to detach a database at the end of a test?

In my 8.5 DSC application, we first called "Delete Process" before we created the new database. We ran into a few issues that were mostly resolved. Later today I'll dig up the old code and see what else we did that may help you.

Make sure you thoroughly test this!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.