12-01-2008 12:14 AM
I am modifying Data miner tool which has been developed before for our current requirements. Current tool has an option like select full directory for scanning(*.csv file) and the requirement is there should be option like Start date and End Date of the files that need to be mined.
I created a option to select Date Range(Start Date & Stop Date) and necessary files supporting those options. But that option is acting same as full directory scan option. I can't understand where i am missing logic.
I can send you the *.VI's which i modified if necessary.
Hope the query is clear...... Thanks for your any suggestions in advance.
Cheers
Kirit
12-01-2008 06:19 AM
I suppose you create a list of file names from the full directory?
You then cut/trim this list according to Data Range?
Do you send the right list to the data mining VI? (common problem to do calculations and send the raw material on)
/Y
12-01-2008 09:04 AM
12-02-2008 12:15 AM
Thanks Matthew!
For your info, i am using pure Labview coding. Can i get details or procedure to use system Exec,dir command,dos prompt etc so that i can get all correct files....
Thanks
12-03-2008 03:48 AM
You have to just provide the command you would have written in command prompt as input to system exec and LabVIEW executes it. You can study about system exec VI in more detail in Help or at
http://zone.ni.com/reference/en-XX/help/371361E-01/glang/system_exec/
You will find example using system exec at the following web-link. Also look at column in the webpage"More Like This"
http://decibel.ni.com/content/docs/DOC-2276
Gaurav Ahuja
12-03-2008 06:55 AM
I sending VI's which are coded for picking data from given Start Date and End Date.
12-03-2008 07:04 AM
Thanks Gaurav!
This is last file
These modified files supposed to take Date range(Star Date and End Date) and also Filename Filtration(like picking a word from a file)
I made these changes but they are not responding.
Hope these files helps you to give some feedback or suggestions.
Thanks
-Kirit
12-03-2008 03:10 PM
12-04-2008 12:54 AM
Thanks Matthew
From your explanation i have got a point that.....
The Date range headers like...Start Date and End Date are only used in the tool but not in the files(*csv) we are looking into. This may be the conflict.....
In the *.csv files there is only Date header......my asssumption was when i browse and choose files from Start Date and End Date, it will take only the files which are asked for.
May be now i need to synchronise(dont know whether it is right terminolgy for the use) Date header in the file to Start Date & End Date in the labview tool.
Now again interesting point is...how it can be acheived?
Thanks
-Kirit