I have a DWORD coming from a drive that shows the status of the outputs. Bit 0=Enable, Bit 1=Ready,.. and so on.
The binary may look like this 000_000_000_000_0111. So I was thinking I want to look at bit 0 and if TRUE set C0. If bit 1 is TRUE then set C1,... etc. I was going to use a math box but confused how to use brackets and the such. How would one of you do it?