LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview database problem

Hello 
Excuse me,
I want to read 15 data base files in the labview program and the size of each file equal (50-70MB) but when I tried to read more than 3 files it gives me error and can't read it.
 
(Actually my application is collect data by device then this device send this data to the computer by Wi-Fi as a database file (.mdl). So I want to read all these files(15 files) on labview online at the same time)
 
please guide me in this  problem, 
Download All
0 Kudos
Message 1 of 5
(2,769 Views)

I'm using LV2015 so I can't open your VI to check.

 

Are you trying to open them all at the same time?

 

I.E. does your program go open-open-open-open-read-read-read-read-close-close-close-close?  Maybe you're not closing at all?

 

Can you change it so your program runs open-read-close-open-read-close-open-read-close-open-read-close?

 

 

Message 2 of 5
(2,737 Views)

I hope I am not creating a monster....

 

In this thread I recommended using queues to hold data. Either a single queue with multiple entries or named queues with single entries. Queus may help if the issue is locating a single contiguous block of memory large enough to hold the array of data. Queues can be scattered about in memory.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 5
(2,718 Views)

Thank for replying yes i tried to read all of them but it can't read more than 3 files , and I tried to change the code but sill the problem not solved . in the attachment you can find the code in old version , some pictures for the code to( read one file and multi files) but the code can read until 3 files only but I want to read 20 database files.

0 Kudos
Message 4 of 5
(2,677 Views)

Create array of paths, inside loop index it and index the data and you will have array of Table data which each corresponds to different table.

-Think Dataflow and make sure to check the Getting Started with LabVIEW links in the beginning.

Thanks
uday
0 Kudos
Message 5 of 5
(2,604 Views)