473,768 Members | 1,465 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Capturing Data Using MSComm

4 New Member
Hi... I am trying to use MSComm for capturing serial data.
The serial data is 1A2B3C1A2B3C1A2 B3C1A2B3C...... so on which is coming from serial port.
From that i have to capture A in the first text box, B in the second text box and C in the third text box...Pls help me out.
Mar 14 '07 #1
3 1713
vijaydiwakar
579 Contributor
Hi... I am trying to use MSComm for capturing serial data.
The serial data is 1A2B3C1A2B3C1A2 B3C1A2B3C...... so on which is coming from serial port.
From that i have to capture A in the first text box, B in the second text box and C in the third text box...Pls help me out.
see when evr posrt send any data then its in fixed format is it is wel calibered so u may use mid$ function
Mar 14 '07 #2
cpraveen10
4 New Member
But it is the hex format, not a string.
Mar 14 '07 #3
vijaydiwakar
579 Contributor
But it is the hex format, not a string.
so what .......
convert it into that
Mar 14 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
12814
by: Paul Clark | last post by:
Hello, I wonder if anyone can help me. We have moved over to VS.NET 2003 from evb and I am climbing a very steep learning curve as quick as possible, (the migration path has not been made easy !), anyway I have embedded vb projects running on various mobile platforms using mscomm controls and wish to add the control to VS.net so that I can use it in a new
1
3529
by: Peter Krikelis | last post by:
Hi, I am trying to develope a User Control Library that features MScomm control. I test my user control in a test application. When I run the application I receive the following: An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in axinterop.mscommlib.dll
3
2741
by: Rasha | last post by:
Hi, What is the right way for transmitting data on the serial port of a PC using VB.NET (under XP) ? I used to use the ActiveX MSComm under VB6, which becomes obsolete and needs a certification, only available if Visual Studio 6 is installed. Thanks for any Help !!!
6
2267
by: Ed Leafe | last post by:
I've been approached by a local business that has been advised that they need to start capturing and archiving their instant messaging in order to comply with Sarbanes-Oxley. The company is largely PC, but has a significant number of Macs running OS X, too. Googling around quickly turns up IM Grabber for the PC, which would seem to be just what they need. But there is no equivalent to be found for OS X. So if anyone knows of any such...
0
1586
by: fabianuat | last post by:
Hello Im using the MSComm to send and receive binary data to a video server, the sending part works fine, but when a receive more than 8 byets, the input variable only keeps the bytes over the eighth byte. ...Please some can some one tell me where im wrong??? these are the settings and the OnComm part MSComm1.CommPort = 1 MSComm1.Settings = "38400,O,8,1" MSComm1.InputMode = 1 MSComm1.InputLen = 0 MSComm1.RThreshold = 1...
0
1213
by: cpraveen10 | last post by:
I want to capture the data through serial port using the below program... The data is 1A2B3C1A2B3C.... From that i want to display A in first text box, B in second text box and C in third text box. The code which i wrote is giving as B in first text box, 3 in second text box and C in third text box. COULD U PLS HELP ME OUT. Private Sub MSComm1_OnComm() Dim data As String Dim data1 As String
2
2117
by: cpraveen10 | last post by:
Hi All... I am using MSComm to receive data serially in a text box. The data being recieved is 1A2B3C1A2B3C1A2B3C...........so on... I have read this into a text file. So I am now getting 1A2B3C1A2B3C1A2B3C...........so on...in the text file.Now I have to get as 1A 2B 3C 1A 2B 3C 1A 2B
0
1809
by: danishce | last post by:
Hello All: I am receiving data in hex format using serial communication MSCOMM control.The data reads ok but when it find hex(0) means EndofFile character in ASCII it exits and does not read data after the EndofFile character. The code for receiving hex data is: Private Sub MSComm1_OnComm(ByVal sender As Object, ByVal e As System.EventArgs) Handles MSComm1.OnComm Dim m_cardData As String Do Loop Until...
0
1870
by: daveman | last post by:
Hello, I'm encountering a "Blue Screen of Death" when I try to send data to a bluetooth sensor via a serial port, using the MSCOMM ActiveX object. I was wondering if anyone has any ideas how to fix the problem. As some background, I am trying to use VB to communicate with a Wi-Tilt bluetooth accelerometer, a sensor which sends data over a COM serial port. I have no problem talking to the device in Hyperterminal; it streams data into...
0
10017
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9961
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9843
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7384
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5283
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5425
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3932
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3534
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2808
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.