Message: previous - next
Month: November 2010

RE: [Pvx] VI Perform Question / Process Multiple Files

From: "Henry Moya" <henry@...>
Date: Thu, 18 Nov 2010 18:21:30 -0500
Hi Scott,

This is my approach to this situation. 

I did an enhancement for VI that allows a wildcard to be used for the VI
files specs. After importing the file it moves it to a Processed directory
appending a date/time stamp and Success or failure to the file name. This
way it does not import twice. It also writes a log file to a Processed/Log
directory with the details of any failures. So it provides complete
unattended import of multiple files with VI, including details of any
records that failed for each file.

I first had the VI Job running all the time but I didn't like that approach,
because for one it filled the MAS 90 Activity Log with VI Jobs. So I used
the Windows Task scheduler with  a batch file the uses the same wild card
dir search an only invokes the VI job when  a file exist in the import

Best Regards,
Henry Moya
Business Computer Systems, Inc   /   henry@...
Ph: 954-322-8520 x103 / 305 477-0406 
Fx:  888-813-8507

-----Original Message-----
From: Scott McDonell [mailto:scott@...] 
Sent: Thursday, November 18, 2010 5:53 PM
To: providex@...
Subject: [Pvx] VI Perform Question / Process Multiple Files

Is it possible to define a VI "perform" to have a job re-run itself on
a different source file?  I have a client with a folder with 1 to many
csv files, each of which needs to be run thru a VI job on a daily,
unattended basis.  I was thinking I could use the on-execute perform
to queue up the first file, then have on-completion move onto the next
file and re-run the job.

Does that make sense?

Or does anyone have any other ideas or is there something else already
built into VI that will process a job for multiple files in a folder?

Scott McDonell
telephone.... 580-STZWARE

 Unsubscribe: providex-unsubscribe@...  Help:
 PVX Plus Technologies - on the web at
 Tel: 1-877-2-BUY-PVX  - Support: