VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Veristand API Python Embedded Data Logger

I recently stated to mess around with the Python API interface and have come to an area where I am struggling. I am trying to retrieve the log file name and file path when using the embedded data logger. I am ultimately trying to transfer the file from the PXI target to the local machine but if I can at least retrieve the file name it would be a solid step in the right direction. If anyone has any suggestions, I am all ears. Thanks in advance.

0 Kudos
Message 1 of 4
(292 Views)

You can try to retrieve the following property using System Definition API

ZYOng_0-1723594634925.png

 

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 4
(284 Views)

Gets me some of the way there but I am hoping to also get the generated filename as well. Example shown here:

mcmake_0-1723646021070.png

 

0 Kudos
Message 3 of 4
(252 Views)

Unfortunately, the actual timestamp is generated during runtime. To my knowledge, the Embedded Data Logger RT Driver VI does not expose that information to the VeriStand channel. You would need to modify the behaviour of the CD to get that information.

 

Alternatively, you can use LabVIEW Tools for SSH and SFTP to retrieve all the files on the remote target and check for the newest file.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 4 of 4
(235 Views)