Advantech ADAM-4150 handleiding

144 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 28 van 144
ADAM-4100 User Manual 20
10. Run the project, click OPEN to open COM1, then click SEND to send the get
temperature reading command. Now, you will find the reading the same as the
displayed format shown in the following image:
2.4 Program Source Code Examples
2.4.1 OPEN Command Button:
Private Sub Command1_Click()
' Buffer to hold input string
Dim Instring As String
' Use COM1.
MSComm1.CommPort = 1
' 9600 baud, no parity, 8 data, and 1 stop bit.
MSComm1.Settings = "9600,N,8,1"
' Tell the control to read entire buffer when Input
' is used.
MSComm1.InputLen = 0
' Open the port.
MSComm1.PortOpen = True
End Sub

Bekijk gratis de handleiding van Advantech ADAM-4150, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.

Productinformatie

MerkAdvantech
ModelADAM-4150
CategorieNiet gecategoriseerd
TaalNederlands
Grootte20517 MB