![](http://content.invisioncic.com/f319528/set_resources_20/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
Ian McCutcheon
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Posts posted by Ian McCutcheon
-
-
I have a .Net program that is using the UL to program a USB-1208FS-Plus. I configure port A to be an output port. I set some of the pins output to high and some to low. If I then exit the program and start it up again I notice that when I call CreateDaqDevice the pins all go high momentarily. Is there a way to leave the state of all of the pins alone so I don't have this transient when restarting the program?
Thanks
CreateDaqDevice resetting output pins
in Measurement Computing (MCC)
Posted
Fausto, Thanks for the reply. I guess that I was hoping that there would be a way to create a daq instance without resetting the device when my program restarts. I gather that calling CreateDaqDevice resets the state of all of the digitial io lines to inputs? What is interesting is that if I then set them back to outputs the state of the pins when I exited the program is restored. Hence I was hoping I could somehow eliminate this "glitch".