This will add new icon in your tool pallet (it will look like phone). If that works (manually sending message) then we can automate it with some program, VB will do just fine.Ĭlick Ctrl+T to open components and select "Microsoft Comm Control 6.0" (place check mark in front of it and click ok) This will confirm if your port is available, cables are correct and if the message you try to send is accepted by target device. Optionally you can install card with serial ports.īefore you kill yourself with programming, test if you can communicate with the target device using some sort of terminal (hyperterminal will do but you may pick something like SuperMon, if your PC has RS232 you just need to use RS232 to R422 converter. MSCOMM will easily handle 9600 bps, 8 data bits, 1 stop bit, no parity. Serial communication in VB is childs play. We trying to use the VB component called "MSCOMM" for the coding, but it is still not work.ĭoes anybody understand how to write the right code by using VB6 to communicate with the LED Display Board? Transmit: to show 'USD 5,000' as Price 2 on LED Board. where Address Byte is 0x81 (both Boards). Transmit: to show 'USD1,000,000,000' as Price 1 on LED Board. Serial Protocol (serial com: RS422 9600 bps, 8 data bits, 1 stop bit, no parity). ![]() We have tried it several times, but it's still not work. We are going to reprogram the software by using Visual Basic 6. My company bought a 2nd-hand LED Display Board with 2 lines of LED display (each 16 digits). I am new here & I don't know whether i join the right forum or not for asking this thing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |