Create a logging set programatically


willdrysdale
 Share

Recommended Posts

Hi, 

I would like to be able to create a logging set programmatically - perhaps something similar to how channel.Add() behaves. Is this possible within DaqFactory?

I have found in the manual how to assign the various parameters to a logging set in the manual, but not how to initialise it to begin with. 

My goal with this is to allow logging via a function call, so I don't really want to have to initialise the logging set via the UI!

Thanks very much for your help,

Will

Link to comment
Share on other sites

You can't create an actual logging set dynamically, though you can edit one with script.  However, you can implement your own logging using the File. functions that give you complete, lower level access to the file system.  Using these functions you can create/open a file and read/write to it however you need to.  These functions are all described in section 9.9 of the User's guide. 

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.

 Share