07-14-2021 01:17 PM
I'm working with FlexLogger 2021 / SystemLink 2021.
I have SystemLink running on Computer A
FlexLogger running on Computer B
Computer B is set up as a SystemLink Client for A
According to this announcement:
https://forums.ni.com/t5/FlexLogger/Announcing-FlexLogger-2020-R3/m-p/4069378
and the option in the "Project Settings" I *thought* that FlexLogger could automatically submit files to the SystemLink File Ingestion Service.
When I check the box "Publish channels and files remotely" the channels do indeed show up as tags in SystemLink (great!)
However the files are not being ingested in SystemLink.
Are there additional settings I have to toggle here? or am I missing something else? or was this feature removed?
Thanks in advance
07-16-2021 08:40 AM - edited 07-16-2021 08:42 AM
Once the FlexLogger system correctly has the SystemLink Client connected to the Server:
I would expect the files to be copied to the server as well. You may want to try checking all the options in FlexLogger related to publishing tags (i.e. publish them locally as well). I think this may have been something got fixed in a later version. You also need to make sure you press the "Run" button in FlexLogger because this is what starts logging data to a file. Once you stop logging data, the file will be created and then copied to SystemLink if you have the option selected. The channel values and tags values update without having to log data, but the file isn't created until you run and stop the log.
If this still doesn't help, you can use an ETW Trace tool to record internal messages that might be helpful to figure out what is wrong. I attached an ETW Viewer and you can run the ETW Viewer.exe when launching FlexLogger and let it run while you create a log file in FlexLogger. Go to the All Events tab in ETW Viewer and press the update button in the upper right. Then press the Save button in the lower left and attach that log file in this discussion thread so we can see if this has any helpful info about why the file isn't saved to SystemLink.
Thanks,
Brad
You can also run an ETW Trace tool when launching FlexLogger and trying to log data and get files copied to
07-16-2021 11:04 AM
Brad --
Thanks again for the quick responses.
I've confirmed everything in your email:
1. SystemLink client is connected
2. Settings are enabled for project
3. FlexLogger is posting tags to the correct server -- though I should note that this only worked on one of my "projects" for some reason... the other, which was calling a custom plugin, did not post to SystemLink.... which I thought was weird... The test that worked was using a simulated device created in MAX
4. Started Logging
5. Waited ~20 sec.
6. Stopped Logging.
No file.
I did try uploading a file from the browser, and that DID work. it showed up in the browser, and on disk in the expected location, but no dice with the flexLogger file.
I ran the tool you provided, and attached is the log generated during steps 4-6.
Nothing jumped out at me, but the log is pretty cryptic... I zipped it up so that I could upload it here.
07-16-2021 04:51 PM - edited 07-16-2021 04:53 PM
Thanks for posting the trace. I didn't see the info I was expecting. Could you please open ETW Viewer and in the Settings tab, and in the Providers column, make sure you enable NI-Lumberjack, NI-LumberjackPefEngine, and NI-PEF (you can disable everything else in the providers column to reduce the amount of noise). Then launch FlexLogger and do your test again. also what is the exact version of FlexLogger you are you using...this will allow me to send you debug versions of some of the code if needed.
Thanks and sorry for the confusion,
Brad
07-16-2021 10:07 PM
See the attached log.
FlexLogger 2021Rs
Build 9.0.0.50430
DevKit v1.3
07-17-2021 11:10 AM