this program opens the serial port, checks the input buffer every 5 seconds and if the buffer contains 256 bytes, reads in the string, breaking in into 256 separate bytes and string these as 'test.cli' in c directory. the only components needed are mscomm and timer which can be set the interval...
Hi guys,
i wrote a program here to collect data and save the data to file where i can open the file later.
here the program i've wrote.
Private Sub Form_Load()
MSComm1.PortOpen = True
End Sub
Private Sub Timer1_Timer()
Dim InputString
If MSComm1.InBufferCount = 256 Then
Close #1
Open...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.