The LabVIEW error number here isn't that important. You know there's communication, you can see that the error is generated in a error query vi. So the error message that the instrument returns says "-221, Settings conflict". This is important. When was the error generated? What commands were sent to the instrument just before that error occurred. (You can use NI-IO Trace or highlight execution to figure that out.)
Once you know the offending SCPI commands. You'll have to sort out why the instrument doesn't like what you are trying to ask it to do. You will likely need to sit down and read the manual about the commands being sent and the options and limits of the card and measurement type you are trying to configure. Note that the driver VIs are generic, they don't necessarily restrict/limit the range of values for all cards and channels.
Craig