LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NIMAX slows PC

When I use the slide bar on the front panel to view objects normally out of view, NIMAX starts running and loads down my PC. The VI isn't even running. This is extremely annoying since I have to wait 10-15 seconds before I get my front panel back. Does anyone know how to stop this behavior? I have Windows XP on a 1.7GHz machine using LabVIEW 7.0.
0 Kudos
Message 1 of 5
(3,471 Views)
Hello,

Thank your for contacting National Instruments.

Moving the horizontal slide bar on your front panel should not launch NI-MAX. This is not typical behavior. You may need to reinstall your software to keep this problem from happening.

If you are not using any hardware with your system, you do not even need MAX. You can simply uninstall MAX and it will automatically remove all of its dependencies. If you are using hardware such as NI-DAQ, you can uninstall MAX and then reinstall the latest NI-DAQ driver. Here is a link: http://digital.ni.com/softlib.nsf/websearch/50F76C287F531AA786256E7500634BE3?opendocument&node=132060_US

Please reply to this thread if you still experience problems after reinstalling your software. You may need to reinstall
all of your NI software including LabVIEW if the problem persists.

Regards,
Bill B
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(3,471 Views)
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
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 5
(3,471 Views)
I do have a visa control on my front panel and I need MAX since I have a PXI chassis in my system. This delay happens on two different PC's so I don't think it is a software installation issue. Will upgrading to LV 7.1 help this problem? I have it, but haven't had time to install.
0 Kudos
Message 4 of 5
(3,471 Views)
Yes,

Upgrading to LV 7.1 will help with this issue:

"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."

Bill B
0 Kudos
Message 5 of 5
(3,471 Views)