LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Config dialog box

Hi.

I am developing a data processing software using LabVIEW 7.1.

I need to set the FFT Express VI configuration dialog box as a control in my front panel. Is that possible ?

I'd appreciate help.

Shahram

Message Edited by shatram on 04-22-2005 06:33 AM

0 Kudos
Message 1 of 5
(2,998 Views)
Hello Shahram,

If you right click in the Express vi icon and choose "Open Panel", you get a sub vi - "SubSpectralMeasurements.vi" and in that one you can configure everything as in the configuration utility with front panel controls.

Hope this helps,
Paulo
0 Kudos
Message 2 of 5
(2,992 Views)
Hi Paulo,

Thanks for the answer.
What you suggested works.

Furthermore, is it possible to open the FFT Express VI configuration dialog box in my front panel when I run my program ?

Thanks again.
Shahram
0 Kudos
Message 3 of 5
(2,990 Views)
I think that you could emulate this, but not call it directly. Since you cannot modify a running VI, you cannot configure an Express VI while it is part of a running VI. Taht being said, you can get the code that the Express VI calls when it launches its configuration page and do what it does. The configuration dialog is in LabVIEW/VI.lib/Express/Express Analysis/SpectralConfig.llb and is the VI called Configure Spectral Measurements.vi. This VI can be roughly broken into three parts: Initialization, UI, Set Settings. The initialization part gets the inforamtion from the Express VI and load it into the configuration VI. The main while loop does the UI interaction that you are looking for. The Set Settings part writes into the the Express VI the configuration from the configuration VI.

You can grab the main while loop and use it as your UI on your front panel. You then will be doing interactivly what the Express VI does interactivly. It will take some work, but I think it should be fairly straight-forward.

Hope that this helps,
Bob
0 Kudos
Message 4 of 5
(2,973 Views)
Hi,

I'm affraid you cannot do that.
You have to make your own config window.
Look at the attach example.

Paulo
0 Kudos
Message 5 of 5
(2,973 Views)