From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-02-2014 01:55 AM
I have created a VISA application VI which will take the input from labview using serial communication from RS 232, i want to capture the exact weight of the box and enter it into my excel sheet, i have to also check if the box is less than 20kg. Now the problem is, when i put the box it gives me data ranging between 0 to 20kg but how do i capture the box exact value and enter it directly into excel.
kindly help me..
07-02-2014 01:59 AM - edited 07-02-2014 02:00 AM
Range is 0-20Kg but the value you are getting will be read weight value. What is the problem? reading the weight or writing the value to excel?
07-02-2014 02:01 AM
writing the value, as the how will labview know that thbox weight is 12 kg or smothing else, as it will read value from 0 till the box is placed and the again from the value to 0 after it is removed
07-02-2014 02:04 AM
@naman25 wrote:
writing the value, as the how will labview know that thbox weight is 12 kg or smothing else, as it will read value from 0 till the box is placed and the again from the value to 0 after it is removed
You see, weight machine with serial interface will send the weight if any weight is kept on it...You need to write the value accordingly.
for testing purpose. make simple VI with 10 sec timeout and check the value it send
As you said weight machine with RS232 right?
07-02-2014 02:06 AM
Also you need to understand the format in which weight machine send the data(weight). Different manufacturer write differently.
07-02-2014 02:07 AM
yes the weighing machine is connected with RS232. i try doing that, if i still get a problem i will revert back to you.
07-02-2014 02:18 AM
Then come back with your VI(2011)
07-04-2014 10:29 AM
Your post contains a number of issues, and it isn't clear to me which are important to you. I can identify the following themes/questions:
LabVIEW can handle all of these. Here are some suggestions to get you started.
Bob Schor
08-18-2017 02:21 PM
Hey, did you ever got to figure out what your problem was? I'm kind of trying to do the same thing and I was wondering if by any chance you have a template to connect a weight scale into labview? Thanks beforehand!
08-19-2017 12:00 PM
Dreamheart,
The Original Poster's message was more than three years ago, and he/she hasn't been back to the Forum since a few months after the message was posted.
If you are trying to do the same thing, have some LabVIEW code that isn't working, or want someone to do your work for you, I recommend you start a new Post, create a new Appropriate Title, and post your code (with all of the sub-VIs that you may have written to support key functions, like handling VISA communications with the balance, etc.).
A number of the Regular Forum Participants have some experience with using LabVIEW to collect measurement data and are happy to help "train the next generation".
Bob Schor