So when you first start your program, you would like it to know the current condition of the U12, rather than starting from some defaults you define in your software. The only way your software could possibly know the current condition of the U12 is to read the current condition of the U12 at startup. Or did you have something else in mind?
I assume you are talking about outputs, or lines than can be outputs (DIO)? If you call DigitalIO with updateDigital=FALSE, you can read the the direction and output registers of the D lines. For the IO lines all you can do is get a current read of their state.
There is no way to read the current specified output voltage of the analog outputs (AOx). The best you can do is jumper these to analog inputs and read those.
Note that our other devices (all of which are newer than the U12) are more capable in this regard ... especially our newest device the T7.