Treatment of the chain

Dear friends,

I have a string saying 'A1, A2, A3, A4, A5, A6' which is delimited by comma (and it will be received through the serial port). I have to split the string to separate the values A1 A2 A3 A4 A5 A6 and put it in a table.

If I use split string I use 5 times (an exit is one entry for another). Is it possible to do this easily?

Best regards

Tom

Use the spreadsheet string to array

Tags: NI Software

Similar Questions

  • If time machine is incremental how it removes previous versions when the disk is full, without breaking the chain, so do not be able to restore all changes since the first full file

    If time machine is incremental how it removes previous versions when the disk is full, without breaking the chain, so do not be able to restore the file with any changes made since the full backup first file...

    If the TM drive storage is full TM automatically deletes the version the oldest files for the new incremental backups can be made. Thus, in this case you cannot restore the versions that TM deleted because it takes more storage.

  • Can I programmatically select a control in the chain?

    I'm trying to programmatically select a control of the chain on the front panel for use with a scanner. The scanner will scan a bar code, and then write the data. It basically as a keyboard. Is it possible to programmatically select a control of the chain without going through the user click the control on the front panel?

    Just use a key Focus property node. Right click, create > property Node > Focus button. Change to write and connect a true him.

  • Some parts of the chain has lost communication with the Arduino.

    Everything by contacting arduino, the chain that I receive from the arduino is buffered, but it is not completely read by LabVIEW

    and change the data to trace some information is lost. Someone knows how to fix this?

    Information may be useful:

    Arduino mega

    Baud rate: 19200

    Delay in the Arduino loop: 10 ms

    The string is composed of 3 integers values concatenated like this:

    gh123ab123cd123ef

    I m attaching the Vi.

    Thx a lot!

    Paulo

    Is your waiting time in fact 0 milliseconds?  It is not very long wait for a message to come.

    Each message ends with a line as a termination character newline character?  You have the default stop character.  If Yes, then you're better to read a large number of bytes and let the end of termination character read, rather than using "bytes to the Port.  So now that you read, not all bytes have arrived yet, then you're bytes to the port will be less that you really want and you'll have the wind reading an incomplete message.

  • How to make the difference between the mouse down events in the control of the chain (click on contour vs click Center)?

    Hello

    I have a control over the chain on my UI and I would like to make the difference between mouse different events, that is to say, to be able to differentiate a click on the outline or the label of the controller vs right-clicking on the Center (between the control in "edit" mode)

    The reason is that sometimes if the user does click not in the Center but in the scope of control, Labview fires the mouse event down but the typed keys are not registered...

    Is it possible to distinguish the two?

    Thanks a lot for your help

    Set the string "update as you type" and use instead a "changed value" event Now, the event fires whenever a new character is entered.

  • Changing a property of an indicator of the chain in a cluster with a sub - VI

    I know that the issue of the update of an indicator on a first level VI of a Subvi has been requested before on the discussion Forum, but my question is slightly different, because I want to update the property of an indicator, not necessarily its value.

    In my first level VI, I have a group that contains some indicators of the chain.  The cluster is a typedef.

    I want to change the background color of the indicator for red or green of my sub - VI string so that it looks like this:

    Creating a reference to the cluster and move to the Subvi do not seem to work.  I'm not able to see the Text.BGColor property to change the background color of the string indicators:

    It seems that the creation of a reference to a string indicator and switch to the Subvi might work like this:

    Is there a way to better/more elegant to do this? Do I have to create a reference of string for each string in my cluster and send it to my sub - VI?

    I've messed around with global variables, but not luck.

    Plese help.

    You have the right idea.  The cluster reference has a property called [orders].  Which returns an array of references to all the controls in your cluster.  Indexing of those who have properties BGColor, that you need.

  • Display the contents of a text file in the control of the chain without changing the format

    Hi all

    I need your help!

    Planning the content of the text report file in labview control chain of the GI.

    When I read the text file and update the chain control, alignment of text was not appropriate.

    but when I open the same text file in Notepad, alignment looks good.

    How to solve this problem of text alignment?

    Gramy

    You experience the same problem before.

    Just use a .net textbox control to display text, instead of the string of LabVIEW.

    There is NO need to re - format the string.

  • Using a control of the chain with the Enter key, return * and * allowing repeated identical entry

    Hi all

    There must be a simple solution for this, but it's Friday afternoon, and my brain is not cooperating.

    I create a simple terminal through which a user can interact with an instrument. My question is about the only query string control. The button send and the Terminal Table are here for reference.

    Here is my desired behavior:

    (a) the user types a command in the field of the query, tape input or return. An event is triggered, and the request is sent to the instrument. The focus remains on the field in the query.

    (b) with any other action the interface user, the user types Enter or return again and again, by triggering an event that sends the request to the instrument every time Enter or return is typed. The focus remains on the field in the query.

    Here's what I have:

    This allows for one), but fails to b). The reason is, because the value of the field in the query has not changed, change value event does not fire when the user starts to spam keys enter or return. There is a way around this, as suggested by this post. Here is the solution in a few words:

    Instead of looking for the change in the value of the query command, the event fires for each key event to the bottom of the control and resembles a pressure of enter key or return. What attracts the user action, even if the content of the field of the request have not changed. The problem with this approach is that, when this event fires, I need to read the value of the query string order and send it to the instrument, but the value I get via the local Variable query is the old value, probably because the key down event fires before the value of query is saved as changed. Is there a way to programatically "enter" the contents of the control channel so it is recorded as a change in value, until I have the question via a local Variable? Is there a different way I should go about it? I'd rather not do anything that bound the input keys or return to this particular area, since I have many other UI elements that need these keys in my program.

    If not, is there a way to make the control of the fire 'Change of value' query string event when the user presses enter or return even if the value has not changed?

    Thank you for your comments!

    I thought about it.

    (1) control of the string (query) a value of update while typing.

    (2) save the key event down to the control of the chain. If the entry or return was pressed, send the state machine to the State 'send request '.

    (3) in the application 'send' State read control channel via the local Variable value.

    This is the desired behavior to allow the user repeatedly hit entry or return to regularly send a command, and the user can also type in a new order and send it by pressing enter or return.

    Thanks to all who have helped me this something to think about!

  • What is the analysis of the chain model for "fits all"?

    Hello

    Using scan chain for a while, I know that %s corresponds only to chain up to white space. And I also thought % [^] matches everything, including spaces. But it turns out that it stops at the closing brace square.

    So what's the real scan pattern match everything including spaces?

    Want you that the Scan of chain at the end on?  Or are you typing just the rest of the chain?  If this is your scenario, then simply use the output 'remaining chain.  It might be useful to give a complete example of a normal input string and all WHAT you want as output.

  • How to stay in control of the chain box, at the opening of the vi

    Hello

    I am writing a code which requires me to analyze a code. But to do this I should click in a string control box then analyze, so that the alphanumeric code can appear in this area.

    I have this default value. As in, I want the cursor within the control of the chain box as soon as I run the vi. So that I can directly runs the analysis from the vi and the code is entered in this field.

    Also, I have a pop up in the middle of my code. I close the popup by pressing any key. After that, I want the cursor to return to the same chain of control, as described above.

    Please let me know what is the best way to do it.

    Thank you

    Mr. Miagi

    Set update of key control string true property using the property node when you want to set the cursor to the control of the chain.

  • menu bar popup not working if the focus is on the control of the chain

    Dear all,

    I wonder if this is the behavior expected or if I'm doing something wrong:

    On a Panel, I have a control of the chain; on double click, I opened a file selection box to select a file, then the file name on this control of the chain. After this action, this string is the active control, indicated by the gray frame.

    I also have a menu with some defined keyboard shortcuts bar for example F2. It seems that F2 is not functional, long as the focus is on the control of the chain. It's embarrassing because the typical user action is selects a file and then pressing on Fx. To resolve this problem, the user should click somewhere on the Panel to move the focus to another control. Of course this could be done programmatically, but the extra effort is not to say necessary for controls ring or digital controls. Also in digital controls, I can change the numbers, but even if a digital control is the active control due to the edition of the F2 value works immediately.

    Help is appreciated.

    Thank you

    Wolfgang

    I think what is happening here is that left double click is also used to highlight the text. So when you trigger the EVENT_LEFT_DOUBLE_CLICK, you're placing the text in the control of the chain and then also accentuating. It seems to be behaving strangely when the two of them occurs at the same time because of the order of the events. You can see that the mouse around when, returning from the file select popup causes the region highlighting to drag over the text. In this highlight mode, you cannot use the shortcuts for the menu. I was able to solve this problem by swallowing the EVENT_LEFT_DOUBLE_CLICK after you set the value of the control.

  • floating point No. the chain with the same precision

    I use "format string" to convert floating point No. to a string. Most of the numbers have a single decimal digit, so I use '%^0.1f' in the format in the connection string. But for our whole. like 150, it gets converted to 150,0. I want to avoid this, such that the chain looks exactly like the No.... What should I change?

    Use %#0.1f as your format string.

    Read the help file on the format codes.  The sign # told him to truncate the zeros.

  • Indicator automatic resizing of string with carriage returns in the chain

    I try to have a string on my front indicator automatically resize to put different strings that are sent to it.

    I found the function 'Get the Rect.vi text' and it seems to do exactly what I want, but only for the first line of my string.

    It is not resized to display characters after a carriage return / newline.

    Here is a picture of the chain resized automatically next to a picture of the complete string that I size manually.

                       

    How do I autosize my chain indicator box to include all of my text?

    The node to invoke "Text size" would work?

  • Microsoft It - fix diagnose and repair Windows and problems would not install on my computer. He said the chain was not in the right format. Clues?

    I installed Microsoft Fix It on my computer (MSXP). The diagnosis and repair of the Windows files and problems would not install on my computer. He said the chain was not in the right format.  Clues?

    Hi Kathryn1713,

    ·         You are not able to run the Microsoft Fixit tool?

    If so, you can post your query on the Forums of Microsoft Fixit. Please see the following link for the same.

    Microsoft Fix Center - NO support general questions Forum

  • What is the chain to retrieve VirtualKeyboardControl from BlackBerryCanvas via getControl (String)?

    What is the chain needed to retrieve the BlackBerryCanvas VirtualKeyboardControl using getControl (String)?

    String vkbControlString = '? ';

    VirtualKeyboardControl vkbctrl = (VirtualKeyboardControl) getControl (vkbControlString);

    THX

    Thanks Mark.

    I've tested this and it worked as expected:

    Control control = getControl("net.rim.device.api.lcdui.control.VirtualKeyboardControl");
    if (control instanceof VirtualKeyboardControl) {
        vkbControl = (VirtualKeyboardControl)control;
    }
    

    Missed me the fully qualified name of the class.

Maybe you are looking for

  • Satellite C660-1JH: problem of USB device - software not installed

    Having had several attempts trying to install different software, Microsoft Fixit program has scanned and found that my PC has loopholes with USB points. The screen read: "the software device driver is not properly installed. Please consult the manuf

  • desktop to go - not suitable for my use of HP Mini 1000 Mi

    Not tapping on my Asus 901 Hardy Heron no xp. My Mini 1000 Mi arrived an hour ago. Update Manager is running. I put e-mail and installed Firefox Add-ons that I prefer. By doing these simple tasks, I noticed that the MIE Office will seriously interfer

  • Alienware X 51 R3 - 10 Windows left out of the game after only a few hours back in the Office

    I noticed that, while playing the Steam on Windows 10 games, it will be alt + tab out of the game and back in the office. I then click on the game in the taskbar to get back in. It's quite annoying, as it happens at the most inopportune time. It prod

  • problem on the production key

    question for the community Hello Sir, I have problem on my product key when I tried to activate my product key, anyone please help on my problem the system says "a problem occurred when windows tried to activate. code error 0xc004f063 for a possible

  • Micro wireless for HDR-XR100

    Is there a compatible with the HDR-XR100 Handycam wireless microphone? I really want to find one, preferably less than $200. Laurie H.