The export of certain values of the graph xy to the worksheet

Hello

I'm newish to labview and I'm trying to extract the values used to draw the graph XY, but only for x = 0, 10... 90, 100... 360.

instead of extract values 361, I only need 37. I tried to use another statement, but with no success.

Any help?

Or use the table decimate for each 10 value in the input array.

Mike...

Tags: NI Software

Similar Questions

  • Disable certain value in the Radio button group

    Hello

    Is it possible to have a group of radio buttons but have certain values with disabilities while they are displayed but cannot be selected while other values in the Group of radio buttons are selectable.

    I know that I could have two groups of radio next to each one showing the selectable values and another next to it showing disabled values but I'd rather have a radio group so that the values are in order.

    We currently use apex 4.2.5.00.08

    Thanks in advance

    where to enjoy a group of radio buttons with three values

    Yes, no, both

    so it's the two of us, without deactivation function

    -on your condition

    real action in dynamic action

    run javascript

    $("#P2_CHOOSE_STATUS_"+0).attr ("disabled", true);

    $("#P2_CHOOSE_STATUS_"+1).attr ("disabled", true);

    P2_CHOOSE_STATUS IS THE NAME OF THE ELEMENT

  • Essbase Warning (1023135) skip certain values for the replication

    Hello

    When you replicate the complete data of a partition Essbase BSO in Essbase ASO (11.1.2.2),
    thousands of warning messages are logged in the application log:

    "Warning (1023135) skip certain values for the replication.

    The partition (data of level 0) valid and the counties of cells in each area are exactly.

    No idea of the possible causes and consequences?

    Thanks for your help.

    Philippe Cuisset

    Hello

    Thanks to the contributors.

    The contours of the source and the corresponding target, with the exception of 3 members with different names in the source and target.
    My score has 2 spaces for these 3 members. Mapping advanced between the names of source and target members has been set in a field, but it was missing in the other (not detected by the validation of the partition!). I don't set it too and now no more warnings.

    Philippe Cuisset

  • Adjustment brush works incorrectly between certain values of the brush size

    I am running Windows 7 64 bit on my PC with Lightroom 4.4.  When I resize my adjustment brush cursor by using the wheel of scrolling between certain values the brush cursor changes shape to the usual circular slider for a semicircular slider crushed. Below certain levels, the brush changes from the circular single slider to two small sliders and values less than four small sliders.  Can anyone help. My usual mouse is a Dell USB with scroll wheel and my keyboard is a Microsoft multimedia keyboard.

    I tried the following to any available-

    Re starting lightroom

    Check the BIOS to USB mouse is on

    I've tried different mouse (manufacturers)

    Any suggestion would be appreciated

    Mick Norman

    Hi snowynorman,

    Could you please share a screenshot of your adjustment brush in Lightroom?

    Usually, two circles appear when you have a good pen of value.

    In addition, suggest you try to change the size of the brush manually via the cursor or up and down arrow keys on your keyboard to check if you still see this type of behavior.

    Kind regards

    Claes

  • Extensible data export line moves to the right in the worksheet

    My form has a-line dynamically expandable by the user who clicks on a button. I put a maximum of 8 lines. Some users of form just a line while others need more than one. When I export using X Arcobat forms, any form that has several lines exporting other data of the line in the column on the right very far in Excel. This makes it look at hard data with a single line in a column in the middle of the worksheet and the rest a width full page to the right. Is - it there anyway I can keep these together regardless of the number of lines is created dynamically (up to the maximum number allowed)?

    Should I hide table rows instead of creatine them dynamically? If so, how can I make a visible both with a button?

    Thank you

    The field "rowObj [*]" was just an example. You need to substitute the name of your lines. So based on your example form, the code would be:

    rowNodes = xfa.resolveNodes ("form1. #subform [0]. Action.Table1.MoreActions [*] ");"

    for (rowCount var = 0; rowCount)< rownodes.length;="" rowcount++)="">

    If this line is hidden, then show it and leave the loop

    If (rowNodes.item (number of lines) .its presence = 'hidden') {}

    rowNodes.item (number of lines) .its presence = "visible";

    break;

    }
    }

    Make sure you get this last bracket closing too, I missed it in the first block of code I posted.

    Another problem in the form, it's that you have "Repeat row for each data item" checked in the binding tab delete this for all lines. Lines are there all the time (even if they can be hidden), their presence is not driven by data, so it is not necessary.

    In addition, your script to remove line buttons required a change of:

    _MoreActions.removeInstance (this.parent.index);

    TO:

    This.parent.Presence = 'hidden ';

  • Problem reading the worksheet after you use a DLL to write on the worksheet

    Hello

    I have a few problems reading a sheet DLL created in LabVIEW. The DLL is written in C++.

    I'll dexcribe what do the VI in the screenshots:

    For DLL_INIT = the first false steps the VI (LabVIEW) values and exports in a DLL initialization.
    DLL takes these values and not some und calculation, then wrote the measured values and the new calculated values in a csv file called 'filtered_values' and a file 'filtered_values_complete '.
    so, I have two files like this after initialization:

    1.0000000000; 1.0000000000; 18.8991610737; -3.2940000000; 0.0060000000; 0.9000000000; 6.5806287097; -3.2940000000; 1.0000000000; 0.0000000000; 1.0000000000; 0.0000000000;

    So now on DLL_INIT = true.
    For the calculation, the next step i read the "filtered_values" - file (LabVIEW), calculate the new values and write in filtered_values (DLL)
    And in the "filtered_values_complete" - file I will allways read the DLL entry first, so that I can check later, if the DLL has obtained the values to the right of the front step and then add the calculated values.

    For i > 0 initialization has been made:
    -the VI bed sheet "filtered_values" calculation and rotted the table 1 d in its unique values
    -The last seven values in the worksheet have been exported in the dll as well as five new measured values.
    -This DLL is still a few calculation
    - then it replaces the "filtered_values" - file and adds a new line to the 'filtered_values_complete '.

    This migth be a bit of confusion, so a small example, afer five steps it loooks like this:

    filtered_values:
    5.0625000000; 1.0000000000; 18.9300200447; -3.2870000000; 9.7320000000; 0.8997597592; 5.9159054233; -2.6533532901; 1.0000000400; 0.0000000000; 0.8078703403; 0.0000000000;

    filtered_values_complete:
    1.0000000000; 1.0000000000; 18.8991610737; -3.2940000000; 0.0060000000; 0.9000000000; 6.5806287097; -3.2940000000; 1.0000000000; 0.0000000000; 1.0000000000; 0.0000000000;
     
    2.0625000000; 1.0000000000; 18.8330081064; -3.2940000000; 9.7270000000; 0.9000000000; 6.5806287097; -3.2940000000; 1.0000000000; 0.0000000000; 1.0000000000; 0.0000000000;
    2.0625000000; 1.0000000000; 18.8330081064; -3.2940000000; 9.7270000000; 0.8999399568; 6.4077416273; -3.1451829134; 1.0000000100; 0.0000000000; 0.9480589053; 0.0000000000;
     
    3.0625000000; 1.0000000000; 18.7932988441; -3.2870000000; 9.7280000000; 0.8999399568; 6.4077416273; -3.1451829134; 1.0000000100; 0.0000000000; 0.9480589053; 0.0000000000;
    3.0625000000; 1.0000000000; 18.7932988441; -3.2870000000; 9.7280000000; 0.8998799074; 6.2394046705; -2.9768465052; 1.0000000200; 0.0000000000; 0.8988158138; 0.0000000000;
     
    4.0625000000; 1.0000000000; 19.0445703499; -3.2870000000; 9.7320000000; 0.8998799074; 6.2394046705; -2.9768465052; 1.0000000200; 0.0000000000; 0.8988158138; 0.0000000000;
    4.0625000000; 1.0000000000; 19.0445703499; -3.2870000000; 9.7320000000; 0.8998198333; 6.0754981785; -2.8129479844; 1.0000000300; 0.0000000000; 0.8521305805; 0.0000000000;

    5.0625000000; 1.0000000000; 18.9300200447; -3.2870000000; 9.7320000000; 0.8998198333; 6.0754981785; -2.8129479844; 1.0000000300; 0.0000000000; 0.8521305805; 0.0000000000;
    5.0625000000; 1.0000000000; 18.9300200447; -3.2870000000; 9.7320000000; 0.8997597592; 5.9159054233; -2.6533532901; 1.0000000400; 0.0000000000; 0.8078703403; 0.0000000000;

    So it's good enough that the VI and it works fine until some point when the just VI reads more calculation and x = sheet! There? becomes true.

    Most of the time it happens when the csv file is about 1200 lines

    Someone knows why this happens?

    Best regards

    Stefan

    Hello

    understood, that the error occurs somewhere completely else. the thread may be closed

    BR

    Stefan

  • Financial statement for line above a certain value

    Hello

    How can I do for the analysis of an array of strings of x and are data and output the line containing the data exceeding a certain value. I have attached a vi that I started to work on, but don't know how to do for x and y of output data above - 80.

    Any help will be greatly appreciated.

    Thank you

    hiNi.

    LV82.

  • * Excel-send a mail when reach a certain value

    Hello

    I need help to learn how to get Excel to email me when it reaches a certain value.

    Example:<20 days="" it="" will="" send="" a="" mail="" to="">

    Is this possible? :)

    You could do this:

    1. Create a macro that scans all of the cells of interest.
    2. Assign a hotkey (for example, Alt + S) to the macro.
    3. Download the macro to call a script console when it detects any cell suddenly value 20.
    4. Create a console script to send an e-mail message.

    Whenever you press Alt + S, the macro analysis all cells and generate the e-mail message if necessary.

  • Export xml attribute values

    Dear java expert,

    I was trying to export script attribute value to the .txt format. I have attached the screenshot for your reference.  Please me friends suggestion.

    Screen Shot 2016-03-26 at 11.58.38 AM.png

    I use the system: Mac, indesign Cs6.

    Thanks in advance to all

    Dear friends,

    I share my java coding below, based on this question.

    myDocument var = app.activeDocument;

    Var log = new File(app.activeDocument.filePath+"/log.html");

    log. Encoding = "UTF-8";

    log. Open ("w");

    log.writeln(")

    ");

    log.writeln(")

    ");

    FindEmail (myDocument);

    log.writeln(")

    Text (in the template)Found (Href tag)
    ");

    log. Close();

    Alert ("completed");

    function FindEmail (elm)

    {

    for (var i = 0; i)< elm.xmlelements.length;="">

    {

    XMLelementName = elm.xmlElements [i].markupTag.name.toString ();

    if(XMLelementName=="img")

    {

    for (j = 0; j

    {

    var cc = elm.xmlElements [i] .silence

    Alert (CC);

    var aa = elm.xmlElements [i] .xmlAttributes [j] .name

    if(AA=="src")

    {

    alert (aa);

    var BB = elm.xmlElements [i] .xmlAttributes [j] .value;

    log.writeln(")« + cc + »' + elm.xmlElements [i] .xmlAttributes [j] .value + ".");

    alert (cc + ' ~ ~ ' + aa + "~ ~" + bb);

    }

    }

    }

    FindEmail (elm.xmlElements [i]);

    }

    }

    Thank you

  • write on the worksheet with formatting

    Dear LabVIEW Forum,

    I'm having trouble with something that should be fairly simple however the online help was not able to help me after spending several hours looking.

    I am trying to configure a LabVIEW program to write the following sample data in a spreadsheet file (two columns with serial number of first input line and point, and then under this various data) I intend to extend this option to add more data, but just need to get the fundamentals of marketing in the form of work :

    Item serial number

    1                          20

    2                          40

    I have attached my .vi effort to date, however, I can't figure out how to get the formatting to work (i.e. remove the zeros, carriage return or tab).  If anyone can help it would be appreciated.

    Kind regards

    Altenbach says:

    I don't see any code that generates the zeros, carriager returns, or tabs.

    %f used as a format string actually gives you % .6f, should be %d if no zeros on the right are sought.

    I'll add to the endless possibilities, assuming that build you a file over time.  Write labels at once, and then add the file in a loop.  I find this method is safer, then creating a string if the program takes a long time to run.

    If you have all the values at once, follow the other suggestions to build a string and write it then.  A simple way is to remove the loop in my excerpt and the wire of the array 2D directly to the second write in File.vi of the worksheet.  Without looking, I bet that something similar is one of the mods of altenbach.

  • write lag to the worksheet

    Hello!

    I can't write the difference in time between my set of six switches in a worksheet. I would like to only six values appear on the worksheet, the differences between the beginning and end of each series of switches. I tried what I usually do when I write in a spreadsheet but ran in issues...

    Thanks for your help!

    OK, so I think I have a better idea for this.  Essentially, you have 6 switches; the switches will be enabled/disabled once for real (apparently with no clear trend); When the switch is enabled, no further action can be performed on it; Finally, when all switches are enabled to true, the VI ends and clears the task. This is the operation not expected?  Try this below.  (for simplicity, I use only one set of channels)  Cheers, m

  • chart of increment with the new data to the worksheet

    I'm having a little trouble and could use some help if someone has a moment.  My vi is streaming at 2 Hz data acquisition and adding data in a worksheet open.  I would like to be able to view the data from the worksheet in graphic form, but I don't want to redraw all the data points whenever the worksheet is in graphic form.  I have attached the section from vi which is dealing with this issue.  I have included an incrementer in my loop (+ 0.5 each implimentation) to allow time (for (i = 0) that each data point is collected, so my spreadsheet has essentially 2 columns, one for the time (0, 0.5, 1.0, 1.5, etc.) and a second column of data point recorded.  It all works very well.  It's just the graphical representation that gives me.  Assume that the broken wires are not broken in total vi.  Any ideas on that?

    For anyone interested, we solved this problem by attaching a waveform chart to the table converted out of my acquisition of data and define the history of this table to include the necessary length.  It seems that a waveform graph is not enough, and each parcel will not appear unless the table is horizontally (columns instead of rows for each data point).  Thanks to Jeff at home OR for the help on this one.

    Matt

  • Data loss when writing to the worksheet

    I worked on a VI to acquire data from two instruments and save them in a spreadsheet. To do this, I wrote two screws slot for data - one for a scale and the other for a conductivity meter and temperature. Regardless, each sub - VI works well; However, the conductivity meter sometimes writes a 0 value in the worksheet in the main VI. I thought it could have been a problem with the sub - VI, so I wrote a small article to catch and eliminate any 0 result product (I've put in place to collect an array of results and get the average to reduce noise). It did not work and every 5 or more data points, he writes a strange value or NaN. I think there is a loss of data in main VI caused by one of a few things:

    -The response time of the scale is the order of milliseconds, but the response time of the conductivity meter sends a signal every 5 seconds. This difference would cause a loss of data?

    -In the main VI, the scale readable Subvi is configured to perform a loop for to generate the table in the main VI. On the sub - VI conductivity, I configured it to run the loop in the Subvi. This difference would result in a loss?

    I have attached a few pictures of the block diagram to help.

    Thanks for the help, guys!

    I thought about it. By running the loop inside the Subvi, rather than in the main VI, he was losing some data as it came out (?). In any case, once I put in place similar to the VI scale reading, everything worked fine. I think that, anyway. It will not look like you guys don't have nothing, but forcing me to put the problems on paper has helped tremendously. Thank you!

  • How to save the worksheet active instead of workbook

    The excel file has 3 different sheets.  I changed the data on the worksheet 3 but cannot save it in format MS DOS.  She saved the spreadsheet 1 instead.  How can I save the data on the worksheet 3? Here is the code example.  I am running windows XP SP3 latest and CVI 2010.

    #include "excelreport.h".

    int main (int argc, char * argv [])
    {
    HRESULT second;
    char szErrMsg [256];
    CAObjHandle HdlWorkbook;
    CAObjHandle HdlXLApp;
    CAObjHandle HdlWorksheet;
    double data [2] = {200,2354.25898};
    value of double type = 7777.9;

    If (InitCVIRTE (0, argv, 0) == 0)
    Returns - 1; / * memory * /.

    Open Excel and make it visible
    Second = ExcelRpt_ApplicationNew (VTRUE & HdlXLApp);
    If (second) goto ExcelRpt_Err;

    Open the Excel file
    Second = ExcelRpt_WorkbookOpen (HdlXLApp, "Template.xls", & HdlWorkbook);
    If (second) goto ExcelRpt_Err;

    Second = ExcelRpt_GetWorksheetFromName (HdlWorkbook, "Test_Cases", & HdlWorksheet);
    If (second) goto ExcelRpt_Err;

    put a breakpoint here
    Second = ExcelRpt_WriteData (HdlWorksheet, "D88", ExRConst_dataDouble, 1, 1, &value);)
    If (second) goto ExcelRpt_Err;

    put a breakpoint here
    value = value + 1111.1;
    Second = ExcelRpt_WriteData (HdlWorksheet, "D99 ', ExRConst_dataDouble, 1, 1, &value);" ")
    If (second) goto ExcelRpt_Err;

    Save the workbook
    Second = ExcelRpt_WorkbookSave (HdlWorkbook, "test3.txt", ExRConst_TextMSDOS);
    If (second) goto ExcelRpt_Err;

    close the workbook
    Second = ExcelRpt_WorkbookClose (HdlWorkbook, 0);
    If (second) goto ExcelRpt_Err;

    Quit the Application
    Second = ExcelRpt_ApplicationQuit (HdlXLApp);
    If (second) goto ExcelRpt_Err;

    order of memory space

    CA_DiscardObjHandle (HdlWorksheet);
    CA_DiscardObjHandle (HdlWorkbook);
    CA_DiscardObjHandle (HdlXLApp);

    ExcelRpt_Err:
    Memset (szErrMsg, 0, sizeof (szErrMsg));
    CA_GetAutomationErrorString (second, szErrMsg, sizeof (szErrMsg));
    MessagePopup ("Excel report error", szErrMsg);
    return 0;
    }

    Edit:

    You cannot save a single worksheet in Excel. At least not in Excel 2007 I.

    Just try to do it manually and see what that who gets you.

    If you mean, you want to save a file *.xls in *.txt format, you must do a SaveAs.

  • Adding timestamp to the worksheet

    I'm setting up a spreadsheet of the readings of temperature using DAQ Assistant. When I try to add a timestamp the value placed in the worksheet is always 77. What I am doing wrong?

    Thank you!

    Ben

    In fact, you do not use the DAQ Assistant.

    You use what is called the wizard of DAQNavi I've never heard before.

    But the problem is in your code where you get the timestamp value while converting to string.  You then convert the string into a byte array.  So if your time is 13:01, you now have a '1' string ': ' '0' '1' 'space' 'P' "M" and they appear as the ASCII equivalents.  The values in the ASCII array gets converted to an array of doubles and a type of dynamic data.

    The 77 value is the value ASCII for "M".  My guess it is afternoon and you basically send the value of 77 for the M character to your data file.

    Try to get rid of the express VI and type of dynamic data and convert LabVIEW Real data types in your code as soon as you can.  You should probably convert all your numbers to strings from the beginning because that's ultimately what you want to see in your text file.  By converting strings, you can control the format of each of your pieces of data, then to combine these elements of the string in a table that you send writing to a spreadsheet file.

Maybe you are looking for

  • Advice on how to promote an iPhone / iPad app?

    Once that application is published it is time for Marketing. Tips, apartment to ASO, on how to promote an iOS application and scope of thousands of users? Thanks in advance!

  • driver video vga compatitable - needs an update

    video driver not in the list of hardware, you update the drivers from whedre. Click on a photo, but not therfe.  help, I am tiredx to ask for help and either find or get an answer. Kat nash

  • kernel drivers help

    I have problems with my mouse Logitech MX Revolution gel upward and the movement of the eradically.  Setpoint seems to get worse, I uninstalled and reinstalled.  I am running Vista Home Premium. Also, I see a number of disabled kernel drivers.  I can

  • Windows 10 Windows Vista update

    Can windows Vista be upgraded to Windows 10 by Microsoft without having to upgrade to Windows 7?

  • "Cannot install the update of Java error: sp.dll ' is corrupt.

    Original title: installation of Java Update While the update of Java SE 7 7 could not complete the installation.  Screen rises 'sp.dll' is corrupt. How to fix the damaged file and install the update.