You need to use the Active Y Scale property first. The Y scales are numbered with indices 0,1,2... You need to use the Active Y Scale property and wire the appropriate index for the Y scale you want to change, then set the property. That way the property will apply to whichever Y scale you indicated. See attached picture.