4/23/2013 2:35 AM | |
Posts: 3 Rating: (0) |
Hi, I like to read a bit in a DWORD in the same way I like to set a bit in a DWORD. Anybody can give some ideas, in Win CC V7.0 SP3 or later environment |
4/23/2013 8:02 AM | |
Posts: 117 Rating: (4) |
DWORDx; BOOL y; x=GetTagDWord("Tag_Name") y= x & 0x2 //meaning 2nd bit return y; //this value is the 2nd bit ...Tell me if it is right? I'm not very sure. |
4/24/2013 2:39 AM | |
Posts: 3 Rating: (0) |
Seems to be good for reading a bit of a DWORD how we set a bit of a DWROD |
Follow us on