Effective way to draw a selected graphic user

Hello

I channel data acquisition "n" and I need to graph data, but the channel is selected by the user. For channel 1, channel 2 or it can for example select channel 1 and 2. I have a solution to what use cases multiple structures which I know is not the best way to do it. Is there an effective way to do it. Can someone tell me a knowledge base

I have attached the jpg to know how I do this.

Thanks in advance

Nitin

You also have the visibility available field box when you view the legend of the plot. It's also can be defined by a property node.

Tags: NI Software

Similar Questions

  • Effective way to create an online help for different users

    Hello

    I use RH6 (RoboHelp HTML) on Windows XP to create WebHelp. I need to create an online help for 3 different users, for example, student, teacher and principal. Some functions of the software are available based on the permissions assigned to users. So, I developed a main project file ("All.xpj") that contains all the topics. Then I create a new project for each type of user and import only the topics that relate to the user. It is the most effective way? I didn't have to create 3 or 4 conditional parameters... because I would have to re - create the table of contents, the Index, and the Glossary for each project. It is the most effective way to use RH6 for my needs?

    Any advice or suggestions would be greatly appreciated.

    Thank you
    FMnRH

    Conditional compilation marking would go like this:
    1 mark the topics specific to the user as a 'Student', 'Teacher' or 'Major', as the case may be.
    2 leave unidentified all subjects that are common to all.
    3. Enter the three configurations different single source (SSL):
    -L' SSL must have the term generation student NOT a teacher AND NOT Principal.
    -L' SSL must have the term generation NOT a student teacher AND NOT Principal.
    -The main SSL should have the term generation NOT student AND NON-teaching.
    All unmarked topics will appear in the output.
    4. the table of contents can be trickier; It depends on your structure. Tag user specifi c-books in the table of contents as a student, teacher or Director. Let the unidentified current material. Do the absolute minimum marking here that you can get away with and try to keep the simple tags and high level. It is too easy to lose them in a table of contents complex. The thing to remember here is that if a topic is not in the output, it will be automatically excluded from the table of contents. This means that if you have marked a topic as a teacher, he will not be displayed in the table of contents of the student, even if you do not expressly exclude the table of contents entry.
    5. as a result of the reasoning in number 4 above, the index should take care of itself, and I think that the glossary will be, too, although I have not played with glossaries a lot.

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

    I think you have the right idea on how to perform the merge. I don't have access to HR right now to check.

    If all three projects have the same definitions in the glossary, put them in the common project of the child, not duplicate them in the user-specific projects.

    HTH,
    G

  • The most effective way to log data and read simultaneously (DAQmx, PDM) high data rates

    Hello
     
    I want to acquire the data of several Modules cDAQ using several chassis to
    high data rates (100 k samples per second if possible). Let's say the measurement time is 10 minutes and we got a large number of channels (40 for example). The measured data is written to a PDM file. I guess, the memory or the HARD disk speed is the limits. For the user, there must be a possibility to view the selection of channels in a graph during the measurement.

    My question: what is the best and most effective way to save and read data at the same time?

    First of all, I use an architecture of producer-consumer and I don't want to write and display the data in the same loop. I expect two possibilities:

    [1] to use the 'DAQmx configure logging.vi' with the operation 'journal and read' to write the data to a PDM file. To display the data in a second loop, I would create a DVR samples documented and 'sent' the DVR for the second loop, where the data will be displayed in a graph (data value reference). This method has the disadvantage that the data of all channels is copied into memory. Correct me if I'm wrong.

    [2] use 'DAQmx configure logging.vi', but only with the "journal" operation to write the data to a PDM file. To view the selected data, I had read a number of samples of the TDMS file in the second loop (I'm currently writing the TDMS file). In this case, I have only one copy data from the selected channels (not), but there will be more HARD drive accesses necessary.

    What is the most effective and efficient solution in this case?

    Are there ways to connect and read data with high frequencies of sampling?

    Thank you for your help.

    You say that the measurement time is 10 minutes. If you have 40 channels and you enjoy all CHs at 100 kHz, it is quite a number of values.

    In this case, I always try to approach under the conditions of use. If a measure is only 10 minutes, I just connect all PDM data and create a graphic module that could be in the same loop of consumers where connect you the data. You can always work on the raw data files big offline afterwards, the extraction of all the information you need (have a look at the product called NI DIAdem: http://www.ni.com/diadem/)

    The main issue is that the user needs to see in the graph (or perhaps a chart can be useful too). Lets say that the graph is 1024 pixels wide. It makes no sense to show multiple data to 1024 points, Yes? Every second will produce you 100 data points k per channel. What is the useful information, which should see your username? It depends on the application. In similar cases, I usually use some kind of data reduction method: I use a moving average (Point by point Mean.VI for example) with a size of the interval of 100. This way you get 100 data points of 1000 per channel every second. If you feed your graph every second with these average values, it will be able to data points in 1024 of the store (as a default) by channel (curve), which is a little more than 10 minutes, so that the user will see the entire measurement.

    So it depends on the frequency at which you send data to the consumer. For example, collect you values 1024 by iteration of the producer and send it to the consumer. Here you can make a normal means calc or a bearing (according to your needs) and he draw a graphic. This way your chart will display only the values of the last 10 seconds...

    Once I programmed some kind of module where I use a chart and not a graph, and the user can specify the interval of the absolute timestamp that is traced. If the data size is larger than the size of the chart in pixels, the module performs an average calculation in order to reduce the number of data points. Of course, if you need to see the raw data, you can specify an interval that is small. It all depends on how you program zoom functions, etc... In my case I hade a rate of 1 Hz, so I just kept all data in RAM limiting the berries to keep 24 hours of data, so that technicians could monitor the system. In your case, given the enormous amount of data, only a file read/write approach can work, if you really need access to all of the RAW data on the fly. But I hope that the values of working capital means will be enough?

  • The simplest way to draw a vertical line on Panel

    Hello

    I wonder what is the easiest way to draw a vertical line? Could you give me an example?

    Thank you

    Ah, what selection of control chose one vertical

  • WIN8 cannot select the user when connecting more

    I used to have the option to select the user to connect as but now I have a screen that says:

    Press Ctrl + Alt + Delete or use the Windows Security button to unlock

    When I hit Ctrl + Alt + Delete I get only the most recent user login.  If I hit the left arrow right top left of the image, I must return to the Ctrl + Alt + Delete screen.  There is no way I can see to select another user.

    If the current user remembers actually disconnect from the screen Ctrl + Alt + Delete I am taken to a login with a choice of the users screen.

    This used to work and I don't know if my 5 yo changed something or if a updated Windows did something.  But my wife and son both need to use this notebook so I really need separate accounts.

    I found a few long really complex stuff on the ' net on the definition of the strategy group and fiddle with the registry but I know my 5 yo did nothing like that.

    How do I change back?

    Dennis

    PS what is the "Windows Security button" anyway?

    I realized that I had recently installed Cisco AnyConnect VPN software to connect to the work.  Which of - installed and now life is still happy.  I will contact Cisco.

    Sorry for the short reply above.  Validation has been broken here earlier today and several machines at the same time making a response and a new post, I didn't type a bunch just to get the "Oops, something went wrong" again.

    Dennis

  • need an effective way to

    Hi Expert,

    I have established a procedure to save a file, say p_save (number of i_id, i_name varchar2, i_text varchar2 (20)) to tbl1.  Logic to record is

    IF no registration tbl1.id > i_id for same i_name THEN NULL - fail

    If NOT remove tbl1 where id < i_id and name = i_name; --(supprimer tous les vieux dossier et insérer un nouveau)

    insert into tbl1 (i_id, i_name, i_text) values;

    AT THE END:

    Could you please let me know what would be the most effective way to achieve this?  Perhaps with a merger or other similar means.

    Thank you.

    Thank you kendenny. good point, I think that we should not delete.  That's what I did:

      PROCEDURE sp_save (i_id      IN NUMBER, l_name In varchar2
                              i_text          IN VARCHAR2)
      IS
          l_id    NUMBER  --local variable
      BEGIN
          SELECT  id
            INTO    l_id
            FROM  tbl1
          WHERE  name = l_name;
    
         IF l_id < i_id
          THEN
            UPDATE  tbl1
                SET  id= i_id, text= i_text
              WHERE  id = l_id  AND name= i_name;
          END IF;
    
      EXCEPTION
          WHEN NO_DATA_FOUND
          THEN
            INSERT INTO  tbl1
                  VALUES  (i_id,
                            i_name,
                            i_text);
    END;
    

    Let me know if we can do better.

  • The most effective way to retrieve a number of virtual machines in an org?

    Hi all, what is the most effective way to retrieve a MV of County in an org. I am currently recovering all CDV in an org, then all the vApps, then all of the virtual machines and pushing them into a table, then do a vms.length on the table filled by all virtual machines.

    It takes a horrible time, and there MUST be a better way.

    Open to any suggestion. Thank you

    Good, as administrator of the organization then: (I have not tried as a normal user account)

    var vdcs = new Array();
    var orgVMCount = 0;
    var vcdHost = org.getHost();
    
    var queryService = vcdHost.getQueryService();
    var expression = new VclExpression(VclQueryOrgVdcField.ORGNAME, org.name, VclExpressionType.EQUALS);
    var filter = new VclFilter(expression);
    var params = new VclQueryParams();
    params.setFilter(filter);
    
    var resultSet = queryService.queryRecords(VclQueryRecordType.ORGVDC,params);
    while (resultSet != null) {
    
        var records = resultSet.getRecords(new VclQueryResultOrgVdcRecord);
        for each (var record in records) {
            var vdcVMCount = getVdcVMCount(record.href, vcdHost);
            System.log("VDC "+record.name+" VM Count: "+vdcVMCount);
        }
        orgVMCount += vdcVMCount;
        resultSet = resultSet.getNextPage();
    }
    System.log("Total Organization VM Count: "+ orgVMCount);
    
    function getVdcVMCount(vdcHref, host){
        var vmCount = 0;
    
        var qs = host.getQueryService();
        var exp = new VclExpression(VclQueryVMField.VDC, vdcHref, VclExpressionType.EQUALS);
        var exp2 = new VclExpression(VclQueryVMField.ISVAPPTEMPLATE, false, VclExpressionType.EQUALS);
        var exps = new Array(exp,exp2);
    
        var expFilter = new VclFilter(exps,VclFilterType.AND);
        var queryParams = new VclQueryParams();
        var vmArray = new Array();
        queryParams.setFilter(expFilter);
        var rs = qs.queryRecords(VclQueryRecordType.VM,queryParams);
        while (rs != null){
            var vmRecords = rs.getRecords(new VclQueryResultVMRecord);
            vmCount += vmRecords.length;
            rs = rs.getNextPage();
        }
        return vmCount;
    }
    

    It takes a little more code because the ".ORG" field is not available for the non-Admin queryVMField, but the. VDC IS, so we start by retrieving the TDC for the Org, then for each one, ask the number of vm for VDC.

    Post edited by: Burke - had accidentally initialization of orgVMCount as new Array(); -changed second line to 'var orgVMCount = 0;

  • The most effective way to browse the similar named fields?

    Hello

    I have a 5-page document on every page that contains appx. 50 similarly named fields.    For example Viol1Num, Viol2Num, Vio3Num...  Viol50Num.

    I'm looking for an effective way to program a loop to watch each field in Javascript, I can do some manipulations in these areas on what the user has entered.

    In FormCalc, I've used the 'foreach' function similar to:

    foreach (Field1, Field2, Field3 Field50)

    "BLAH".

    ENDFOR

    However, who gets really long especially when it comes to the following pages, where I have to start adding "topmostSubform.Page2." in front of each domain name so that I can access it from the first page, all fields on the following pages.  Also, I need to do it in Javascript, no FormCalc.

    For example, in JS, I use this loop to mark all fields read-only:

    
    
    
        
    for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++) {
    
    
       
    
     var oFields = xfa.layout.pageContent(nPageCount, "field");
    
    
       
    
     var nNodesLength = oFields.length;
    
    
       
    
     for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++) {
    
    
       
    
    
     oFields.item(nNodeCount).access = "readOnly";
    
    
       
    
     }
    
    
       
     }
    
    
    
    

    How could I do something similar to that for I can browse each field and perform actions on it without having to list every single domain name?

    I tried to change to watch the fields instead of field properties, but I couldn't run.

    Thank you.

    I solved my problem.   It took a few fighting in javascript using xfa.resolveNode.

    I have 5 pages, each consisting of a series of 60 fields named Viol1Num, Viol2Num, Viol3Num... Viol60Num.

    If when the javascript is executed, it detects an empty field, then insert a '3' in it.

    Here it is the javascript code that runs to the second page of this document.

       While (LoopCounter< 61)="" {="">
       If ((LoopCounter! = 21) & (LoopCounter! = 22)) {}
       If ((xfa.resolveNode("topmostSubform.Page2.Viol"_+_LoopCounter_+_"Num").rawValue == null) |) ((xfa.resolveNode("topmostSubform.Page2.Viol"_+_LoopCounter_+_"Num").rawValue == "")) {
       xfa.resolveNode("topmostSubform.Page2.Viol"_+_LoopCounter_+_"Num").rawValue = 3;
       }
       }
       LoopCounter = LoopCounter + 1
       }
  • most effective way to retrieve the channel number

    Hello guys,.

    I use this Regexp to extract numbers in a string, and I doubt that there is a more effective way to achieve this:
     SELECT  regexp_replace (regexp_replace ( REGEXp_REPLACE ('  !@#$%^&*()_+= '' + 00 SDFKA 324 000 8702 234 |  " ' , '[[:punct:]]',''), '[[:space:]]',''), '[[:alpha:]]','')  FROM dual
    {code}
    
    Is there a more efficient way to get this done ?
    
    Regards,
    Fateh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    Hello

    Using regular expressions, you can remove everything that is not a number by saying:

    REGEXP_REPLACE ( str
                , '[^[:digit]]'
                )     
    

    When ^ is the first character inside the brackets, it means "everything except the following.

  • An effective way to check is a line

    Hello

    In PLSQL, what is the most effective way to check it is to a line before I delete the line? I prefer not to use the EXCEPTION to handle the case DATA_NOT_FOUND.

    Thanks in advance!
    Any exception maybe raised when I try to delete a row that does not exists? 
    

    Nope

    drop table my_table;
    
    create table my_table as select level t_id from dual connect by level <= 10;
    
    begin
    delete from my_table where t_id = 100;
    dbms_output.put_line(sql%rowcount||' rows deleted ');
    end;
    
    PL/SQL procedure succesfully completed
    0 rows deleted
    
  • Is there a way I can share files between users on the same Mac without an internet connection?

    Hello world!

    Quick question here: is there a way I can share files between users on the same Mac without an internet connection?

    I have two users say that A and B. If I go the long way via the 'Go' menu > 'Computer', I ended up being told to contact my computer or the network administrator for assistance. Both users are admin one and file sharing is allowed in system preferences... I have to admit that I use 10.9.5 because my MacBook Pro would not work with OS Xs national parks.

    Any ideas would be cool because I'm sure that it used to work fine with "Snow Leopard" without being connected to the internet - or should I just send an email to myself and recover the files on the other user :-) to recover my USB is

    Choose go to folder from the Finder Go menu, provide/Users/Shared/as the path and place the files.

    (142147)

  • When a second (another) user tries to connect using the connection to distance that a message "select a user to disconnect so you can connect.

    Original title: Remote Desktop

    We have Windows Server 2012 essentials (evaluation version) installed and working.  When connecting to even via the remote desktop connection it works fine, but when a second (another) user tries to connect using the connection to remote, a message "select a user to disconnect so you can connect.  The names of the 2 users are displayed the first is the name of the administrator of the local server and the second is the remote desktop user who was first.  We need at least 3 to 4 remote desktop both users to be connected.  Please advice

    Hi BHARATISRANI,

    Thanks for posting in the Microsoft Community.

    Since you are using Windows Server 2012 Essentials, the question you posted would be better suited for COMPUTING public Pro on TechNet. I would recommend posting your query in the TechNet Forums to get help:

    Windows Server 2012 Essentials General TechNet Forums

  • I want to value report a selection event (user) menu

    Hello

    1.i want to value signal a selection event (user) menu of the first image of the sequence structure, a vi and the watering duration menu is attached.kindly solve my problem.

    2. can we use fixed menu point info function in one event other menu then selection (user).

    Thank you

    If you want to run this code unconditionally as a first step, you don't need a structure of the event. It would make no sense at all, just do the following:

    Just use plain old dataflow instead of a sequence. Use the mistake to enforce the execution order (not shown).

    (btw: your question.zip file is not a zip file.) To open it, we need to rename it to question.rar first. Is there a reason why you changed the extension?)

  • The most effective way to the U16-&gt; U32 Array pack for DMA data transfer?

    I have a RT controller who wants to send data to an FPGA using DMA.  In LabVIEW 8.2, I have no choice but to switch to the low blocks of data however U32 my my input data is an array of U16.  This leaves me two choices: 1) wire U16 table directly into the DMA node that will be rude to U32 but I lose 16 bit * #of table 2) Pack the U16 elements in a U32 table before sending it to the bottom.    I have #2 and I have a method that works (and seems to be quite effective) but I have the feeling that I'm doing the hard (or roundabout way).   Is their a simpler (but equally effective) way to do this procedure?  Thank you

    Here's a solution that swaps the bytes and key elements the same. There are several ways to do so.

    (for efficiency, you can place the table 'remodel' inside a case structure then, it happens only if necessary)

  • Please tell us about what discounts may be available in the next few days OR the most cost-effective way, I can buy LR etc... I'm a NY State official working for a school... am nurse... am a part time student...

    Could you please tell? I did the 30 day trial there just in time for INTERNET services to plant so I could only use it about 4 times before the loss of a few months... Verizon internet is back on... I need the most cost-effective way to buy LR I think...

    The price on Adobe.com does not change, it's $ 9.99 per moth (it must undertake to pay for 12 months), or outright purchase at $149.

    If you think there could be some sales of other providers, you would have to do the research yourself.

Maybe you are looking for

  • M93z - Slow WinPE boot disk

    Try machine M93z reimage with an image of Windows 7. With the help of a 32-bit WinPE boot disk. Added the e1d6232.inf NETWORK card driver in the boot.wim to the WinPE disc. Also tried to add the Lenovo and Intel AHCI drivers, but fixing the image is

  • Windows Vista Home Basic - where can I download Snipping Tool safely?

    My previous PC was a Windows Vista Home Basic and it came with the capture tool.  I bought this new, but it did not come with the Snipping Tool.  I need this program for the things I've done.  Where can I download it safely?

  • Upgrade Windows 7 to 10 tool crashing

    I have download the upgrade tool. I click on the .exe file and it asks permission. OK, nothing strange here. After I hit run, a window pops up saying please wait. It is at least a second and then disappears. Nothing else happens. I set, restart, re-d

  • Symbol blackBerry 8830 Smartphones?

    Hi all New to the forums and the BB.  I looked through the manuals online, but don't see anything on that. Under themes I have defined it on the theme of Verizon.  To the top of the screen is a little blue person with "waves" red to the right of them

  • Popup problem

    Hey all,.I've set up a popup window to display information.  I've got 7 of them on the same page.  They all work very well, but with one problem.  The problem is that when you close the 'x' in the upper right pop, the window (for example the 7th), it