You have run into one of the "joys" of using hardware emulating the venerable 8255 PIA chip. The only way to get around the "glitch" you are experiencing is to initialize the Digital Ouput port you want to use only once, and then keep it open until your vi is done. Every time you use a digital output vi that initializes the digital output port, all lines are initialized to digital inputs, and have to be reset to your desired logic mode and level. This, unfortunately, creates a very short momentary logic high pulse on all outlet lines in the port. There is a very good article in the Knowledge base on programming with the 8255 PIA, unfortunately, I do not know the exact location; you will have to do a search for it. I remember reading this article years ago, when I first went down the same road you are looking at, and after I got over my disgust, I found the article to be very helpful. If I remember right, there are also some example vi's along with the tutorial.
If you cannot find it, repost here, and I will dig into my archives and see if I can find the copy of the KB I downloaded.
Good luck,
Dave