Send / Rcv Msgs Using GSM Modem RS232

Mar 20, 2012

I am using a GSM modem RS232 where a sim is inserted. I want to write a VB.NET application so that i can send or rcv messages using the modem. How to proceed for same?

View 2 Replies


ADVERTISEMENT

Send Commands RS232?

Jul 26, 2010

I have downloaded the vb script and it works as it should, its a program where you have some buttons so that you could trigger the relays.But i need several small scripts, one for each relay on / off so that i can call them from a .bat file with argument.i have a .bat named relaycard and in thet i have created argument like

relay1on
relay1off
relay2on
relay2off
and so on.

The small program relay1on should just do the jobb and then close itself.Maybe its a little bit clearer now.On the link that i posted there is a manual and even links to the vb program,

View 27 Replies

Send/receive Messages Via RS232 From Programme?

Jul 14, 2010

how to send/receive messages via RS232 from my programme. I have a USB-serial adaptor

Can anyone recommend any places to look? Is this something that you would expect would be fairly easy to do for someone with a few months of coding practice?

View 2 Replies

Send SMS Using Modem?

May 11, 2012

I am trying to implement automated sms(Short Msg ) system.I implemented sms receiving part.but I could't send a sms as reply.

View 5 Replies

Communications :: RS232-USB Converter - Send Data To Microcontroller

Mar 13, 2009

I have a problem regarding rs232-usb converter... I'm using toshiba laptop. The problem i faced is i can receive data from my microcontroller to VB but i cant send data to microcontroller... However, when i use the same VB code and same converter, i try at my friend laptop (other brand), it works... May i konw is there any other setting i need to set for my laptop??

View 3 Replies

Send Sms Via GPRS Modem With .net?

Jul 7, 2009

I need to send sms via GPRS Modem with vb.net

View 2 Replies

Send SMS Via GSM Modem From .net Application?

Jan 6, 2011

I want to send SMS Via GSM Modem from vb.net application I write code But it is not working .

Here is Code below :

Public Class Form1
Private SMSEngine As SMSCOMMS
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[code].....

View 1 Replies

Send A Command To A Tenma DC Power Supply Over An RS232 Cable?

Jan 17, 2009

I am doing wrong? I am using VB2008/VB.NET to send a command (set to 4 volts) to a Tenma DC Power Supply over an RS232 cable. I don't have documentation from Tenma that lists the commands that the instrument understands, I got "VOLT040" from a program in an older version of VB that someone else wrote for this instrument. The code is below:

[Code]...

View 2 Replies

Make A Program To Send Sms Using Gsm Modem?

Jan 28, 2011

I want to make a program to send sms using gsm modem .. but i don't know how can i start .

View 2 Replies

Send Sms By Using Asus T500 Modem?

Feb 12, 2011

I want to send sms using my vb.net application by using my Asuse T500 GSM Modem.

View 2 Replies

Send/Receive SMS With D-Link GSM-Modem?

Feb 8, 2012

I want to write a Solution with VB.Net for Receive "Users" requests and Send specified information to

them with SMS.I use D-Link GSM-Modem (Model:DWM-156).

This model/type of GSM-Modem, has embeded Driver and a Application for Sending/Receiving SMS.on it, and also we can attach MicroSD to the Device. 1-Send/Receive with GSM-Modem and D-Link's application :

when i attach GSM-Modem to USB port, D-Link' app , run automatically , then I heared noises on my Speaker, like when turn on a Mobile. I think this Signals "Hand Shake" with My GSM-Network.

[Code]...

View 4 Replies

Communications :: Create An Application That Can Receive/send SMS Using GSM Modem

Apr 9, 2010

I have to create an application that can receive/send SMS using GSM Modem.

View 4 Replies

Send Image From Computer Connected To GSM Modem To A Mobile

Jul 29, 2009

how to use at commands in vb.net and how to send image from computer connected to GSM modem to a mobile using vb.net

View 1 Replies

VB In A Laptop Through USB Port And A USB-RS232 Converter To Communicate With A Microprocessor Using RS232 Protocol

Oct 18, 2010

I have developed a microprocessor based devise. It can communicate with laptop through RS232 as a VB application. Now most of laptops have USB port only. So I want to use USB replacing RS232 port on laptop side but not change anything on the device side. Can I do this using a USB-RS232 converter? How to change the VB software?

View 1 Replies

Simple Chatting Software Which Will Use Wireless Modem To Send And Retrieve Data

Jun 11, 2011

i need help to do a simple chatting software which will use my wireless modem to send and retrive data.i must create a program something like MSN messenger.

View 1 Replies

Call A Remote Modem Using A Local Modem Connected Via USB?

Oct 12, 2011

I am attempting to call a remote modem using a local modem connected via USB. Programming language is VB.NET and I am using the SerialPort control to talk to the modem.

Communication is as follows:

I send: ATZ0[CR]

Modem responds: ATZ0[CR][CR][LF]OK[CR][LF]

I then try to dial a number:

I send: ATDTnnnnnnnnnn[CR] where nnnnnnnnnn is a valid number

The modem responds with:ATDTnnnnnnnnnn[CR][CR][LF]ERROR[CR][LF]

All other commands seem to work without any issues

For info the modem is a MultiTech MT5634ZBA-USB-V92

If I use hyperterminal and type the same commands in it works as expected and dials the number, so it must be something I am doing in my code, possible some setup in the SerialPort control

View 5 Replies

Communications :: Send A Command Via RS232 Communications

Jan 26, 2009

I am using VB2008 Express and am curious how to send a command via RS232 communications. The string that I need to send is 02h PON 03h. The start and end bits are 02h and 03h.

How can I convert 02h and 03h to its ascii form. In hyperterminal, I use the sequence {(hold)ALT 0 0 2} on the number pad to send the start bit.

I am using this code currently without the start and end bits

Code:

View 8 Replies

Asp.net - Getting AES Source Code (.NET) That Decrypts AS3CRYPTO Crypted Msgs?

Mar 13, 2009

Is there a simple ASP.NET (.VB) available for AES-encrypting?here is a link to c# one but its complicate one having pretty much parameters, for example salt. [URL]I need a simple one that works together with GOOGLEAS3 Class that is called easily like this:

var key:ByteArray = Hex.toArray("1234567890abcdef");
var pt:ByteArray = Hex.toArray( Hex.fromString("aaaaaaaaaaaaaaaaaaaa"));
var aes:AESKey = new AESKey(key);
aes.encrypt(pt);
var out:String = Hex.fromArray(pt).toUpperCase();

View 1 Replies

Streaming Video Through Modem To Modem?

Oct 27, 2009

(from scratch as I've not done this before) how I can stream live through modem-to-modem connection. The modem here refers to dial-up modem (PSTN modem), there is no internet/lan involved.It will be 2 programs, the first is to transmit real-time video from webcam, and the second is to remote video from the first.

View 5 Replies

HEX Value Transfer Through RS232?

May 4, 2011

I am trying to connect a PC with peripherals thru RS232.The PC program has to send and receive value in HEX to peripherals.However, the value sent out seems to arrive at peripherals in ASCII.Following is two of my trial codes:

Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim HexArray(8) As Byte

[code].....

View 4 Replies

Read Data From Rs232?

Dec 4, 2009

My program connects via the rs232 port to a pump and it managed to start the communication and sending data. But the problem arises when i try to read the return signal from the pump to pc. This is the piece of code i've used:

Code: Dim returnbyte(0) As Byte Dim ByteIndex As Integer = 0
Do While ClassSerialPort.BytesToRead <> 0 ReDim Preserve returnbyte(ByteIndex) returnbyte(ByteIndex) = ClassSerialPort.ReadByte() ByteIndex = ByteIndex + 1 Loop

[code]....

I obtain the following results:

Code:... 6 12 0 0 0 92 ...

From the manual i understand which byte to read. For e.g 6 = ACK. The problem is how to interpret the 4 bytes together in a string for e.g 0 0 0 92 means 9.2ml ?Is there any way to read the decimal point?

View 2 Replies

VB 8 Program To Communicate With RS232?

Aug 31, 2009

I chose Visual Basic 8 as a computer interface to communicate through RS232 (serial) to my microcontroller, which in turn will do its own thing to transmit data it receives from the VB GUI through wireless

I have used VB before but it's been a long time. I looked at some of the settings and it looks like it has a SerialPort com component I can use. Will it suffice for this project?Might be a simple question, but just want some tips from experienced developers.

View 11 Replies

Communicating Via RS232 - Dll / Delphi Win32 Exe?

Sep 23, 2011

I have a Delphi program that communicates with a vb.net dll that I created. The vb.net dll communicates with a Fluke scope meter via an RS232 connection. I have created a program that communicates correctly via RS232, giving me the anticipated value. Though, when I package this up as a dll and access the dll from my Delphi program I always receive a value of "1", rather than the value I was expecting (most cases a value in and around 240).I know that my delphi program is definitely communicating correctly with the dll and that my dll is definitely communicating with the scope meter

Here is my vb.net code:
Public Interface IFlukeComm
Function GetReading(ByVal Command As String, ByVal PortNum As Integer) As String

[code].....

View 1 Replies

Communications :: Hardware ID For RS232 To USB Adapter?

Apr 28, 2010

How can I get the port name (COM6 for example) for a given hardware ID, such as USBVid_04d8&Pid_1234, and vice versa? I'm using an RS232 to USB interface.

View 6 Replies

Hooking The Comm Port (RS232)?

Nov 2, 2011

I currently have software that sends out plain text(i.e. 'X') to comm 1 port and was wondering if there was any way to capture that plain text and also respond to that port on the same compute as the port without having anything plugged into the machine (i.e. 9 pin serial cable). I am trying to avoid buy any more hardware as this is an objective to acutally cut down on hardware.

View 1 Replies

Read A Packet Of Data Which Has Come In From RS232

Jan 10, 2010

I am trying to read a packet of data which has come in from RS232. I need to be monitoring the port until data comes in to be actioned. I have been doing this fine for some time using the following code:

Dim strline As String = Nothing
Dim comPort As SerialPort
Dim bIsOpen As Boolean = False

[Code]....

The code above works without a problem unles byte 1 or two are greater than 127. Basically, all of the characters that are not converted seem to be 128-255.

I am using VB 2008 express. Clearly I need to read each byte individually and store it as a byte within an array instead of a string but i am not sure how to do this.

how to get around this either through reading bytes properly or through using a different encoding format

View 13 Replies

VB2008 SeiralPort Communication With RS232?

Jun 20, 2010

At the moment, I need to write a simple peice of software using VB.

I have a computer with VB2008, a RS232 interface; a electronic scale with RS232 interface; a cable with two female sides(this cable is file transfer cable, it enable data transfer between two computers according to the instruction)

My task is to connect the scale to the computer and the computer will keep track of the data sent from the scale.

how to get started? I'm new to VB and have no background in seiral communication, please give details.

My first question is: I have connected them together with the cable, how can I make sure they are really conected (able to communicate)? And can anybody give a peice of code to let me start building on that?

View 3 Replies

VS 2005 How To Read From RS232 Port

May 2, 2011

I have been using VB 6.0 and new to VB.net (VB 2005) I want to know how to read characters from RS-232 port.

I have created serialport object and want to read this sort of thing "A,2451.3955,06715.8253"

View 8 Replies

VS 2008 Reading Data Via Rs232

Apr 6, 2012

i would like to know a method that can read data via rs232 ( i use pic 18f452 to send 5 values(pression, temperature, current, voltage and solar radiation ) of Adc conversion )i successed to read one value at first ( sending one value via pic) , but i couldn't read more than one at end

so, question is how to do that ? how to separate between the data?

[Code].....

View 8 Replies

.net - Connecting RS232 With Visual Basic 2010?

Dec 5, 2011

Possible Duplicate: Creating a Serial Port in code in VB.net

I wanna connect RS232 to vb in order to set an input for motor such as the steps and motion. I'm really new with VB. I'm using VB2010 express. Can you help me with the coding?

View 1 Replies







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