Is there a better way to make this pop up?

I have a VI that has more than 900 void screw which has been developing since the Labview V5.  It has a control loop and a loop of data.   The vehicle currently has half a dozen or more Windows vi it appears for different reasons.   Most collect all of the data passed to them but don't have to return data.  I called the sub, it opens and the data is passed but he shares time with the main window, so I can not change anything in the main window as the Sub keeps seizing control.

I came up with this solution attached below, but it seems that there must be a better way?  I don't know that I just lack.   I need to be able to start in a field of the program running on a while loop and sends the data to the it in an another while loop which collects data while giving full control to the main VI.
Thanks for any help.


Tags: NI Software

Similar Questions

  • Is there a better way to make the selection on this slider?

    Is there a better way to make the selection on this slider?
    I need to retrieve the test scores max (tesc_code SO1, S02, S03 etc... etc...)
    I get the results presented here, but I wonder if it's a better way to do this.
    The results should be back in the same cursor... e
    CURSOR c_sortest_SAT_scores(p_pidm IN saturn.sortest.sortest_pidm%TYPE,
    p_term in saradap.saradap_term_code_entry%TYPE)
    IS
    SELECT   s01.sortest_pidm       pidm_s01,
             s01.sortest_tesc_code  tesc_code_s01,
             s01.sortest_test_score score_s01,
             s02.sortest_pidm       pidm_s02,
             s02.sortest_tesc_code  tesc_code_s02,
             s02.sortest_test_score score_s02,
             s07.sortest_pidm       pidm_s07,
             s07.sortest_tesc_code  tesc_code_s07,
             s07.sortest_test_score score_s07,
             s08.sortest_pidm        pidm_s08,
             s08.sortest_tesc_code   tesc_code_s08,
             s08.sortest_test_score score_s08,
             s09.sortest_pidm        pidm_s09,
             s09.sortest_tesc_code   tesc_code_s09,
             s09.sortest_test_score  score_s09
      FROM   saturn.sortest s01,
             saturn.sortest s02,
             saturn.sortest s07,
             saturn.sortest s08,
             saturn.sortest s09
     WHERE       s01.sortest_tesc_code IN ('S01')
             AND s01.sortest_pidm = p_pidm
             AND s01.sortest_term_code_entry = p_term
             AND s01.sortest_test_score =
                   (SELECT   MAX (s01a.sortest_test_score)
                      FROM   saturn.sortest s01a
                     WHERE   S01.sortest_pidm = s01a.sortest_pidm
                             AND S01A.sortest_tesc_code IN ('S01'))
             AND s02.sortest_tesc_code IN ('S02')
             AND s02.sortest_pidm = p_pidm
             AND s02.sortest_term_code_entry = p_term
             AND s02.sortest_test_score =
                   (SELECT   MAX (S02A.sortest_test_score)
                      FROM   saturn.sortest s02a
                     WHERE   S02.sortest_pidm = s02a.sortest_pidm
                             AND S02A.sortest_tesc_code IN ('S02'))
             AND s07.sortest_tesc_code IN ('S07')
             AND s07.sortest_pidm = p_pidm 
             AND s07.sortest_term_code_entry = p_term
             AND s07.sortest_test_score =
                   (SELECT   MAX (S07A.sortest_test_score)
                      FROM   saturn.sortest S07A
                     WHERE   S07.sortest_pidm = S07A.sortest_pidm
                             AND S07A.sortest_tesc_code IN ('S07'))
             AND S08.sortest_tesc_code IN ('S08')
             AND S08.sortest_pidm = p_pidm 
             AND S08.sortest_term_code_entry = p_term
             AND S08.sortest_test_score =
                   (SELECT   MAX (S08A.sortest_test_score)
                      FROM   saturn.sortest S08A
                     WHERE   S08.sortest_pidm = S08A.sortest_pidm
                             AND S08A.sortest_tesc_code IN ('S08'))
                     AND S09.sortest_tesc_code IN ('S09')
             AND S09.sortest_pidm = p_pidm 
             AND S09.sortest_term_code_entry = p_term
             AND S09.sortest_test_score =
                   (SELECT   MAX (S09A.sortest_test_score)
                      FROM   saturn.sortest S09A
                     WHERE   S09.sortest_pidm = S09A.sortest_pidm
                             AND S09A.sortest_tesc_code IN ('S09'));

    Hello

    The problem is that you to act as a Cartesian product with all the tables (you will get: S01 * S02 * S08 * S09 lines!) Is it really what you want?
    I don't think...

    Wharton, you can do (with no Cartesian product) is:

    CURSOR c_sortest_SAT_scores(p_pidm IN saturn.sortest.sortest_pidm%TYPE,
    p_term in saradap.saradap_term_code_entry%TYPE)
    IS
    SELECT sortest_pidm pidm, sortest_tesc_code tesc_code,
           sortest_test_score score
      FROM sortest
     WHERE (sortest_tesc_code, sortest_test_score) IN (
              SELECT   sortest_tesc_code, MAX (sortest_test_score)
                  FROM sortest
                 WHERE sortest_tesc_code IN ('S01', 'S02', 'S07', 'S08', 'S09')
                   AND sortest_pidm = :p_pidm
                   AND sortest_term_code_entry = :p_term
              GROUP BY sortest_tesc_code)
       AND sortest_pidm = :p_pidm
       AND sortest_term_code_entry = :p_term
    

    However you absolutely need a Cartesian product, you can do:

    WITH allrows AS
         (SELECT sortest_pidm pidm, sortest_tesc_code tesc_code,
                 sortest_test_score score
            FROM sortest
           WHERE (sortest_tesc_code, sortest_test_score) IN (
                    SELECT   sortest_tesc_code, MAX (sortest_test_score)
                        FROM sortest
                       WHERE sortest_tesc_code IN
                                              ('S01', 'S02', 'S07', 'S08', 'S09')
                         AND sortest_pidm = :p_pidm
                         AND sortest_term_code_entry = :p_term
                    GROUP BY sortest_tesc_code)
             AND sortest_pidm = :p_pidm
             AND sortest_term_code_entry = :p_term)
    SELECT s01.pidm pidm_s01, s01.tesc_code tesc_code_s01, s01.score score_s01,
           s02.pidm pidm_s02, s02.tesc_code tesc_code_s02, s02.score score_s02,
           s07.pidm pidm_s07, s07.tesc_code tesc_code_s07, s07.score score_s07,
           s08.pidm pidm_s08, s08.tesc_code tesc_code_s08, s08.score score_s08,
           s09.pidm pidm_s09, s09.tesc_code tesc_code_s09, s09.score score_s09
      FROM allrows s01, allrows s02, allrows s07, allrows s08, allrows s09
     WHERE s01.tesc_code = 'S01'
       AND s02.tesc_code = 'S02'
       AND s07.tesc_code = 'S07'
       AND s08.tesc_code = 'S08'
       AND s09.tesc_code = 'S09'
    

    The lines will be stored in memory to a temporary table before that product happen (should be faster)...

  • Now that we have liquid, is there a better way to make an Alphabet for Webapp elements filter when you have more than 500 Articles?

    Now that we have liquid, is there a better way to make an Alphabet for Webapp elements filter when you have more than 500 Articles?

    I am using the JQuery ListNav, but my webapp now has too many items.  Liquid filter by chain to make a filter of the alphabet?

    {module_webapps id = "16734" filter = 'all' template="/Layouts/WebApps/Applications/dashboard-list-a.tpl' = 'collection' render}

    What else can I use in the parameter 'filter '?

    Thank you!

    Shannon

    Udemy as a tutorial on it. Practical examples of liquid for Adobe Business Catalyst markup . It was called list Rolodex. This is the solution you want.

  • Is there a better way to make?  (Do not ask about codecs)

    I use CS6.  I noticed you can import AE PrPro files and vice versa, and you can also render with Media Encoder.  One of these better to render some than the other?  For example, if you use an AE animation in PrPro is it better to make the animation, and then import the video file to PrPro or to simply import the project AE go to PrPro and make all at once?  Or is it better to make everything with Media Encoder?  Or is it all just based applications?

    Adobe Media Encoder (SOUL) is ideal for creating files for final delivery. Make or export directly from After Effects are better for the creation of 'utility' exports, such as sequences of OpenEXR images for use as intermediaries in a multi-application workflows. Adobe Media Encoder is better exporting to final delivery (MPEG-2, H.264, etc), and it also has a much better user interface for navigation, creating and applying presets encoding. After effects script capabilities, can use multiprocessing for the rendering phase and can use the GPU to speed up rendering 3D drawn with RADIUS.

    My standard workflow for final rendering and export that takes advantage of the benefits of the two applications is to make a file encoded without loss of control of After Effects and have entering a watch folder for SOUL pick up and encode into different formats of delivery. Who uses AFter Effects to its faster rendering and the SOUL for its faster encoding.

  • There must be a better way to do this

    There must be a better way to do this!

    25 separate reports - 1 voltage recorded by chanel every minute for 21 hours (end - times will have to be changed)

    Anyone has ideas/directions

    CC

    The DAQ Assistant reads the tensions based on the timings specified, which means that if I set the number of samples finish say 20 and the frequency of samples to 1, then data acquisition will take 20 seconds to save 20 data points (one second) per channel. Then the DAQ pump data to the loop that creates reports (N number of reports).

    TO answer this question: the DAQ Assistant will do exactly what you suggest here.

    Two questions:

    -the loop will be able to separate the different channels ie first report contains data AI1, AI2 and AI3, then the second contains data AI4, AI5 AI6 etc.. ? What is the purpose of the table screws?

    TO answer this question: If you look inside the front loop, you see I have the sub table value function. I have set the index to the increment and then multiply 3 X. The first time in the loop take 0 and multiply by 3 and I get zero. second time through I multiply 1 X 3 and get 3. The second thing I have on the sub table set is giving him a length of 3. This will make return three matrices. So this will give me the next three tables each time through. So the first time through I get AI0 AI1, AI2 AI3 AI4, AI5 second time or however you have configured channels.

    - and what is the function of painting that the subset of table is wired to (can not find the icon of my pallet table)?

    TO answer this question: Index table. Handel, it automatically becomes a 2D array.

  • Better way to write this sql?

    Hi guru, I was able to get what I want, but I find there must be a better way/more efficient way to write this sql?

    Database: Oracle 11g

    This is the create for the test database statement:

    create table sample_test (prog_id number (9) DEFAULT 0 NOT NULL, chan_rights CHAR (2) DEFAULT ' ' NOT NULL)

    This is the insert statement:

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (555633, 'A1')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (555633, 'A2')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (555633, 'A3')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (555633, 'A4')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (555633, 'A5')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (555633, 'A6')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (555633, 'A7')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (495641, 'A1')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (495641, 'A2')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (495641, 'A3')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (495641, 'B1')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (495641, 'B2')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (495641, 'B3')

    INSERT INTO sample_test (prog_id, chan_rights) VALUES (495641, 'B4')

    Here's what I did to get the data:

    Select distinct a.prog_id, rt_cnt, CASE

    WHEN a.rt_cnt = 7

    and there are (select 'Y' b sample_test where a.prog_id = b.prog_id and b.chan_rights = 'A1')

    and there are (select 'Y' b sample_test where a.prog_id = b.prog_id and b.chan_rights = "A2")

    and there are (select 'Y' b sample_test where a.prog_id = b.prog_id and b.chan_rights = "A3")

    and there are (select 'Y' b sample_test where a.prog_id = b.prog_id and b.chan_rights = 'A4')

    and there are (select 'Y' b sample_test where a.prog_id = b.prog_id and b.chan_rights = 'A5')

    and there are (select 'Y' b sample_test where a.prog_id = b.prog_id and b.chan_rights = 'A6')

    and there are (select 'Y' b sample_test where a.prog_id = b.prog_id and b.chan_rights = 'A7')

    THEN "A_ONLY".

    else 'SINGLE '.

    end CHAN_GROUP

    from (select prog_id, count (chan_rights) rt_cnt

    of sample_test

    Prog_id group) a, b sample_test

    where a.prog_id = b.prog_id

    That appears as follows:

    PROG_ID RT_CNT CHAN_GROUP
    4956417UNIQUE
    5556337A_ONLY

    As seen:

    1 / I count how many rights is available, and in this case, each program gets a "7"

    Set 2 / from these data, for each programme, I try to make sure it belongs to the company chan_rights right, for example, "A_ONLY". Therefore, as shown, Prog_ID 495641 does not contain "A_ONLY" channels listed in the case statement and there is unique. "A_ONLY" should only contain A1 to A7 inclusive and nothing else.

    Can I create a function that returns the value "Chan_Group", but is there a better way to rewrite the statement 'BOX' like a LOOP or something? I have millions of records to go through and someone told me that using "is" slows down the database so just thought that I could ask ahead...

    Please indicate if there is a better and more efficient method to get what I need?

    Thank you

    John

    I would do something like

    select prog_id,
          rt_cnt,
          (case when rt_cnt = 7 and num_a = 7
                then 'A_ONLY'
                else 'UNIQUE'
            end) chan_group
      from (select prog_id,
                  count(chan_rights) rt_cnt,
                  sum( case when chan_rights in ('A1','A2','A3','A4','A5','A6','A7')
                            then 1
                            else 0
                        end ) num_a
              from sample_test
            group by prog_id)
    

    View of inline, I count the number of values chan_rights, as well as the number that are in your list of A1 - A7.  In the outer query, I implement the logic that checks that the two charges are 7.

    Here is an example of sqlfiddle this http://www.sqlfiddle.com/#! 4/95438/2

    Justin

  • is there a better way to remove exact duplicates in my iTunes library, clicking on maintain organized the iTunes media folder is not working is not on for me

    is there a better way to remove exact duplicates in my iTunes library, clicking on maintain organized the iTunes media folder is not working is not on for me

    Do not automatically methods automated in the treatment of duplicates. There are several types of duplicates and how they should be solved is different.

    How to find and delete items duplicated in your iTunes library - http://support.apple.com/kb/HT2905

    More posts by turingtest2 on different types of duplicates and techniques - https://discussions.apple.com/thread/3555601 and https://discussions.apple.com/message/16042406#16042406 (Note: DeDuper script is for Windows).

    http://dougscripts.com/iTunes/scripts/SS.php?SP=scanfordoubleentries

    http://dougscripts.com/iTunes/iTInfo/Dupin.php (commercial) There are other similar tools, including a version much sooner this package called "duplicates iTunes Corral", which I'm sure that would reveal a general web search.

    For example, Corral iTunes duplicates a mod. Eric Pugh - http://opensourceconnections.com/blog/2006/11/11/better-itunes-song-deduping/

    May 2014 post on iCloud duplicates - https://discussions.apple.com/message/25867873#25867873

    See the exact replica (Mac and Windows) - https://discussions.apple.com/message/16951281#16951281

  • Is there a better way to remove the toolbar "Frequently used tools" (which I've never used!) to open whenever I open Acrobat reader. rather than uninstall Acrobat and use another PDF reader?

    Is there a better way to eliminate the "frequently used tools.
    toolbar (which I've never used!) to open whenever I open Acrobat
    drive. rather than uninstall Acrobat and use another PDF reader?

    Hi jg49392310,

    You can disable the tool pane with Adobe Acrobat Reader DC was last updated, see this note cover hide the tools Panel in Acrobat and Acrobat Reader DC at all times.

    Kind regards

    Nicos

  • Is there a better way? importing a .mp3 at the presentation file complete?

    Is not sure if this is even possible, but I have a .mp3 file I try to import into Captivate. The problem is the file is a large file and those who speak in it is not able to save individual audio clips so I can import in each slide. My thought is to import the entire audio file for each slide and then the change until just the relevant section within each slide. Is there a better way to do?

    Hello

    Normally when you import an audio clip longer than the slide you're importing to, Captivate offers one more option to spread the music across multiple slides.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • I want to change my region that I change my country I live but ask me to spend the money I had. So, there is a way to change this without asking me to buy sth?

    I want to change my region that I change my country I live but ask me to spend the money I had. So, there is a way to change this without asking me to buy sth?

    Contact iTunes Support - http://apple.com/emea/support/itunes/contact.html - and ask them to clear your balance.

    Change the country of your iTunes Store, App Store, iBooks Store and Mac App Store account - Apple Support

  • My ISP changed the name of the mail server. There is no way to change this in Mail (El Capitan).

    My ISP changed the name of the mail server. There is no way to change this in Mail (El Capitan).

    I see not where do under preferences: accounts > incoming mail server, but it is grayed out. How can I change this? I don't mind editing a file. The obvious answer "Delete the account and add a new charge" seems all brain-numbingly stupid, especially because we USED to be able to edit this field! Not sure when it changed.

    You're in the wrong place.  Go to System Preferences > accounts Internet and select the appropriate account.  Click on the DETAILS button and you should find the server info.

  • Best way to make this step motor control system

    The goal of my project is to have real-time data collected by a controller of Sir 158u Dataq a stepper motor.  I grappler planned on executing it with the basic stamp, but I realize that's not possible.  I have a stepper motor and a L293DNE driver.  I'll be permanently registration of data with the dataq, the form of volts and want these values to determine how the engine works.  For example, if the voltage is 0-3 volts, I want it running clockwise, 3-5 volts not turns not, and 5-8 Volt turn clockwise.

    I tried to understand this last week, searching through discussions with basic stamp, matlab and labview now.

    Is there an easy way to do this? or easier way that I'm trying to understand?

    Any help would be greatly appreciated!

    Thanks in advance.

    -Nick

    Nick,

    What I was describing, this is how you configure the motor controller to accept PWM of LabVIEW and mode locked anti-phase so you can control the direction of the motor. Much on the part of LabVIEW depends on the acquisition of data you use. For example the acquisition of your data doesn't have a counter which can generate a PWM? I did some checking everything on time and the acquisition of your data is not made by National Instruments and I couldn't locate the native LabVIEW drivers. I did however go to the MFG Dataq 158u site and found that they do not have drivers LabVIEW BUT their software (SW) should run in the background. Dataq 158u website also has a help forum, I suggest you start to understand the capacity of the 158u Dataq. Also it seems that you are not familiar with LabVIEW, until you can take on a project like this, you have to start with the LabVIEW Basics, learn how to manage the tables so you can store your results of EDA and records the use of loops and timing and movement.  NOR has a basic training FREE as the intrudction 6hr to LabVIEW, I would like to start their. Oh, and in your OP (original post) you doubted the Basic Stamp could do that, I do this type of control using the Atmel microcontrollers all the time, I'm sure that the stamp eaisily could do. Download right on one of their forums for more information. Oh and to answer your question a UPS is an IC that reverses the input signal, which you would end upward with the direction of you pines motor controller is PWM on a spindle and 180Deg off phase PWM, on the other hand.

    Alan

  • Is there a better way to set up my root directory

    I started to design a Web site for my new project, but I'm not a Web Designer by trade and I just want to check that I've set up my root directory of the site correctly and that there is not a better way.  The screenshot below shows what I have right now

    Screen Shot 2016-08-21 at 11.22.35.png

    I have not yet started to design real pages or customize almost anything because I first wanted to check that I had put in place the root properly.  Is there a better way to implement or have I set up in the best possible way

    If there is a better way, or if I made mistakes then please tell me.

    Jay

    No idea if there is a better way. Can tell you that my sites are configured in exactly in the same way.

  • Is there a better way to rename multiple clips on ingest?

    I am new to the prelude and the journal entry and transfer in FCP7.

    I want to be able to put / output and the name of all my clips individually, each with a unique name, for example: WS_tilt_man walks down the street. With that name appear in my BONES is essential when it comes to my clips to archive and reuse of shots in several projects. I tried the function "Rename the file", but it is quite slow because I have to re - open the window of acquisition after each clip is ingested. It's laborious, when I have clips 50 or more that I want to log/transfer.

    Is there a better way to rename multiple clips on ingest?

    Hi Caleb,

    You can rename all of the files at the time of ingestion of only.

    Select Rename and add a preset. Also check the transfer of Clips to Destination and select any main destination path where all the clips with their new names/rename would be transferred.

    Check the following picture. I hope it helps.

    Thanks for mentioning if there is no confusion.

    Thank you

    MILIN

  • I have created a prproj file and want to create a master DVD.  Is there a simple way to do this?

    I have created a prproj file and want to create a master DVD. Is there a simple way to do this?

    You need to export an MPEG2-DVD file for use in an application to create DVD (like Encore CS6)

    You can also create an ISO for mastering purposes image file.

Maybe you are looking for

  • Jackhammers outside my apartment... How to protect my iMac?

    I have iMac (2009) 19 "I work at home and I use every day.  The 10-20 ft of my iMac concrete balcony will be soon demolished by the jackhammers. 1. how dangerous is this vibration on my Mac? 2. must enter on the iMac only when the jackhammers are ina

  • MS-DOS (script) to execute in WindowsXP - batch file 'trap' the errorlevel

    I am writing a Batch MS-DOS (script) file to run in Windows XP.  It run 3 programs: PKZIP for z/OS by PKWARE, FTP (BACK) and an MS-DOS Application with us.  How I 'trap' the errorlevel to each of these programs to ensure that they completed successfu

  • Black Berry sync software unable to Synch with Yahoo

    My Black Berry Desktop software Sync used to work perfectly, backup and sync phone Contacts and calendar with Yahoo. Now it errors when it tries to synchronize the calendar with the server connection is lost. The version is up-to-date.

  • Stand-alone voip router configuration

    Hello I'm pretty new to the part of Cisco's IPT. I am planning to buy a Voip router, but don't know if I want it is possible. See the attachment for the installation I plan on the building. Cisco 881 must register with the VOIP provider. A phone numb

  • Microsofts free vm for testing IE won't work in vmware fusion.

    On the link below, there are windows free 7,8,10 vm s to test different versions of internet explore.I can't work in vmware fusion, because after importation, they have no internet connection.The internet Control Panel does not show upward and is not