Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Conditional measurements in pipeline mode


Anton Jul 4, 2015 03:25 PM

The logger manuals say clearly: "conditional measurements are not allowed in pipeline mode." Indeed, when I put the following code segment in the main scan, I cannot compile in pipeline mode.

If True Then
Battery (batt_volt)
End If

However, if I put the same code segment in a slow sequence, I have no problem to compile in pipeline mode. Does that mean that conditional measurements are okay in pipeline mode, as long as they are in slow sequences?


Anton Jul 4, 2015 04:15 PM

Futhermore, it appears that when I use a measurement instruction like VoltDiff in the main scan in pipeline mode, all arguments except Mult and Offset must be constants. However in a slow sequence they can all be variables.

Am I discovering the correct rules?

[edit]

No I was discovering the wrong rules! An errant EndProg statement was keeping the compiler from checking the complete code.

* Last updated by: Anton on 7/6/2015 @ 5:33 AM *

Log in or register to post/reply in the forum.