08-13-2024 06:38 PM
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.
08-13-2024 07:17 PM
You can try to retrieve the following property using System Definition API
08-14-2024 09:33 AM
Gets me some of the way there but I am hoping to also get the generated filename as well. Example shown here:
08-14-2024 08:45 PM
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.