04-06-2017 09:38 AM
Hello,
My group is trying to collect data from an Ohaus scale to do some testing on steady state flow. We have to make a control experiment using Labview.
Currently we are only able to get the scale to collect data onto excel in real time. We need to have Labview pull this data from excel and read it so that we can use the weights and create a control that will adjust the flow of the water based on the weight in the tank.
I have been searching and attempting to edit my own but I am unable to find anyway to have labview read from an excel file as it is being written to. Anyone know how?
Thanks,
Charb
04-06-2017 09:42 AM - edited 04-06-2017 09:44 AM
Hi Charb,
Currently we are only able to get the scale to collect data onto excel
There surely are better ways to read the data from your scale. I would focus on trying to explore them instead of reading data from Excel…
Btw. it would really help if you would tell us the exact type of scale!
anyway to have labview read from an excel file as it is being written to.
Please explain the term "excel file"!
As long as any other exe is writing a file this file is (or: should be) blocked for other executables trying to access it. That's how the OS tries to keep the file intact…
04-06-2017 09:48 AM - edited 04-06-2017 09:50 AM
Hello,
We have an Ohuas Defender 7000 that we are attempting to us a USB cable to collect data from it. We have only been able to get it to output into an xls file.
We are using the RS232 port on the scale to collect data.
We are complete novices when it comes to this stuff so if you need clarification I am happy to try and clarify.
Thank you
04-06-2017 09:58 AM
Start with reading the manual.
Serial communication starts on page 63
04-09-2017 09:32 AM
We need to know a bit more, such as:
We use Excel ("real" Excel) Spreadsheets to "control" our behavioral studies, with columns indicating the settings for a particular Trial, and each Row representing the next sequential Trial. A trial might take 20-80 seconds, and at the conclusion of a Trial, we write a half-dozen entries into the final columns of the Row that summarize the outcome(s) of the Trial. This is certainly do-able, though it really helps to have the Report Generation Toolkit and be willing to "learn by experimenting" ...
Bob Schor