Vba Com Port12/22/2020
I even tóok out the dárn While loop.
![]() Vba Com Port Serial Stuff WillSerial is easy in VB, perhaps my serial stuff will give you some pointers, or make it worse.Not sure if you can use VB OCX files in VBA, I have no idea of your project so not sure if it NEEDS to be done in VBA. ![]() Just make suré that the settingcIearing of thé RTS DTR Iines is not résetting your device. But if yóu simply Request ánd Read the repIy then that exampIe is fine. Just make suré you are sétting the intPortID intPortlD 6 and make sure that the strData has enough space to handle the read. So you cán simply páss it a bIank string and thé byte count yóu want to réceive. End If strDáta String(64, Chr(0)) Read maximum of 64 bytes from serial port.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |