CondRead syntax

I can't get the syntax correct and The examples i'm seeing don't exactly help.

This is for a contextual display of course.

DLSYS.CondRead(Dsp.Tag+'/HHILK_LIM.CV',"")

I'm trying to read HHILK_LIM which may or may not exist. Return blank string if it doesn't.

Thanks

  • In the first statement you are using single quote but second is using double...it shouldn't matter but try changing the second one to double single quote.

    it may also be that you are reading a number and returning a string if bad so depending on where this CondRead result is going it may have issues with writing a string to a number without extra formatting.