RS232 - Sending And Receiving Bit Data To The Machine ?

Jun 11, 2011

Does anyone knows how to program using vb.net with rs232 module?, all i know is that i should use a compolet, but i can't understand a thing regarding the sending and receiving bit data to the machine..

View 1 Replies


ADVERTISEMENT

Sending And Receiving Data To RS232/MSComm A VB6.0 App?

Sep 14, 2009

I am developing an application which is pretty much a replacement of a hyperterminal. I am trying to send commands to the serial port using MSComm in VB6.0 When I type in on the hyperterminal h003128 I get a response OK. Or when I type in i003 it displays back some values.

What I am trying to figure out how do I send the h003128 via VB6. I believe I've undertood how to send data to the port. It seems I am not getting the correct formate. This wont work.. the formate iAAADDD where i = i AAA = 003 and DDD = 128 MSComm1.Output "i003128"

View 3 Replies

Communications :: Rs232 Cr & Lf - Barcode Scanner That Is Sending The Software Data

Apr 26, 2011

Im using VB2008... Net framework 3.0. Basically I have a barcode scanner that is sending the software data...Everything is working fine if I interface the scanner as a keyboard wedge and set the scanner suffix as 'Enter'...In the software I have an event handler on keypress.down...

If keycode.Enter then
.....
.....
....
etc.

However as a RS232 interface I cant get the same result? Hyper terminal reads it perfectly. I've tried all the keypress options but it doesnt work (I assume because it's not actually a key press). when the textbox recieves the CR/LF from RS232? The scanner that does keyboard wedge interfacing is not an option as it is far too expensive for my project.

View 3 Replies

TCP Receiving / Sending Data

Nov 11, 2009

Im woundering how does Receiving/Sending data work in a TCPClient/Server that is connected in the same networkstream.

View 4 Replies

Sending And Receiving Data To Or From PIC Through RS-232?

Nov 14, 2011

Currently I had write a simple VB code, my aim is when i click "Forward" button then the vb will send a character "A" to PIC, "Reverse" button will send "B" so I write my vb code for sending as below:

Dim Forward As Char = "A"

SerialPort1.Open()

SerialPort1.Write(Forward)

For the receiving part, after I received the data from PIC then I will show it at the label which act it as a screen. the receiving code as below:

SerialPort1.Open()
receive = SerialPort1.ReadChar()
If receive = "A" Then[code]....

View 14 Replies

Sending And Receiving Data Via USB?

Dec 4, 2011

I am working on system support for an electronics project wherein I have to receive an 8 bit (binary) data through a USB port and store either the binary or the corresponding decimal into a variable. How can I implement this in visual basic 2010?

View 11 Replies

GPIB Communication - Sending Data - Receiving Data - Saving Data

Sep 19, 2010

I need to control a device with a GPIB port. I have the commands that I need to use to do this; but I don't know which is the sintaxis in Visual Basic.

For example if I need to send a instruction like "START:0.01" to the external device which are the libraries that I have to include?, how should I write the programming line to do this?

The main tasks that I need to program are sending data, receiving data, and saving data

View 5 Replies

Sending / Receiving Data To Serial Port

Aug 13, 2009

I'm trying to control a serial port device that both send and receives data. I can receive data quite happily from the serial port but I don't appear to be able to send data to the device. The device works perfectly as I can test it using putty, I open putty select serial and select 1200 baud, the device immediately lights up and can send and receive. However when the port is set up and opened in VB the device doesn't light up so I can't send data to it but can receive data from it. According to the instructions I need to send either ASCII 'X' Hex '$58' or Decimal '88' to make the device ready.

Code (VB Studio 2005) :-
Public Sub New(ByVal synchronisingObject As ISynchronizeInvoke)
ComPortUsed = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINESoftwareNJB", "COMUSED", Nothing)
PricePerTrack = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINESoftwareNJB", "PRICETRACK", Nothing)
Me.synchronisingObject = synchronisingObject
[Code] .....

View 11 Replies

Sending/receiving Serial Port Data?

Feb 22, 2011

Opening and closing the port works fine, and as far as i can tell, the serial.write("blahblah") should be writing to the output buffer, but I am unable to test or verify this by reading it in. the commented "Receive data from serial port" and subsequent DoUpdate() function are where i am having trouble. It doesnt seem to actually be reading in the data if it is in fact writing it correctly.

[Code]...

View 9 Replies

VS 2008 Sending And Receiving Data Via Com Port?

Aug 16, 2010

I have a very basic knowledge of coding, just enough to understand some PicBASIC Pro and program a microchip to send the values of some variables to a PC via the com port. I've used a terminal utility like Hyperterm to confirm the right variables are being sent, so I thought it would be cool to have a custom application on the PC to display these variables, and possible set them via the application by writing the new one back to the PIC. So I downloaded VB express 2008 - and whilst it was "simple" to draw a box and add a few text boxes I'm lost at how to actually do anything practical with it

[Code]...

Could someone advise me in laymens terms exactly what I need to do inorder to populate the text boxes with the data from the PIC micro. Whilst I understand the basics about BASIC, I have no idea on things like classes etc

View 5 Replies

Socket Programming And Telnet Class For .NET To Simplify The Sending And Receiving Of Data?

Sep 28, 2009

I'm writing a GUI-based app in VB.net that talks to a LambdaMOO server via telnet, sends commands to display the object hierarchy, then parses the output and creates a visual representation of the object hierarchy.So my question is: is there some kind of "telnet client" class for .NET to simplify the sending and receiving of data, or do I have to write my own using the socket API?

View 7 Replies

Using The Web Service References Tool 2.0 For Sending And Receiving Complex Data (arrays Of Objects) VBA?

Jul 9, 2009

I used the tool about 3 years ago to create the classes for a webservice client to send or recieve arrays as complex data. Now i have to update these classes, since there are additional informations, that have to be exchanged. When i use the tool now with the new wsdl-files, it does'nt create the classes for complex data (structur, IGCTMObjectFactory), but only one class for simple data. In addition i have to establish a new client, that sends an array of complex data and receives another array of complex data. I tried to build the classes manually combining the client that sends an array with the client, that receives an array, but I failed.

View 3 Replies

Sending And Receiving Sms Using Vb?

Apr 1, 2009

writing a small application on sending a simple text sms like TEXT to the PC and it will get into the database (mySQL) to search for the information on it and reply back the result to the user. how to start on the application and the hardware i need in order to do it.

View 1 Replies

Sending And Receiving Sms?

Apr 5, 2009

i've been searching for sending and receiving sms code using gsm modem because i can't find any information about it. Is there anybody can give me the code or suitable link for me to get sample code?

Hope i can get response as soon as possible as my tasks need to be completed in a week time.

View 2 Replies

Asp.net - Sending/Receiving Faxes In .NET?

Jul 30, 2009

I need to send/receive faxes through my web application, and I am not sure where to begin.Basically, a client clicks a button to send a fax, and records in the database under the client's name when a fax is received.Preferably through an API from a service based fax company... I will be hosting this application on a dedicated server, I don't think they allow using their modems.I am using .NET and VB.

View 4 Replies

How To Write App On Sending / Receiving SMS

Aug 31, 2009

I am doing a project on sending and receiving sms. But I do not know how start. But I have found this website that it teaches how to write the application on sending and receiving sms. What I see is that, it have different classes that is using. I have a dateline to finish my project on this. Here is the link that I am trying to learn from. [URL]

View 3 Replies

ISCP Receiving After Sending

Nov 14, 2011

i have the following code that i send a command over the network to a Onkyo A/V reciever. I would like to get the feedback from that as well but i can not seem to find a way of doing that. I know the command to send to have it send something back but as for the code below, it only sends out a command and doesnt listen for a return.[code]

View 1 Replies

Sending And Receiving An Arraylist?

Aug 4, 2010

I am stuck with a problem of sending out an Arraylist from a client to a server.I am doing the following code to serialize and send out the arraylist from my client, but not sure how to collect it from the server side:

Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
Dim i As Integer[code]..............

View 2 Replies

Sending And Receiving Sms For The CRM Application

Sep 2, 2009

I am doing a project on sending and receiving sms. I am doing this using the visual studios 2005 ans SQL Server Database to store the send or received sms. I have search on sms in the internet but the problem is that it is using C# as I am using the vb.net language. Even though some of the research that i came across is in vb.net but the application did not work.

In my research, the sending and receiving of sms application uses sms gateway, AT command. But I am not sure which one to use becoz I am doing this application for my project. Hope for any recommendation on which one to use either the sms gateway or AT command or any other device. My lecturer said that my project is most likely like the M2U Mozat. Not only that I am doing the sms but also the email. The email part is done by my partner but the problem is that he creates the email using the SMTP server. How can using a SMTP server to create sms? It is because the part that I am doing which is the sms and the email to combine together.

View 4 Replies

Types Of Sending And Receiving Sms?

Aug 31, 2009

I am doing a project on creating send and receive sms application just like a software named Mozat M2U. I just want to know what are the different ways of sending and receiving sms. When I am doing my research, some of it uses sms gateway which is some application is using is for a trial. After that, the sms gateway have to pay. Besides the gateway, some uses the AT command using the GSM modem or phone.

The project that i am doing is for my school. The project that I am doing is not only send/received one sms but in bulk. Besides that I am getting all the contact lists from the SQL Server and I am doing the application on visual studios 2005. I am getting no where after searching the net for example. Hope that anyone would help me. I have my dateline for doing this project.[URL] Besides that my friend is doing the email part but it uses the SMTP server. So how to combine both the email and sms. If using the SMTP server, can i send sms?

View 1 Replies

C++ - Sending/Receiving A String Through PostMessage?

May 16, 2012

Although there are already a few resources online that address this rough topic, I still haven't found an answer that works for me.I desire to have full communication between my VB.net process and my C++ process. I would like to be able to send a string to and from the C++ process, but for the time being I need to achieve:

Sending a string to the C++ process, and handling it.This creates a few points that I am uncertain on, but I'll try to keep this as simple as possible...using the following function declaration in VB;[code]....

And finally, I used the IPC example here to send the message. This example sends the message using C#, but the concept was all I needed (not to mention that it's a walk in the park to convert such code to VB). Note that in my VB implementation, I didn't need to terminate the string with a null character.

View 1 Replies

Reading What Ports Are Sending And Receiving?

Oct 19, 2011

I would like to know if there is a way that I can read what a program sends to a device when connected to a comport.

I work with cell phones. I use a few programs like CDMA Workshop, QPST, QXDM, and Many more to communicate with these devices and program them as I need for each cellular carrier. We call this flashing or provisioning.

I would like to create my own program that I can have it send the commands and write to the device what I need to write.

Obviously I know exactly what I need to write to it but I have no idea what commands to use other than using the programs that already have those commands for me.

So for example when I click READ for the NAM on the program, the program automatically reads the name for me. I just want to know how do I read what commands are being sent. Is there a way to listen to the ports?

View 3 Replies

Sending & Receiving Bitmap From Networkstream?

May 11, 2011

I was trying to develop a video chat p2p system by sending bitmap of the picturebox where the webcam performs. I want to send and make the client just prompted without having the client to save the file by opening savefiledialog of the bitmap i was sending.

The sending part was like first I copy the frame of the picturebox which showing the video cam, and saved it into memorystream as .bmp file like this:

ms = New MemoryStream()
Dim a As Image
a = Server1.copyFrame(Me.PictureBox1, New RectangleF(0, 0, _

[Code]......

View 14 Replies

Sending /receiving SMS Messages From Vb2008?

Mar 11, 2009

All,I am trying to implement something so that my VB can be able to send/receive SMS messages to cell phone(modem). I tried researching a bit and found out that we can use MsComm control to do this but it is not available in Visual Basic express 2008 edition. Can we use serial port class to do this? If yes, how could we implement this?

View 2 Replies

SMS Sending And Receiving Application Using .net 2008 IDE?

Mar 11, 2010

I Need a simple project which is developed in Microsoft Visual Studio 2005 in VB.net the project features are

1. I have to send multiple SMS from a mobile device connected through a USB.

2. I have to receive SMS from a mobile device and parse it and store it into various text file.

View 7 Replies

SMS Sending And Receiving Application Using 2005 IDE

Nov 10, 2009

I Need a simple project which is developed in Microsoft Visual Studio 2005 in VB.net the project features are

1. I have to send multiple SMS from a mobile device connected through a USB.

2. I have to receive SMS from a mobile device and parse it and store it to SQL Server

I can handle with the rest of requirements of My University Final Project.

View 2 Replies

VS 2008 Sending And Receiving Emails

Oct 11, 2009

My latest project requires both sending and receiving emails. Now i know how to send emails using a gmail account, but what im having incredible difficulty with, is accepting emails. What i want, is to have a program that both has the ability to send emails, and capture emails being sent to the logged in user, and place them in an inbox list. I was wondering if anyone knew how to receive emails with a program, even temporarily, so that when an email is sent to the user, my program knows about it, and can take the body from the email, and place it in say a textbox.

[Code]...

View 39 Replies

VS 2008 Sending And Receiving Text To And From Cmd?

Dec 28, 2010

The server is a .bat file that turns into a command prompt, and I need to be able to send commands like "stop" or "op player" and then I also need to be able to see the output from the cmd in a textbox. I found a code that can start and read what the cmd says but I can't send any commands to it.

View 5 Replies

Oxygen ActiveX Control - Sending / Receiving Of Sms Through Pc

Feb 10, 2009

i am working with this project : sending/receiving of sms thru pc (which is connected to the phone). I am using oxygen and vb.net. My code in vb.6 is working (receiving sms)

[Code]...

View 2 Replies

VS 2008 : SMTP Server - Split The Sending And Receiving?

Oct 22, 2009

I'm trying to write my own SMTP server at the moment so that people can use it in their applications to send and receive emails.I am having a few problems at the moment with the TcpListener side of things though. Basically I do not want to start the TcpListener in the constructor of my class because people could be using this SMTP Server class just to send emails and might not care about receiving them. In fact the majority of people that use it will probably use it for that reason, to send and not to receive.

So I am now considering breaking this into 2 totally separate projects that have no dependencies on each other, but could easily be used in the same application if required. The reason I designed this with both 'features' in the same project in the first place was because that is how an SMTP server works - it can receive incoming SMTP requests and it can send SMTP server requests to other servers (and in some cases, receiving an SMTP request would cause it to send an SMTP command to another server)

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved