Download Joshua Bryner - Electrical and Computer Engineering
Transcript
• serialPort.Write(txBuffer, start index, number of bytes to send) • serialPort.Read(rxBuffer, start index, number of bytes to read.) A dialog was created to allow the users to enter which com port the microcontroller was connected to. This screen can be seen in figure 14. Figure 14 Connection Screen With the communication with the serial port complete, the next major objective was to create a login screen that uses an xml file format to check for user names and passwords. This was done by using an object called a dataset. The data set, keeps information in a collection in a specific format similar to a database. Along with the login screen a screen was created that allows administrators to edit users. Figure 15 and 16 show these two windows. Figure 15 Login Screen Figure 16 Edit Users Screen - 17 -