Quantcast
Channel: DIAdem topics
Viewing all articles
Browse latest Browse all 3198

Cannot open TDMS file via script, but I can manually with data portal

$
0
0

Hello,

 

I am trying to open a TDMS file via script:

 

' Clear the data portal and load the data Call Data.Root.Clear() Call DataFileLoad(file_path,"TDMS", "Load") Call LogfileWrite("TDMS data file loaded: " & file_path)

 

I get the following error:

22 11:18:19 Error: Cannot load the file "\\XXXXXX\fti_20241106104514_pp.tdms" with the loader "TDMS". Further information: Cannot open the file "\\XXXXXX\fti_20241106104514_pp.tdms".

 

 

Also, a .tdms.log file is created, with the following info:

***************** New logfile section ******************* TDMS: ERROR: TDS Exception in Initialize: Tds Error: TdsErrAccessDenied(8):

 

The funny thing is: if I drag and drop the EXACT same file in the data protal, it works just fine.

 

So why do I get an access denied error when opening the file via DataFileLoad, but not with a drag and drop in the dataportal?

 

Thank you,

Jacques

 


Viewing all articles
Browse latest Browse all 3198

Trending Articles