Analog channel #2 wont go to zero

I see that this question was raised about a year ago, and it went unanswered then. Being that the thread has been closed I'm forced to create a new one.

If I write zero (0.00) to all four analog channels as show below, #0,#1 and #3 all go to zero, but channel #2 goes high. (10.36v) on my meter. (Since the other pins work fine, I removed them from the code below.)

If I write anything other than zero it behaves as expected.

Is this a bug in the board, some counterintuitive but intentional behavior?

Is there a known way to write zero to analog output pin #2? It sure would be nice to be able to use this pin, but not being able to turn it off makes it essentially useless.

#include <Arduino_MachineControl.h>

using namespace machinecontrol;

void setup() {
analog_out.period_ms(2, 4);
}

void loop() {
analog_out.write(2, 0.00);
}

Hard to see how that could be possible from an MCU output. Please post links to all the devices, along with a wiring diagram.

Check your meter settings, and ground connection.

That's what I thought as well. Once I gave up and started looking online, it seems that I'm not the only one that has this issue. This user verified the problem on two separate units even.

https://forum.arduino.cc/t/portenta-machine-control-analog-output-2-drives-10-v-when-writing-0/936365/2

Help forum members help you.

Presumably your post is about the Portenta Machine Control board, but until you make that clear and post all the needed information, you will have a hard time getting helpful responses.