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!
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?
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
i am developing an application which needs to connect to a weighjng scale throug rs 232 and capture the output. after inserting the record however the pc needs to send the tare command to the weighing scale in order to set the scale to zero. now he tare character as far as i guess ia T i sent the command like this
I am trying to make a program that converts the weight of objects on earth into other planets. i have trouble with naming things like weight ratio and planet because VB program doesn't accept the coding. i don't know where to put theh data in the disk so that the program can access it when it runs.
Imports System.IO Public Class weightcalc Private planet structure
Does using it puts any degradation in the performance of an application like the loading of the form/usercontrol is slower since the TableLayoutPanel has to be instantiated and the controls has to be added to it? I use it extensively and from time to time I combine it with a Panel also so I would like to be enlightened if there is no cause of concern in using it.
I've found a scale, Detecto AS-350D [URL].. that hooks up to a computer. I was hoping someone could help me figure out how to get the information (weight) from it. I've looked around but can't seem to find any information on it. I've never wrote a program where I accepted data from a device likes this so kind of confused where to look.
Update: I'm coding in VB, and the device connects to the computer via serial port.
I have a Repeater... And it has a Weight field. the weight it displayed in a textbox. I have this piece of code: lblTotalWeightCalc.Text += NewDV.Item(i)("Weight") This will get the Weight and display it in my label. But when I select more than one item (which will have two weights) it will show: For Example: Item #1 : Weight = 20 Item #2: Weight= 50 The total Weight= 2050 (it doesn't add them together) I need them to be added together....
I'm using Visual basic 2010.net with service pack 4.0. I'm using the built in chart control to generate a line graph. I have a series plotted on the fastline graph. Is there a way of accessing the weight/thickness/boldness of the line and changing it? I was able ton change the colour and I could even change the point size on the fastpoint graph.
Code: Private Sub DisplayGraph_frm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
So I am trying to write a program and I don't even know where to begin. I am trying to make a program where you enter the persons weight then pick (from radio buttons) "convert Pounds to kilograms" or "convert kilograms to pounds" and then it should convert the weight when you click display weight button to display the converted weight value. Any ideas?
i am making a progrom to calculate delivery charges this depending on weight of the item.i enter the weight of the item in a text box i need it to calculate the shipping cost, currently i have something like this but it is wrong. [code]
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
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")
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?
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.
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,
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?
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
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.
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
is there a way to change the size picture (scale the image according my size 300 x 150). Let say an user upload an image with (500 x 300), using picturebox, can i scale the image (500 x 300) to my picturebox size so that it can looks perfectly nice
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?