LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to populate files using inputs given by user?

Solved!
Go to solution

Hello, I am working on a project and there is a report generation feature in the application.

Background : There is a report button in my application, on pressing that button the user is taken to a other page (Tab) or you can say report screen. Now this report screen consist of 3 main parts.

  1. Search and Export button.
  2. Test Selection Multicolumn list box properties.
  3. Select date, Select Customer and Serial No.

I have attached a photo by drawing the report screen on my book :

Functions : Search button : When the user presses this button the Multicolumn box should get populated with files according to the selection made in date , customer and serial no.

Export button : All the data from the file should get saved in a report format.

 

Now these files which are getting populated are excel files. Which will get converted in report file, after pressing the export button these files  being stored at particular place which I as a programmer can decide. Now the files which are getting populated are raw data file which only has data of test. 

Now the raw data files are being saved with special naming system like for example 😞 Date_CustomerName_SerialNo.)

Example :  8/12/2023_CNV_97964ISH

Now done with explaining the background coming to my issue

Important  : I am a new LabVIEW Developer.

My question is how will I search files ? Like I was thinking of taking the three input from the user and making file name than just opening that file by giving the path but there is one issue like if the user gives me only one input from three ie for example only date than how will I search with that information I want to know what tools are used?

 

Can you please help me with any white paper or anything useful please!! I will be very grateful . ANY example VI 

 

0 Kudos
Message 1 of 4
(1,382 Views)
Solution
Accepted by topic author Aliza24102002

Have you tried typing "LabVIEW File I/O" into Google?  Have you considered learning LabVIEW "on your own", from a Book (there are several), a class (might have to search), or with the help of a mentor?

 

Bob Schor

0 Kudos
Message 2 of 4
(1,355 Views)
Solution
Accepted by topic author Aliza24102002

Example :  8/12/2023_CNV_97964ISH

 

If they only give you the date, you can list files with 8/12/2023* as filename, or *CNV* if they only give the company name.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 4
(1,350 Views)

Got the solution Sir.

0 Kudos
Message 4 of 4
(1,311 Views)