12-27-2021 01:55 AM
Hi all,
I have done a program to record the real time data of a weighing scale to excel file, and the data is getting recorded .
Now my query is use the same file and same sample for weighing again ie. in iterations (for eg. one week once) . i need to make this in column wise data in excel to go to the same sample name and update. is this possible in lab view ?
Solved! Go to Solution.
12-27-2021 02:19 AM
Hi sanvish,
@sanvish wrote:
is this possible in lab view ?
Short answer: YES!
Longer answer: LabVIEW is a programming language and you can create (nearly) any program you like to…
12-27-2021 03:30 AM
Thanks Gred,
I am stuck here , in the program .. can you help me .. for the iteration in the data acquisition . i have attached my vi.
12-27-2021 04:12 AM
Hi sanvish,
@sanvish wrote:I am stuck here , in the program .. can you help me .. for the iteration in the data acquisition . i have attached my vi.
I could help - when I'm not on vacation...
What have you tried?
Where exactly are you stuck?
What are the exact requirements?
Why do you want to use the old samples when you want to repeat a measurement?
(Why do you want someone else do your job without paying for the work?)
12-27-2021 04:34 AM
The samples used are kept in certain conditioning process ,which is being weighed and manually recorded in log book ,so, i tried to convert this with lab view program .
I am not a certified professional in Lab view , i just a student and just begin to learn lab view environment , as self learner ..any ways sorry to disturb you..
Wish u happy vacation .Thanks for the reply.
12-27-2021 01:29 PM - edited 12-27-2021 01:34 PM
Hi sanvish,
@sanvish wrote:
The samples used are kept in certain conditioning process ,which is being weighed and manually recorded in log book ,so, i tried to convert this with lab view program .
Right now your VI is reading some values from your scale and writes/appends them, with ElapsedTime and SampleNo, into a CSV file.
Is this what your VI is intended to do? What else is needed?
@sanvish wrote:
I am not a certified professional in Lab view , i just a student and just begin to learn lab view environment , as self learner ..any ways sorry to disturb you..
Wish u happy vacation .Thanks for the reply.
No matter if you are a student or a professional: when programming you need to start with writing down the requirements.
So again: what are the exact requirements for your algorithm?
I also wish you a nice end-of-year week and a Happy New Year!
12-27-2021 01:34 PM
Some General comments about your VI:
See how far you get....
12-27-2021 09:25 PM
Hi,
Thanks for the inputs . i will check them and make my program better.
12-27-2021 09:28 PM
Hi Gred,
Thanks for the response , yes the program I made is appending the CSV file in Row wise , I need to make in column wise .that what i am trying..
ok will work out and get back..
Wish you Happy Year ahead.
12-28-2021 01:27 AM
As I already said, you cannot append columns without rewriting the entire file from scratch. Why not append rows, then transpose and rewrite once all data has been acquired, i.e. at the very end.