DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Obsolete Command: ChnPropValGet

Solved!
Go to solution

Hello everybody,

 

I'm looking for values I was able to extract from ChnPropValGet. For being more precise, it's "sourcedatafilepath" and "sourcedatafilename".

 

All I get from Data.Root.Properties is sourceoriginalname resp. name, which corresponds to Data.Root.Name.

 

I have no use for that one - I need my path.

 

Any ideas how to get my path on DIAdem 2017/2018 out of my data in portal?

 

Regards,

Yeti

0 Kudos
Message 1 of 4
(2,372 Views)
Solution
Accepted by topic author ChaosYeti

Hi Yeti

You are looking for a channel property not for a root property, because you could load data from differnt soures to the Data Portal.

So try for example:

Data.Root.ChannelGroups(1).Channels(1).Properties("sourcedatafilepath").Value

You can also drag and drop any property from the Data Porta to Script to get the correct syntax.

 

Hope this helps

Winfried

Message 2 of 4
(2,360 Views)

Call LogfileWrite(datafilepath)

0 Kudos
Message 3 of 4
(2,359 Views)

Hi Winfried,

 

a thousand thanks!!

Yes, you are right. I fear I stared too long at it to not notice that...

The new help (v2018) is not really a help... Tab "Index" contains 39 entries. Or I have to find another way to use it.

 

You helped me a lot!

-- Yeti

0 Kudos
Message 4 of 4
(2,357 Views)