MSComm Port USB 4 Port Relay

Oct 20, 2011

I am trying to get my 4 port USB relay board to work in VB.net using the COM PORT. I found some code from a poster who has the 16 port USB relay version. When trying his code i can only get it to turn on relays 1-3 all at the same time. The product can be found here: USB 4 port relay I was following what the guy in the post was doing to turn his on:

[Code]...

View 6 Replies


ADVERTISEMENT

Communications :: .net MSComm Port USB 4 Port Relay?

Oct 20, 2011

I am trying to get my 4 port USB relay board to work in VB.net using the COM PORT. I found some code from a poster who has the 16 port USB relay version. When trying his code i can only get it to turn on relays 1-3 all at the same time. The product can be found here: USB 4 port relay

"01+//" - Relay 1 is switched ON
"01-//" - Relay 1 is switched OFF
"02+//" - Relay 2 is switched ON
"02-//" - Relay 2 is switched OFF

[code].....

So i am confused as to how to separate each relay out with that code above and just be able to turn on any number 1-4 relay on or off independently from each other!

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

VS 2008 Control Relay Via USB Port

Mar 27, 2010

currently doing a college project called Home Appliances System by using Voice Command.I have done the voice command part and now it comes to the interfacing between PC and relay board part. Currently I'm considering using USB port to send data(to trigger the home application). Does anyone know how to do it with VB.net?

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

Read The Data From Barcode Weight Scales By Serial Port And TcpIp Port?

Nov 27, 2010

I'm mohammed from Oman ,I'm visual studio.net programmer How I can Read the Data From Barcode Weight scales By Serial port and TcpIp port

View 7 Replies

Get FullName From Available Serial Port (Com Port) From Device Manager In Windows Form With .net?

Jul 25, 2011

I have a Windows form.in windows form have a combo box that give me a list of available port serial with it code (Dim ports As String() =SerialPort.GetPortNames())for example( Com1,Com8,Com15,...).but I want to give me fullname of serial port in device manager for example in dvice manager is these (Comunication Port(COM1) - Printer Port(LPT1) And USB Serial Port(COM8)).how to Get it?

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

The Given Port Name Does Not Start With COM/com Or Does Not Resolve To A Valid Serial Port?

Aug 2, 2011

If I uninstall the COM1 and reboot, it works. If I shut down (power off) and restart, I get the message below. If I uninstall then click on Scan for Hardware Changes,The given port name does not start with COM/com or does not resolve to a valid serial port. Parameter name:portName

View 8 Replies

Communications :: Serial Port - Run Program, "Access To The Port 'COM1' Is Denied"?

Oct 15, 2008

Im having problem with the Serial Port. When i run my program, "Access to the port 'COM1' is denied". What does that mean? Im not sure whats happening because theres no error in my code. Someone suggest me to use 'COM2'. Which is also the same result. I have a microcontroller, programmed and run it. And i need to capture the data onto my vb, which is on a multiline textbox. How to i do that?Just to double check my code?

[code]...

View 1 Replies

Reading Serial Port Read Data From Serial Port?

Aug 16, 2011

i am a absolute beginner and i want to use vb to receive data from micro controller through serial port using rs232 standards, i found this code to receive the data serially, can any one tell me where should i paste this code, so that the data received will be displayed in message box.Private Sub DataReceived(ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) HandlesSerialPort1.DataReceived

[Code]...

View 9 Replies

Serial Port Example Code - Connect To A Modem Thru The Serial Port

Oct 26, 2011

The link below has code to connect to a modem thru the serial port but it is for an earlier version of VB. when I convert the code, it does not fully convert and has 4 errors that prevent building the project. can someone tell me what needs to be changed or added?

[URL]

Note: the error: not CLS-Compliant

View 8 Replies

Get USB Control For The USB Port Communication? Like The SerialPort Control For The COM Port

Jul 17, 2009

Do someone know if there is a\\ USB control for the USB port communication? like the SerialPort control for the COM port.

View 2 Replies

Accessing USB Port In VB6

Jun 17, 2008

I am new to this forum as will as to VB. I am using VB6. I want to access the USB port in order to read the data at the USB port comming from my Data acquisition card.Or as a matter of fact can I also access the data from my mouse, because it also transmits the signal when ever the mouse is moving.

View 3 Replies

Any Way To Disconnect IP In Port?

Jan 17, 2009

It is possible to disconnect an IP in a port? I have a MMORPG server, and I need kick bad players using IP of this player.

View 2 Replies

C# - Open And Use A TCP Port?

Jan 17, 2012

I need to transfer data between several computers in a network using my app. I thought of using TCP ports. how to open and use them? I only want to make a file transfer and chat app that works offline.

View 3 Replies

Close A Usb Port?

Feb 8, 2011

How can one close the usb port (shut off power (electric current)) ?

View 8 Replies

Communicate Using LAN / NIC Port?

Mar 4, 2009

I am trying to send and receive packets over the LAN (i.e. NIC port) using VB.NET. I found some code that uses Socket wrench, but problem with such solutions is that users will need to install extra drivers and all which I do not want. I am looking to use drivers native to the .NET environment to send and receive packets through the LAN port. My windows forms application is in VB.NETneil

View 1 Replies

Communicate Using LAN Port?

Feb 22, 2009

I am looking to send and receive packets from the LAN port using some kind of WIndows Native object so that the user of my Windows Forms control does not have to install any third party software.[For example, for Serial port I use MSComm, i want to know what I can use for LAN port?]

View 1 Replies

Connect To Tcp Using Port 23?

Nov 3, 2009

has to be able to retrieve an ip address from a list in a text document and send 3 commands to the IP address over port 23 and get the response back for the last command and type it into a text file and after that move on the next ip in the list

View 5 Replies

Control LCD By LPT Port?

Dec 10, 2009

How to control LCD 2X16 or 4X20 by the LPT port?

I have these two LCDs, I wired them and connected them to the LPT port and used free programs from the net. they work fine. I would like to learn how to do that in VB.NET. Maby program a form to show time and date and display the contenant of TextBox.

View 6 Replies

Detect USB COM Port?

May 6, 2010

I had tried to use vb.net2008 to detect a USB mapped to a com port, I basically followed[code]...

View 5 Replies

Form App And TCP Port

Apr 20, 2010

I've written a small vb.net program to check the time and the state of the Windows Time service on a list of remote servers. It also grabs the events for W32Time for the last 24 hours. It's basically a support tool for managing time services on large domains.[code]Running TCPView, local ports used are from 2750 - 2770 which probably isn't a problem, the destination port is 1983 (something called a ihtp, Loophole Test Protocol). This port seems to be blocked on our firewalls and Can anyone explain why it uses this particular port? Is there a way to get it using a different port? Some sites suggest port 1983 is used by a trojan called Q-taz so our network people may not allow it.

View 3 Replies

Get The Port From An In_addr Value?

Oct 22, 2009

I am trying to extract the port from a given in_addr value in windows.So far I am able to get the IP address using inet_ntoa but not the port.

View 1 Replies

Getting Data From COM Port?

Jun 24, 2010

getting data from COM port. I can't the the moRS232.Read(128) code working in my project. And i get my rs232 class from codeworks.it. Attached is my VB project if u need it for reference.

here is the

Private Sub FindDistance_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FindDistance.Click
' Initializes and Open

[Code]......

View 6 Replies

How To Access GPS Port

May 5, 2010

I want to find the coordinates of a speeding vehicle by accessing the position of the vehicle through GPS(from a server system). how to access GPS port and retreive the data.

View 4 Replies

How To Access USB Port Via .NET

Jan 29, 2007

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. anybody can help me with this problem as which namespace I should use?

View 10 Replies

How To Get Data From A USB Port

Feb 15, 2012

I have developed a software for managing the details of patients, the software stores the data into MSsql database..However, the data I need to get stored has to be read from an external device which transmits data... Now my query is how I can read that data using VB.NET 2010.I have searched on net and found that I can use My.Computer.Port to read data from USB connected device, but I am unable to get its logic and any example to get this practically done.I also been through many books to understand the practical way of doing this, but not yet resolved with anything.

View 3 Replies

How To Interface The Usb Port

Nov 2, 2009

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.this is code in vb.6.but i don't know how to changethis code into vb.net.

Private Sub Command4_Click()
Dim id As Integer
Dim status As Integer

[code].....

View 3 Replies

How To Specify Outgoing UDP Port

Jul 13, 2011

m new in Visual Basic programming, recently I have developed an application to send and receive UDP packets using the Socket Class. Everything is working ok, but there is one more thing I have to acomplish, which is specify the outgoing UDP port for outgoing packets (SendTo method), I need to do that because the application in the other side just process packets from an specific UDP port at the origin

View 3 Replies







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