How To Capture Data Of A Scale (mettler - Toledo 8530)

Aug 15, 2011

ok the scale is a truck scale connected to a terminal (cougar 8530) that was connected before via Rs232 now the pcs doesn't have a serial port so someone attach a usb adapter to it the thing is i cant capture any data from it. im an developing a small program that can capture the weight of the truck (trucks are weight with the product and then re-weight with out it so they can find how much the product or products weight) so any ideas? suggestions?

View 1 Replies


ADVERTISEMENT

Capture Weight Of A Mettler Toledo Truck Scale Using Serialport

Aug 31, 2011

I got a code online to read via rs232 using serial port ,the code uses readExisting() to get the data(im geting data form a MettlerToledo scale connected at com3,9600,8,N,1)problem now is that i change it to ReadLine() but it captures the weight once and i need the weight updated all the time!

View 1 Replies

VS 2008 Toledo Scale Automation?

Oct 29, 2009

i would put this here maybe someone would be in the know.Waiting to here back from the company also.At work we have a truck scale and it has a control that reads the weight.Model of the control is Toledo Scales Model 8530. The control has a serial cable to communicate with.I am trying to figure out what command to send to it to get the weight back.I have connected to it with a serial monitor and i dont seem to be getting any information back so thought maybe I had to send something to it.Right now we have a 3rd party dos program that is communicating with it that i dont have the source to.

I dont know if i could just bypass the control and connect to that serial cable or not,,, i would need to find an adapter if so.Ok probably shot in dark but thought what the heck this is a smart group

View 15 Replies

Reading Data From Weighing Scale

Nov 14, 2010

I have a digital weighing scale I need to connect to the PC using RS232 communication port. Every time I weigh an object, automatically the result/ weight will display in the the texbox control in Visual Basic Application.I use to receive data via a timer for continuous looping sequence output to a textbox. Things do goes bad, as it flicking all the way. I using a indicator from AD series which read data from load cell of a truck weight bridge. It there's any way to stop this flicking without effecting the continuous loop?

View 3 Replies

Get Chart Scale To Resize When Data Updated?

Feb 28, 2012

What I have managed to do is currently display a chart with 3 bars on it linked to textboxes what have numerical values in them when the form is loaded. i.e TextBox1 has an initial value set in it's properties of 10, TextBox2 has a value of 20, TextBox3 has a value of 30.

When I run the program the graph displays these values correctly.

I have also got a button, Button1 which when pressed will plot the chart again, (so if I manually change the values in the TextBoxes after the form has loaded), it will display the new values via the bars.

The problem I have is that if if once the initial values have been plotted when the form loads, i.e. 10, 20 & 30, the Y axis of the chart has a maximum value of 35, so that all the initial values for the bars are shown. But if I change the values to say 15, 30, 80. and then press Button1 to update that bars to thier new values, the bars change but the one that show's 80 can not been seen fully as it goes off the chart, as the Y axis still only shows a maximum value of 35!

Does anyone know how to get the chart to resize to be able to display all the bar values within the chart each time the values are changed and the Button1 is pressed, whether it be reducing the graph for smaller values or enlarging the chart for higher values?

I am not 100% sure I am going about it in the correct way as I have not got any experience in using charts and am having to stuble about the net trying to find basic example code of how to setup and use a chart

My code so far is:

Imports System.Windows.Forms.DataVisualization.Charting
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

[Code].....

View 2 Replies

.net :: Using POST Or SESSION To Capture Data?

Mar 31, 2010

I'm currently working on web application using VB in ASP.NET.Right now I have 1 page with panels that we are using to show/hide depending on the flow. When the user first comes in, he/she is presented with a gridview containing a list of clients. Then the user, clicks a link from a row and is presented a form where he/she can update the clients' info.Originally, I had a HYPERLINKFIELD that put the clientId in the url, then I'd grab the url and do the code appropriately

<asp:HyperLinkField Text='<%$ Resources:Resource, ManageClient %>' DataNavigateUrlFields="CLIENT_ID" DataNavigateUrlFormatString="~/clients/manage.aspx?clientId={0}" />

[code]....

View 2 Replies

Capture Data From A Database To A Label?

Jun 21, 2010

I have a problem trying to capture data from a database to a label. I am trying to display a list of values from my database when i press a button.

This is my code for my database
[ CODE]Dim strDBFileName As String
strDBFileName = "My DocumentsCDRecord.sdf"
If File.Exists(strDBFileName) Then

[Code]......

View 1 Replies

How To Capture System Data At Exception

Sep 23, 2009

Is there an easy way for me to capture some system data when I except? Particular memory information. I have a service that has been running fine for years, but lately it keeps having System.OutOfMemory exceptions being thrown at random. I want to determine what memory the system is actually using then if possible to see if I am really out of memory.

View 4 Replies

Capture Some Text Data Flowing In On COM1?

Nov 8, 2010

Just trying to capture some text data flowing in on COM1. The port opens but the data does not flow in. I have a textbox on the form and a SerialPort in the tray.

Public Class Form1
Private Sub IncomingData(ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived

[code].....

View 4 Replies

DirectSound Reading Data From Capture Buffer?

Jul 13, 2011

where I'm going wrong with my circular DirectSound Capture buffer here? If I just capture sound into a big non-circular buffer it works fine, but with a 1 second (44100 bytes) buffer and a 100ms timer to poll the read position it goes haywire. No error messages, just long blocks of zeros with short bursts of valid data. calculation of the number of bytes to read and/or the read position.

Here is the code. gBuffer is defined elsewhere as a big byte array. In this example I am just trying to copy the captured sound data from the small temporary byte array (tempBuffer) into the big gBuffer byte array. Obviously this must be done so that every byte is read and copied into the byte array with no gaps or duplication of values. Timer1 is set to 100mS:

Dim McaptureBuffer As CaptureBuffer
Dim MiLastReadPos As Integer
Dim MiBufferOffset As Integer

[Code].....

View 2 Replies

Capture Data Before A Postback (User Control Within A Repeater)

May 9, 2012

I have several UserControls in an ASP:Repeater. They are 'Add to basket' User Controls with a text input for quantity and a button to add the item to the basket.

My problem is the value is being reset to 1 whenever I enter a value into the quantity text box. I think this is happening because the containing page reinitialised the repeater (which holds the UserControls) and the quantity is one again before the UserControl's click event is fired.

how to capture the value in the textbox before the Postback occurs, I am happy to stick this data in a session for now.

I am thinking I need something along the lines of PreLoad? But that didn't work for me

View 1 Replies

Pasting A Bitmap Data On Clipboard From Screen Capture

Nov 29, 2011

There is Bitmap data on the clipboard from a screen capture. If I paste it into a RichTextBox it works OK. That is, if I remove the first two lines below.

Dim clipboardDataO As DataObject = CType(Clipboard.GetDataObject(), DataObject)
Clipboard.SetDataObject(clipboardDataO)
RichTextBoxTxt.Paste(DataFormats.GetFormat(DataFormats.Bitmap))

However, If I capture the clipboard data and restore it before I paste I no longer get my bitmap displayed in the box. My problem is, in the real situation I need to use the clipboard before I paste which is why I save it and restore it above.

1) Do you know why restoring doesn't appear to work here?
2) I can't paste before the save/restore. Is there something else I can do?

View 1 Replies

Possible To Use Exclamation System Event To Validate Data Capture?

Aug 23, 2010

In a Windows XP Pro environment, my system uses a mainframe emulator in a window in which a scanning application is running. The data populating the mainframe app comes from various instruments, scales, barcode scanners, etc.. The data inputs are captured by a winwedge type RS232 data aquisition software.

When all the data is processed correctly, the mainframe application sends an "operation completed" message and creates an exclamation system event associated with a specific sound to inform the user.

My goal is to create a MS Access application that would use the Exclamation system event to validate writing the barcode that was just read to a database without further querying the mainframe, creating a local database. I only want to write the barcode when the mainframe application completed and therefore played the sound.

View 5 Replies

Regex - Capture The Repeating Data Using A Regular Expression In .Net?

Feb 7, 2011

I'm trying to find the right RegEx to capture some (potentially) repeating data. I don't know how many times it will repeat. If I give an exanple of the data and what I want to capture can anyone point me in the right direction? It's the .Net regex engine (Visual Basic)

[Code]...

View 1 Replies

Capture Images And Store It In Access Data Base In Program?

Dec 23, 2009

I want to capture images and store it in access data base in vb.net 2005

View 4 Replies

IDE :: VB 2008 - Data Grid - Capture The Value Of A Specific Column Of The Selected Row?

Jul 30, 2008

I'm somewhat of a novice at VB.I have a DataGrid that I am manually populating from a SQL query-based dataset (see code below). Question: How do a capture the value of a specific column of the selected row (mouse click in the row) to use as a variable in other parts of the overall solution?Also, how do I add cell padding around the contents of the data grid cells?

[Code]...

View 5 Replies

Web Page Snapshots - Capture An Image For Each Of The Selected URL's In The Data Grid View?

Sep 5, 2011

I have written an application which extracts a list of URL's (currently in Internet Explorer cache) from an XML file and displays them in a data grid view. From here i would like to launch Internet Explorer in a hidden mode and capture an image for each of the selected URL's in the data grid view. Is this possbile? If so what is the best way to go about it?

View 2 Replies

Error In Serial Port Data Capture Program In Visual Studios 2010?

Apr 11, 2012

I'm trying to make a rs232 serial data logging program, that accepts a 12 bit hex RFID tagID from an RFID module. My end objective is to save this RFID tagID into a database and assigned to a person for a personnel management system.I had to use button3 to add the value of the variable 'msg' into textbox1 because I was getting the following error "Cross-thread operation not valid: Control 'TextBox1' accessed from a thread other than the thread it was created on". It is a temporary workaround.When I do press button3, I get the incomplete hex number, instead of "4C00A2C82A0C", I get "A2C82A0C", and sometimes I get random digits like 1,A,C etc etc.

Public Sub OpenPort()
Try
If SerialPort1.IsOpen Then
SerialPort1.Close()

[code]....

View 4 Replies

How To Scale A Scroll Bar

May 7, 2010

The following scroll bar would only generate 0 to 91.How do I do 0 to 100 or 0 to 255?The Form is made of:Horizontal scroll bar and Label1.Public Class Form1

Private Sub HScrollBar1_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles HScrollBar1.Scroll
Label1.Text = "Value = " & HScrollBar1.Value

[code]....

View 2 Replies

Is VB Developed On The Same Scale As C#

Jun 27, 2012

I know VB is still very popular, but does Microsoft put the same effort into developing VB as they do for C#? Will VB eventually fade away?

View 3 Replies

Scale The Image To Fit?

Jul 19, 2009

and it sets it as the background, but when If the image is too big it only shows part of it. Is there a way to set it to scale the image to fit?

View 5 Replies

Packet Capture And Threading, Capture Library Waits For "thread Stop"

Apr 5, 2009

So I am hacking together an app which listens to traffic using SharpPcap library, it reconstructs the packets from sessions using the code from TpcRcon.

Listening and reconstructing part work on their own . What I want is on each packet arrival main window gets an event so it can display the packet , and when session is reconstructed display a complete packet (I am interested in HTTP ones) . -That is where it breaks with weird symptoms: for example right now it does not stop on invoking stop listening method - the sharppcap library function hangs there forever waiting on this line of code : m_pcapThreadEvent.WaitOne();//wait for the 'stopped' signal from thread

I also had it not working and crashing in sharppcap function because I had omitted one parameter in form delegate- which makes no sense, because form delegate does not deal with packet capture at all and only reacts on "New Packet" event from my "Listener" class (which is only there to notify main form)

My app starts as module main instancing class "Listener". MainForm has it
registered as friend with event and handles even "New Packet"

Main Form:
Private Sub uiListenStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btListenStart.Click
aLogger.AddMessage("Started Listening")

[Code]....

View 1 Replies

.net - Have Each DataGridView Scale Appropriately?

Jun 18, 2009

In VB.net 3.5 SP1 I have a Windows Form with three DataGridView controls. One DGV takes up the whole bottom half of the form. The other two share the top half and are side-by-side.

I'd like to have each DataGridView scale appropriately. More specifically I'd like to have column widths and row heights adjust to the size of the form. Then I'd like the cell font to auto-fill based on a change in the cell size.

I've used the Dock property for the controls to scale to the size of the form. How can I get the rows and fonts to utilize the increased form size?

View 1 Replies

Bar Graph Scale Labels?

Sep 30, 2009

On the Y-Axis of a bar graph, how can I display descriptions as the scales instead of numbers? I don't see anywhere that I can do that.

View 2 Replies

Crystal Report Scale To Fit?

Feb 27, 2012

Is there a way to scale a report to fit in the printable area? Like Adobe Reader. My reports are in A4 size, but they're to close too the page borders. I bought a new printer, and the printable area is smaller than the old one, and there are some cuts in the report.I didn't change the paper size or whatever, just the printer.

View 1 Replies

FAQ: Resize An Image By The Same Scale?

Apr 10, 2009

How do I resize an image by the same scale? remember to mark the replies as answers if Welcome to the All-In-One Code Framework! If you have any feedback,

View 2 Replies

Scale Interface To VB Application?

Jul 30, 2010

I have a few different scales that I'm building a VB app for. Is there a universal serial port language that is common among weight scales that I can use to import real-time weight into VB?

View 1 Replies

.Net Forms Vs. Web Based ASP.Net Solution - Which Will Scale Better?

Nov 19, 2009

I am on a project helping to analyze the load a VB.Net WinForms application can take. This app has been in production for several years and has many many products on it. We plan to add more products but see the client footprint rapidly increasing. This is contributing the degradation of performance on the system overall.There is duscussion that moving the UI intensive portions of the app to ASP.Net it will reduce the client footprint and solve many of our issues.My question which of the following will scale better in terms of performance and load? ASP.Net(VB) Web based architecture VB.NEt WinForms 3-tier architecture

[Code]...

View 3 Replies

Change The Size Of The Picturebox According To Scale?

Feb 24, 2009

I need to draw a world map. I got necessary coordinates.I can draw it on a picturebox. To zoom in/out, I multiply the coordinates by a scale and draw them on the picturebox. At the same time I change the size of the picturebox according to scale.Now my problem is, it seems that the picturebox has limitations in size. I can't make it bigger than 32767.

View 10 Replies

Communications :: Digital Scale/ Indicator In VB?

Apr 3, 2011

my final year project title is monitoring weight changes in digital scale / indicator.i bought one digital scale online from A&D in order to test out my system.however unlikely other device (GSM MODEM, RFID...) there are no drivers or libraries (DLL) from this device.. with only the digital scale and (rs232 9-pins to usb convertor i bought) i was like lost wondering how to get communicate with the device.i have been search around in the internet for similar post.. but there are most likely dealing with the data receiving already. is there any journals or manuals for references? i willing to study over this and not simply ask for full codings.

- how to communicate with the device (serial port communication)

- is there any driver / libraries need to install bfore everything?

OS using - windows 7 ultimate (laptop)model of device - A&D JM-SERIES 150lb

View 19 Replies







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