LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using LabVIEW with Mettler Toledo Balance. HELP!

Solved!
Go to solution

I am designing a VI that will take a weight measurement and graph it. I have figured it out so that I have a stop button and a graph. What I need now is a Zero and Tare button. It would be nice to get the proper format on how to use this Mettler Toledo Device Palette so any info would be awesome. 

 

Later down the road, I would like to add a time stamp for each second and a test ID number for each experiment. 

 

I have tried everything! Please help. I am new to LabView and would like to hear all the guidance that I can get. 

 

Thank You

Mike 

0 Kudos
Message 1 of 8
(7,211 Views)

I think you might need to be more specific about your questions.  And perhaps upload your existing code so we can understand.

 

And you should probably learn some LabVIEW basics.  It seems like your question is more like "how do I add a button and make it do something" ... which is not really specific to your Mettler Toledo balance. 

 

NI.com has lots of resources for you.  Start here:

 

http://www.ni.com/gettingstarted/labviewbasics/

http://www.ni.com/academic/students/learnlabview/

http://www.ni.com/white-paper/11804/en

http://www.ni.com/white-paper/7466/en

 

And I am guessing that the LabVIEW device driver for your balance came with some example code?

 

 

 

http://www.medicollector.com
0 Kudos
Message 2 of 8
(7,202 Views)

Attached is my code. I want to add a button for zero and tare. I know it's most likely simple, but a hint on how to do so would be much appreciated.

 

Thank you,

Mike

0 Kudos
Message 3 of 8
(7,195 Views)
Solution
Accepted by Mike227

You should learn how to use case structions.  See below.

 

Capture.JPG

http://www.medicollector.com
Message 4 of 8
(7,184 Views)

okay thank you! Your guidance has helped me achieve a Zero button. I will continue reading up on case structions.

 

Now, for the tare weight, would I simulate the same process?

 

Also, I would eventually like to create a time stamp for each second. I need to extract all data to a .CSV file.

 

Any hints would be greatly appreciated.

 

Thank you,

Michael C.

0 Kudos
Message 5 of 8
(7,180 Views)

I have the same issues. Could you please share a copy of your finalized code with me. Thanks. 

 

Best regards, 

 

Shuna

0 Kudos
Message 6 of 8
(2,105 Views)

Hello,

 

i use this code to retrieve the mass displayed on the screen.

I have a Mettler Toledo  : ML6001T Modèle

NoviceLab_0-1740728083964.png

 

0 Kudos
Message 8 of 8
(233 Views)