Hello, what can you do with strings in DeltaV? I know you can concatenate 2 strings with the operator + but besides that can you do anithing else? can you look for a string inside another string? can you remove part of a string?
Within the controller your options of string manipulation are severely limited...
Numbers will be default to what they have when converted to a string unless you do either of the below:
'^/STR_NUM.CV' := "My float to integer is " + TRUNC('^/NUM_PARAM.CV');
'^/STR_NUM.CV' := "My float to integer is " + TRUNC(ROUND('^/NUM_PARAM.CV'));
DECIMAL1 := 2;POWER1:= EXPT(10,DECIMAL1);'^/STR_NUM.CV' := "My float to 2 decimals is " + ((ROUND('^/NUM_PARAM.CV' * POWER1)) / POWER1);
At the HMI, you have lots of string manipulation that can be done and only limited to VBA (Operate) or Java/TypeScript (DeltaV Live).
In reply to Matt Stoner:
In reply to ThunderHunter13:
Andre Dicaire