L
<p>Hi,
<p>I am interfacing an analyzer to LIS. I am trying to access the data using a serial port.
<p>I am successful in opening the port, but not able to read the contents. I would be very grateful if any one could assist me. Your feedback will be highly appreciated.
<p>The code I have written is as follows:
<pre>
MSComm1.CommPort = 1
MSComm1.Settings = "9600,N,8,1"
MSComm1.InputLen = 0
MSComm1.PortOpen = True
If Not MSComm1.PortOpen Then
MsgBox ("PORT NOT OPEN")
End If
Do Until False
DoEvents
Buf = MSComm1.Input ' Contents of the buffer
</pre>
<p>I am interfacing an analyzer to LIS. I am trying to access the data using a serial port.
<p>I am successful in opening the port, but not able to read the contents. I would be very grateful if any one could assist me. Your feedback will be highly appreciated.
<p>The code I have written is as follows:
<pre>
MSComm1.CommPort = 1
MSComm1.Settings = "9600,N,8,1"
MSComm1.InputLen = 0
MSComm1.PortOpen = True
If Not MSComm1.PortOpen Then
MsgBox ("PORT NOT OPEN")
End If
Do Until False
DoEvents
Buf = MSComm1.Input ' Contents of the buffer
</pre>