Access the properties of an xy-plot (eg: cursor x,y values, scale etc)

Is there a way to do the following:
- access the (x,y) coordinates of a plot cursor so that I can use them further in the program? I need to mark certain points in a plot and store them in an array. Right now I have to copy them by hand(!) from the cursor legend, and then paste them as the elements of the array.
-access the scale of the plot (set on autoscale), for example the y-scale? I would like to be able to run a while loop (where data is acquired) until the |max| of
the scale is above or under a specific value.
Thanks a lot!

1. Create a property node for the graph and select the property "active cursor", expand the property node to another property and select cursor.position -> all elements...The two elements are the x and y position of the cursor you set active by wiring the index of the cursor to the active cursor property (0 is the first cursor...1 is the next etc.).
2. The Y scale maximum can be read from the Y scale range maximum property of the graph. Instead of using autoscaling and and decide when to stop by reading the current scale I would rather check the incoming aquired values directly though.
MTO

Similar Messages

  • How can I access the properties of Microsoft files (excel, ppt, and word)

    Hi,
    How can I access the properties of common Microsoft file formats (Excel, Word, and Powerpoint) from a Java program. You can access/modify the properties of each document type using File->Properties in each MS application. The properties are essentially name/value pairs.
    Basically, I need to write a java program that scans a directory and accesses the properties in each of the MS files in the directory.
    thanks,
    -john

    By api. That is only way to establish a contract with the MS programs you want to interface with, unless you write an api yourself! I've used POI and it was an awesome way to use Excel in java. I created an excel spreadsheet from the results of a sql query from a batch program and then it was automatically emailed using javamail to my client. I had a lot of VBA experience with Excel, Word, and Outlook and it didn't take me long to get used to using Jakarta-POI.
    Now I see there is Jakarta-POI-HWPF which works with MS Word documents. Go to: http://jakarta.apache.org/poi/

  • Not Able to Access the Properties of Workspace and Target

    Hello
    I have install PB 11.2 Build 9027 on my laptop ( Winows 7 (64 bit))). PowerBuilde is open and able to see the existing code.
    But when I am trying to access the properties of Workspace or target for Source code control Setup, Properties will not come and nothing happen, I am not able to view the properties of Workspace and targets.
    One more think I notice ,when I was trying to create new application (File > New > Target Tab > Application)  then window will not open.
    Please provide me some suggestion on this issue.
    Thanks
    Amit Maheshwari

    Hi,
    You might find a much larger audience for technical questions if you open a discussion at the PowerBuilder Developer Center
    PowerBuilder Developer Center
    Thanks,
    Ben

  • Access the properties of ProductTrees_Lines  DI Object

    I am not able to access the properties of ProductTrees_Lines  DI Object which is the line object of the ProductTrees
    However i can access the properties of Product Trees object
    Pls reply as soon as possible
    Thanks in advance

    For example try this:
    material_lines = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductTrees)
    where material_lines is PRoductTrees type
    If You not set "=" sign, You will not find ObjectTypes
    regards
    ks

  • Accessing the same database file using different handles/cursors

    Will there be any problems accessing the same database file using different DB handles in a transactional environment? We have implemented a process which have multiple transient threads coming up and initiating DB opens and read/write operations to the same database file using different handles and cursors?
    Can this potentially create any problems/bottlenecks? Can someone suggest the best way to deal with this scenario?
    Thanks in advance.
    SB

    Hi,
    Berkeley DB is well suited to the scenario you describe. You need to ensure that Berkeley DB is configured correctly for transactional access, the best information describing the requirements is in the Reference guide here:
    http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/transapp.html
    If there will be multiple threads operating concurrently, then you will need to design your application to detect and deal with deadlock situations.
    Regards,
    Alex Gorrod
    Oracle Berkeley DB

  • How to set the properties of plots in XY graph via VI Scripting

    Hi,
    Is there any way out to change the properties of XY graph plots through VI Scripting? 
    From main VI, I create an XY graph in another VI through VI scripting. I now want to change the Plot legend names, and their styles etc. I notice that these properties can be set up in the new VI (See screen shot Graph Property Node in NEW VI.jpg). However, I couldn't see these properties by calling the property node of XY graph reference in main VI (see screen shot ).
    Thanks for the due response.
    Regards
    HB
    Solved!
    Go to Solution.
    Attachments:
    Graph Property Node in NEW VI.jpg ‏1527 KB
    Graph properties in main VI.jpg ‏959 KB

    Hello HB,
    I see plot.names when I scroll down a bit further. No scripting required.
    Hope this helps.
    Uli
    Attachments:
    plot.names.png ‏74 KB

  • Change properties inside dynamic stack plots

    Is there any way in LabView 8.2 now to change the properties of indicators inside an array or cluster?  I want to change the properties of the waveforms inside DynamicStackPlots (http://zone.ni.com/devzone/cda/epd/p/id/3024).  I see on this forum back in 2005 this was last discussed.  I have also tried making a cluster of waveforms (instead of an array of clusters) from which you can at least separately access properties (allowing you to make specific waveforms not visible, yielding dynamic stack plot functionality).  But you STILL cannot modify, say, the plot min range, label, scale... etc.
    All ideas welcome!
    Thanks,
    Adam

    Hi, Adam.
    This question seems to pop up every once in a while. The answers are different for arrays and clusters:
    Clusters
    You can access the properties using an explicitly-linked property node (IE, one that takes a control reference as an input). You can obtain a reference to the controls in one of two ways:
      - Right-click on the control (inside the cluster) and select Create»Reference.
      - Create a property node for the cluster and access the Controls[ ] property. This will give you an array of references to the controls inside the cluster, and you can pass that into the explicitly-linked property node. (You may have to use a To More Specific Class VI if you want to access properties that apply to only graphs.)
    Arrays
    Since arrays are for holding a large quantity of indentical data types, the properties for all elements of the array must be the same. If you really want to sidestep this functionality, however, you can always create an array of references to controls. If you wanted to do that, you'd have to create all your controls individually and then create references for them one by one. Once the references are created you can pass them into a Build Array VI. To alter the properties of any particular control, you'd use an explicitly-linked property node and pass in the appropriate reference.
    Let me know if any part of this isn't clear. Have a nice evening!
    Message Edited by sarahk on 10-25-2006 04:35 PM
    Sarah K.
    Search PME
    National Instruments
    Attachments:
    clusterControlReference.GIF ‏6 KB

  • I want to access the options in the context menu when clicking on a dropdown list in the bookmarks toolbar, but the context menu disappears when I try to click on one of the options. How can I keep the menu from disappearing?

    I have several dropdown lists in my bookmarks toolbar and would like to access the properties for some of the the items. This used to work fine. However, now, when I go to the list and place the cursor on a particular item, the context menu that is usually available on a right click disappears when I try to access one of the options. This is the menu that begins with Open. What can I do to regain this functionality? I really need the information in the Properties section. I'm using Firefox 3.6.8

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Also check the Mouse driver settings in the Control Panel.

  • Access the Parameters of a SequenceCall via API

    I would like to access several characteristics, like name and value, of the parameter(s) of a SequenceCall via the TestStand API,
    but it didn't work.
    First I get the object reference of the Class SequenceCallParameters via Class SequenceCallModule.Parameters. Now I
    can determine the correct number of parameters via SequenceCallParameters.Count. Cause that works, I think I am on
    the right way. To access the property object of a specific parameter, I get the object reference via SequenceCallParameter.Item and
    the Method AsPropertyObject of the Class SequenceCallParameter.
    I thougth with this reference I could access the properties of the parameter via the PropertyObjectClass, but I didn't get the correct information resp. I didn't know at which property the objectReference really points to.
    I add an example sequence. I would get the information from the Sequencecall via the PreStepCallback.
    I hope someone has an idea. Thank you in advance.
    Regards Carsten
    Attachments:
    Example GetParameters from SequenceCall.seq ‏64 KB

    CKone,
    You can use the API to access the parameter properties.
    Once you get the parameter item you can treat that object as a SequenceCallParamer object.
    The SequenceCallParameter object contains several of the properties you were  trying to access:
    SequenceCallParameter
    Use objects from the SequenceCallParameter class to configure and obtain SequenceCallParameter-specific information for an item in the SequenceCallParameters collection class.
    Properties
    Name (Read Only)
    PassByReference (Read Only)
    Type (Read Only)
    UseDefaultValue
    UserData (Read Only)
    ValidEvaluationTypes (Read Only)
    ValueExpr
    I modified your sequence file to use this object.
    Hope it helps.
    Antonio Lie
    Attachments:
    Example GetParameters from SequenceCall35.seq ‏65 KB

  • How to get the properties of application anywhere in the project?

    Hello,
    Application
         |__Component1
                   |___Component2
                                 |___Component3 -----> Component4 ( as Popup)
    this is the actal scenario in my flex application..
    Do you know any best way to access the properties on the Application Object ??
    i want to set the popup component in the middle of the browser screen..
    for that i have tried the way...
    - Component 4
    <!-- PopupWindow.mxml -->
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx">
         <s:layout>
              <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
         </s:layout>
         <s:BorderContainer id="bcPopupWindow" width="700" height="500" backgroundAlpha="0.8" borderAlpha="0.5"
                           borderVisible="true" cornerRadius="20" dropShadowVisible="true">
    ==     Some designing part   ==
         </s:BorderContainer>
    </s:Group>
    and for showing this
    in Component 3 -
    protected function btnShowPopup_clickHandler(event:MouseEvent):void
         myPopup= new PopupWindow();
         myPopup.width = this.parent.parent.parent.width;
         myPopup.height =this.parent.parent.parent.height;
         PopUpManager.addPopUp(myPopup,this,true);

    hi
    try changing this line:
    PopUpManager.addPopUp(myPopup,this,true);  //adds popup to current object
    to this:
    PopUpManager.addPopUp(myPopup, root, true); //adds popup to top level object
    it should fix the popup not centering properly - it is centering itself, but with respect to the current visual object (where your open popup code is). changing to root will add the popup to the top level and so centering it there will center it with respect to the application itself.
    also, add this line below the one above:
    trace(FlexGlobals.topLevelApplication.width);
    and see what it traces out (in debug mode) - is it giving the correct value?

  • Accessing button properties in datagrid row?

    Hi
    I ve a datagrid which has a button in each row called "Select". When the user clicks the button it calls a function which saves the row details in an array. I also want to change the label and icon of the button but don't know how to access it?
    I ve tried giving each button a unique ID but I "is not a valid identifier" so I m really not sure how to access each button from my main script, anyone help?
    Cheers in advance
    Shaun

    Hi
    Thanks for replying, I m still unsure of how to access the properties of a button in a row? I currently have the code below and am struggling to access the properties of the 'Add' button so I can change the label and icon?
    Cheers
    Shaun
            <mx:columns>
                                <mx:DataGridColumn headerText="Group" dataField="groupName" width="130" editable="false" sortable="false" />
                                <mx:DataGridColumn headerText="Article Number" dataField="articleNumber" width="200" editable="false" sortable="false" />
                                <mx:DataGridColumn headerText="Article Name" dataField="slideTitle" width="230" editable="false" sortable="false" />
                                <mx:DataGridColumn headerText="Colourway" dataField="colourway" width="218" editable="false" sortable="false" />
                                <mx:DataGridColumn editable="false" paddingLeft="5" sortable="false">
                                    <mx:itemRenderer>
                                        <mx:Component>
                                            <mx:VBox>
                                                <mx:Button label="Add" icon="@Embed(source='assets/icons/add.png')">
                                                    <mx:click>
                                                        <![CDATA[
                                                            outerDocument.addItemToCart(data);
                                                        ]]>
                                                    </mx:click>
                                                </mx:Button>                                               
                                            </mx:VBox>
                                        </mx:Component>
                                    </mx:itemRenderer>
                                </mx:DataGridColumn>

  • Can I change the properties of a Binding attributes in ADF BC?

    Hello all,
    i have a binding attribute as follow:
    <af:inputText id="LnlnmanfBlLoanSmanSmanNam"
    value="#{bindings.LnlnmanfBlLoanSmanSmanNam.inputValue}"
    label="#{nls['LNLNMANFBLLOAN_SMANSMANNAM']}"
    partialTriggers=" LnlnmanfBlLoanSmanSmanCde"
    required="false" columns="35" maximumLength="60"
    disabled="true"
    shortDesc="#{nls['LNLNMANFBLLOAN_SMANSMANNAM_HINT']}">
    <f:validator binding="#{bindings.LnlnmanfBlLoanSmanSmanNam.validator}"/>
    For example, i want to set disabled to false, how can i access the properties in ADF BC?
    Any sample code for reference?
    Thanks

    Neon,
    Is is possible to do that in the VO java layer?Absolutely, no it is not. You cannot access the view layer components from the model like that.
    Sounds like what you want to do is this:
    <af:inputText id="B"
    value="#{bindings.B.inputValue}"
    partialTriggers=" A"
    required="false" columns="35" maximumLength="60"
    disabled="#{empty bindings.A.inputValue}"
    <f:validator binding="#{bindings.B.validator}"/>You set the disabled property to a boolean EL expression - the one I used would make the input text disabled if the column A is "empty" (null or empty string)
    John

  • CRM 2015 - Access product properties values

    In CRM 2015, product catalogs were introduced with properties that were user defined.  I need to access the properties of each product to include them in a workflow. Does anyone know how this can be achieved?

    Are you are trying to send the attributes of the products on an email?
    This is being captured in a new entity called "Property" where these attributes are stored. Unfortunately you will not be able to write a system workflow on this entity. You may have to handle this by writing a code
    to achieve this.
    Hope this helps!
    Regards, Abhishek Bakshi If you find this post helpful then please Vote as Helpful and Mark As Answer. Check my blog on https://mydynamicscrmblog.wordpress.com/

  • How to access the "Non Adapter" properties in Teststand API

    Hi,
    I'm trying to dynamically create a sequence file through Labview with the help of the API. So far I have eben able to create the file, add a sequence call into the file as well as link the sequence call to a particular sequence file that will be called. Now, I wish to add certain "non-adapter" steps into the sequence file like Goto, Label, Property Loader etc. I can't seem to find a way to access the propeties once the step has been added. In the LV adapter, I was able to access the TSAdp.SequenceCall API and manipulate the properties. How do I do the same for the non-adapter ones?
    Also, when I load the sequence file through the TSAdp.SequenceCall API, i'm unable to access the parameters and link the inputs and outputs. I've attached a portion of my code and would really appreciate some help.
    Thanks in advance,
    -Anshul
    Attachments:
    Dynamic Sequence File.vi ‏127 KB

    Thanks for everyone's replies. I am now able to set the parameters for the sequence file, just that I added a property node for the sequence file path and the sequence before loading the parameters. That did the trick and the rest was easy. Also for Goto, with some digging, I was able to add a custom property step if it fails or passes the step. It works like a charm. I'm attaching a modified version of my code in LV 7.0 format.
    Attachments:
    Dynamic Sequence File-1.vi ‏175 KB

  • How to access the Document Options dialog box to select display properties?

    How to access the Document Options dialog box to select display properties (e.g. smartcut ) for a selected document to
    be viewed in the Workspace.
    regards

    Preferences --> General --> Reset all warnings.
    Mylenium

Maybe you are looking for

  • Information in the Powered by RoboHelp box not displaying

    Hi, While generating FlashHelp, I edited the information displayed when the Powered by RoboHelp icon is clicked from the Help file to include a Help version. While testing, some users reported clicking the icon displayed the information correctly, wh

  • Is there any way to select multiple variables on a block diagram and change them all to read or write?

    Doing one variable at a time can be tedious.  It's hard to believe there wouldn't be a solution for this.

  • Can't sync iphone.

    When I try to sync my iphone I get the following error, "The iphone "Malia" cannot be synced. An unknown error occurred (-50)." Please help. I've restarted my phone and computer and it did nothing.

  • Variable selection criteria in the record selection

    Variable selection criteria in the record selection with Crystal Report with SQL 2005 Server tables. In the record selection I would like to use the value of the field u201CsSQL1u201D as part of the selection criteria instead the field name {tblRepor

  • Mail sending pro

    REfresh : it_message. clear   : it_message[].   APPEND 'Hi Sir/Madam,' TO it_message.   APPEND '' TO it_message.   APPEND 'Kindly approve the submitted leave request' TO it_message.   APPEND '' TO it_message. Fill the document data. gd_doc_data-doc_s