I have LV 7.1 code that calls up Excel which then formats a spreadsheet nicely. This is done with a VI inside an event structure within a while loop.
The problem I'm having is LV seems to be using the CPU approx. 99% of the time. So I have to wait about 2.5 minutes for the Excel formatting to complete. After formatting completes I can flip between the Excel and LV programs quickly.
Of course running the VI by itself only takes about 5 seconds to complete.
Can anyone tell me if its the event structure, the loop, the VI inside the event structure, or just the way the OS handles both programs at the same time that's causing this bog down?
Nick Salemi
Teledyne Energy Systems, Inc.
nick.salemi@teledynees.com
410-891-2225