01-11-2024 04:23 PM - edited 01-11-2024 04:28 PM
I have never liked TDMS log format or Diadem; since I have no waveforms only distinct voltages and CANbus messages where I just need timestamp / state, I would like to route to a remote file via TCP or even http as well as locally. This would be similar to how you can write log files in a custom format use Python logging facility, log4j or even log4go. It also gives me the ability to view via a web service that displays the incoming from anywhere.
I am using Python to execute the Veristand tests and would like to have a consistent log file and format for the script execution and the output on the Veristand engine.
I would rather not have to convert the TDMS file after the test completes to write to the ELK (Elasticsearch Logstash and Kibana) stack for analysis and display from a web GUI using Grafana/Kibana.
Is this possible? Can I modify the Veristand Gateway to send messages to the host PC so I can log the data?
01-11-2024 07:12 PM
See Data Logging Options for the built-in logging options. There are a few options which save the file on the host PC.
Alternatively, you can use the UDP Streaming API to read from the VeriStand Gateway. There is a shipping example for that.
01-12-2024 09:59 AM - edited 01-12-2024 10:06 AM
Not what I am looking for unless I am misunderstanding what I am reading. I do not want to use any logging within Veristand to TDMS format, do post-processing on the file, save the file on the host, or upload the file when done. UDP will not work as no guarantee that I will capture all messages.
I literally want to disable the TDMS and install a different logger to be used within Veristand that will connect to a remote logging application using http and either stores data in database locally or uploads it to Elasticsearch. Nothing I have seen in the documentation says that this can be done.
Thanks
01-12-2024 10:11 AM
You can stream from VeriStand to a Labview VI via UDP using the VeriStand APIs. When streaming over UDP you can then read in the waveforms and convert them to whatever format you need.
01-12-2024 10:30 AM
Not using LabVIEW ... Using Python to launch Veristand and run scripts. Don't need or want any waveforms and UDP is not a good solution since delivery is not guaranteed and I am not trying to collect data on the host PC but another PC running Linux.
Thanks.