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.

Tags: NI Software

Similar Questions

  • There must be a better way to do this (frustration of RAM Preview)

    I loaded one 01:20 second Full HD clip in sequels. I need to edit the video based on some sounds in the video and see if I match them correctly by the image previewed with the sound.

    The problem is that I'm frustrated due to After effects does not not like first. First who thought it was a good idea is not to integrate sound in sequels? Secondly, I have an i7 processor sandy bridge, and 16 GB of ram, but he always takes time to render the preview ram (with still no effect on it).

    Ram preview is my only option for sound, but the problem is every time I hit the ram preview it starts the video all the way from the beginning. It's frustrating because I want to start at a specific time. Imagine having a video more long where editing must take place at the end.

    Professional projects of people out there doing a lot more complicated, you guys how to work around this problem?

    Why can't after that effects do some basic things like first as make fast with the sound? Is it because of the Mercury engine and 64-bit?

    It is one of the best products on the market, there must be a better way of doing things?

    No need to preview RAM just to hear the sound, use the comma on the numeric keypad key to play an audio preview only.

    If you want to mark certain audio events, twirl down the properties for the audio until you see the waveform and then use it to synchronize audio and animations.

    And if you want RAM Preview from your current position, simply press the 'B' button to set your start of work area to the playhead, and then the RAM previews will begin from that point.

    Use ctrl - drag to scrub audio & video. Use ctrl-alt-drag to scrub just audio.

    AE has all the audio features of first (and), he just behaves in a different way.

  • Legends and anchored objects - there must be a better way to do

    I spent a lot of time in the last six months, reconstruct PDF files in InDesign. It is part of my regular responsibilities, but I do a lot more of him for some reason any. Because I send you the text of these rebuild on documents for translation, I like that all of the text in a single story. It really helps to have the text in 'logical order', I think; When I prepare a trifold brochure, I try pretty hard to make sure that the order in which readers will read the text is reproduced in the stream of history throughout the identity document.

    So I'm rebuilding a manual as a form of 3 columns on letter paper and it is full of legends. Full of em. They are not pull quotes, either; each of these has unique text. Keeping in mind that I would like the text of those legends to stay in the same position in the text once I connected all the stories and exported a RTF for translation, which is the best way to handle them? What I do is insert a frame drawn emptly as an anchored object, size and position to sit above the text which is supposed to be shouted. When my translations come back, so they are always longer than the source document, as I crawl through the text, I resize the anchored images to match the size and position of the new extension translated the text and then move them in place with the keyboard.

    There must be a better way.

    It is better, right? I don't actually know too. If I really want to fill these frames anchored with text, I can't screw the them in the history. I suppose I could just put on the frames of the legend and assign two RTFs for translation instead of one, but then the 'logic' of my text order is thrown out the window. So, I am asking myself "what's more important? reduction of formatting time or maintenance of the flow of the story? "If there's something that miss me let me to dodge this decision, I would love to hear about it. The only thing I can think would work like this:

    (1) reproduce the text of the legend in the history with a custom sample "Invisible."

    (2) create "CalloutText" parastyle with "Invisible" swatch and apply it to the caption text

    (3) Insert the anchor for framework anchored immediately before the content of CalloutText

    (4) send it out for translation

    (5) while I'm waiting to get him back, write a script that would be (don't know if this is possible):

    (a) to scroll through the main story looking for any instance of CalloutText

    (b) copies an instance of contiguous to this style to the Clipboard

    (c) look back in history for the first preceding the instance of CalloutText anchor

    (d) fill the object anchored with the text on the Clipboard (that's where I'm really naïve)

    (e) implement a new parastyle the text of the legend

    (f) continue step by step through the story, looking for other instances of CalloutText

    If this is really the only decent solution, I'll simply go to the Scripting forum for more help with d). Any of you can make other suggestions?

    N ° there is no plugin dependencies (as long as you do not use

    APID version 1.0.46 - who had a bug that caused the warnings warning). Round-

    trigger by INX dirty not the text. If you return

    using the most recent version of the APID (version 1.0.47 pre5 and later - not)

    really yet published), plugin data should be preserved as well.

    Substances

  • Ahhhh! There must be a better way to change fonts/colors in 'States '. Photo below. Does anyone have the magic answer?

    Hello world

    I spend (and lose) so much time trying to make fundamental changes in the States. There must be an easier way in the future in Muse with the States. But for now, here's my challenge:

    For this example, the title of the person has been in light blue.  Statement of assets was white. I want to change the type of white in the statement of assets.

    Screen Shot 2015-10-27 at 13.38.34.png

    Yellow is for example purposes.

    In the NORMAL State , I change the title to yellow color. As you can see, the first 3 States change to yellow. The State of the asset remains white. Understood.

    Screen Shot 2015-10-27 at 13.43.02.png

    So I then click on the status of the assets button, and we see the white. I used Pink for this example.

    Just after I enter rose in the statement of assets, and if I click back or escape, I get this message. No matter if I edit together checked or not.

    If this warning message doesn't make sense, how the hell do I change things in the statement of assets?

    Screen Shot 2015-10-27 at 13.53.50.png

    If the result of the evolution of the Active state to rose, all changes except the active state. There must be an answer. Thank you!

    Screen Shot 2015-10-27 at 13.54.09.png

    Select the Group of free text and a text block, select the State and change the color of the image itself.

    Thank you

    Sanjit

  • How can we ignore the video when importing? I am aware that it took 4 years ago, but I don't know that there must be a better way today?

    I am currently evaluating lightroom to replace Apple's Aperture as is the end of LIFE. I am a professional filmmaker who made a few pictures on the side. Lightroom 6 emphasize the import of videos, unless I have clear them manually during import. I ABSOLUTELY NEED to divide probably photos and videos on various imports and paths to backup IMMEDIATELY when I put the card into the computer on the tray. This way of manual de-selection is stressful, slow and prone to error. It hates me lightroom - I love otherwise - on each import of the card.

    Is it really now way to tell lightroom to ignore the .mov files and stick to the photos? It is very difficult to believe for a professional software and unfortunately would be a dealbreaker for me.

    Would like to find a way to do it, then I would be able to commit to the ambient light for my photo needs.

    Best

    Gerrit Haaland

    YACHTFILM.tv

    Hi GerritH,

    If you use Lightroom 6/CC, there is no way to deselect the videos, but what you can do is to change the sort order to media type and unselect all the videos at the time of importation.

    • Press "check all".
    • Sort by "media type".
    • Select all video files (select a first + press shift + select last)
    • remove the flag on a single video file (this uncheck all selected video files)
    • Press on import.

    If you use Lightroom 5 or earlier, there is a hidden option: hold down the Alt/Option key and "check all" and "Uncheck all" buttons turns in "check videos ' and 'Videos to uncheck', respectively." From there you can asily choose to imp [tro photos or video only.]

    Concerning

    Sarika

  • 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.


  • 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

  • There must be an easier way!

    Maybe it's the lack of good sleep in recent weeks, or simply to watch the long code, but it seems that there should be an easier way to do it, but it escapes me. Here is the code example. I have 48 initial statements of the YEW, with nested IF statements. The first outter, IF the declaration has 47 IF statements nested, the second statement IF outter has 46 IF statements nested, etc.. I have shortened the code for readability.

    If (thisItem.p0 == true) {}
    P00. AddItem (thisItem);

    If (thisItem.ItemSlots > = 1) {}
    thisItem.p1 = true;
    P01. AddItem (thisItem);

    If (thisItem.ItemSlots > = 2) {}
    thisItem.p2 = true;
    P02. AddItem (thisItem);

    If (thisItem.ItemSlots > = 3) {}
    thisItem.p3 = true;
    P03. AddItem (thisItem);

    If (thisItem.ItemSlots > = 4) {}
    thisItem.p4 = true;
    P04. AddItem (thisItem);

    If (thisItem.ItemSlots > = 5) {}
    thisItem.p5 = true;
    P05. AddItem (thisItem);
    }
    }
    }
    }
    }
    }
    If (thisItem.p1 == true) {}
    P01. AddItem (thisItem);

    If (thisItem.ItemSlots > = 1) {}
    thisItem.p2 = true;
    P02. AddItem (thisItem);

    If (thisItem.ItemSlots > = 2) {}
    thisItem.p3 = true;
    P03. AddItem (thisItem);

    If (thisItem.ItemSlots > = 3) {}
    thisItem.p4 = true;
    P04. AddItem (thisItem);

    If (thisItem.ItemSlots > = 4) {}
    thisItem.p5 = true;
    P05. AddItem (thisItem);
    }
    }
    }
    }
    }

    This--->

    If (thisItem.ItemSlots > = 1) {}
    thisItem.p1 = true;
    P01. AddItem (thisItem);

    If (thisItem.ItemSlots > = 2) {}
    thisItem.p2 = true;
    P02. AddItem (thisItem);

    If (thisItem.ItemSlots > = 3) {}
    thisItem.p3 = true;
    P03. AddItem (thisItem);

    If (thisItem.ItemSlots > = 4) {}
    thisItem.p4 = true;
    P04. AddItem (thisItem);

    If (thisItem.ItemSlots > = 5) {}
    thisItem.p5 = true;
    P05. AddItem (thisItem);

    ------------------------

    and this--->

    for (var i: int = 0; i<>
    thisItem [("p" + i)] = true;
    This [("P0" + i)]. AddItem (thisItem);
    }

    must be the same, (I have not tested the syntaxt throughoutly, but it should work)

  • Looking for a better way to write this SQL

    Oracle version 11R2
    Version of the OS (any)

    What I try to do is write a query that finds Public synonyms without a target object. I came up with this, but I think there is a better way.
    Select 
      s.owner, s.synonym_name, s.table_name, s.table_owner, s.db_link, InitCap(o.object_type) object_type
    from   
      sys.DBA_SYNONYMS s, sys.DBA_OBJECTS o
    where  
      s.synonym_name is not null
    and    
      s.table_owner = o.owner (+)
    and    
      s.table_name = o.object_name (+)
    and    
      s.owner = 'PUBLIC'
    and
      object_type is null;  
    object_type is null appears to be weak. It seems that the target object must be better.

    Your comments, observations, questions welcome.

    I don't know exactly what 'better' means in this context (faster, easier to read, etc.), but I tend to use a NOT EXISTS

    SELECT s.*
      FROM dba_synonyms s
     WHERE owner = 'PUBLIC'
       AND s.db_link IS NULL
       AND NOT EXISTS (
        SELECT 1
          FROM dba_objects o
         WHERE o.owner = s.table_owner
           AND o.object_name = s.table_name )
    

    I added the criteria DB_LINK to filter the public synonyms referring to objects in remote databases that obviously do not exist in the local DBA_OBJECTS.

    Justin

  • There must be an easier way to get these to plug and play

    I have attempted to put in place all the computers in my work so that they can take advantage of Microsoft Voice Recogbition and I use the Andrea Electronics USB USB sound card - MY and had recently several computers in my issues of experience at work with the USB - MY does not automatically installed on Windows 7 machines. When they connect, they get an error message saying: it has not been installed successfully, and it is not visible in the menu of recording devices. I have also a computer tries to use the USB adapter - MY with a motherboard ASUS Sabretooth X 79, and not only would not recognize it correctly the system, but would not start with the card installed in one of the USB ports. I know that these situations are very difficult to resolve because of the number of variables involved.

    I tried a number of things, such as uninstalling and reinstalling the driver, force to install the driver from different USB ports, hubs, etc., MS update catalog, but the only thing that seems to work is to uninstall the Generic USB hub and the hub root USB, and then restart the system.

    I might add that this issue was raised with other products as well USB, like a Bluetooth adapter and a wireless mouse. Is this something new? Everyone is having similar problems? Is there a simpler solution? Is this something that Microsoft should continue the investigation?

    No indication as to how or why this happens, or an easier way to fix it would be greatly appreciated.

    Thank you

    Joe

    Hey Joe,

    The question you posted would be better suited in the TechNet Forums; We recommend that you post your question in the TechNet Forums to get help:

    http://social.technet.Microsoft.com/forums/en-us/category/w7itpro

  • How to extend navigation history it shows less day in the history... and why is there no clear and obvious way to do this?

    This question says it all.
    Besides, why you let a lot of people looking to learn how to create an account? Why cannot say you at the beginning that this will be the last step in a process question ask? Does anyone have fun hostile user pervert chasing people around and their crazy driving with stupid and gimmicks?

    In the library (Ctrl + Shift + h) dialog box, you should see that Firefox knows the whole story. If Firefox doesn't show one day, that's all there is. To double-check you can enter http in the top search box to the right of the dialog box library (which must match the history).

    Where is the prior history? Eventually, he was allowed to Forget, or clear recent history or the option to clear the history to the stop button. Some add-ons can clear history. Some utility/privacy/security software can target the browser for the cleaning history from time to time.

    If you use the update function - which creates a folder of old data of Firefox on your desktop - your older history can be in there, but there is no way to merge your existing with ancient history, recent history would you swap one for the other if you restored the old file.

  • (3) all my computers have the same problem with installing KB953297. Microsoft must provide an easier way to solve this problem. Obviously a lot of people is affected.

    End users should not have to be remove and reinstall anything. Get it together!

    Can you guys try the following steps:

    1 uninstall .net Framework 1.1 from Add/Remove programs
    2 run the .net Framework Cleanup Utility and remove all .net Framework 1.1 related Articles (located here: http://blogs.msdn.com/astebner/archive/2006/05/30/611355.aspx)
    3 Windows Update to download updates.
    4 reboot and redo the update of Windows

    Can you let me know if you find any success?

    Thank you! If you find my answer was what you're looking for, remember to click on the box "mark as answer" below!

  • Multi-terrain graphs, is there a better way?

    I'm still not good at graphics in LabView, but I think I do a few programs and I can usually get a graph to show with what I want to show him only a few hours of dinking with it autour...

    In any case using graphics certainly made for messy code unless there is a better way to this thread. Basically, this chart shows the four temperature sensors and is updated every minute. A check of stabilization is carried out every 15 minutes. Apparently the only way I could get the multiple locations with time that x-axis it are use an xy graph, but I have my reading on the index individually and each put in it is the own shift register and add it to the chart separately.

    There must be a better way?

    I think that part of your problem is that you are not aware of the option 'Concatenate entries"to build array. You don't need several bays to build the set of clusters, we made connections in graph (pink wire). Just expand the build, wire all clusters, then right-click on the picture of construction and choose 'Concatenate entries. Then, you can use a cluster to store all your berries to graph (orange wire) which will be greatly cleans your diagram.

  • Can anyone suggest a better way to update?

    I've updated a windows 7 32-bit (service pack 1) PC to a new installation.

    I am now on day 3 and still updates are still slow, halt, difficult and not much. I lost at least 8 hours trying several "FixIt" and the windows troubleshooting update just to make things worse, so I had to restore the system and start from scratch.

    There must be a better way to update Windows Update use surely? I can't afford to wait for 3 + days to install an operating system to actually be able to use it safely online.

    Absolutely, it boggles the mind as to how incredibly bad is the whole process.

    The installation process described came from this thread,

    They must be also, and

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-update/Windows-Update-remains-at-checking-for-updates/ff3c442e-79a6-40d3-AC35-29e130cebef1

  • Looking for a better way to count the responses to the survey questions

    Hello all - I have created a survey for a site and now want to display the results to the admins of the site. I am trying to display the countdown - the number of times that a question has been answered in a certain way. I realize that I may need to build the investigation itself differently and how it stores data, but here is how it goes far.

    There are 10 questions, each with 4 options of radio button groups. The database table contains a column for each issue and stores the value of the selected option button. So it's pretty simple.

    Now on the results page, that it's the only way I can think to do, but there must be a better way. For each answer, I create a Recordset filtered on the issue and the value option, then display the total number of records. Which works great, but count each option, which means that 40 recordsets on the page - al simply determine "how many times was the Question 1, Option was selected and how many times has the Question 1, selected Option B and so on.»

    The only other thing I can think it maybe is a better way to count the occurrences of these values in the table is with PHP or in the SQL itself.  Or, perhaps, if the values themselves are entirely digital and follow a kind of model I can use a solution of math.

    Thoughts, solutions, and ideas are welcome!  Thank you.

    Your problem is a bad design. You should have a separate line for each answer, not to separate the columns. It also makes the very rigid investigation. A simple design would include a few tables - a master of the investigation that stores the questions and response table that contains a foreign key to the question number in the master, the answer, as well as any other details you need to capture. You might get more elaborate, but it's essential. Your result page and then just be a single recordset with a simple query with a group by clause.

    I urge you to review this before going any further.

Maybe you are looking for