LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

FileSelectPopup not recognizing the default file spec parameter

Solved!
Go to solution
Solution
Accepted by JoeKenZ

Sorry I didn't mention the run-time engine earlier - I had assumed you'd be able to activate CVI 2010 SP1.  This was a poor assumption on my part...

 

You will only need to uninstall CVI 2010 SP1.  To do this, launch Add/Remove Programs from the control panel, find National Instruments Software in the list, and select Uninstall/Change:

 

NickB_08-12_08-40-26.png

 

Once you've done this, you just need to find CVI 2010 SP1 and select Remove:

 

NickB_08-12_08-41-26.png

 

After CVI 2010 SP1 has been uninstalled, you can then reinstall CVI 2010.

 

I'm sorry for all the inconvenience -

 

NickB

National Instruments

0 Kudos
Message 21 of 27
(1,995 Views)

Okay, that wasn't too painful.  I'm up and running with my default file names showing up in the file select pop-up.  Thanks for the help.

0 Kudos
Message 22 of 27
(1,987 Views)

For the runtime cvi2012 the same problem :

 the FileSelectPopup failure to display the defaultFileSpec on the popup.


There is an additional anomaly.  If you supply a defaultFileSpec, even though it does not display it,

it uses it to override the fileTypeList.

For example:  if defaultFileSpec is "presets.prst", and defaultFileSpec is "*.txt; *.sav; *.prst"

the popup will only display "*.prst"

 

0 Kudos
Message 23 of 27
(1,787 Views)

This seems like a duplicate post from one of the other messages. I was not able to reproduce the bug in CVI 2012. Can you elaborate on the problem you are having?

Regards,

Anjelica W.
National Instruments
Product Marketing Manager
FlexLogger and TestStand
0 Kudos
Message 24 of 27
(1,759 Views)
 

we have an application developped under cvi 9.01.
fileselectpopup function works with filters.


example:

FileSelectPopup (RepFicLxx, "*.q??;*.Q??;*.b??;*.B??;*.c??;*.C??;*.x??;*.X??;*.y??;*.Y??;*.p??;*.P??","*.*",
         "Selection conf software",
         VAL_SELECT_BUTTON, 0, 0, 1, 0, Nom_Catalogue);

 


since the update in runtime cvi2012 it does not work in NAME FILE tab and empty.

0 Kudos
Message 25 of 27
(1,751 Views)

Do you experience the same behavior with the CVI 2010SP1 Run-Time Engine? This may be specific to CVI 9.0.1, but I will try to reproduce this. 

Regards,

Anjelica W.
National Instruments
Product Marketing Manager
FlexLogger and TestStand
0 Kudos
Message 26 of 27
(1,732 Views)

the "samples\userint\popups.c" use fileselectpopup ,this sample has the same problem with compiling cvi2012.but is ok with compiling cvi901.

0 Kudos
Message 27 of 27
(1,707 Views)