Programati​cally set flags in a DIAdem View

Is there a command to set flags for a 2D axis system in a view? I would like to automate the process of setting flags for a curve, copying the points, and creating a report with a graph of the copied data and a table of that data. I can do the report I just need to be able to set the flags prgramatically once the users sets the band cursors where he/she wants.
Thanks,
AJL

Hi AJL,
Currently it is not possible to set VIEW flags via script. But, if your customer has selected the band width you know all necessary parameters.
View.ActiveSheet.Cursor.X1
View.ActiveSheet.Cursor.X2
With pno you can determine the row in a data channel with contents closest to a given value. Example:
iRowStart = pno(NameOfXChannel, View.ActiveSheet.Cursor.X1)
iRowStop = pno(NameOfXChannel, View.ActiveSheet.Cursor.X2)
Then you can use DataBlCopy to copy the selected area.
Greetings
Walter

Similar Messages

  • Unable to set flags independently in Compare View in LR3

    When I select a specific image in the compare view (LR3) and tag it as "Rejected" (hitting "x"). both images up for compare are being flagged as rejected. both the good and bad. Maybe my memory is not serving me correctly, but I thougt that in the prior versions of LR you could flag each image independently in the Compare view, that is flag one as "Rejected" and the other as a "Pick" ("p"). Now I am having to look at the images in Compare on one monitor and go over to my second one that is showing the Library and select the images to be rejected and hit "x" and then select the one that is a keeper and click "p". This seems to be rather counterintuitive and cumbersome. It seems a natural expectation to want to compare images side by side and then flag the one you want to keep and flag then independently flag the ones that are not keepers. Is what I am experiencing normal? Thanks in advance for any help.

    Yes, it makes sense.  LR thinks that the Grid is on the primary monitor, which is why both images get flagged when you hit "p".
    rgphotoman wrote:
    John, I have some further input after doing some additional testing. Apparently, the inability to perform independent flagging in a Compare View somehow ties to the other monitor being set to Grid View. What I did was set one monitor to the Grid View and the other to Compare view for two images and then went to that view, selected one of the images, and then I hit the "p" key to flag the image. As expected both were flagged. Then I hit "u" to unflag them and went to the Grid view and changed it to Compare as well (i.e. both monitors were showing that view). Then I went to the other monitor that I was originally doing the compare and hit "p" and voila only one image flagged. I was then able to flag the other as Rejected as well. I then went to the other monitor and changed the view back to Grid and checked the results and indeed both images were properly marked. So it appears that this issue somehow relates to having the Grid view active. Does what I did make sense?

  • How to programati​cally set front panel objects (buttons) to enable, disabled, and disabled and gray

    I'm writing a program that when I am iterating through a loop, I want to have some buttons disabled and grayed. Once the loop is done, I want those buttons to now be enabled.
    But I have no clue how to programatically do this
    (aka enable and disable while the program is running, NOT before the program starts)
    Any help would be appreciated

    Create a property node, & select the 'Disabled' property.  Set it to 0 for enabled, 1 for disabled, & 2 for disabled & grayed.
    Paul Cardinale

  • Programati​cally set date of picktime.v​i

    I am using the picktime.vi calendar as a subpanel (yes...i am aware there is an activex calendar -- using it is not an option right now). Anyways, what I want to do is if a user wants to edit a record that was on the date  1/1/11 but currently the date selected in the calendar is 2/2/11, I want to programmatically set the date back to 1/1/11. I can use value signaling properties to set the month and year, but because the date is a MC listbox controlled in the VI only through mouse up/keyup events I am not sure how to set this. Does anyone have any ideas?
    One thought I have is to add a state to the VI called set date, but I'm trying not to modify it since it is native to LabVIEW and is called when the calendar icon is pressed next to a timestamp control. I could make a copy of this VI and do that, but again, I'm trying to avoid this.
    Suggestions?
    The picktime.vi is located in <LabVIEW Dir>\resource\dialog
    CLA, LabVIEW Versions 2010-2013

    Thanks for the response, but no this is not exactly what I want. I don't want to actually change the date of the computer, I just want to set the date the calendar has selected to some other date. The computers date/time is only used on initialization of the VI or when the user pressed the "now" boolean.
    Think of it this way --
    I select 1/24/11 on the calendar and add a record for that date, which puts an entry in a MC listbox
    I then select 1/22/11 on the calendar and add a record for that date which puts another entry in a MC listbox
    So, now the calendar shows 1/22/11 highlighted
    Then I say, oops, the record I entered for 1/24/11 has a typo, so I select that record in the MC listbox and press edit to make the change
    The calendar should then be set back to highlighting January, 24 2011.
    CLA, LabVIEW Versions 2010-2013

  • How do I set the default x-axis scale in DIAdem View?

    Hi everyone:
    I look at large amounts of data (i.e. many different data files every day), and I am trying to load and view them quickly and efficiently. Currently, when I have data sets loaded in the "Structure" tab, and I click and drag a numeric channel over to the 2-D plot, DIAdam automatically scales the x-axis from 0 to 60, when the numeric channels can be anywhere from 50 000 to 100 000 entries long. I now use the roller on my mouse to zoom out for five minutes before seeing the entire data set. My question is is there a way to re-set the default x-axis scaling so I do not have to zoom out each time I plot a numeric channel?
    Solved!
    Go to Solution.

    Hello Peter!,
    The DIAdem VIEW windows will always auto-scale to the full range of the values on the X-axis when you drag data into a new window.
    You have several options on how to quickly get to the range of data you wish to see.
    Right click on the LEFT edge of the data you wish to zoom into, HOLD the mouse right mouse button and DRAG the mouse to the right side of the section you wish to zoom into. DIAdem will automatically show the section you have selected in a zoomed view in that same window
    Result:
    Alternatively, you can double click on the VIEW window and check the "Manual X-Scaling" box and then enter the exact values you wish to zoom into
    Also, you could use the Band Cursor from the toolbar, move and resize the Band in the VIEW window and then use the "Scroll in Cursor Range" icon to zoom into the area of the curve you are interested in.
    These are just a few ways you should be able to accomplish what you have described in your post.
    Let us know if you have additional questions ...
          Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • Setting flags in scripts

    Hello,
    I am aiming to automate the process of selecting a data range in DIAdem VIEW (with band/frame cursor), then flagging the data, and copying the flagged section.
    Whilst I can automatically set the position of the cursor, I don't believe I can use the ChnFlagSet command as this requires that the row number and number of values is known, effectively I want to just select/copy all the values that fall within the framed section, however the data points are not in chronological order.
    Its something that I can easily be done manually in VIEW, however when I record this action in SCRIPT nothing is recorded.
    Any help would be much appreciated
    Thanks
    Ben

    Hi Ben,
    Welcome to the NI Forums!
    Just to check that I have a good understanding of your situation, can you please just clarify that I properly understand your requirements:
    You're wishing to automate the process of making a selection across a range of data. The selected data then must be flagged and the data needs to be copied to the clipboard.
    Do you programatically define which columns to be selected? If so, we could base not only the column of data to be selected but also the selection length on internal variables. We could use this information to infer which Row Number and Number of Values to use when using the ChnFlagSet command.
    Would it be possible for me to take a look at what you have written so far?
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

  • Zooming Options in Diadem View Window

    How can I make it possible to zoom all plots in different sheets (View Window) to same range on x-axis (all plots have same x-axis)

    Hi Vasista,
    If you put these two attached VBScripts in the same folder somewhere, then run the "Cursor Memory.VBS" script in the DIAdem SCRIPT panel, it will declare that the callback function in the "Cursor Memory Functions.VBS" script should run every time you switch between tabs in DIAdem VIEW.  This function sets the new tab's cursor properties equal to the old tab's cursor properties.
    I believe this will give you what you want,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    Attachments:
    Cursor Memory.VBS ‏1 KB
    Cursor Memory Functions.VBS ‏2 KB

  • IMAP setting flags for DSN message problem

    Hi,
    I have a question about processing DSN flags using Java Mail.
    We are trying to set SEEN and FLAGGED flags also for DSN messages (for any other messages it is working perfectly fine).
    The problem is that no flags are set, no IMAP commands are issued.
    For any 'normal' messages the IMAP command is issued (for example: A27 STORE 13 +FLAGS (\Seen)).
    We are using Exchange Server 2007 with IMAP support enabled on the mailbox.
    The strange thing is that i can manualy set SEEN and FLAGGED flags from Outlook on this DSN message and then print flags for this message from Java Mail.
    Is there any standard for FLAG processing for DSN messages? Is this a problem in Java Mail / Exchange or some limitation? As I believe DSN in also a javax.mail.Message from the implementation point of view...
    Regards

    Hi Bill,
    This was a good point, about calling setFlags method on the wrong message.
    The problem is because, we are dealing with Exchange bug described here:
    BODYSTRUCTURE with "multipart" "signed" not parsing
    and using workaround described here:
    http://www.oracle.com/technetwork/java/faq-135477.html#imapserverbug
    However, we were setting flags on message created using following code
    SharedByteArrayInputStream bis =  new SharedByteArrayInputStream(bos.toByteArray());
    MimeMessage cmsg = new MimeMessage(session, bis);not on original message from the mailbox.
    Regards

  • Can new PWA views be created whereby a filter can be set and associate to the view by default? (Project Server 2013 ONLINE)

    My main question is: Can new PWA views be created whereby a filter for that view can be set, and associate to the view by default? (Project Server 2013 ONLINE)? and can I have a filter set to filter on person logged on to...
    In previous versions of Project Server, when CREATING a PWA view, we were able to apply/ define a filter for that view.  Does not seem like it is the case in Project Server 2013 Online.  And if I remember, we could also use the URL Guid_view_id. 
    Please confirm; and / or tell me how-to.
    What I was hoping to do is the following... Given that our standard that we have adopted for reporting time is 'My Timesheets' (fyi, Single Mode Entry=ON), we have some resources who have others who do it on their behalf via 'My Tasks' (ie., accomplished
    by using the 'Assignment Owner' field, accordingly).  Therefore, when entering time on someone else's behalf within 'My Tasks', we like to present the user that is logged in only the tasks that they are are assigned to update on others' behlaf.
    I know that there is another more elegant approach to doing this which may be to use the Delegation feature. But since we are trying to stick to Sharepoint Security mode for now, this is not an option for the time being.
    Any help appreciated would be greatly appreciated.
    \Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)

    Hi Spiro,
    1- You still can define in Project Online a filter in the view settings, it is located just above the category setting. Here is a screenshot of the summary project center view:
    2- The view GUID is not anymore in the URL, since the URL triggers an action only on the webpart and not on the whole page. I agree this is annoying since it was great to send a URL with a specific view.
    3- Concerning the access to my timesheet versus my task, I'm not sure to get a full understanding but on a general way, it is much more easy to deal with those situation using categories which you cannot do with the SP permission mode.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Sharing stopped.  Sharing set to allow editing and viewing.  He can see what I enter.  I can't see his entries.

    Sharing set to allow editing and viewing.  He can see what I enter.  I can't see his entries. He sees his entries plus mine.  I only see mine.  This all worked fine a week ago.

    I'm sorry to be so incredibly dense. The article to which you linked says:
    "If the computer is already authorized, the item plays. If the computer has not yet been authorized, iTunes asks you to enter the Apple ID and password you used to purchase the song."
    I can play songs from my husband's library. I can't drag them into my library.
    If deauthorizing/authorizing is the solution, who needs to do what? We've got three computers and two iTunes accounts.

  • How-to set the title of  a View

    Hi,
    I'm a very newbie of Obj-C and InterfaceBuilder.
    From three days I'm fighting with my iPhone app to set the title of a view.
    I've the MainWindow.xib with a UITabBarController; each tabbar's viewcontroller is on a separate xib (i.e.: the GUI of every button of the tabbar is on a different xib file).
    In IB I set up the top bar property to Translucente etc... In Xcode, in the viewDidLoad I set the self.title to something... but the top bar is never shown!!
    I also tried to set self.navigationItem.title... but nothing...
    To see the top bar do I have to use a NavigationController inside every "button" of the tab bar?? Or is the top bar property of IB not working??
    Thanks to all...

    Wenwen,
    View Function dropdown "standard view" is just making the ALV to display the ALV standard configuration (so it will display the ALV the way is designed).
    now if you want to change that to your OWN VIEW you just need to click in the SETTINGS (ALV TOOLBAR at the right end) and then configure your ALV the way you want to be display. After that click SAVE AS and you can name the VIEW to your own and also you can click INITIAL VIEW checkbox in order to display always that for youl.
    Please note that this is a user base personification so this will be only available for you.
    if you want to have your own view for every user then you need to enhanced the ALV in a POST-EXIT method and do not allowed user personification.
    you can disable user personification at the application level in the parameters tab.
    hope this help!
    Jason PV

  • Set PDF Document Properties Initial View by Acrobat SDK with C#

    Hi,
    Here am trying to set the PDF document initial view by the Acrobat SDK with C#.
    Here I am show my screen shot which properties I want to set.
    For this process I am referred Acrobat SDK and also following Adobe forums they also asked similar question.
    http://forums.adobe.com/message/3866361
    http://forums.adobe.com/message/4803264
    http://livedocs.adobe.com/acrobat_sdk
    And also I am used following C# code
          Acrobat.AcroPDDocClass doc = new Acrobat.AcroPDDocClass();
          doc.Open(@"D:\..\sap.pdf");
    doc.SetOpenInfo(1,1,"Fit Width");
          doc.SetPageMode(3);
          doc.Save(1, @"D:\..\sap.pdf");
          doc.Close();
    From the above code {doc.SetPageMode(3);} is working for set the page mode.
    But I am having problem in following code {doc.SetOpenInfo(1,1,"Fit Width");}
    Because it won’t work I do’t known, and there is no clear samples in the SDK reference document.
    So please give advice and clear sample code/syntax to meet above needs which are marked in red box.
    Document Properties - > Intial View
    Document Option
         Show: Bookmarks Panel and Page
         Page Layout: Continuous
         Magnification: Fit Width
    Window Options
         Show : Document Title
    Regards,
    Thirusanguraja Venkatesan

    ok thank you Test Screen
    I will try and let you know if i am done by automation .
    Regard,
    Thirusanguraja Venkatesan

  • How to set filters to a Result view

    Hi All,
       How to set filters to a result view in web UI.
    Thanks & Regards
    Nitish.

    Hi Nitish Kumar,
    if you want to sort the table fields like ascending , Descending create one event ex: eh_on_sorting.
    in that get the event using thtmlb_event. then check whether sorting is necessary or not.
    then get the name of column to be sort by using tableview->column_key.
    based on that arrange the field ascending or descending using tableview->column_sort_directin.
    ascending or descending.
    then sort the collection using collection_wrappor->sort( lv_attrname .. etc).
    here is the sample code..
    data: lv_bo               type ref to if_bol_bo_property_access,
             lv_thtmlb_tableview type ref to cl_thtmlb_table_view,
             lv_attr_name        type name_komp,
             lv_sort_order       type char1,
             lv_stable           type abap_bool value abap_false.
       try.
           lv_thtmlb_tableview ?= iv_htmlb_event_ex.
         catch cx_sy_move_cast_error.
           exit.
       endtry.
       if lv_thtmlb_tableview is bound.
    *   check whether its realy a sorting event
         check lv_thtmlb_tableview->event_type = cl_thtmlb_table_view=>co_header_click.
    *   get name of column to be sorted
         lv_attr_name  = lv_thtmlb_tableview->column_key.
         check lv_attr_name is not initial.
    *   get sorting direction
         case lv_thtmlb_tableview->column_sort_direction.
           when 'U'.
             lv_sort_order = cl_bsp_wd_collection_wrapper=>sort_ascending.
           when 'D'.
             lv_sort_order = cl_bsp_wd_collection_wrapper=>sort_descending.
           when others.
             return.
         endcase.
    *   sort
         try.
             me->collection_wrapper->sort( iv_attr_name     = lv_attr_name
                                           iv_sort_order    = lv_sort_order
                                           iv_stable        = lv_stable
    *                                  IV_SORT_CALLBACK =
           catch cx_crm_cic_parameter_error.
    *     could be a renamed attribute or field which does not belong to the collection
         endtry.
    *   in case of single selection restore the selected row index
         if   me->selection_mode = selmode_single
           or me->selection_mode = selmode_lineedit.
           if me->selected_index <> '0'.
             me->selected_index = me->collection_wrapper->get_current_index( ).
           endif.
         endif.
       else.
         exit.
       endif.
    Thanks & Regards,
    Srinivask

  • Was using flags in the split view applying flags to images regardless of selection.  Flag would appear under cursor.  Suddenly they now are only visible when and in the large window.  How do I get this capability back.  It is very useful.

    I have been using flags conveniently when using the split view flagfs would appear under the cursor in the filmstrip view.  Now they only are visible when a single image is selected and not in the film strip.  This very convenient feature has suddenly and unexplanedly been lost.  How do I get it back?
    Dick Koos

    How are your metadata settings? For me the flags are still showing. Perhaps you have disabled the flags for the Browser view. Edit your Metadata Presets for the Browser:
    Enable "Show Metadata" for the Browser and Viewer, and then click "Edit" and eanble the flag for all Metadata views.
    For the Browser you need to edit the "Grid View" settings, expanded and Basic:
    Regards
    Léonie

  • How to set Where clause in the View Object of the MessageChoice ?

    Hi,
    How to set Where clause in the View Object of the
    MessageChoice ?
    Example:
    <bc4j:rootAppModuleDef name="EdEscolaCampusView1AppModule"
    definition="ed00050.Ed00050Module"
    releaseMode="stateful" >
    <bc4j:viewObjectDef name="EdEscolaCampusView1" >
    <bc4j:rowDef name="CreateEdEscolaCampusView1" autoCreate="true" >
    <bc4j:propertyKey name="key" />
    </bc4j:rowDef>
    </bc4j:viewObjectDef>
    <bc4j:viewObjectDef name="ListaTipLocalView1"
    rangeSize="9999">
    </bc4j:viewObjectDef>
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    messageChoice declaration:
    <bc4j:messageChoice name="SeqTipoLocalCampus"
    attrName="SeqTipoLocalCampus"
    prompt="Local do Campus">
    <contents>
    <bc4j:optionList attrName="SeqTipoBasico"
    textAttrName="NomTipoBasico"
    voName="ListaTipLocalView1"/>
    </contents>
    </bc4j:messageChoice>
    I would like set where clause of ViewObject, with dinamic parameters (using attribute1 = :1), before populate messageChoice.
    thanks...
    Danilo

    Hi Andy,
    I try set a where clause using the message:
    Set where Clause parameter using UIX , but my UIX Page have 2 messageChoice's of different ViewObject's, then I need implement this Java Class:
    //Nome da Package da Tela Detail
    package br.com.siadem.siaed.ed00050;
    // Importa as Bibliotecas necessárias
    import oracle.jbo.ViewObject;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.client.Configuration;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.Page;
    import oracle.cabo.servlet.event.PageEvent;
    import oracle.cabo.servlet.event.EventResult;
    import oracle.cabo.data.jbo.servlet.bind.*;
    import oracle.cabo.ui.data.BoundValue;
    import oracle.cabo.ui.data.DataBoundValue;
    import javax.servlet.http.HttpServletRequest;
    import br.com.siadem.siaed.util.*;
    import javax.servlet.http.Cookie;
    import oracle.cabo.data.jbo.def.NestedAppModuleDef;
    import oracle.cabo.data.jbo.def.ViewObjectDef;
    import oracle.cabo.data.jbo.def.AppModuleDef;
    // Classe que configura os parametros para a execução da Query,
    // utilizando variáveis de Sessao
    public class FunPreQueryLista
    public static EventResult FunConfiguraQuery(BajaContext context, Page page, PageEvent event) throws Throwable
    // TrataDadosSessao - Classe utilizada para retornar os valores das variáveis de sessão genéricas
    // Ex: CodCliente, CodMunicipio etc...
    TrataDadosSessao varDadosSessao = new TrataDadosSessao();
    // 1o. Parametro Configurado - Através da classe TrataDadosSessao, utilizando um método Get
    // <alterar>
    String valor1 = varDadosSessao.getCodCliente();
    String valor2 = varDadosSessao.getCodMunicipio();
    //Cria o objeto que retorna o ApplicationModule
    ApplicationModule am = ServletBindingUtils.getApplicationModule(context);
    // Início das Configurações da Query da Lista
    //Cria o objeto que retorna o view object da lista desejada
    //alterar
    ViewObject TipoLocal = am.findViewObject("ListaTipoLocalView1");
    //Configuração dos parametros definidos na query do view Object
    //alterar
    TipoLocal.setWhereClauseParam(0,valor1);
    TipoLocal.setWhereClauseParam(1,valor2);
    // Executa a Query
    TipoLocal.executeQuery();
    // Fim das Configurações da Query da Lista
    // Início das Configurações da Query da Lista
    //Cria o objeto que retorna o view object da lista desejada
    //alterar
    ViewObject TipoDestLixo = am.findViewObject("ListaDestinoLixoView1");
    //Configuração dos parametros definidos na query do view Object
    //alterar
    TipoDestLixo.setWhereClauseParam(0,valor1);
    TipoDestLixo.setWhereClauseParam(1,valor2);
    // Executa a Query
    TipoDestLixo.executeQuery();
    // Fim das Configurações da Query da Lista
    // Retorna o Resultado para a Página
    return new EventResult(page);
    The code works very well...
    And, I'm sorry for my two repost's in UIX Forum about this in a few time.
    Thank very much...
    Danilo

Maybe you are looking for

  • IBM splitint

    We are looking to examine the functionality of IBM's splitint implementation for flashcopy/snapshot using DS3x00 SAN's. The IBM sales people are telling us we MUST use TSM for the backup once the snapshot is split from the live data. To me splitint l

  • The order of MDB deployment

    Hi, all I developed servral MDBs, but the problem is the MDB starts to process the message before the application is fully loaded, even I specify my web app in the first module, the MDBs are the last, but the web app takes longer time to load and MDB

  • Condition in BI 7.0 query works in BPS layout?

    Hello Experts I know in BI 7.0, it is possible to define BW query with input-enabled feature, and BI integrated planning can use this query for input layout. But I wonder whether the "condition" for BW query(old BW query feature to restrict on keyfgs

  • Business Connector Limitations

    Hi, My client wants to use business connector for mutual transfer of the EDI Documents with their customers. For some reason, they dont want to go with XI. Just wanted to know if there are any limitations with SAP Business Connector? Would it be able

  • Two questions, name change and orientation

    Two questions, 1. How do I get the name on my phone changed? All the billing information on the account is my mom's, but it's my phone. When I use it, it calls me Diane. How can I fix this? 2. I'm going to need the scientific calculator on my phone s