How to find and replacing the path (url) given for data binding from type 'datasocket'

Hi everyone,
I'm sorry to pose this question as my own knowledge is still very limited.
I have an assignment (bachelor level). We were asked to adjust a plc program in step7 so that multiple of an existing sequence could be run indepently.
The settings for that sequence are controlled by labview. Sensor data is also viewed in labview.
There is an existing labview VI that was made by someone else before us. It uses 'Datasocket' type for data binding. Because we would like to adjust this VI to be used with the other sequences, we would like to change the original path or URL quickly, as in a 'Find&Replace' solution. Yet the find and replace only works for objects or text, not entries in the properties.
Can someone please tell me if there is a way to do is, without having to use shared variables, as we are not at all known with this type.
Many thanks,
Niels

Dear Niels,
Please find the attached example. I placed 5 controls on the front panel, all with a data socket URL (control 1 = URL1, control 2 = URL2 etc). Through property nodes I did the following;
- I got a reference to the front panel
- with this reference we can get an array of references to the controls on this front panel
- one by one we will read the references and check the data socket URL from the control, we compare this with the URL we are searching
- if found, stop we will use the reference to write a new URL to the control.
Please notice the default values of the controls; it is set to search for URL3 and replace this with URL10, run the VI once and you will see that happening. I also included a sting indicator which will show you the label of the control which we find. Also a Boolean indicator in case we were not able to find the URL.
I downsaved the VI to 8.6, I'm not sure in which version you are working, if you have 8.6 or higher you are able to open it. Hope this brings you further,
Best regards,
Martijn S
Applications Engineer
NI Netherlands
Attachments:
findURLexample.vi ‏12 KB

Similar Messages

  • How to find and replace the text present in the url

    I have a column of type NCLOB with some text having url's in between as shown below:
    ========================================================================
    This text is for testign purpose.This text is for testign purpose.
    <A PL/SQL <U PL/SQL </U> </A>
    Thsi text is also for testign purpose.This text is for testign purpose.
    <A http://forums.oracle.com> <U oracle metalink> </U> </A>
    This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.
    ========================================================================
    Requirement:
    ========
    Requirement is to implement the find and replace functionality.
    I just need to check whether the search text is present in the url or not?
    Suppose if search for orcale.com, since its part of the url so the search should be successful otherwise search should be unsuccessful.
    Here I can give you the hint like, always the url lies between the anchor tags *(<A </A>).*
    Tahnks in Advance.

    I had I think a similiar question the other day thay I Frank and Michaels answered for me.
    not sure if I totally have what you want but.
    WITH t
            AS (SELECT '<A PL/SQL <U PL/SQL Thsi text is also for testign purpose.This text is for testign purpose.
    <A http://forums.oracle.com> This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.This text is for testign purpose.
                          txt
                  FROM DUAL)
    SELECT REGEXP_SUBSTR (REGEXP_REPLACE (txt, '(.*<A)|(</A>.*)'), 'oracle.com')
      FROM tthe first part the regexp replace part gets the text between a start and end point you mentioned that would be <A and </A>
    the regexp substr just looks for the phrase oracle.com in the text between those two points.
    Edited by: pollywog on Oct 6, 2010 8:26 AM

  • How to find and replace the main logic board on HP4600N Laser Printer.

    Can anyone let me know how to replace the main logic board on my HP Laser 4600 N.  My printer was freezing up and in calling customer service, they informed me that the main logic board is going bad.  Now I have the part but no instructions on how to replace or where to find it on the printer. 

    A Google search may turn up a downloadable service manual for the Laserjet 4600.
    You might also ask in the HP Enterprise Business Community Forum here.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How to find and replace the table name/column name

    We have just upgraded the application to R12. Have many reports developed in Oracle Reports Builder. There are many changes in R12 table and column names when compare with 11i. Please suggest a solution to change the table name or column name in multiple reports queries instead of doing manually.

    A Google search may turn up a downloadable service manual for the Laserjet 4600.
    You might also ask in the HP Enterprise Business Community Forum here.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How to find and replace data in form fields in acrobat xi, its not allowing to do so while trying, a

    how to find and replace data in form fields in acrobat xi, its not allowing to do so while trying, asking for adobe livecycle to get installed. please help.

    Easiest way to do it is the following:
    - Open the PDF file in Acrobat.
    - Go to Tools - Forms - More Form Options - Export Data.
    - Save the form data as an XML file somewhere on your system.
    - Open XML the file in a plain-text editor (I recommend Notepad++).
    - Let's say you want to replace all the years in the dates from "2013" to "2014". Do a global Search&Replace of "2013-" to "2014-" (I added the dash just to make sure that only date fields are edited).
    - Save the XML file (maybe under a new name).
    - Go back to the PDF file, and now go to Tools - Forms - More Form Options - Import Data.
    - Select the edited XML file and import it.
    - Done!

  • How to find and replace any string between " "

    Hi everyone,
    Here my sample
    String szTest;
    szTest = "Yellow banana";
    szTest = "Blue monkey";
    szTest = "Red mango";
    szTest is only needed when it's in testing progress. Now I want to put all of that in the /*comment*/ so the released program won't run those code any more (but still keep szTest so I can use it for future develop testing).
    So Here what I want after using the Find and Replace Box:
    //String szTest; //Manual
    /*szTest = "Yellow banana";*/ //use find and replace
    /*szTest = "Blue monkey";*/ //use find and replace
    /*szTest = "Red mango";*/ //use find and replace
    I think I can do this with Regular expressions or Wildcards. But I don't know how to find and replace any string between " and ".
    Find: szTest = " ??Any string?? ";
    Replace with: /*szTest = " ??Any string?? ";*/
    Thanks for reading.

    Hi Nathan.j.Smith,
    Based on your issue, I suggest you can try the Joel's suggestion check your issue again. In addition, I find a MSDN document about how to use the Regex.Replace Method to match a regular expression pattern with a specified replacement string,
    maybe you will get some useful message.
    https://msdn.microsoft.com/en-us/library/xwewhkd1(v=vs.110).aspx
    If the above suggestion still could not provide you, could you please tell me what language you use to create the program for finding and replace any string using regular expression so that we will find the correct programming develop forum to support this
    issue?
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I'm trying to find the plugin for camera raw, but all I can find is the page with the cameras that are supported. But I don't find how to find and install the actual plugin. The end name is ARW

    I'm trying to find the plugin for camera raw, but all I can find is the page with the cameras that are supported. But I don't find how to find and install the actual plugin. The end name is ARW, and all I need is to find WHERE I can download it. Thanks.

    cr is installed by updating your app.  use help>update, or update manually
    pre cc updates:  http://www.adobe.com/downloads/updates/
    cc updates:  http://prodesigntools.com/adobe-cc-updates-direct-links-windows.html
    cc 2104 updates:  http://prodesigntools.com/adobe-cc-2014-updates-links-windows.html

  • HT4009 I did not download the in-app purchase at time of original App download, now I cannot figure out how to find and download the in-app purchase.  Please help!

    did not download the in-app purchase at time of original App download, now I cannot figure out how to find and download the in-app purchase.  Please help!

    Hello paddyliverpool,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/ht1933
    Refund is an option.
    Best of luck,
    Mario

  • Satellite A30-921: How to remove and replace the memory?

    hi, can anyone help me how to remove and replace the memory of sat A30-921. and also, please give a detailed instruction.
    thank you in advance.

    Hi
    There is no much to explain. At the bottom side in the middle there is placed memory cover (fixed with two screws). Remove the cover and you will see 2 slots there. I dont know how much memory has you there but as Stefan said you can use max 2 GB of RAM (2x PC2700 1024MB - PA3313U-1M1G). How to remove memory modules you can see on http://www.hardwaresecrets.com/article/189/5
    Bye

  • How can I multi-find and replace relative paths to external topics?

    I am using RH7 and publishing to a company server share. External topics are saved on the same server share and linked on my local drive to create a relative link. How can I do a multi-find and replace on the relative links to change the path to the external docs? The paths do not show up in the Topics List because they are relative, not absolute. Although changing all of the many paths manually would be job security, I would like an easier fix. Thanks for any help.

    Hello again
    Likely your best bet at this point is to use a good Multi-File Find and Replace utility.
    While RoboHelp has one included, it often fails. So we typically recommend something like FAR (Find And Replace) or BKReplace.
    Click here to visit the FAR site
    Click here to visit the page for BKReplace
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • [Forum FAQ] How to find and replace text strings in the shapes in Excel using Windows PowerShell

    Windows PowerShell is a powerful command tool and we can use it for management and operations. In this article we introduce the detailed steps to use Windows PowerShell to find and replace test string in the
    shapes in Excel Object.
    Since the Excel.Application
    is available for representing the entire Microsoft Excel application, we can invoke the relevant Properties and Methods to help us to
    interact with Excel document.
    The figure below is an excel file:
    Figure 1.
    You can use the PowerShell script below to list the text in the shapes and replace the text string to “text”:
    $text = “text1”,”text2”,”text3”,”text3”
    $Excel 
    = New-Object -ComObject Excel.Application
    $Excel.visible = $true
    $Workbook 
    = $Excel.workbooks.open("d:\shape.xlsx")      
    #Open the excel file
    $Worksheet 
    = $Workbook.Worksheets.Item("shapes")       
    #Open the worksheet named "shapes"
    $shape = $Worksheet.Shapes      
    # Get all the shapes
    $i=0      
    # This number is used to replace the text in sequence as the variable “$text”
    Foreach ($sh in $shape){
    $sh.TextFrame.Characters().text  
    # Get the textbox in the shape
    $sh.TextFrame.Characters().text = 
    $text[$i++]       
    #Change the value of the textbox in the shape one by one
    $WorkBook.Save()              
    #Save workbook in excel
    $WorkBook.Close()             
    #Close workbook in excel
    [void]$excel.quit()           
    #Quit Excel
    Before invoking the methods and properties, we can use the cmdlet “Get-Member” to list the available methods.
    Besides, we can also find the documents about these methods and properties in MSDN:
    Workbook.Worksheets Property (Excel):
    http://msdn.microsoft.com/en-us/library/office/ff835542(v=office.15).aspx
    Worksheet.Shapes Property:
    http://msdn.microsoft.com/en-us/library/office/ff821817(v=office.15).aspx
    Shape.TextFrame Property:
    http://msdn.microsoft.com/en-us/library/office/ff839162(v=office.15).aspx
    TextFrame.Characters Method (Excel):
    http://msdn.microsoft.com/en-us/library/office/ff195027(v=office.15).aspx
    Characters.Text Property (Excel):
    http://msdn.microsoft.com/en-us/library/office/ff838596(v=office.15).aspx
    After running the script above, we can see the changes in the figure below:
    Figure 2.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thank you for the information, but does this thread really need to be stuck to the top of the forum?
    If there must be a sticky, I'd rather see a link to a page on the wiki that has links to all of these ForumFAQ posts.
    EDIT: I see this is no longer stuck to the top of the forum, thank you.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • How to find and replace a URL in content

    See this page:
    http://democraticpartyofgeorgia.org/events/index.cfm?Fuseaction=Week&sm=9&sd=9&sy=2007
    It's pushing the margins way out because some people are
    typing in long URLs in their event description (See the meeting on
    September 10). I'd like to be able to parse the event descrip and
    replace that long url with a hyperlink where the long url is in the
    href, but what is linked is something link "see link". Is there any
    way to do that? I can search for the instance of "
    http://" of course, but can't seem to figure out
    a way to tell where the link ends....

    Look at the ActivateURL udf at
    http://www.cflib.org/udf.cfm/activateurl
    It's really more of a question on wrapping a really long
    word. The URL isn't wrapping and that is what is pushing out your
    margin. You need the column to wrap so that your column is a little
    more liquid.
    Use the CF wrap() function.
    You can also go the CSS route, but the best solution I've
    found only works in IE.

  • How to find and replace text in Excel with Automator

    I am new to Automator. And I would like some help how I can create a service that will allow me to find and replace certain text in Excel. I noticed that there is an action to do this for Word documents, but not for Excel document.
    Any suggestions how I can do this?
    Thanks so much for your help.

    Easiest way to do it is the following:
    - Open the PDF file in Acrobat.
    - Go to Tools - Forms - More Form Options - Export Data.
    - Save the form data as an XML file somewhere on your system.
    - Open XML the file in a plain-text editor (I recommend Notepad++).
    - Let's say you want to replace all the years in the dates from "2013" to "2014". Do a global Search&Replace of "2013-" to "2014-" (I added the dash just to make sure that only date fields are edited).
    - Save the XML file (maybe under a new name).
    - Go back to the PDF file, and now go to Tools - Forms - More Form Options - Import Data.
    - Select the edited XML file and import it.
    - Done!

  • How to find and replace multiple cells at a time

    I am doing repetitive work re find text in numbers but then replace following cells with text. How can I find and replace multiple cells at a time?
    i.e. doing my own budget spreadsheet and coding all transactions with description and code

    Did you try the "Find/Replace" dialog box?:
    Then click the "Replace All" button in the bottom left.

  • How do i find or replace the missing disk image for my HD

    How do i find or replace the missing disk image? for my HD ........as it is missing when i try to back up with time machine, 
    i asked for assistance the other day with time machine
    now i have worked out this is the reason i can not back up with TM, due to no disk image in my portable hard drive
    I saw a post on youtube where it explains you can copy a your HD disk imag from your time machine back ups enabeling, time machine to back up
    But i can not find where the TM Back up driver is situated in my TM Back up's
    Some advice would be greatly appreceate   as i am rather new to Mackintosh 
    Thank you
    Aiden

    Hi again.
    Just re-reading your first post, I wonder if you're confusing a disk image backup with Time Machine?
    It's certainly possible to create a disc image of your Macintosh HD and copy it to an external drive.
    However, as a backup that method has a drawback; you can't boot from a disc image directly. It needs to be mounted on a bootable system before it can be used. So it's not really much use if the internal HD fails, at least as far as allowing you to carry on working while the repair is carried out.
    Much better (and simpler) is to clone the whole drive to the external using CarbonCopyCloner or SuperDuper (there are plenty of others, but those appear to be the most popular).
    That will give you a bootable backup which can be kept up to date by incremental backups using the same applications.
    In the event of total internal HD failure all you need to do is replace the drive then boot from the clone and reverse clone to the internal to get up and running again.
    Many of us use both a bootable clone and Time Machine (on seperate drives) as each has it's different uses.

Maybe you are looking for

  • How can I create a new work center

    I try to create a new work center.I found a transaction 'OP42' . But I can't set a personal number and name.where should I write them, or should I use any other transaction?? Thanks...

  • How to create a workflow for personnel data?

    Dear All,               I want to create a workflow for entering personnel data and submitting it to the immediate senior.I had created a workflow for leave approval.Can anyone tell me steps for creating the workflow for personnel data.              

  • SALES ORDER: Total of a Field from the Grid in a User-Defined Field in ORDR

    Hello! I created a User-Defined Field called "U_Soma" in table ORDR (Marketing Documents / Title). I need this U_Soma field Totalize the content of another User-Difined Field called "U_TotalPorUM" created in table RDR1 (Marketing Documents / Rows). I

  • Unable to update Firefox on Mac OS X 10.5.8 due to insufficient priveledges, but I'm not sure what that means?

    Hello, I went to upgrade my version of Firefox and was able to download the newer version, but when I went to install it, the system asked if I wanted to replace the old with the new (the only option given), and when I said 'yes' the system popped up

  • Php/mysql all caps

    I have a php mysql insert record application built in dreamweaver. Is there a way to force or convert all inputted text to all caps? I tried a style sheet text transform, but that doesn't make the actual entry into the database all caps. Thanks.