Newbie need help with string concatenation function.

I'm totally new to LabView and am trying to work on a project that someone worked in the past.  I came to a string function concatenated on one of the existing provisions and only seen on some entries of the string function has an order of 'rel' and 'g '.  I don't know if it's a common command or what it is.  This is VI is that it requires a user to enter a base dimension (x-axis starting point and end point) and executes the steps in the sample desired within the "point of departure" and "end point".  "a3" is the name of the x-axis.  but I'm not sure of the meaning 'rel' and 'g '.  I posted part of the diagram.  Any help would be appreciated.  Thank you!

This isn't a question of LabVIEW, but very specific to the device connected to the other end of the serial port. Do you have any documentation for it?

Basically, the program needs form a consiting of command of a delimiter character, value and end of key word, etc. for example.

Who wrote this program. It seems too complex and convoluted. Under certain conditions, it seems to send two commands at the same time, and there is no way to determine the order in which they run. Maybe it doesn't matter, but maybe it does. Most likely, what you need is a single structure dealing with a case for each condition and a unique series in the end writing. You can reach the actual program? There are also a lot of duplicate code. What is the purpose of the operations 1 x? Is this a Subvi?

Tags: NI Software

Similar Questions

  • Urgent need help with String Manipulation

    Hello;
    I really need help with strings.

    Let's say I have these channels:
    \\ABC\DEF\GHI\xyz\xyz\xyz\xyz

    \\ABC\DEF\GHI\xyz\

    \\ABC\DEF\GHI\xyz\xyz\xyz\

    \\ABC\DEF\GHI

    \\ABC\DEF\GHI\

    ABC/DEF/GHI/xyz/xyz/xyz/xyz

    ABC/DEF/GHI/xyz /.

    ABC/DEF/GHI/xyz/xyz/xyz /.

    ABC/DEF/GHI

    ABC/DEF/GHI.

    I need to convert them using a SQL statement for:
    \\ABC\DEF\GHI\xyz\ or //ABC/DEF/GHI/xyz/ according to the original management / or \. Please note that the "xyz" may be repeated zero or more times. I just need one end with a trailing / or -if she had one first.

    I'm on Oracle 11.1.6 SE. I have a bunch of attempts with instr, substr and replace, but I think that regexp_replace could be better.
    Any help would be GREAT! I have a whole team waiting on me.

    Hello.

    Here is a way.

    -----------------------------------------------------------------------
    with sample_table as
    (
         select '\\ABC\DEF\GHI\xyz\xyz\xyz\xyz' str from dual union all
         select '\\ABC\DEF\GHI\xyz\' from dual union all
         select '\\ABC\DEF\GHI\xyz\xyz\xyz\' from dual union all
         select '\\ABC\DEF\GHI' from dual union all
         select '\\ABC\DEF\GHI\' from dual union all
         select '//ABC/DEF/GHI/xyz/xyz/xyz/xyz' from dual union all
         select '//ABC/DEF/GHI/xyz/' from dual union all
         select '//ABC/DEF/GHI/xyz/xyz/xyz/' from dual union all
         select '//ABC/DEF/GHI' from dual union all
         select '//ABC/DEF/GHI/' from dual
    )
    select str,
         regexp_replace(str,'(xyz([/\])*)+$','\1') new_str
    from  sample_table;
    
    STR                      NEW_STR
    ------------------------------ ------------------------------
    \\ABC\DEF\GHI\xyz\xyz\xyz\xyz  \\ABC\DEF\GHI\xyz
    \\ABC\DEF\GHI\xyz\            \\ABC\DEF\GHI\xyz\
    \\ABC\DEF\GHI\xyz\xyz\xyz\     \\ABC\DEF\GHI\xyz\
    \\ABC\DEF\GHI                 \\ABC\DEF\GHI
    \\ABC\DEF\GHI\                 \\ABC\DEF\GHI\
    //ABC/DEF/GHI/xyz/xyz/xyz/xyz  //ABC/DEF/GHI/xyz
    //ABC/DEF/GHI/xyz/            //ABC/DEF/GHI/xyz/
    //ABC/DEF/GHI/xyz/xyz/xyz/     //ABC/DEF/GHI/xyz/
    //ABC/DEF/GHI                 //ABC/DEF/GHI
    //ABC/DEF/GHI/                 //ABC/DEF/GHI/
    

    Kind regards.

  • Newbie needs help with cookie cutter in PSE8

    I'm new to PSE8, the cookie cutter tool and work with layers, what I need help with to accomplish what I want to do.

    I want to use one form of cookie cutter to make several 'holes' in an image, leaving a solid color background layer to show through. (Or another path, use the form of Cutter of biscuit as a solid 'rubber stamp' color to stop shape on the image in several places)?

    I opened my image in the editor and create a solid color fill layer, and then I select the shape of Cutter of biscuit that I want to use, for example a sheet.  Then I select the color fill layer, click and drag to create the sheet randomly somewhere in it.  When I release the mouse button, the window returns to the image and there is the leaf, locked in a box, in the color I want, on the image. I drag the box (leaves) to where I want it and click the green checkmark to accept. So far so good.  Here's the problem: in order to create another sheet on the image, I have to create another layer of fill and repeat the whole process.  If I try to use the same fill layer to a second sheet, the first sheet disappears.  I must be missing something very simple, but I can't figure out how to get out several sheets of a filling layer.  Also, I use a version without the constraint of the sheet because I would create several sheets of different sizes out of the fill layer as well.

    I would be grateful for any help or suggestion!

    Try the following:

    1. File > new > empty file - white
    2. Create a new layer, fill it red
    3. Create a new layer, fill it out of blue
    4. Access the marquee tool, drag the rectangle to the blue layer. You should see "ants in market". Press DELETE on the keyboard.  You should see red in the rectangular hole.
    5. Access to the custom shape (U) tool. In the form of culture library, select the heart shape black all and hang out on the blue layer. Press CTRL + left click the thumbnail of the layer of the capping layer for "mobile dotted." Hit delete on keyboard twice, and you should see red in the heart shaped hole.
    6. Continue with other forms.

  • Simple problem: need help with string functions

    I'm sure it's easy, but it's late and I'm tired.

    If I had a string that contained a full name for example.
    < cfset name = 'John Smith' >

    How would manipulate the string so I could separate in two variables for example.
    FirstName = 'John '.
    LastName = 'Smith '.

    See you soon

    Swampie says:
    > How would manipulate the string so I could separate in two variables for example.
    > firstname = 'John '.
    > lastname = 'Smith '.

    pretend it's a list delimited by spaces.

    name = 'Jane Doe';
    Switch (listLen (name,"" ")) {}
    case 1:
    manage single names
    break;
    case 2:
    firstName = listFirst (name,"" ");
    lastName = listLast (name,"" ");
    break;
    case 3:
    firstName = listFirst (name,"" ");
    middleName = listGetAt ("name, 2," "");
    lastName = listLast (name,"" ");
    break;
    } / / switch

    probably need a break by default for > 3 names.

  • Newb needs help with vectorization

    I use PS and AI CS5

    It is a newb here so keep it civil please!

    I want to take my scanned sketches HAVE so I can use the "live trace" function to smooth out them and vectorizes them.  I used to do that all the time that a couple of years ago, but I forgot the process, anyone know?  It went something like this:

    I think that I would first scan, > put in photoshop > can do something, > change the file format and > put somehow GOT.

    From there on, I remember you need to > select white background and > it separate lines.  Then > I would like to use the function "vectorization.

    I meet problems that HAVE her does not seem to recognize the saved PS file formats in (except pdf) and I can't cut and paste that I get an error "cannot export Clipboard because it is too big" and when I I don't remember how to select things and even less how to separate the line of the background art - I don't see even the "function of vectorization.  It's like forgetting how to ride a bike.

    Anyone able to help?  It would be much appreciated!

    Thank you, Monika, I think I found the problem.  My seems to be damaged and will not play many file formats, it turns out that when I reinstalled my CS5 collection a year or two ago I have not activated the have correctly.  God knows why just illustrator would be like this, but for all of you who have this problem, I'm fairly certain that it is because the AI is somehow passed to the 'unlimited trial' mode.  Seems to be easy to fix, just with a reinstall.  Maybe there is an easier way, but it should work.

    Congratulations to all for your help!

  • Newb needs help with dynamic text

    Hello world

    I'm not a newb - but that's how...

    I am trying to create a multi-page form that allows uses to register the products.
    The first page asks you name etc., and on the second page, I want to say "Welcome"+ username "!" -This kind of thing...
    The problem is that I can't seem to keep the values of dynamic text through the pages.

    I can get it to repeat the entry on the first page with this code:

    _root.firstname_txt. OnChanged = function() {}
    _root.firstname_repeat. Text = "Hello"+ _root.firstname_txt.text; "
    };

    However when I call on the second page it is not defined:

    second_repeat. Text = "Hello"+ _root.firstnamt_txt.text; "
    trace (_root.second_repeat.text);

    I'm sure it's something simple and I am just a dunce of programming...
    Any help is appreciated.

    your

    If your textfield (_root.firstname_repeat) does not exist on the 2nd frame, its text property will be indefinite.

    to remedy, or extend the existence of your textfield in frameworks or use a variable to store its text property (in your manager onChanged) and use this variable to retrieve the value you need.

  • Newbie need help with AS2.0 slideshow in loop

    Hello

    I am a newbie with flash. I just create a slideshow of 3 image by using the following action in AS2 code:

    Stop();
    Loop = setInterval (SuivantePhoto, 2000);
    function SuivantePhoto () {}
    nextFrame ();
    }

    She goes through the 3 images then stops on the last. How can I do so once she stops she goes back to the first image and start again?

    Thanks for your help!

    use:

    Layer 1 (action script)

    Stop ();

    clearInterval (loop);
    Loop = setInterval (SuivantePhoto, 2500);
    function SuivantePhoto () {}
    play ();
    }

    Layer 2 (which has 3 picture frames)

    where every image has a "stop" action script ();

  • Need help with the analytical function select maximum and minimum of the results of the column

    Hey there OTN.

    I have an interesting application that I was hoping you would be able to help me with. I have a requirement to conditionally select the max and min of a column in bi-editor and since my editor works from an OBIEE analysis, I need store MAX and MIN of the column values in separate columns to match with. See the example below. You will notice that there are 4 stores including today's sales. I must have OBIEE through all the results of the column for sales, then choose the max of the dataset object. I can't use MAX here because he will choose the MAX of the line which will return only sales of this line. Instead, one must analyze all sales results and choose the appropriate column. Any idea on how to do this in OBIEE/publisher? Or is this not possible.

    Day Store Sales Sales of MAX Sales MIN
    05/11/15Store 1500080001000
    05/11/15Store 2750080001000
    05/11/15Store 3100080001000
    05/11/15Store 4800080001000

    I'm waiting for your answers. Thanks in advance!

    PS: I will always mark messages that are useful and eventually mark it as correct answer if we come to a resolution!

    See you soon.

    You can't do the same thing with RANK ("dirty")?

    Rank ("dirty") = 1: the max value in the result of sales

    RANK (-1 * "Sales") = 1: the min in the result of sales value

    I guess you can and then format the cells based on these values, where a value of 1 is the max or min according to the RANKING formula you used...

  • Newbie needs help with old concert photos

    I'm just getting started with PS > was my main reason for getting the program to edit hundreds of photos together, I took in the 1970s on 35 mm film and was developed by post in enterprises (don't forget Clark, anyone?)  Most of the pictures are ugly, but they have great sentimental value and it's time for me to try to resurrect them.  Like most beginners, I find PS overwhelming but want to dive in.  Can someone give me some guidance on the necessary basic to begin steps to improve these photos, which are among the worst of them, because in addition to poor exposure, developers cut the negative through the image, and then recorded back together and printed the photo I scanned recently.  I need some basic first steps to improve the overall image and then get rid of the line.  I want to do it myself, I'm not asking anyone to do it for me.  Any help would be appreciated.  Thank you very much.11132015_0010.aJPG.JPG11132015_0036a.JPG

    Just for fun, I spent a few minutes. Yes, I did:

    1 levels. To make things dark concert. I cut the bottom of range.

    2 auto-ton, Auto color, auto contrast

    3 painted a quick mask fuzzy brush on the Cup

    4 use content-aware fill. (for the record, it is really sloppy and could do much better).

    5 adjusted levels once again, but adjusted the darker Middle slider. To taste.

    6 saved.

  • Newbie need help with clusters of find in my VI

    I have a good question and it crosses my VCenter and returns with Virtual and shared physical SCSI controllers, but I for the life of me can't seem to show me what VM, it belongs to.

    I guess I need a kind of step forward IF statement. Help a noob.

    $Guests = get-VM-Server "mycenter.

    ForEach ($VM to $Guests)

    {

    Get - VM $VM | Get-SCSI controller. where {$_.} BusSharingMode - don't "NoSharing"} | Select BusSharingMode

    }

    He returned with only 'virtual' or 'Physical', but what computer virtual tied :-(

    Can't just select name GEt - VM, as get SCSI controller also has a name field, by EXAMPLE of LSI.

    In the object returned by the cmdlet Get-controller SCSI, the Parent property contains the name of the virtual machine. You can use a property calculated for the Parent property and rename VM and show it to the output of the script.

    $Guests = get-VM-Server "mycenter.

    ForEach ($VM to $Guests)

    {

    Get - VM $VM | Get-SCSI controller. where {$_.} BusSharingMode - don't "NoSharing"} | Select @{Name = "VM"; Expression = {$_.} Parent}}, BusSharingMode

    }

  • Need help with the listagg function

    Hi all

    I try to use Listagg in the query below, but not able to get the answer. It is throwing an error message saying ORA-00979: not a GROUP BY expression.

    If I try to remove the Group By function and run the query, I get the following error ORA-00937: not a function of simple-group.

    Help, please.

    Select Distinct V.User_X, V.Original_Request_Id, (V.Support_Group_Name, ',') listagg Group (order of V.Support_group_name) as Group1,

    T.Individualassignedto, T.Status, T.Groupassignedto, T.Ticketcategory, T.Tickettype, T.orgcompany, T.submitter,

    T.Orgassignedto, T.Urgency

    Display V

    INNER JOIN K_TICKET T ON T.TICKETNUMBER = V.ORIGINAL_REQUEST_ID

    V.Original_Request_ID group

    Because you use a GROUP BY, you don't need SEPARATE.

    All the columns you are not aggregate (list) should be in the GROUP BY.

  • Need help with the analytic function

    I want to get the highest employee details and the 2nd highest employee for a particular service. But also the Department should have more than 1 employee.
    I tried the query and it gave me the correct results. But I wonder if there is another solution than to use the subquery.

    Here is the table and the query result:
    with t as
    (
    select 1 emp_id,3 mgr_id,'Rajesh' emp_name,3999 salary,677 bonus,'HR' dpt_nme from dual union
    select 2 ,3 ,'Gangz',4500,800,'Finance' from dual  union
    select 3 ,4 ,'Sid',8000,12000,'IT' from dual  union
    select 4 ,null,'Ram',5000,677,'HR' from dual  union
    select 5 ,4,'Shyam',6000,677,'IT' from dual union
    select 6 ,4 ,'Ravi',9000,12000,'IT' from dual   
    )
    select * from 
    (select emp_id, mgr_id, emp_name, dpt_nme, salary, row_number() over (partition by dpt_nme order by salary desc) rn from t where dpt_nme in 
    (select dpt_nme from t group by dpt_nme having count(*) > 1)) where rn < 3

    Hello

    You need a subquery, but you don't need more than that.
    Here's a way to eliminate the additional subquery:

    WITH     got_analytics     AS
    (
         SELECT  emp_id,     mgr_id,     emp_name, dpt_nme, salary
         ,     ROW_NUMBER () OVER ( PARTITION BY  dpt_nme
                                   ORDER BY          salary     DESC
                           )         AS rn
         ,     COUNT (*)     OVER ( PARTITION BY  dpt_nme
                                       )         AS dpt_cnt
         FROM     t
    )
    SELECT  emp_id,     mgr_id,     emp_name, dpt_nme, salary
    ,     rn
    FROM     got_analytics
    WHERE     rn     < 3
    AND     dpt_cnt     > 1
    ;
    

    Analytical functions are calculated after the clause WHERE is applied. Since we need to use the results of the analytical ROW_NUMBER function in a WHERE clause, which means that we have to calculate ROW_NUMBER in a subquery and use the results in the WHERE clause of the main query. We can call the COUNT function analytical in the same auxiliary request and use the results in the same WHERE clause of the main query.

    Would what results you if there is a link for the 2nd highest salary in some Department? For example, if you add this line to your sample data:

    select 7 ,3 ,'Sunil',8000,12000,'IT' from dual  union
    

    ? You can use RANK rather than ROW_NUMBER.

  • Newbie need help with the old graphics card Dell Dimension 2400

    Hi all

    Happy to discover this community and I hope I can get some answers here. Is there ANY video there card that would allow me to see the images that was shot in 1080 p on my old Dell Dimension 2400? Your help is very much appreciated here.

    Thank you.

    Nicolas

    Hi NICOLAS,.

    Motherboard Dell Dimension 2400 does not come with AGP slot or slot PCIex16. You will have to look out for PCI video cards, but most of the cards are low profile cards. You won't get a FHD 1080 p resolution.

  • Newbie needs help with the new system specs!

    I need to upgrade my system to my work because of the need to begin to use Camtasia and Premiere Pro CS6 (as well as other elements CS6).  I'm not a computer expert and the machine below will be set up for me next week.  I have a few questions that I had grealtly appreciate any feedback on:

    1. Do you think that in general my new system specifications are not enough for basic audio/video editing of SD and HD material?
    2. Can I expect a significant increase in the quality of video playback, as well as a reduction in the time of video rendering while you use Camtasia and Premiere Pro?
    3. Is my diet is going to be enough for the specifications below and if not what is the danger of not leveling who?
    4. If there is some thing/nothing else I had to upgrade what would it be?

    I work for a retail tile distrubtor with about 130 employees.  Training videos, that I create are mostly screenshot simple and basic videos that do not require a TON of high-end editing.  I use a lot of images JPEG high resolution and basic SD video sequences captured from a camcorder Canon GL2 (Mini DV cassettes).  Us will modernize ends up the camera, but that's what I use now.

    The previous computer I had suffered with very choppy video playback and long video rendering times and so I convinced my boss and IT Manager needs an improved system that has a faster processor, a better video card and more RAM.  I used my old system this year and the other takes place next week, is listed below.

    Thanks a TON for anyone who feels inclined to provide information!

    Andrew

    New system:

    HP Compaq Elite 8300

    • Win 7 64 - bit operating system
    • CPU i7-3770
      • 3.4 GHz
      • 8 MB Cache
      • 4 cores
    • Quadro 2000 D (62 watt max current absorbed) graphic card
    • 12 GB of RAM (4 GB statndard, added two other cards of 4 GB)
    • 1 TB SATA hard drive 7200 RPM
    • Intel Q77 Express Chipset
    • 320 watts power (stock)

    Old system:

    HP Compaq 4000 Pro (small size)

    • Win 7 64 - bit operating system
    • Processor Pentium Dual Core E6600
      • 3.06 GHz
      • ? MB Cache
      • 2 carrots
    • NVIDIA NVS 300 Graphics Card
    • 8 GB of RAM (4 GB statndard, added a card of 4 GB more)
    • 457 GB hard drive
    • ? Chipset

    Added CPU, system, a couple of USB devices fans cooler fans, etc.

    I did the calculation with an i7-3770 stock, 3 sticks of RAM, a graphics Quadro 2000, 2 USB, 2 x 120 mm, SATA 2 x 7200 RPM drives fans devices, 1 DVD burner, 30% capacitor aging and a 100% load system and come to this:

    There is no room for manoeuvre for any expansion at all. Not even add more USB devices.

  • Need help with strings

    How to turn the string myName myName_btn?

    And can you give a link or tell me where I can find the current manual for Flash CS4?

    Thank you

    var var1:String = "myName_btn";

    var var2:String = var1.split ("_") [0];

    and check the comments here:

    http://evolve.reintroducing.com/2008/10/24/News/Adobe-Flash-CS4-F1-help/

Maybe you are looking for