09-11-2006 02:16 PM
09-12-2006 08:24 PM
09-13-2006 02:17 AM - edited 09-13-2006 02:17 AM
Take a look at the example Read All Data.vi which demonstrates using DB Tools Select All Data.vi.
DB Tools Select All Data.vi will give you a 2 array which you can then convert into a spreadsheet string and write to a file
Hope this helps
David
Message Edited by David Crawford on 09-13-2006 08:17 AM
09-13-2006 08:17 AM
I'm not understanding why you want to export the entire Access database file for processing.
Do you need every single piece of information each and every time?
Can you use SQL to get a portion of the data that you need for processing?
09-14-2006 01:55 PM
David,
I tried this vi, the data file is too large and it errors out (ERROR -2147024882). It Works fine with smaller files 100K rows X 46 col, but it can't handle the 1,000K X 46 file I'm attempting to access. I've had NI working on a solution. I could pull one col at a time and write to a file between each pull, but that takes a long time and I have to rebuild the file in spreadsheet format after.
Thank you for your suggestion
09-14-2006 02:03 PM
nyc
The data is message traffic accross a bus. The data is comprised in rows that are 46 col wide and anywhere from 50K to 4M rows. The intent is to read each row and process the message to the PC display. MSAccess on the network is very slow so I'm attempting to bring the file to the workstation as text. 2G Ram is not enough to load the table as an array so I must resort to reading each line from a file and then processing.
I'm open to any and all suggestions
Thanks for the reply
09-17-2006 04:31 PM
09-18-2006 08:41 AM
Avi,
Thank you for the reply,
Yes, I'm in contact with John and he has been working to find a solution, I have confidence in both your abilities.
Thanks
09-19-2006 05:27 PM
09-20-2006 09:31 AM
Avi,
I was able to make progress after manually exporting the database file as .txt out of access to my local HD.
I still have not been able to get the commands to allow LabView to programmatically tell access to export the file as text to my HD. John said he would work with the ActiveX commands to determine how I could tell MSAccess to export the file and save as text on a users local HD.
Does this make sense?
Dave