LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview freezes!

Hi,

I am pretty new to LabView, but managed to build a readout for a GPIB
Device.

After I let it run, it freezes periodically every minute or so for about 10
secs. The Computer doesn't react to anzthing during that period. Afterwards
it continue as normal.

As I am building a time critical program this sux!

I tried everything.

Thanx for the help

Gunther

______________________________________________

YoU GoT ThIs MaIl FrOm:

Gunther Dell
eMail: dell@dhemze.physik.uni-mainz.de
_______________________________________________
0 Kudos
Message 1 of 3
(4,876 Views)
I'd try to run Progam -> Vi Metrics... to see which VI was taking up the most
amount of time. Make sure you have increment timers inside all of your while
loops, too. Without one of those watch icons, the while loop repeats as much
as the CPU will allow it to.

HTH,

Rick

--

Chesapeake Sciences Corp.
1127B Benfield Blvd.
Millersville, MD 21108

Tel: (410) 923-1300 x3430
Fax: (410) 923-2669

"We all know Linux is great...it does infinite loops in 5 seconds."

- Linus Torvalds
0 Kudos
Message 2 of 3
(4,876 Views)
> I'd try to run Progam -> Vi Metrics... to see which VI was taking up the most
> amount of time. Make sure you have increment timers inside all of your while
> loops, too. Without one of those watch icons, the while loop repeats as much
> as the CPU will allow it to.
>

I'd try the Profiler rather than VI Metrics, but I don't think the
problem is
with computation. I'd suspect it is a timeout somewhere, either on the
GPIB device or in communicating to it. You might try to Leave execution
hiliting on for the top-level diagram to see where the program is when it
pauses. This will help narrow it down, and then you can experiment. Make
sure that you are paying attention to error codes from GPIB or VISA. One
of them may already be timing out and returning a
n error that is being ignored.

Greg McKaskle
0 Kudos
Message 3 of 3
(4,876 Views)