getCustomField() syntax in CCF

Hello

(Open Lab CDS 2,5)

I'm trying to extract a value from a Sample custom parameter, so we can use it as an extra sample weight in our reports.
I know how to do this in the report, through filtering and making a variabele, but i would like to do it in the CCF. However i can't seem to get it to work.

So i have this, and this works: 



However this is only for current injection.
I have tried this: 


and this:


And a couple variations of them, but they never return any values.

Without the Val() in front of it all, i had this error, so i'm wondering if it even possible?


Would anyone here know how to fix it please?

Kind regards
Sven

Was this helpful?