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


ADVERTISEMENT

Communications :: Stepper Motor With Parallel Port

May 25, 2009

I have created a program using inpout32.dll to run my stepper motor . I can run stepper motor now but the problem is that it is running very slow! is there any better way i can run my motor fast as i want.

i used following method.

option explicit on
Dim myTime as object
public sub Form1

[Code]....

if i set the value of mytime less then 2000 my motor does'nt work at all. i tried also with the timer tool and i wrote the code in the tick event of timer but it is also very slow.

View 2 Replies

Send Byte,signal,string Or Puls Usb Port?

Feb 14, 2010

How can i send byte/signal/puls usb port?i want to this

View 3 Replies

Send Data On Serial Port And Detecte It In Same Program?

Feb 24, 2011

I am supposed to make a software for data logging via serial port but the hardware is expected to be delayed and iam required to continue with the programming of the software. What i need is that by some mechanism i want to send data on serial port (COM port) and after delay of some mili seconds i want to detect that data. I actually want to do this because i want to create environment like my software i intercepting COM port and on receiving data it captures the data values on port and record them to database. I have done most the work, the only thing left which i want is as above how i will send data on COM port (this was to actually to be done by hardware) and detect it in my program (same program from which data was sent). Please guide from where should i start.

View 3 Replies

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

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

Send Data To A USB Port?

Jun 9, 2012

how to send data to a USB port.

View 1 Replies

Access And Send Data On USB PORT?

Nov 21, 2011

I am currently doing a program to control some device via usb port but i don't know how to interface the usb port using vb.net. i want to send data on a device to make it act like parallel port..

View 10 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

Using Chr$ To Send Data To The Serial Port?

Feb 18, 2011

I used this code in the pass with VB6 to send hex data over the serial port to a microcontroller.

MSComm1.Output = "C"
Send command ID
MSComm1.Output = Chr$("1") Send Command Parameter
MSComm1.Output = Chr$(CStr(240)) Send CR

I need to convert the code using VB2010, but Chr$ is not available, and anything I tried will not send the actual ascii code character......

View 10 Replies

Capture An On/off Signal From A Relay And Count The Seconds Of Elapsed Time Between The Cycles On A Com Port?

Dec 27, 2011

how to capture an on/off signal from a relay and count the seconds of elapsed time between the cycles on a com port? Also, which pins on the com port should be used for this?

View 12 Replies

Send Some Data To Printer Through COM1, Label Printer's Ready Signal Led Will Be ON/OFF But It Does Not Print Anything Or Any Label?

Feb 8, 2007

I have a label printer (Argox 1000-x) and i want to print some datas on it. And this printer is connected to my computer via the COM1 port. I can open/write COM1. And when i send some data to printer through COM1, Label Printer's Ready Signal Led will be ON/OFF. But it does not print anything or any label..

View 5 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

Send Data : String Through Serial Port?

Mar 11, 2010

i knew Serial ports are a type of computer interface that complies with the RS-232 standard. They are 9-pin connectors that relay information, incoming or outgoing, one byte at a time. Each byte is broken up into a series of eight bits, hence the term serial port.And I want to write a program chatting through Serial Port.

View 3 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

Send XML Commands In Vb To Get Data Received Over A Serial Port

May 5, 2011

How do I send XML commands in vb to get data received over a serial Port?

I know the commands I'm just not sure how to send them.

View 2 Replies

Use A Textbox To Send Binary Data To Serial Port

Sep 1, 2009

I am currently sending data via a serial port to an AVR microcontroller. I've tried searching the forums here first but haven't found any posts that specifically deal with what I'm trying to do. Here's some additional information that might help before proceeding:

Sendbox = textbox
ReceiveBox = listbox
ReceiveChk = checkbox

I currently have it setup so I enter hex data in Sendbox, click the button, it sends the data to the AVR micro via the serial port, which gets repeated back through the serial port and receives the hex data in the ReceiveBox. I want to be able to setup something similar so I am able to input data into a textbox as binary and have it sent to the AVR that way.

I realize it will send the same data whether I enter it in hex or binary form. I just want the option of being able to send it in either form.

Below is my code.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SendButton.Click
SerialPort1.Open()

[Code]....

View 1 Replies

Bridge Program The Time Between Appearance Of Cards Longer?

Apr 24, 2011

I want in my bridge program the time between appearance of cards longer. Different suggestions can be found in the forum. I tried "System.Threading.Thread.Sleep(100)" resulting in the card appearing in half and after the delay the rest. Only the following code does as intended:

Dim Timer As DateTime = Now.AddMilliseconds(2000)
Do Until (Now > Timer)
Application.DoEvents()
Loop

I place this just for the code of the next card to be displayed. It is strange that the dim statement should be there. When I place it instead at the beginning of the program the code doesn't function anymore.I can live with that, however, in the forum some contributors write that this code is dangerous as it can slow down the machine considerably..Is that true or and/or only true for older versions of Visual Basic?

View 5 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

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

Send A Message Or Signal To A Process To Maximize Its Window After It Is Started?

Jul 17, 2010

I tried a variation of the code at the end of this thread.>> [URL] which is the following code using; one Button one Panel

View 5 Replies







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