From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Filepath on RT target does not wrok

Solved!
Go to solution

Hi,

 

I'm using LabVIEW 2016 for a vi on a PXI RT controller (PXIe-8840 Quad-Core).

I try to generate a filepath for some local data logging as shown in the snippet. If I deploy the Vi to the target and run it it will generate the filepath:

C:\ni-rt\startup\PXIMonitoring03.vi\test.tdms

 

filenameRTTarget.png

But the "TDMS Open" generate file gives an error 7.

 

Can you tell me what I'm doing wrong?

 

Thanks,

Thomas

 

0 Kudos
Message 1 of 3
(2,815 Views)
Solution
Accepted by topic author http8000

Hi Thomas,

 

C:\ni-rt\startup\PXIMonitoring03.vi\test.tdms

I don't think you can open a TDMS file inside of a VI…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,793 Views)
Solution
Accepted by topic author http8000

Thanks for the quick response, I missed that.

But before I did like the following and I get: "c:\ni-rt\LabVIEW Data\test.tdms", but I actually missed the "open or create" constant...

I thought that I was doing something wrong with paths at the RT target...

 

filenameRTTarget2.png

 

Thomas

0 Kudos
Message 3 of 3
(2,782 Views)