JBower Posted January 9, 2020 Share Posted January 9, 2020 Using the Express version, we're trying to log a sequence of strings which are the output of several analyzers. We have set up Devices, Communications (serial by TCP and RS232), and Protocols, and loaded these into Channels at 1-sec intervals and various offsets. When we track each channel through the Comm Monitor, we see the proper data string coming in for each Channel. We then added a Logging Set: ASCII delimited with a file name: D:\TestData\TestData.DAT. Note that DAQFactory is running from: C:\DAQFactory\. In the logging set setup, we moved all available Channels to the Channels to Log Table and set up the interval and delimiter in the Details tab. We then went to the Logging Set Summary and clicked Begin. The Status for the Logging set reads 'Running', but no file is generated and nothing is apparently being logged. Seems simple, but we can't get it to work. Any thoughts or help would be greatly appreciated! ____________________________________________ Additional Info/Example output: Device1/Channel 1/COM4 - Tx (DateTime): GetMyData\13\10 Rx (DateTime): Date1,1,2,3,5 Device2/Channel 2/COM5 Tx (DateTime): GetMoreData\13\10 Rx (DateTime): Date2,8,13,21,34 Desired log from DAQFactory with $%$ (or other) as custom delimiter: NewDateTime$%$Date1,1,2,3,5$%$Date2,8,13,21,34$%$ Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted January 10, 2020 Share Posted January 10, 2020 It could be a number of things. Any chance you could post or email us your ctl doc so I can see how you have things setup? Quote Link to comment Share on other sites More sharing options...
JBower Posted January 10, 2020 Author Share Posted January 10, 2020 Thanks for the response! Attaching our test .CTL file we've been playing with. Here are a few things we've tried since the initial post, none of which have resolved the problem: Storing the log file to different drives and directories, different naming conventions, running DAQFactory as Admin. Appreciate you taking a look! AMSP_Sprinter.ctl Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted January 14, 2020 Share Posted January 14, 2020 It worked fine for me when I changed the channels to Test channels. One thing to note, while the logging set is running, DAQFactory keeps the file open. Because of the way Windows caches to disk, it can appear that the file is getting no data until Windows writes the cache to disk. If you quit DAQFactory, or change the logging file name, the file is closed and then the data logged can be viewed. I also would not use Auto-Split files. This is a largely deprecated feature. If you want to split your files, put date specifiers in your file name. So for example: D:\DAQFactory\TestData_%y%m%d_%H.DAT This would create a new file every hour. 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.