kdoyle01

PI Performance Equations: How to dynamically set NEXTVAL function TIME argument...

Discussion created by kdoyle01 on Jul 23, 2009
Latest reply on Jul 23, 2009 by kdoyle01

Context: Using PI Performance Equations NEXTVAL function as data source for Processbook display VALUE controls.

 

I need to set the TIME argument value dynamically, instead of using a static value.  That is, rather than using this format:

NextVal('Sinusoid','T+23h+40m')

 

I need to dynamically set the HOUR value, similar to:

NextVal('Sinusoid','T' + '+' + Hour('*') + 'h+40m')

 

However (if it's even possible), I can't figure out the correct syntax; keep getting PE Equation parsing errors.

 

I've tried using the CONCAT and TEXT functions, to construct the TIME value, to no avail.  (On a related note: why is a period (.) appended to the strings returned by those functions???)

 

Thanks,

 

Kevin Doyle

Outcomes