GM.PTH,
From your post, I am unsure of what you are trying to accomplish, and I also do not know what programming language you are using. If you could post more details about your application and the development environment that you are using, it might make it easier for this forum to help you with your application.
Incidentally, if you are using LabVIEW, simply using a constant on your block diagram instead of a front panel control can allow you to set your digital ports to a specific configuration. This would allow you to set the digital lines to a specific state without requiring the user to do anything. This may be what you are looking to accomplish. If not, please post more details about your application.
Regards,
Jed R.
Applications Engineer
Na
tional Instruments