VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can override the TDMS Logger in Veristand

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?

0 Kudos
Message 1 of 5
(1,578 Views)

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. 

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 2 of 5
(1,559 Views)

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

 

0 Kudos
Message 3 of 5
(1,544 Views)

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.  

0 Kudos
Message 4 of 5
(1,537 Views)

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.

0 Kudos
Message 5 of 5
(1,529 Views)