LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reports vi or msaccess

I have troubles to print some data tables with lv reports vis in
Windows NT.
I have 1-D array of cluster (say 15000 elements) in a for-while loop,
from where, every time, I extract parts that I convert in a data
table, then I print it.
If I ask (with a button) every time the user to print that part, I
have no problems; if I permit to print all parts sequentially, after a
while LV crashes!
In every case the process is too slow.
If I print the same data with a report of msaccess the printing
process is extremely fast and without troubles.
Someone can help me to solve this?
Alternatively can someone tell me how can I run msaccess procedures
from within LV to use access as a report engine (in the same way LV
run excel macro in the examples vi)?

Thanks
in advance
0 Kudos
Message 1 of 3
(2,503 Views)
It sounds possible that you're sending too much data to the printer at one time. Since it works when the user must click a button, that gives the application time to fulfill the most recent print execution. You could try placing a "Wait Until Next Millsecond" VI in your loop and give it just a little time to process each request. Let me know how it works out.
J.R. Allen
0 Kudos
Message 2 of 3
(2,503 Views)
JRA wrote in message news:<5065000000050000001B980000-1027480788000@exchange.ni.com>...
> It sounds possible that you're sending too much data to the printer at
> one time. Since it works when the user must click a button, that
> gives the application time to fulfill the most recent print execution.
> You could try placing a "Wait Until Next Millsecond" VI in your loop
> and give it just a little time to process each request. Let me know
> how it works out.

I thought so also, but it doesn't works. I put a Wait of 1 minute to
simulate user interaction without effect.
The trouble seems to be in the Append Text Table to Report.vi, but
this affects only the Standard Report (HTML report works fine - I'm
using Labview 6.0.2). It seems to me tha
t this vi suffers of some
limitation in the manipulation of data.
0 Kudos
Message 3 of 3
(2,503 Views)