VS 2010how To Transfer Or Receive Data Via Parallel Port

Dec 19, 2011

I want to control the D0-D7 pins of the parallel port(LPT) with VB2010. I do not need to transfer or receive data via this port, all I want is to set high or low (5V or 0V).Is it even possible?

View 4 Replies


ADVERTISEMENT

Send Data / Signal To H-Bridge Then To DC Motor Using Parallel Port In Program?

Jan 21, 2012

How will I send data or signal to H-Bridge then to DC Motor using parallel port in vb.net?

View 2 Replies

Receive HEX Data Through Serial Port?

Jan 5, 2009

I am trying to recieve HEX data from a seriall device. Code is as below . but the required output is not correct. Some chracter code are not correct even in decimal . like for 80 i recieved 3F and for c0 also.for example i recived a string .

10 02 3F 00 10 03 3F 61
but in actual data should be
10 02 80 00 10 03 c0 61

[code].....

View 2 Replies

Send And Receive Data Through USB Port?

Jan 24, 2008

I am trying to send and receive data through a USB port on my computer to an external microcontroller.

I built most of the code using the "serial class" but then i read that this would not work with a USB port.

How would I go about communicating with this USB port on my computer?

View 5 Replies

VB Receive Data From Serial Port?

Apr 20, 2011

I use ReceiveSerialData() function to get a string (20 byte of 8 bit data) from serial portBut I faild and got the error "operation has timeout". I am new in VB 2010

View 10 Replies

Developing An Application Which Can Connect To An Ip Address To Transfer/receive Data To The Handheld Device?

Aug 25, 2009

I am developing an application which can connect to an ip address to transfer/receive data to the handheld device via gprs network.

View 2 Replies

Communications :: Receive Hex Data On Serial Port?

Jan 5, 2009

I am trying to recieve HEX data from a seriall device. Code is as below . but the required output is not correct. Some chracter code are not correct even in decimal. like for 80 i recieved 3F and for c0 also. for example i recived a string .

10 02 3F 00 10 03 3F 61

but in actual data should be

10 02 80 00 10 03 c0 61

Public Sub DataSeriallReceived(ByVal sender As Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort.DataReceived
Dim buff As String

[Code].....

View 2 Replies

Receive Data From COM Port Or USB Live Into Excel?

Aug 12, 2010

I have blocks of data that arrives from a remote terminal via RS232/COM1 port.

Each block has carriage return at end of the data.

I like to receive the data direcly into EXCEL so it will feel like the remote computer is typing into my EXCEL.

Do I need an interface program outside EXCEL or a MACRO can do the same and how do I do it?

Is there anyway to have the serial data go to keyboard buffer that EXCEL operates from it?

View 7 Replies

Receive Data From Serial Port To Page?

Feb 28, 2011

I am working on my project "PREPAID RESTAURANT CARD USING RFID TECHNOLOGY" in which i sent 12 digit number (rfid tag id) to serial port through my hardware and receive at my vb.net 2008 page.but i don't know how to receive data in vb page in the textbox using which cammand.

View 1 Replies

Receive Data From The Serial Port After Message Is Being Sent?

Aug 4, 2009

I am doing a project on sending and receiving sms from a serial port. But I have a problem on receiving sms. About the receiving sms, how can i show the received sms in the textbox using the serial port. Do I have to use the DataReceived Events. Here is the code i am using:

Public Class Form1
Private WithEvents serialPort As New SerialPort
Private ReadThread As Thread[code]....

View 1 Replies

Receive Incoming Data From Serial Port?

Mar 23, 2011

I am having problem receiving data from serial port. Btw, I am new to Visual studio 2010 too.

I do a test program on my PIC so that when button1 press, it will send character "Y" to visual studio; when button2 press, it will send character "N" to visual studio. I know for VS 2010, sending data out is by the command

[Code]...

View 1 Replies

Send And Receive Data From A Serial Port?

Jul 8, 2011

I have created a program to send and receive data from a serial port, some of the data needs to be stored in certain strings for a export to excel. However the data takes while to to send be sent back. So in order to get the right information in the right strings I have to put pauses in my code. I have added a timer to my form:

On my timer's tick event I have the following code:

Public Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
iTick = iTick + 1
End Sub

View 3 Replies

Unable To Receive Data From The Serial Port (VB)

May 4, 2011

I am writing a VB based program which will receive data from a Micrcontroller (programmed in C) via UART. The data that is transmitted from the Microntroller can be displayed on Hyperterminal when I set it up with the correct settings (Baud, Parity etc), so I know that Microcontroller end is working fine. The VB-based program however (written in Visual Studio 2010 Express), does not however receive any data and I always get the TimeOut exception (despite the fact that Microcontroller is sending data via UART, I have an onboard LED to indicate this). Here is the VB code, it is an adapted version from the MSDN library:

[Code]....

View 11 Replies

Receive Continuous Incoming Data From A Serial Port (MCU) In Vb?

Mar 7, 2012

I am working on a project to receive and send data to a micro controller using a Visual Basic application. I am using Visual Studio 2008. I have done coding to send data on button click event.

But I am stuck at how to receive incoming data to serial port continually from MCU and store it to an integer or string type data in VB.

View 1 Replies

Detect The Address And Port Number Of The Parallel Port In Computer?

Jun 9, 2010

I would like to detect the Address and Port number of the Parallel Port in computer.

View 4 Replies

Serial Port - Receive Incoming Data From Radio Equipment?

Apr 8, 2009

I have an application that receives incoming data from a Radio Equipment through a hardware modem. How can I replace the hardware modem? Could I use the PC Sound Card in place of the modem?

View 9 Replies

Serial Port Communications - AT Commands - Send And Receive Data

Apr 12, 2009

I have a USB modem that can detect caller ID and can detect dialled digits when special AT commands activated, How to send and receive data. The sent data will be the AT command such as AT+VCID-1 to activate the caller ID, the received data will be caller ID information and the digits dialed. I'm new to prgramming and using Visual Basic 2008 Express.

View 8 Replies

Receive Data From Serial Port Link To Itegno Modem W3800

Sep 17, 2009

I am wondering is there any code to get the text reply from the modem? I am using the itegno W3800 modem. I have used the below method so far but apparently VB.NET windows form doesnt see the incoming data. The message box comes out empty. But when i try the same method with the TMAS Siemens GSM modem, VB.NET can see the incoming data and display out the data string.

here is the code that i have written:

serialPort.Write("AT" & vbCrLf) 'set command message format to text mode(1)
receiveddata = serialPort.ReadExisting()
it works for the TMAS gsm modem.

The baud rate for the TMAS GSM modem is 9600 and the baud rate for the itegno modem is 115200.

For the itegno modem, the data is sort of like stuck at the serial port as after every time i pressed on the button for example "AT"

this "AT" command gets "stuck" at the serialport and run only when i have connected through the serial port in hyper terminal.

I am thinking is it the baud rate for 115200 is too fast for VB to handle? And also is there any way to solve this problem?

i have to revert back to the itegno modem for use for my project at the end of the day.

View 2 Replies

Padding Receive "Hex" Data From Serial Port?

Dec 12, 2009

How do you add the "0" to the Hex value? What I get: 881 Should Be: 8801

Dim ByteCounter As Integer = 0
Dim DataPacketLenght As Byte
Dim Databyte(DataPacketLenght - &H1) As Byte

[code]....

View 2 Replies

Print To Parallel Port In Net?

Dec 31, 2008

I use the following code to print to the receipt printer on the parallel port in vb 6.0, but it seems that it doesn't work on vb.net.[code]...

View 2 Replies

Call The Parallel Port With Vb Codes?

Jul 14, 2011

How to call the parallel port with vb codes.I'm going to make a helicopter to control with my pc.

View 3 Replies

Check Or Map If Parallel Port Is Mapped?

May 31, 2010

i want to work with it in vb. 1st i want to check if port is already mapped or not, if not then map it and once done remove the mapping. The one way is using shell and pass command in it, but not sure how to get already map status and also wondering if there is any other method to get it done.n :)

View 1 Replies

Connect To Parallel Port Printer?

Apr 24, 2012

I have a program that connect to 2 printers at the same time. Ribbon Printer and Label printer.

I have set the ribbon printer to be the default printer of the server so that normal document printing can be printed using it. This is very simple and i already finsih the code for it.

However i have a Parallel printer at Port LPT1 which i wish to use it to print label. I have search online but find no solution on how to open connection to LPT1 and print the document in coding.What i can find i only send a window command to the port LPT

View 1 Replies

Interface Spi Using Parallel Or Serial Port?

Dec 29, 2010

i need to interface an spi analog switches using either a parallel or serial port. Is this possible?

View 1 Replies

Parallel Port And Relay Control?

Oct 26, 2009

im new around here and also to VB.NET infact any aspect of programming, im hoping to be able to some useful stuff but at the momment im a little stuck i only have basic knoweldge so anyway here goes im programming in VB.NET 2008 Express edition, im also using inpout32.dll which is running ok and also controlling the parallel port fine.the problem i have is as follows the program so far is controlling the 8 outputs at the momment, i can turn each individual one on but when i try to turn multiple outputs on it will only turn on one and the other that was turned on goes off i understand its controlled in a 255 bit array but how to decode it is a little tough

View 5 Replies

Programming USB To Parallel Port Converter?

Jul 4, 2010

I am new to VB and am needing to write to the parallel port. I am using a laptop so have got a USB to parallel port converter and need to know how to write to it using VB (I am using Visual Basic Express 2010)

View 7 Replies

Timer To Control Parallel Port?

Mar 11, 2010

i want to control pc parallel port using vb.net/vb6 , i need timer coding .

View 1 Replies

VS 2008 - DLL For Parallel Port In Windows7

Sep 18, 2010

I need to program Parallel port. For accessing port I used inpout32.dll but it is not working with windows 7.

View 1 Replies

VS 2008 Parallel Port Equivalent?

Oct 14, 2010

In my project I was using Parallel port to drive a relay circuit with the help of inpout32.dll. But as we all know nowadays parallel ports are getting extinct and USB is getting replaced in its place. Is there any other means I could adapt for driving external circuits from PC, instead of using Parallel Port

View 1 Replies

VS 2010 Acessing Parallel Port?

Jun 18, 2012

I've been trying to this application in Visual Studio 2010 to only write to the parallel port, so supposedly it would be a very easy task, and by all the tutorials in the internet i've seen before it really is! Although it throws me always the same error which is too generic and don't give enough information for me to solve it. I'm doing this using the "Inpout32.dll" library to make the communication between VB.NET and the port..

[Code]...

View 2 Replies







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