Hello,

There is some strange behaviour in Datalink v3.x in that the cell formula for PIAdvCalcExpVal will accept long expression strings but the Advance Calculation Data dialogue will not.

Example expression:

'sinusoid' + 'sinusoid' + 'sinusoid' + 'sinusoid' + 'sinusoid' + 'sinusoid' + 'sinusoid' + 'sinusoid' + 'sinusoid' + 'sinusoid' + 'sinusoid' + 'sinusoid' + 'sinusoid' + 'sinusoid' + 'sinusoid' + 'sinusoid'

If you enter that directly in the formula for a cell it accepts it and returns a value.

=PIAdvCalcExpVal("'sinusoid' + 'sinusoid' + 'sinusoid' + 'sinusoid' + ...

If you select the Advanced Calculated Data dialogue window for that cell and click OK it complains and gives a strange error:

Error is pasting array

Choose a different output cell address

Nothing wrong with it as it works directly in the formula.

This error does not happen when using PIExpVal (Archive Value dialogue) with the same expression.

Any advice?

I had that problem before when the output cell was part of an array, are you trying to output it directly to just one cell? with no time stampo and not added configurations?