05-23-2012 04:55 PM
Hey everyone,
I'm trying to get a scale (Mettler Toledo IND560) to work with a VI I've already created. It's connected through a 9-pin serial connection which is run through a serial-to-USB conversion.
This is giving me a bit of trouble, and all I've found through searching is a driver to make the scale work with an OLC server. I don't personally have access to one and was wondering if there's a simple step that I'm just missing.
Thanks in advance!
Solved! Go to Solution.
05-24-2012 06:30 AM
I think you may need to be more specific. Exactly how far have you gotten? And exactly where are you stuck?
The first thing you will need is the user manual for the device. Read-up on their suggestions for communicating with the device. They should specify connection settings (eg baud rate, etc). And they might describe a specific high-level protocol you need to follow to get the data.
And then to get started with LabVIEW and serial communication, you will need to make sure you have NI-VISA installed. Then use LabVIEW's built-in Example Finder. Have a look at this VI to get going:
Hardware Input and Output > Serial > Basic Serial Write and Read
05-24-2012 01:25 PM
I did basically what you said and it worked quite well.
I can get the data to output as a string, but is there a way to turn the string into an integer?
05-24-2012 01:50 PM - edited 05-24-2012 01:51 PM
Nevermind, figured that part out too. I just used Scan From String.
Thank you for your help. 😄
05-29-2012 07:08 AM
Hello,
I am not familiar with the NI applications but would like to provide whatever assistance is possible from the Mettler Toledo side to help you. If you can provide your contact info to me I will ask someone from within our technical support team to contact you.
thanks,
Felix Klebe
03-12-2021 10:46 AM
Hi Felix,
Although your offer of help is from 2012, I am looking to interface to a Mettler Toledo IND560 using RS485 serial communication.
Any help you can give will be greatly appreciated.
Many thanks, David