Posted: Thu Mar 02, 2006 5:56 pm Post subject: Question about mcscomm.ocx
Hi,
i used the msccomm.ocx for a project, and have a question:
I want to send 3 command to the com port. After every command i must wait for a response.
If i do this in a sub-routine, it must end the subroutine before i can recieve anything ?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim a as integer
For a = 1 to 3
Get_IEEE(a)
Next
End Sub
After every call Get_IEEE there is a response from the serial Port.
But i get only the results of the last Call (Get_IEEE(3)).
Also is there some Docs about the msccomm.ocx ?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum