willdrysdale Posted March 8, 2022 Share Posted March 8, 2022 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 Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted March 8, 2022 Share Posted March 8, 2022 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.