I am wondering if anyone has a way of adding bit addresses automatically to integers. I am dealing with a program with thousands of integers that represent the states of hundreds of machines. each integer uses 19 bits to describe things like manual, auto, off, on, direction, fault conditions etc. I have spent 2 days straight entering bit addresses. I have got it down to under a minute per int but I still have at least a day left of doing it.

wondering if anyone knows how to automate this process.

Any help would be appreciated,

Thank you.