fixed issue with error code, but it only returns 0 for voltage control values