03-06-2025 04:52 AM
Here i attached what is tried. It can save excel file but how to append attendance without altering rows (days of month) and column headers (emp names), regards
03-06-2025 05:57 AM
Hi touqeer,
onlinetouqeer@gmail.com wrote:
Here i attached what is tried. It can save excel file but how to append attendance without altering rows (days of month) and column headers (emp names), regards
You were asked for code and all we got are 2 images!
Did you know we cannot edit/debug/run images in LabVIEW?
From your image:
03-06-2025 07:59 AM - edited 03-06-2025 08:04 AM
onlinetouqeer@gmail.com wrote:
Here i attached what is tried. It can save excel file but how to append attendance without altering rows (days of month) and column headers (emp names), regards
here is what I had in mind, when suggesting "write to csv":
|
|
03-06-2025 09:19 AM
03-06-2025 09:31 AM
Ok thanks,
1 - If the record button is pressed on the same day more than once it need to be overwrite existing attendance colmn.
, otherwise update next colmn on next day
2- plz reshare block diagram as it's left half is cropped
Regards
03-07-2025 09:33 AM - edited 03-07-2025 09:42 AM
I did this on purpose, because I consider my approach as "not good" and I don't want to encourage using it in a real application.
Í am using local variables, a sequence structure and two while loops - and I avoid the necessary event structure by using the old "wait for frontpanel activity" function....
03-07-2025 09:58 AM
Hi, Alex,
its ok for me just to compare with my code i will modify it and will be responsible, therefore plz send me remaining section ,
thanks
03-12-2025 04:49 AM
Hi,
I am working on a LabVIEW project where I need to log data into an Excel sheet. My requirement is:
What is the best approach to achieve this in LabVIEW? Should I use the Report Generation Toolkit, ActiveX, or CSV file handling? Any example VIs or guidance would be greatly appreciated.
03-12-2025 04:57 AM
Hi touqeer,
onlinetouqeer@gmail.com wrote:
Hi,
I am working on a LabVIEW project where I need to log data into an Excel sheet. My requirement is:
- On the first run, write headers (column names) to the Excel sheet.
- On subsequent runs, append data to specific columns without modifying the headers.
What is the best approach to achieve this in LabVIEW? Should I use the Report Generation Toolkit, ActiveX, or CSV file handling? Any example VIs or guidance would be greatly appreciated.
You write about "Excel sheet", RGT, ActiveX and "CSV file" in a wild mix…
I recommend to start with CSV files…
On your questions: