HI Bill,
Here is a posting from Dan (and Rolf) on Info-LabVIEW.
"
There are several things that LabVIEW does when it draws the VISA control
(when you load a VI). I'll discuss two things below that relate directly
to VISA.
In all versions of LabVIEW since 6.0, drawing the VISA control will call
viFindRsrc to get the list of available resources on the system. This is
true only of the first control, so if you have 2 VISA controls on your
front panel, it won't do this unnecessarily for the second control. (There
was a bug in NI-VISA < 3.1 where it would sometimes tell LabVIEW to call
viFindRsrc over and over again for each control. But that's fixed now.)
The reason we call viFindRsrc up-front is so that the control is fully
synchronized and can display its list of items (resources) when you click
the drop-down box. This hasn't really changed, though, between LabVIEW 6.0
and 7.1.
In general, viFindRsrc is pretty fast and you won't even notice this if you
blink. But if you have a remote VISA system configured in MAX, and you
have configured NI-VISA to always query that remote system when you call
viFindRsrc, then yes, this can take a little while to timeout if that
system is online. So unchecking the remote VISA option to automatically
query each remote system would speed things up in that scenario. (If you
haven't done this type of configuration, don't worry, this option is off by
default.)
In LabVIEW 7.0, we added the ability to right-click on a VISA resource and
choose "Edit VISA Resource..." to bring up the configuration pages in
Measurement & Automation Explorer. Unfortunately, we were loading that
framework earlier than needed, and this took a fairly long time, as many of
you noticed. So in LabVIEW 7.1 we don't load the framework for this
feature until you choose that right-click option the first time. Most 7.1
users should now see an improved load time of VIs with VISA refnums on the
front panel - pretty much the same load time as you would have had back in
6.1.
Dan Mondrik
National Instruments
|---------+-------------------------------->
| | "Rolf Kalbermatter" |
| |
| | teng.com> |
| | Sent by: |
| | | | .nhmfl.gov> |
| | |
| | |
| | 07-02-2004 02:25 AM |
| | Please respond to |
| | rolf.kalbermatter |
|---------+-------------------------------->
>--------------------------------------------------------------------------------------------------------------|
| |
| To: "'David Thomson'" |
| cc: "Info LabVIEW (E-mail)" |
| Subject: RE: (W) LV 7.1 startup time |
>--------------------------------------------------------------------------------------------------------------|
"David Thomson" wrote:
>> I've recently installed LV 7.1 Pro, along with the PDA toolkit for
>>PALM OS. When I double-click on the LV 7.1 icon, it takes over 2
>>minutes to load LV.
>
> Sorry to have bothered the list before I tried this, but after
>disabling a bunch of things in MAX under VISA (remote system polling,
>unused VISA Passports), LV 7.1 loads quite quickly. Odd that 7.0 and
>7.1 should be so different, when it is really a MAX issue. Anyway,
>perhaps this will be of interest to others with odd LV/MAX issues.
I haven't tested it but this may be related to the long delay of opening
a frontpanel with a visible VISA control for the first time in LabVIEW 7.0.
Maybe NI moved the VISA resource list initialization to the LabVIEW startup
instead of when first needed.
Rolf Kalbermatter
CIT Engineering Nederland BV tel: +31 (070) 415 9190
Treubstraat 7H fax: +31 (070) 415 9191
2288 EG Rijswijk http://www.citengineering.com
Netherlands mailto:rolf.kalbermatter@citeng.com
"
Could this be related if the user above has a front panel control that is "off-screen"?
BTW
I used Brian Renkin's search engine to find this doc. The conversation went on for a while. I may not have selected the best memo.
http://www.searchview.net/
Ben