Array of strings to waveform curve

Hi all

I use LabView7.0 and need to trace the channel data on the waveform graph. I fix the image of the table that contains the data. The table or the data in a table is of type string, he got the date, time, and data from all 16 channels at that time. My requirement is to draw date hour n of all folders on the x-axis and its corresponding value in the chain on

y - axis graphic waveform.

.

Kindly give me example code and brief details to develop the same otherwise, I will be stuck in a large

mess

Kind regards

John


Tags: NI Software

Similar Questions

  • Array of strings 1 d out of MathScript node

    I use arrays of cells inside a MathScript node and want to display an array of strings D 1.  I can't get output with this data type by selecting a column of string elements.  He seems to treat the strings as arrays of characters that are extremely difficult to work with.

    I've seen references 2008 who say that MathScript nodes cannot not out of arrays of strings,

    Is this always true?  Is there an example of how to get a string or some kind of workaround?

    My boss came up with a way to do it, as shown in the attached VI.

  • An array of strings as function parameter in loop fails

    Hallo,

    I have a weird problem here and I hope someone can help me find the cause.

    I have a function where I said an array of strings (string_list). I pass the array to a function that does modifactions to the table. I am addressing Walker the array of strings to an index of all the values are stored correctly. When I loop through the array by incrementing the index automatically only the last index value are saved in all positions.

    Why is this? Or what I am doing wrong?

    It is the passage to another function, an array of strings
    int calling_function
    {
    char * string_list [MAX_PATHNAME_LEN]; //< store="" strings="" in="">
    function_called (string_list); passing a pointer to an array of string
    return 0;
    }

    This is the function receives a reference to an array of strings to store data
    int function_called (char * output_list [])
    {
    int i = 0; counter variable
    / * This works and good values are stored in output_list * /.
    output_list [0] = '02 ";
    output_list [1] = '12 ';
    output_list [2] = "22";
    output_list [3] = "32";
    output_list [4] = '42 ';
    output_list [5] = "52";
    output_list [6] = '622 ';
    output_list [7] = "72".

    / * This does not work and will store '31' in all places of the matrix * /.
    < 32="">
    {
    < %d »,="" i) ;="" incrémenter="" la="" valeur="">< br=""> output_list [i] = sample; < br=""> i = i ++ ; < br=""> < br="" >="">

    output_list [0] = '02 "; < br=""> output_list [1] = '12 ';< br="" >="">

    Thanks!

    Hi,.

    When you do

    output_list [i] = sample;

    all of the members of the array have the same value: sample-a char pointer. You are modifying the afterwards glad of sample purpose the previous values still point to sample.

    If you assign values to each array member like:

    you assign different values: a pointer to a string containing "02", pointing to a string contaning "12",...

    If you want to assign values in a loop you need to allocate memory for each string (output_list [i]) and copy the content of sample in them.

    Does this make sense to you?

    Constantin

  • An array of strings of compensation fileglobal

    I have an array of strings to dimension fileglobal 2. How we it clear whenever the sequence is called, use a loop for? It used to not be a problem, but now seems to have old data in it all the time.

    Thank you

    JVH

    You can get rid of an expression:

    GetArrayBounds (Locals.Array, Locals.OriginalLowerBounds, Locals.OriginalUpperBounds),
    SetArrayBounds (Locals.Array, "[0]", "[]"), / / make the table empty to clear it.
    SetArrayBounds (Locals.Array, Locals.OriginalLowerBounds, Locals.OriginalUpperBounds) / / restore the picture to its original size

    Hope this helps,

    -Doug

  • Convert an array of strings 1 d

    Hello

    I am creating headers in a write to a text file.  Attached, it's my code and the file looks like when opened in Excel. I have my data in three columns, but the headers are not where I need them. LabVIEW does not seem to allow a conversion of an array of strings. Is it possible that I can get the headers in a row format and not a column?

    Thank you

    Something like that.

  • display as an array of array of strings

    Hello

    I have the array of strings to appear as the matrix. Is it possible to use any converter?

    I am using the index table to filter some components and then using build table to combine all the sub-table. now, I want to display in a matrix

    Thank you

    I mean that all the lines and the coulumns should be display on front panel

    TKS

  • "The String to Byte Array" and its operations on-site (memory) of twins "Byte Array to string"? (or if they incur sentence of copy/memory operation?)

    I can't deduct the answer to this question (topic/post title) of the help of LabVIEW on the functions.

    Intuitively, it seems that the two representations of data are equal to the memory and so goes between the two should essentially be a no-op when the code is compiled... but is it? (assuming that the length of the array of strings/remains constant, can I go back repeatedly without performance?)

    As a string of LabVIEW is a handful and any other type of data except tables aren't a handful; that implies to me that a string = U8-table-grip handle and so a string into an array of U8-could be a memory or inefficient operation since no conversion actually take place?

    The reason I ask, is that when you work with for example TCP Read or read VISA, 'data' reading is always a string, but according to what you are doing, this string is often more efficiently processed/interpreted if converted to an array of U8 and I just want to know if (memory and CPU point of view) I can move freely between the chain and U8 array and return depending on what format is most appropriate to a point?

    (Also, I'm at this stage fairly certain that the "array of strings of bytes" is cleaner AND more efficient than a type-cast to an array of U8 strin... but I could be wrong.)

    I did some tests on this just now, and my conclusion is that it is completely in place. The local users group had a coding challenge when this became relevant to my solution.

  • Setting the size of the font of an array of strings programmatically

    I can't find the correct property to programmatically adjust the size of the font of an array of strings.  For a chain, it is quite easy with a property node and the text. FontSize property.  There must be a similar property to an array of strings, but I'm not.  Can anyone help?

    Take the element ref table and class type a more specific (string) and then you can set with a property node's font size.

  • by passing the array of strings of Teststand to LV dll

    Hello

    I wonder, why is it not possible to pass an array of strings 1 d of TestStand to a dll, which is compiled with LabView. By the way the PropertyObject works very well, but as parameter category "Array of Strings" exist in the call dll TestStand pane, it should be possible to pass an array directly. I get an empty dialog box, where I try to view the contents of the array passed directly.

    Why it does not work?


  • Array of strings

    This should be an easy question. I try to use the "write to the spreadsheet" VI from Labview 8.0 but I need to change to accept arrays of strings, rather than arrays of doubles. 8.2 does it automatically, but I'm stuck using 8.0. The instructions in the block diagram of the original VI says:

    "You can change a copy of this VI to accept arrays of strings by changing data 2D and 1 d of channels tables data tables and defining the ├a %s format."

    I'm having a problem changing the tables of data in tables of strings. I looked in 'Properties' for an option and also looked in the 'representation '.

    How can I change the table of control digital channels? Thank you!

    Right-click on digital, then select "replace". Simply browse through the control of the chain on the pallet.

  • Return an array of strings of call library function node

    Hello

    I'm having a few problems getting the following work.

    I have a camera from a manufacturer that came with its own .dll and header files. I'm calling the LabVIEW .dll file (2011). In total, there are about 50 functions, and there is a rest that I can't go to work (probably because I understand enough about the topic to interface with an external code).

    The description of .dll is delivered with the following text:

    #define length

    #define MAX_CONFIGURATIONS

    Prototype: int ConfigListGet (char (& sConfigurations) [MAX_CONFIGURATIONS] [length]);

    and the header file with:

    extern "C" __declspec (dllexport) int RepRateConfigurationListGet (char (& sConfigurations) [MAX_CONFIGURATIONS] [length]);

    The function should return an array of strings to the list of configurations.

    The problem I have is that I can not understand how to return the array of strings for the node of the library function call to LabVIEW. I looked a little on the web and the examples in LabVIEW and I can't find anything specific to return an array of strings in this way, so if anyone can point me in the right direction I would really appreciate it.

    Also, if I click with the right button on the node library function call and click on "File Create.c", I would be able to create the prototype of function even that above? I tried this but no luck. Was the closest I came:

    int32_t RepRateConfigurationListGet (char sConfigurations [], uint8_t MAX_CONFIGURATIONS, uint8_t MAX_LEN);

    Thank you very much in advance for any help!

    D

    Hello!

    I tried once using an array of U8, converting it to a string and then split into an array.

    Here is my old piece of code (the split part can be cleaner ;=))

    Kind regards

    Marco

  • Convert 2D array of strings of digits in decimal table 2D

    How to convert an array of strings of decimal places decimal table 2D 2D?

    Thanks in advance

    -DP

    BatchTest Corp.

    NEITHER Alliance Partner

  • How to read formatting excel worksheet as an array of strings

    I use the report tool to read an excel spreadsheet in an array of strings of LV.  It works fine except that it reads the precision of digital cells (~ 10 digits of precision).

    In my workbook I have displayed accuracy the value 2.  Is it possible to read the table such that it is displayed instead of the way it is stored internally?  (BTW, I understand how to do this)

    manually by parsing the string array and limit myself to the accuracy but would prefer to use excel itself to determine accuracy)

    sachsm,

    This should allow you to get the text from a cell or a range of cells.  Sort of do a "paste special" 'values '.

  • Array of strings in numbers

    Hello

    I try to get the array of strings to numbers of the attachment. I need this table of values from the file.

    Any help?

    You cannot directly read a file saved in Excel format.  You must save the spreadsheet in a tab delimited text file.  And after that, there are a few minor changes that can be made to your VI to get what you want.

  • How can I hilight a section of an array of strings?

    I have a VI that displays an array of strings.  The display is about 20 high of 20 channels of wide channels, while the berries in it are much more important.  I compare two files to find the differences.  When differences are found, I want to somehow hilight or focus on the block or the string that is different.  Is there a way to do this?  Is there a way I can visually hilight part of my array of strings?  I looked through the nodes of different property, but could not find something for this.

    Thanks for the help,

    Jeremy Backer

    Hi JMBacker,

    I don't know if tables can highlight a particular section.

    But you could do a thing.

    Display table in a table, and then display the background color of these special cells where the differences lie.

    Ritesh

Maybe you are looking for

  • get all the help files for teststand

    I used TestStand "help" to get information about a property that a colleague of mine recommended that I look at, and the research gave "no topics found.  My colleague ran the same search (check the spelling and the parameters are the same) and he got

  • WiFi on/off button and indicator acute/severe problems in HP Pavilion dv8t-1000 CTO

    I bought a HP Pavilion dv8t-1000 CTO in December.  Within a month, a hard drive has failed and another was provided under the guarantee. But now there are new problems. First of all, the Treble/Bass indicator keeps popping up without reason and the b

  • password reset LaserJet Pro 200 color MFP M276nw CF145A build Datecode August 6, 2012

    I linked all my passwords possible I know and also tried pressing and holding down on the right and the left, but nothing helps it dosent work do a cold reboot... Please held very frustrated!

  • ixpand - undetected after update ios 9.3

    I used my ixpand disc with my iphone 6 s. But after the new ios updated 9.3 up-to-date player is not detected by the phone. When I connect I get the message that ixpand sync would like to communicate with the flash player, but after that I get the me

  • Boot Device Not found

    So my problem started when I turned off my laptop, then when I went to turn it on a message pop up saying selected boot image has not authencate I did a hard drive restarted and then when I did it says device not found Boot so I did a hard drive chec