Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hi Guys,
Does anyone knows how to connect the photoelectric sensor, Optex VR-1000T to computer via RS-232 port ? I need to read the sensor signal from the computer.
My project is about to detect the vehicle movement from 1 stage to another stage.
Thanks!.
Private Static Sub MSComm1_OnComm()
Dim ERMsg$
Select Case MSComm1.CommEvent
' Event messages.
Case comEvReceive
Case comEvSend
Case comEvCTS' >>>>>>>>>>>>>>>>>>>>>> use one of these control signal events
ERMsg$ = "Change in CTS Detected"
Case comEvDSR
ERMsg$ = "Change in DSR Detected"
Case comEvCD
ERMsg$ = "Change in CD Detected"
Case Else
ERMsg$ = "Unknown error or event"
End Select
End Sub