Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Receiving "File not found" Message When Creating a New File With FileSelectPopup() in LabWindows/CVI

Primary Software: LabWindows/CVI Development Systems>>Full Development System
Primary Software Version: 8.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I am trying to use the FileSelectPopup() function to get a path to a new file I am creating, but when I click Select, I receive a "File not found" message. What's going on?

Solution:
The FileSelectPopup() function contains a buttonLabel parameter with the following choices:
  • OK = VAL_OK_BUTTON
  • Save = VAL_SAVE_BUTTON
  • Select = VAL_SELECT_BUTTON (affects existing files only)
  • Load = VAL_LOAD_BUTTON (affects existing files only)
Notice that the Select and Load options only work for existing files. When using these options, you cannot create a new file path and if ones tries to, the "File not found" message will appear. In order to create a new file path you must use VAL_OK_BUTTON or VAL_SAVE_BUTTON for the buttonLabel parameter.

Related Links:

Attachments:





Report Date: 08/08/2006
Last Updated: 08/14/2006
Document ID: 407AO9SF

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit