How to determine the type of trace

Hello

I use a graph xy with a variable number of plots: line a few plots and multiple xy.

After tracing, I would like to inspect the data: for this purpose, I thought that scroll the plots using ATTR_FIRST_PLOT and ATTR_NEXT_PLOT.

Then, using GetPlotAttribute (ATTR_PLOT_YDATA) I thought to get the data sets for analysis - I hope the plot is an xy trace and not a line plot... Unfortunately I have not found an appropriate attribute that I could read to differentiate a line plot and a plot xy - using GetPlotAttribute (ATTR_PLOT_YDATA) on a line plot is not valid and returns an error. (There is no trace of attribute plot type)

The only thing I could think about using different lines for the tracing types - but in this case the xy plots are dispersion diagrams...

Tips are welcome...

There is an attribute of type of terrain without documentation, that you can use. You can't define it, but you can get it.

You can find it in this list of attributes without papers. In this case, you don't have to worry about disclaimer that in this post, I did. After this public list, we will certainly not belittle one of them in a later version, and this particular attribute is as simple as they come, so you don't have to worry that it is buggy.

Sorry for the inconvenience.

Luis

Tags: NI Software

Similar Questions

  • How to determine the type of device programmatically

    Hello

    I think I need determine the type of device (IE. Bold, Curve etc.) in order to use the appropriate images.  I can't find a api that indicates to which device the application runs on... could someone point me in the right direction?

    In addition, is the type of device, the best way to do it... or use the width of the display or resolution and choosing him the appropriate icon a better idea?

    Thank you

    check the DeviceInfo class.

    I use the screen resolution to determine the size of the icons. I use two sets of icons, one for the kid, one for big screens.

  • T410 how to determine the type of chart

    I need a new fan for my T410 (2516-CTO), however, there are two types - integrated graphics and discrete graphics.

    How can I determine which version I have without disassembly?

    Look at the list of parts. The Planar (motherboard) should be integrated or discrete. If this is not the case, the network adapter is listed. 65 Watt adapters go with integrated boards, while 90 watts go with discreet. Here is the link:

    http://support.Lenovo.com/en_US/product-and-parts/partsLookup.page

  • How to determine the type of cell data in Excel file

    I have an Excel standard company file that must be read to determine which tests to run.  I have no control on its format.  I need to be able to tell what the data type is to be able to read using the example of LabView code.  It's a numbers hodge poge and channels.  Some numeric fields are formatted as hexagonal although some are floating point.  It doesn't seem to be a vi that I can call to determine information about the formatting of the cell.  As I remember, the control ActiveX in Windows to access Excel supports only.  I was really hoping to avoid dealing with Active X for Excel control directly.

    Any help/ideas?

    Display in CSV or similar is not an option.

    If you deal directly with Excel, I don't see how move you using Active X.

    MSDN page on the use of the ActiveX

  • How to determine the type of client network adapter

    How can I determine if a client is configured with VMxNet VMxNet 2 (reinforced) and VMxNet3?

    Copy the following just returns VMxNet, Flexible code or E1000 but not the s difference types of adapters VMxNet.

    $networkName = "Network0.

    $net = get-NetworkAdapter - Vm $vm.

    where {$_.NetworkName - eq $networkName}

    $myObj.VMNicType = $net. Type

    Question: What version of ESX / VC / PowerCLI do you use?

    As I just tried this on my ESX vSphere / VC and PowerCli are all v4 update 1 and it works very well for me.

    Get-NetworkAdapter -VM MyVM | Select Name, Type | Format-List
    
    Name : Network adapter 1
    Type : e1000
    
    Name : Network adapter 2
    Type : Vmxnet3
    
    Name : Network adapter 3
    Type : EnhancedVmxnet
    
  • How to enable the end user determine the type of sort?

    Helllo all,.

    I use APEX 4.2.2. Oracle 11.2.0.3.

    In a classic Rerpot (line custom model), how to allow the end user to determine the type of sorting?

    I use decoding to select the column that the sort is done, but how to determine: Asc / Desc?

    order by decode(:P2_SORT, 'PRICE', v.PRICE, 'PROP_SIZE', v.PROP_SIZE , 'BEDS' , v.BEDS , 'AREA' , v.AREA) 
    

    Kind regards

    One way may be to use a second element which maintain the sort order. Lets call it P2_ASCDESC.

    Your order by condition might look like this:

    order by decode(:P2_ASCDESC,'ASC', decode(:P2_SORT, 'PRICE', v.PRICE, 'PROP_SIZE', v.PROP_SIZE , 'BEDS' , v.BEDS , 'AREA' , v.AREA), null) asc
            ,decode(:P2_ASCDESC,'DESC', decode(:P2_SORT, 'PRICE', v.PRICE, 'PROP_SIZE', v.PROP_SIZE , 'BEDS' , v.BEDS , 'AREA' , v.AREA), null) desc
    

    I don't like this solution, since you réimplémentez one of the nicer features that apex was already out of the box. Better would be to stick to a classic report template and allow the standard user-defined sort order. Why do you think that you need your own non-standard solution?

  • How do you determine the type and speed of your RAM installed what?

    * Original title: laptop RAM

    How to determine what type and speed of your RAM installed is.

    Gift little Handy dandy named Speccy.

    http://www.Piriform.com/Speccy

    Once completed its display, click on memory

  • [CS2] [VB] How can I determine the type of object to a PageItem?

    I use InDesign CS2 and VBScript

    Loop to the bottom of the PageItems in a Page, I need determine the Type of object (TextFrame, group, GraphicLine... each process) and PageItem accordingly.

    Is there a method/function VBS wiil returns the Type of an object as a string or a value. Or what I need to check the existence/non-existence of a particular property associated with a particular object for this type?

    Alternatively, is there a JavaScript function that will do what I can call VBScript?

    For the record: TypeName is what you need.

    For example, when the cursor is planted in the text return TypeName (Ind.Selection (1)) 'PointInsertion.' When a text block is selected, it returns "TextFrame.

  • How to determine what type of USB port that I have on my computer?

    I need to know if my computer will not accept a disk that requires a port USB 3.

    How can I determine the type of USB ports on my computer?

    Thank you

    Yes... but you might encounter power problems if you try to use an external with a USB hub drive unless the hub or the external hard drive has its own power supply.

  • determine the type of data

    Hi all

    I've got procedure of inserting data in table1 value1 column.
    My need is to determine the type of data entered by the user.
    If the data type is not number user should error.
    How can I make it?

    The easier and more reliable way would be to declare the formal parameter as a number, such as:

    SQL> create procedure p (p_num in number) as
      2  begin
      3     null;
      4  end;
      5  /
    
    Procedure created.
    
    SQL> exec p('a');
    BEGIN p('a'); END;
    
    *
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at line 1
    

    If you cannot do this, or want to be more "user friendly", so the only alternative is to test and trigger an error like:

    SQL> create procedure p (p_str in varchar2) is
      2     l_num number;
      3  begin
      4     l_num := to_number(p_str);
      5  exception
      6     when value_error then
      7        raise_application_error(-20001, 'I know I said it was a string, but I really want a number');
      8  end;
      9  /
    
    Procedure created.
    
    SQL> exec p('a');
    BEGIN p('a'); END;
    *
    ERROR at line 1:
    ORA-20001: I know I said it was a string, but I really want a number
    ORA-06512: at "OPS$ORACLE.P", line 7
    ORA-06512: at line 1
    

    John

  • Determine the Type of connection WiFi

    Hello

    Is it possible in the OS X in order to determine the type of connection (a/b/g/n/ac) current WiFi?

    Thank you

    Option + click on the WiFi symbol in the menu bar.

  • How to determine the amount of memory shipped on the PXI-5114

    How to determine the amount of memory onboard, I have on my PXI-5114?

    Thanks in advance.

    Hello

    I'm sorry I didn't know you already had the map.  There is a property for NO-Scope node to determine the total amount of available memory that we can then divide down to get the memory available per channel.  Please see the vi and help below:

    This gives a shot, just drop it in a VI that you use and if it should return your memory cards.  If you don't have a LabVIEW I can probably retrieve the purchased version by querying your serial number.

    Kind regards

    Kyle S

  • How to determine the amount of memory was my pci-6115?

    How to determine the amount of memory was my pci-6115?

    I see two beaches of memory OR max.

    My PCI-6115 there 32 or 64 MB memory?

    Range of memory between 1: FE9F7000-FE9F7FFF

    Range of memory between 2: FE9F7800-FE9F8FFF

    It's an old part number for the Board 32 MB.

    -Christina

  • How to determine the number of highlight ' to write ' for DAQmx generate analog output?

    On the configuration of the stage for DAQmx generate analog output, there is a field "value to write.  I can't find any explanation for what it is, how it determines the value to enter, nor what he writes.  I am trying to go through the tutorials and it cling.

    Someone would give an explanation?

    Hello

    To write value specifies the value to write in the channels, lines or ports selected in string parameters. In other words, this value will be the value of your DC output (for example if you enter 5, your output will be 5V). To get information on different fields in SignalExpress, access help"context-sensitive help. A pane will appear in your work environment that displays the coordinates of the field when you place your pointer over them.

    For new users of SignalExpress:

    Generation of DC signals with NI DAQmx devices: step in the DAQmx build, select 1 sample (on request) in the generation Mode dropdown. You can select a programmatic input to generate, or you can remove the check mark from the check box use programmatic input and specify a value for generating in the field of value to write . NOR-DAQmx help also provides additional information about the data generation.

    Best regards

    M Ali

    Technical sales engineer

    National Instruments

  • How to determine the index of an item in a cluster?

    I have a small program that I put in place, as I'm just trying to get up to speed on Labview.  I have a boolean cluster buttons and for some reason the top button of the page is coming through as Index 3.  There are four buttons in the cluster, but for some reason, there has been a change.  The top must be Index 0.  How to do the things fixed?  I do not see how to determine the index of each button through properties.

    Thank you

    The order of items in a cluster is the same as the order that you added them. To change the order, just right click and select "rearrange controls in the group. If you use Unbundle by name, you don't care the order.

Maybe you are looking for