LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI Interface Slows Down

Hi,
CVI seems to get progressively slower while running my routine.
I have a procedure in CVI that is something like this:
While x<500
Do various GPIB commands
ProcessSystemEvents //So user can push ABORT button on a panel
x++
Loop

I start the program and it runs fine. Then I do this routine for 30 minutes. And then my interface runs slow after it finishes. I think if I took out ProcessSystemEvents, I would not have this problem. But, I need to keep a couple buttons on a panel available. (Aborting or Pausing)

I run CVI6, on a P4. Also I use the CVI Test Exec.

Thanks,
Bill
0 Kudos
Message 1 of 2
(2,462 Views)
I would suggest you create a different thread to run the GPIB commands - if this is in the main thread, it may just be the hardware/software interface taking longer to process.
0 Kudos
Message 2 of 2
(2,462 Views)