Communicating With A Serial Device Kelba Electronic Balance?

Dec 3, 2011

I am attempting to communicate with set of scales with a vb application that i have written using the comm control. The scales are a Kelba KHX-30 I can read the data from the scales but i have to manually press a button on the scale.

View 4 Replies


ADVERTISEMENT

Communicating To A Device Using A USB To Serial Port (VCP)?

Feb 19, 2010

I am communicating to a device using a USB to serial port (VCP). I am having a problem with the usb failing. When the usb fails my app will lock up and the com port is lost. I have seen a post about this but cannot find it.

View 3 Replies

VS 2008 Communicating Between Mobile Device And Pc?

Sep 25, 2011

I am basically after some information on what you would believe to be the best way to send strings from a mobile device (possibly a windows mobile phone) to a PC and vise versa. Just so you know the distance could be upto 4 miles and no direct line of sight.

View 6 Replies

How To Send Hex (00) To Serial Device

Sep 20, 2010

In VB6, I use CHR$(&H00) to create a Null Character. In VB.Net VS2008 CHR(&H00) creats a Null. I'm trying to send a Hex(00) to a serial device, but the VB.Net function only sends a null, not a null character. How can I accomplish this with VB.Net?

View 5 Replies

Trying To Send A Hex(00) To A Serial Device

Sep 20, 2010

In VB6, I use CHR$(&H00) to create a Null Character. In VB.Net VS2008 CHR(&H00) creats a Null. I'm trying to send a Hex(00) to a serial device, but the VB.Net function only sends a null, not a null character. How can I accomplish this with VB.Net?

View 1 Replies

Read XML From A Device Through A Serial Port?

May 13, 2011

My current program can read in a continuous stream of data when initialized and I can send a command to retrieve the devices stored data, I also have within the same program code that will read an XML file and populate from controls.

I have two separate idea's right now that I'm trying to merge into one

I want to read in XML and populate my controls. I'm aware of delegate and Invoke but I'm having a hard time working them into my XML portion or the opposite "working my XML into my serial port class".

View 14 Replies

App To View Which COM Port A USB-Serial Device Is Connected To?

Jul 14, 2011

I am currently having an issue finding information on how to develop a simple application that a user can run to find out which COM port ie. COM1, COM2, ect is assined to the Belkin USB to Serial Adapters we use in the company.

To anyones knowledge is this possible and how would I implement it in a Windows Form Application.

View 15 Replies

C# - Find The Harddisk Device Serial Number Without Using The WMI In .NET?

Jul 24, 2009

I want to get the hardwired serial number from the hard disk but NOT using WMI. I tried using WMI code, and it doesn't work on my machine for sure. So is there any alternative in .NET for finding the Serial Number of a physical hard disk?

View 8 Replies

Connect To External Device Using A Serial Port

May 25, 2010

I'm trying to connect to an external device using a serial port. I found a couple of tutorials with demo code and tried these. Unfortunately they all return the same gibberish unreadible result.[code]I'm sure my port settings are correct (I have the communication protocol of the device.)

View 20 Replies

How To Show All Available Serial Port In Device Manager

Jul 24, 2011

I have a windows form in vb.net. in my form have a combobox. I want in combo box show only all com ports that exist and available in device manager. How to do it?

View 5 Replies

Communications :: Close Serial Port After USB Device Unplugged?

Oct 1, 2009

There seems to be a lot of discussion around about handling exeptions when a USB serial port device gets unplugged. What I want to know is how can one re-attach to it once it is plugged back in. The problem is that if you unplug a USB serial port device the app doesn't know it has gone and remains convinced it is still open. I have to close the app completely before I can re-attach to the device. I need a way to force it to close/go away.

View 2 Replies

Reading Output From A Serial Device In Visual Studio 2010?

Aug 31, 2011

Using visual studio 2010 on a PC running Windows XP SP3 (32bit) I am trying to read the output from a serial device but only get timed out error?If I open hyper terminal I can see the output, so the hardware and connections are good and the command to send data is working as well?When debugging I have no errors, when the program is run (in debugging mode) I get a timed out error from after the do loop (test=2) All I want to do is have my device output printed to TextBoxLockOut.Text? Note "comstring" grabs my com port the serial device is using - on this computer it is com4, it is a public string

Dim inputline As
String = ""
Dim command As
String = ""

[code]....

View 1 Replies

Made A Small Program Displaying A String Value Coming From A Serial Device?

May 7, 2009

I have made a small program displaying a string value coming from a serial device. When I run this on my laptop, then everything is just fine (VISTA OS), but when I run the same program on another computer (XP OS), then it shows some strange chars (Squares in distance number).

View 8 Replies

Take Opening Balance When Open A Report Between Date Parameter It Show The Opening Balance

Apr 21, 2011

I want to take opening balance when i open a report between date parameter it show the opening balance, actually i have three columns "description" "debit" "credit" in crystal report now i want to add 1 more field which come throuhd formula which is opening balance. i have a data of debit credit from 2006. but user choose to show the data from 2008 so i want that the balcne from sum of debit and credit side between 2006 to 2007 end come in the shape of opening balance in the report and then add the debit and credit side of report into opening balance. i put a following fromual bt not accept it sum ({vr_detail.debitT})-sum({vr_detail.creditT}) > {?strtdte}

View 1 Replies

VB 2003 - Handling Data - Transmitting Data From A Comm Device Via Serial Port

Nov 10, 2009

I'm currently working on a project where I am transmitting data from a comm device via the serial port and resorting the raw data (in binary) to its respective ascii values. The problem I'm facing is determining the most efficient method to accomplish my goal. Essentially, I have 68 bytes coming in, the first and second bytes represent the page and packet number and the data itself ranges from 3 to 64, the remaining for my checksum.

What I am needing to do is, grab 50 consecutive bytes per variable in my array, and that is where I'm confused. I have easily pulled my 3-64 bytes and stored that data to a string. I just don't know the most efficient method to accomplish my goal. Should I write directly to file all my data, as there are like 8 pages, of 128 packet data. [Code] I can capture the the first 50 by using a for-loop easily, but what would be the preferred method to track what data chunk I've taken? The more I think about it, I think I may just want to write to file, all my data, and then just take them back to back in 50 byte chunks. Is that the most efficient method?

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

VS 2008 Mobile Applications - Device Board Serial Number In Vb 2008

Oct 15, 2011

My some problem for vs 2008 in mobile applications How to learn mobile device board serial number in vb 2008?

View 2 Replies

Load The Available Serial Ports - Load Their Names As Seen In The "device Manager"?

Oct 23, 2010

i am using the below code in VB.Net to load the available serial ports :

COMsComboBox.Items.Clear()
Dim i As Integer
For i = 1 To My.Computer.Ports.SerialPortNames.Count
COMsComboBox.Items.Add(My.Computer.Ports.SerialPor tNames(i - 1))
Next

i also want to load their names as seen in the "device manager",

View 1 Replies

Build Electronic Circuit Simulator In .net?

Mar 29, 2010

i want to build my own electronic circuit simulator which is use mathematical models to replicate the behavior of an actual electronic device or circuit. Simulating a circuits behavior before actually building it can i do that with vb.net is there any library that deal with simulation or something

View 6 Replies

Online Electronic Fund Transfer?

Sep 17, 2009

Im working on a small online banking project website using asp.net vb.net language with mssql 2005 database, and i need asistance on the section of electronic transfer of fund were someone can transfer fund from one account to another bank account by clicking on a button as the person click on the tansfer button, there is a visual display that the transfer is in progress too and if the transfer complete successfully there is notification.

View 1 Replies

Make Program Feel If Any Device / Usb Device Plugged Into Computer Or Unplugged

May 5, 2010

how can i make my program feel if any device or usb device plugged into the computer or unplugged.url...

View 3 Replies

Windows Cannot Load The Device Driver For This Hardware Because There Is A Duplicate Device Already Running In The System (Code 42)

Nov 13, 2009

A Problem in accessing a device from VB Windows cannot load the device driver for this hardware because there is a duplicate device already running in the system. (Code 42) This error is because i am using 2 devices of the same company which has the mass usb storage on it and when i install one of the device the other hides. So one is detected the Other is not. It also give a error called designed dragnonacally something...

View 2 Replies

Create A .net Program For EDI (electronic Data Interchange)?

Aug 17, 2010

Boss assign me a project: Create a vb.net program for EDI (electronic data interchange). I have no any idea how to start.

View 3 Replies

How To Design Visual Controls To Act Like Electronic Selector Or Volume Dial

Jun 2, 2010

I need to create a few visual controls to reside on my form.

1- Rotary Selector to rotate and select an option. (maybe up to 16 steps per rotation or 0 to 15.)

2- Rotary dial to act like a volume control. This actually selects a value between 0 to 255 or 0 to 1023. (is this too many steps?)

3- Bunch of selector push buttons to act like the old car radio selector? (pushing one resets the other buttons. Just like old car radios?)

View 1 Replies

Reate A Socket Class In Project To Send Data To Ecr (electronic Cash Register)?

Jan 9, 2012

I am trying to create a socket class in my project to send data to ecr (electronic cash register).Ecr comes with software that listens for commands on port 3535. Command are in forms of XML Files. It has only one catch, I must close the connection on socket, so the ecr would know when to process the command and respond. Since I only send one command at a time,I need the simplest solution I can get.

How it works:I create the socket and connect it to 192.168.1.67:3535 I start

client.BeginReceive

Then I send the command with

client.BeginSend

And I do a

client.Disconnect(True)

so I can get response from ECR.And in 8 of 10 times it works just fine. The problem is this few times it doesn't work.At that time I cant receive anything because it reports that the client is not connected in ReceiveCallback but it still manages to send the data to ECR just fine. The bill comes out on the ECR, but I get no answer about what happened.

I call the class like this:

Dim dre As New HCPSocket
Result2 = dre.Otkucaj(Command1, "192.168.1.67")
Debug.Print(Result2)
dre = Nothing

End the class looks like this:

Imports System
Imports System.Net
Imports System.Net.Sockets

[code]....

View 1 Replies

C# - Communicating To Applications On LAN

Jan 3, 2011

I want to code an app with recreational purposes. This should be a Desktop app that detects itself running on other computers on the same LAN and communicates with them. By communication I mean that I should be able to pass anything from on to another. note that although I'm not asking for code (that would beat my purpose, of course) I think some small snippets wouldn't hurt. In any case what I really want is the "recommended procedure", I mean what Microsoft recommends for this environment, and documentation :)

View 3 Replies

Communicating With Printers?

Feb 3, 2009

is there a way through vb visual express 08 to ask a printer if it has toner or paper? im not to sure on how to communicate with printers in this way if it is at all possible.i am writing a program to display the status of the printer and this is key.

View 1 Replies

Asp.net - Communicating With Android C2DM Using .NET?

Mar 8, 2012

I've set up this function in my web app to send push notifications to Android devices:

Private Function SendNotification(ByVal authstring As String) As String
Dim request As WebRequest = WebRequest.Create("https://android.apis.google.com/c2dm/send")
request.Method = "POST"

[code]....

However, whenever I call this function, I get the following error message: The remote certificate is invalid according to the validation procedure."

View 1 Replies

Communicating Form.vb And UserControl.vb

Jul 25, 2009

I have VB.net Simple application with form1.vb , UserControl1.vb and a simple Dataset with few records included. In my UserControl1.vb I'll added a Bound DataGridView1 with Products Datasource. My question is.. How can i filter the Products table from UserControl1.vb? The Filter Value ("ProdID") is from Form1.vb with textbox1(receive the value.). here is my Form1 code

[Code]...

View 4 Replies

Communicating With Access Database?

Feb 15, 2011

Im new to using databases in my programming and to be honeest i am struggling.i need to get the program to communicate with my database to allow the user to login this is the code i have so far as i say i dont know much about it so its a bit bodged.

[Code]...

View 4 Replies







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