I'm using interface with relay and interface is connected to computer on COM (serial) 9 pins port. In Visual Studio 2005 I'm using this code:
This is code for turning on interface, and that's OK, BUT when I turn off my computer and restart it interface is turn on and turn off a few times, and when computer stop loading Windows XP everything is OK. Please, help me. Thanks!Code:SerialPort1.Open SerialPort1.DtrEnable = True SerialPort1.Breakstate = True




Reply With Quote