FileSelectPopup hang with restrict extension option and the imaqGetFilterNames (.)

Hi, I have a problem with FileSelectPopup suspended.  It happens when I limit the file extension in the pop up, and the user types a name with a different extension (for example, if I limit the file extension to "*.dat" and the user types "data.txt").  This causes the pop to "leader limited extension to...» "I get a wait cursor and I can't click on anything to make the pop-up go away that effectively blocks the application.  This happens on both the deployment of PC and my development workstation.  In the debugger when I hit the stop button indicates that the program is in the function FileSelectPopup (...).  Oddly enough, so far I only see this on PC under Windows 7 (64-bit, professional) while the computers Windows XP (deployment and development) not yet shown that it.

After a while, I managed to follow him to the function imaqGetFilterNames (.).  If I call a (...) FileSelectPopup before calling the function imaqGetFilterNames (.) it behaves properly.  If I called him after that I call the function imaqGetFilterNames (.), then I get the hang.  I have attached a sample application.  To see the problem, click on the button 'Get the names of the filters', then click on the button "Generate FileSelectPopup" and enter a file name with a different extension that allowed such as "data.txt".  If the 'Get the names of the filters' button is not clicked first then the FileSelectPopup behaves normally.

My development PC running CVI 2010 SP1 10.0.1 (419).  I have NEITHER-IMAQ 4.6.1, e/s NOR-IMAQ, NOR-IMAQdx 3.9.1, 2.5 NO Vision 10.0.  Windows 7 Professional 64 bit.

Thanks in advance for any help or pointers.

It is a problem with the apartment thread style. As it is described here on MSDN, using a partition multithreaded model can cause problems with the Windows file dialog boxes. The FileSelectPopup function is essentially a wrapper autour windows file dialog boxes that help you with the different settings. So, if you use a partition multithreaded model, you can run into issues every time with the help of the CVI FileSelectPopup or one of the other windows file dialog boxes. In general, your request will be only to get ready to partition multithreaded if you call ActiveX, because all functions in the ActiveX CVI library initialize thread for partition multithreaded model. I'm not familiar with the vision software, but I suspect they are will make a call ActiveX or in any other way during the initialization of the threading model for bulkhead multithreaded. To avoid this deadlock, you can simply set the threading model for the single apartment of threads before calling the function IMAQ. at the beginning of the hand () is a good place. Once the threading model has been initialized, it is set in stone and cannot be changed. It's a good thing here because it prevents IMAQ function change to partition multithreaded.

The beginning of hand () add the following:

CA_InitActiveXThreadStyleForCurrentThread (0, COINIT_APARTMENTTHREADED);

Tags: NI Software

Similar Questions

  • How to move the "blue bar" with the start option and the clock and icons of a vertical__position on the left side of the screen to the bottom of the screen... has this before happen__once, can't remember what to do.

    How can I move the 'blue bar' with the start option and the clock and icons on the left side of the screen to the bottom of the screen.  It's happened before and I forgot how to move.

    Hello pookprec

    Here's how to do it

    .

  • You are not connected to the internet! You want to work offline or try again? There is also a box with a red x and the message reads unplugged network cable.

    Unplugged network cable?

    Recently I get this message then on the line. You are not connected to the internet! You want to work offline or try again? There is also a box with a red x and the message reads unplugged network cable. It is very aggravating. Can someone tell me how to solve this problem? It might have something to do with my firewall? I recently downloaded mozzilla firefox if I could play words with friends, because IE would not work on the game.

    Hi LouisteanGriffin,

    ·         Did you do changes on the computer before the show?

    Follow these methods.

    Method 1: Follow these steps:

    Step 1: Start the computer in safe mode with network and check if the problem persists.

    A description of the options to start in Windows XP Mode

    http://support.Microsoft.com/kb/315222

    Step 2: If the problem does not persist in SafeMode with network, perform a clean boot to see if there is no conflict of software like clean boot helps you eliminate software conflicts.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start, run.

    (b) type msconfigand click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click on restart to restart the computer.

    Method 2: Temporarily disable the security software.

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 3: Follow the steps in the article.

    How to troubleshoot a network home in Windows XP

    Windows wireless and wired network connection problems

    For reference:

    How to reset the Protocol Internet (TCP/IP)

  • I try to burn a DVD with Windows DVD maker and the tiles are about 3 hours or so in total and I like it's too big - it is possible to use SP, SLP. ED or when burning on a DVD

    • I am trying to burn a DVD with Windows DVD maker and the tiles are about 3 hours or so in total and I thought it's too big – is it possible to use SP, SLP or ED when burning to a DVD problem
    • I am trying to burn a DVD with Windows DVD maker and the tiles are about 3 hours or so in total and I thought it's too big – is it possible to use SP, SLP or ED when burning to a DVD problem

    ==========================================
    The following article shows 150 minutes on a single DVD layer, but
    I'd be surprised if it always worked this way. In any case...
    Perhaps you could use a DVD double layer if your burner will handle it.

    Windows Vista - DVD - video burning - frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/DVD-Video-burning-frequently-asked-questions

    Splitting the project between 2 or 3 DVD might be the best option.

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • In the Photos of El Capitan how to record a double published in a separate with its own name and the ID file file?

    In the Photos of El Capitan how to record a double published in a separate with its own name and the ID file file?

    Only by exporting - with Photos (and iPhoto and Aperture) - you can have several versions of an image by duplicating the image (control - D), but this does not create an image file separated until you export - it creates a separate edit list in the database that applies to the original when you watch or export the photos

    Photos as it were its predecessors is a non-destructive control Digital Asset Manager (DAM) which does not any changes to files in the database but built a list of validation

    LN

  • HP 15-f305ddx: I haveva hp 15-f305dx with an error code and the password of the bios 58495227

    I have a haveva hp 15-f305dx with an error code and the password of the bios 58495227

    Thank you so much, you're the best

  • Having a problem with a redirect virus and the refusal by the system to allow me to download various things, Windows Live Mail in particular.

    I recently tried to remove malware on my Vista based laptop Toshiba.


    I recently tried to remove malware on my Vista based laptop Toshiba. Malwarebytes helped, but I still have problems with a redirect virus and the refusal by the system to allow me to download various things, Windows Live Mail in particular. I tried to download from a copy of the USB stick to a clean computer, but he still refuses to load telling me to check my internet connection, which is fine for general use. Please help I get crazy and do not forget that I am a pure layman - thank you if you can help - Kidso

    I found that the best place to ask this type of question is here: -.

    http://forums.ComputerActive.co.UK/forumdisplay.php?f=20

    There are some very good people out there who helped me (successfully) on 2 occasions.

    Good luck.

    I'll be interested to know how you go.

  • I wipe my keyboard and mouse with a paper towel and the screen flipped sideways, how I recover the right way? /

    I wipe my laptop and keyboard mouse with a paper towel and the screen turned sideways, how I recover the right way?

    Hi ken1957,

    Try pressing Ctrl +or to rotate the screen.

  • iPhone 3G, without warning, the iPhone screen shows (vertical hold) logo from itunes, with a port usb and the arrow pointing up. I have 10.7 update iPhones.

    Without warning, the iPhone screen shows (taken vertical) logo to itunes with a usb port and the arrow pointing up. I have 10.7 update iPhones. When this iPhone is connected to the computer, Apple recommendation is to "restore" the iPhone. If I do this, would be erased all data stored? Thank you

    You would have to post on Apple Support communities to get a definitive answer on this one.

  • try to install on the second computer. Already had two licenses, one for the office, one for the laptop. Now try to install the Office composition on laptop. Applications are coming up with buy it now and the start of the trial. Any ideas?

    try to install on the second computer. Already had two licenses, one for the office, one for the laptop. Now try to install the Office composition on laptop. Applications are coming up with buy it now and the start of the trial. Any ideas?

    Hello

    Please see the below help documents:

    Applications creative Cloud back in test mode after an update until 2015 for CC

    Solutions to connection errors, activation and connection with creative Cloud applications and Creative Suite

    Kind regards

    Sheena

  • How can I replace my app on iTunes Connect with a new version with air for iOS and app Loader?, how do I replace my app on iTunes Connect with a new version with AIR for iOS and the Application Loader?

    How can I replace my app on iTunes Connect with a new version with air for iOS and app Loader?, how do I replace my app on iTunes Connect with a new version with AIR for iOS and the Application Loader? I got an error that the version number needs to be updated. I created a new record in iTunes Connect with version 1.1 and I took ownership of my current app 1.1 in air for iOS section in Flash.

    Check your descriptor file to make sure that it shows the updated version, too.

  • to fill the gaps with value of lead and the delay and make average and the gap between earned

    Thanks in advance

    I have table as below
    ID          TYPE     NUM     NAME     BEG_MP     END_MP     VALUE
    10001103N     3     1190001     WST     0.000     0.220     
    10001103N     3     1190002     WST     0.220     0.440     
    10001103N     3     1190003     WST     0.440     0.820     12800
    10001103N     3     1190003     WST     0.820     1.180     12800
    10001103N     3     1190004     WST     1.180     1.220     
    10001103N     3     1190004     WST     1.220     1.300     
    10001103N     3     1190005     WST     1.300     1.420     14800
    10001103N     3     1190005     WST     1.420     1.550     14800
    10001103N     3     1190006     WST     1.550     2.030     
    10001103N     3     1190006     WST     2.030     2.660     
    10001103N     3     1190007     WST     2.660     2.780     
    What I need is to fill the gaps with value of lead and the delay and make average and the gap between the values
    ID          TYPE     NUM     NAME     BEG_MP     END_MP     VALUE
    10001103N     3     1190001     WST     0.000     0.220     12800 ---> Lag value
    10001103N     3     1190002     WST     0.220     0.440     12800 ---> Lag Value
    10001103N     3     1190003     WST     0.440     0.820     12800
    10001103N     3     1190003     WST     0.820     1.180     12800
    10001103N     3     1190004     WST     1.180     1.220     13800 ---> Avg(12800,14800)
    10001103N     3     1190004     WST     1.220     1.300     13800 ---> Avg(12800,14800)
    10001103N     3     1190005     WST     1.300     1.420     14800
    10001103N     3     1190005     WST     1.420     1.550     14800
    10001103N     3     1190006     WST     1.550     2.030     14800 ---> Lead Value
    10001103N     3     1190006     WST     2.030     2.660     14800 ---> Lead Value
    10001103N     3     1190007     WST     2.660     2.780     14800 ---> Lead Value
    create table AVG_TABLE
    (
      ID     VARCHAR2(20),
      TYPE   NUMBER,
      NUM    NUMBER,
      NAME   VARCHAR2(10),
      VALUE  NUMBER,
      BEG_MP NUMBER(6,3),
      END_MP NUMBER(6,3)
    )
    ;
    
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190001, 'WST', null, 0, .22);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190002, 'WST', null, .22, .44);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190003, 'WST', 12800, .44, .82);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190003, 'WST', 12800, .82, 1.18);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190004, 'WST', null, 1.18, 1.22);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190004, 'WST', null, 1.22, 1.3);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190005, 'WST', 14800, 1.3, 1.42);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190005, 'WST', 14800, 1.42, 1.55);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190006, 'WST', null, 1.55, 2.03);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190006, 'WST', null, 2.03, 2.66);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190007, 'WST', null, 2.66, 2.78);
    commit;

    Hello

    Use LEAD and LAG when you know exactly how far is the target line (for example, if you know the desired value is on the next row).
    If you don't know exactly how far is the target line, then FIRST_VALUE and LAST_VALUE are more likely to be useful.

    WITH     got_neighbors     AS
    (
         SELECT     avg_table.*
         ,     LAST_VALUE (value IGNORE NULLS) OVER (ORDER BY beg_mp)          AS prev_value
         ,     LAST_VALUE (value IGNORE NULLS) OVER (ORDER BY beg_mp DESC)     AS next_value
         FROM     avg_table
    )
    SELECT       id, type, num, name, beg_mp, end_mp
    ,       COALESCE ( value
                 , ( NVL (prev_value, next_value)
                   + NVL (next_value, prev_value)
                   ) / 2
                 )     AS value
    FROM       got_neighbors
    ORDER BY  beg_mp to f
    ;
    

    Riedelme is correct: LAG LEAD (as well as FIRST_VALUE and LAST_VALUE) can return only the values that are there (or that you give as default values). This means that you can not solve this problem with these functions alone; you need something else (as NVL, above) to provide value when the function does not find it.

  • Problems with sorting of columns and the number of lines in the report

    Hello

    I'm having a problem with sorting of columns and the number of lines displayed in a report.

    This report displays the data correct, but if I try to sort on a column when I click on the column heading in the report returns no line... I need to click on the "go" button to refresh the report (with the column sorted now) in to display the data.

    Similarly, I display only 15 lines per page. If I try to view the lines 16-30, 31-45, etc., that it returns no line until I click on the 'go' button to refresh again.

    Has anyone else had (and overcome) the same problem?

    Thank you

    Joseph

    Joseph,

    2 questions:

    1) are you using the elements referenced by the report page to filter etc.. ? If so, you're failing values of these when the loading of the page?
    (2) are you using PPR page through the results?

    If so, it could be a problem with the different types of session state, as Anton Nielsen blogged about here:
    http://c2anton.blogspot.com/2008/12/Oracle-Application-Express-Apex-three.html

    If so, you can use calculations or processes to set element values in session state persistent during page rendering, as Anton mentions. In this way, when you use PPR page values will be available in session state and your report should work fine.

    Anthony.

  • Problem with DW CC 20141 and the BC add on

    Hi all

    I had this problem on my computers that I have Dreamweaver CC 20141 installed on both.

    I used the program for a while, but all of a sudden on open it I am unable to connect to Vancouver to download a new site and start working on it using Site/site management in the top menu.

    Instead I get redirected to a page to download the BC add on. When I connect to download it, I said I already have and not give me a link to download.

    Measures to address this are:

    1. conclusion of DW

    2. go to Creative Cloud (figure 8) and open it.

    3 make sure you sync files option is enabled

    4. download the Add on Manager.

    5. start add on Manager and make the round in circles for some time using add it manager to uninstall, and the Web page to download the app to BC to uninstall and reinstall the application.

    6. start and leave off DW while doing these steps (sorry, I couldn't work on a logical sequence of things to do in steps 5 and 6)

    7. Finally, DW CC 20141 will BC app and you will be able to connect to BC and download site you want to work on

    However once this is done, when I worked in CC DW the preview for the template I worked on had an error 404 for the model, so I couldn't split view in DW how looked at the page on the site.

    If I had to go back to Adobe Creative Cloud app and disable the synchronization of file to see how the page is in split view.

    I think that there is something wrong with DW CC 20141 and synchronization of files in the Adobe Creative Cloud application.

    Hello

    In case you still experience this issue, please try some suggestions mentioned here,

    Re: Business Catalyst Extension does not not since upgrade

  • Just bought a msi gtx 750 ti OC edition.when installed does not start, ends with a black screen and the cursor

    As indicated in the title, I bought a ti 750 gtx.

    N750Ti-2GD5/OC

    The machine had a 620 in gt and works very well with it in. When I install the ti 750 gtx, however, the boot system hangs on a black screen with cursor / underscores and a single beep.

    The system is a h8 1203, with a power of 460.

    I also have a gts 250, that also installs and works fine. Ive read a little, and there is a problem with this map and the hp system? something about the type of bios? I couldn't quite follow what has been said.

    Hello

    If you upgrade to Windows 8 (UEFI-mode Setup) and apply the BIOS posted updated so you should be able to work to the video card.

    Don't forget to create a set of external support of HP recovery before installing a new operating system.

Maybe you are looking for

  • get a real of Editbox

    Hello I would get a real of an Editbox For example, I would type 10.51 and bring in my script. Right, now I get a string: "10.51. And I would like to convert it to a real use. How can I do? Best regards Frédéric

  • problems with HP printer Officejet 4500Wireless G510n-z

    This model of hp printer seems plagued by installation and response issues. Others have it so found and may have found a better solution, Help Center, or concluded that he is desperate and best to buy another to replace it?

  • Over 2 years factory restore, Windows 8 Gateway fails to validate Windows 8 from the bios encrypted

    Hi all. For two weeks now, I tried to help a veteran 84-year difficulty his virus infected Office Windows 8 Gateway (Walmart) age of 2 years old. The poor old man was a PC buyer first time when he bought this PC two years ago & didn't have understand

  • How to increase my use of the network

    I'm trying to download data from a remote computer using the SSH client.  My problem is that there are several data files, with some more than 5 GB and my use of the network seems to be only 1% when I followed my network connection using resource mon

  • Search results not Google Reader files in Windows

    Basically, the Google Drive folder is synchronized on my data partition. The files are present on my HARD drive, the entire folder is indexed, but nothing inside it comes back in my Windows search results. I tried to rebuild the index from scratch, u