ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

tdm data path defination

Hello,

 

I have a problem here, when i want to define the path of the testet data. How can I correct,that the data can be loaded in path C:\Dokumente und Einstellungen\TDM. Maybe someone can help. Thanks a lot.

 

 

ReDim

DataFilePaths(fMax)

DataFilePaths(1) = AutoActPath & "2012-05-14 1834 VF-028 Nano IMT Indonesia-Java.TDM"

DataFilePaths(2) = AutoActPath & "2012-05-15 2206 VF-028 Nano IMT Indonesia-Java.TDM"

 

CallDataFileLoad(DataFilePaths(f))

0 Kudos
Message 1 of 14
(6,145 Views)

It is always the warning: Die Data "C:\Dokumente und Einstellungen\TDM2012-05-14 1834 VF-028 Nano IMT Indonesia-Java.TDM" can not funden.

0 Kudos
Message 2 of 14
(6,144 Views)

Hi andreasyou,

 

You can use the commad FileEx

 

ReDim DataFilePaths(fMax)

DataFilePaths(1) = AutoActPath & "2012-05-14 1834 VF-028 Nano IMT Indonesia-Java.TDM"

DataFilePaths(2) = AutoActPath & "2012-05-15 2206 VF-028 Nano IMT Indonesia-Java.TDM"

if FileEx(DataFilePaths(f)) then
  CallDataFileLoad(DataFilePaths(f)) 
else
  msgbox f & " dosen't not exist"
end if

 

Greetings

Walter

Message 3 of 14
(6,139 Views)

Hello Walter,

 

thank you for your help. I just use diadem 11.0 and try  this commad FileEx . Then comes the warning, i must FileEx define. This exists not in the Diadem Help. I thought it works in diadem 2012.

 

 

Best Regards

Andreas

0 Kudos
Message 4 of 14
(6,135 Views)

That's my fault. The command is FilEx.

Message 5 of 14
(6,132 Views)

Hi Walter,

 

now the commad is right and the data is loaded, but there is no value in the channel. Is the problem of AutoActPath?

 

 

Best Regards

Andreas

0 Kudos
Message 6 of 14
(6,126 Views)

Hi Andreas,

 

No, I don't think not. Can you post this dataset?

 

Greetings

Walter

0 Kudos
Message 7 of 14
(6,123 Views)

Hi Walter,

 

this is my script. Thank you for correcting.

0 Kudos
Message 8 of 14
(6,120 Views)

I meant the dataset you are going to load. I just want to check whether the dataset is OK.

0 Kudos
Message 9 of 14
(6,118 Views)

sorry,i have missunderstood. Can i send the data to your email box?

0 Kudos
Message 10 of 14
(6,116 Views)