Why my "replace string" does not work

I tried to replace part of the string to create a new file path needed by the next file reading step. I want ile parameter files" be replaced by" tested pile data", but the path coming out is still the same
but it refuse to work for me, I don't know why?
Can anybody tell me what's wrong with it?
the subroutine is attached here, thanks
Attachments:
simulate_velocity2.vi ‏82 KB

Hi Fenny,
I couldnot open your subroutine as I have LabVIEW 6.1, but I also faced similar problem sometime back. I
am attaching my program for your reference, but not sure if this will be of much help.
Regards
Ateem
Attachments:
List_Files.vi ‏26 KB

Similar Messages

  • Has anyone been able to contact Adobe to learn why their Flash Player does not work on Mac OS 10.6.8, no matter how many updates you install?  This seems like a big error by Adobe.

    I have thee Mac computers with Mac OS 10.6.8, one of which is a Mac Pro.  No matter how many updates I install from Adobe, their Flash Player does not work on any of these 3 computers.  I don't know how to contact Adobe Systems about this problem, but I think it is their responsibility to make sure that their so-called "universal" software works proplerly on a relatively recent operating system like OS 10.6.8 that is still in widespread use.  When you install the updates, nothing happens -- not even an error message.  What is the point of a universal player that is not universal?  It works fine on my MacBook Pro with OS 9 Mavericks, but it does not work at all -- indeed, has never worked -- on my 3 Macs with OS 10.6.8.  Has anyone contacted Adobe Systems to find out why the Flash Player does not work with OS 10.6.8 and what they plan to do about it?

    Where are you getting Flash from?
    Get the appropriate dmg installer here and then run it.
    http://www.adobe.com/products/flashplayer/distribution3.html
    If it still won't install, do these two things: First uninstall any Flash by going into the second level Hard Drive Library>Internet Plug-ins, and trash the Flash Player.plugin and flashplayer.xpt. Then boot into Safe Boot, Shift at the startup chime (give it much longer than a usual boot) and run the installer while booted in Safe Boot.

  • Externalize metadata strings does not work

    Hi All,
    We have installed OBIEE 11.1.1.6 with OBIApps 7.9.6.3 and we are trying to apply the spanish localization .
    We follow the steps mentioned here:
    http://docs.oracle.com/cd/E20490_01/bia.7963/e19038/anyinstadmconfiglocalize.htm#i1039838
    but "Externalize metadata strings" is not working properly.
    We did the following:
    - run the import metadata command succesfully (W_LOCALIZED_STRING_G table has the correct data).
    - bounce the services
    - Configure and test the "Externalized Metadata Strings" connection pool
    but the translations does not appears.
    We noted that there is a difference between our RPD and the steps in the guide:
    The guide says:
    +"To externalize metadata strings in the Oracle Business Intelligence repository+
    +1.Stop the Oracle BI Server.+
    +2.Using the Oracle BI Administration Tool in offline mode, open OracleBIAnalyticsApps.rpd.+
    +3.Select the entire Presentation layer and right-click the mouse to display the menu.+
    +*From the pop-up menu, select Externalize Display Names. (A check mark appears next to this option the next time you right-click on the Presentation layer.)*+
    +Unselect the Presentation layer."+
    But in the pop-up menu you can not mark "Externalize Display Names" because you have a sub-menu there: "Generate Custom Names, Disable Externalization and Clear All Externalization Stings"
    Is there some step we are missing?
    Any help will be appreciated
    Thank!

    Problem resolved

  • Why Integer.valueOf(String) does not recognize plus sign

    The Integer.valueOf(String) works fine with strings like "-1", but does not work with "+1". The following code throws NumberFormatException:
    int i = Integer.valueOf( "+1" );
    Does anybody know what's the reason for this?
    Thanks,
    -- LK

    Welcome to the forum!
    >
    The Integer.valueOf(String) works fine with strings like "-1", but does not work with "+1". The following code throws NumberFormatException:
    int i = Integer.valueOf( "+1" );
    Does anybody know what's the reason for this?
    >
    The short answer is because it is defined that way.
    The place to start for questions like this is the Javadoc.
    You don't state what Java version you are using but for 1.6 the 'valueOf' method says this
    http://127.0.0.1:8082/resource/jar%3Afile%3A/C%3A/Software/Java/jdk1.6.0_02/jdk-6-doc.zip%21/docs/api/java/lang/Integer.html#valueOf(java.lang.String)
    >
    valueOf
    public static Integer valueOf(String s)
    throws NumberFormatExceptionReturns an Integer object holding the value of the specified String. The argument is interpreted as representing a signed decimal integer, exactly as if the argument were given to the parseInt(java.lang.String) method. The result is an Integer object that represents the integer value specified by the string.
    >
    As you can see the description further refers you to the 'parseInt' method where you will find the answer.
    >
    parseInt
    public static int parseInt(String s)
    throws NumberFormatExceptionParses the string argument as a signed decimal integer. The characters in the string must all be decimal digits, except that the first character may be an ASCII minus sign '-' ('\u002D') to indicate a negative value. The resulting integer value is returned, exactly as if the argument and the radix 10 were given as arguments to the parseInt(java.lang.String, int) method.
    >
    You may have to do a little digging but when you have a question like this you should read the relevant Javadoc sections, search the forum for similar questions, search on the net and then if you still can't figure it out post a thread.

  • HT204032 Why find my Mac does not work in powernap?

    FInd my Mac does not work in powernap mode even though I enabled it energy preferences to work while on battery power.
    ANy ideas?

    "I think Find My Mac is not one of the features claimed to work in Power Nap."
    Yes it is.
    Please see the link at top of this page.
    "Find My Mac. Locate a lost Mac notebook even when it’s sleeping."

  • Why the Apple products does not work with Adobe flash player?

    Could be better if the Apple products work with Adobe Flash Player, I know that Steve does not like to work with them, but I think will be necessary soon.

    From Adobe's own site:
    *** NOTE: FLASH PLAYER IS NO LONGER BEING UPDATED FOR NEW DEVICE CONFIGURATIONS. FLASH PLAYER WILL NOT BE SUPPORTED ON ANY ANDROID VERSION BEYOND ANDROID 4.0.x ***
    While Flash Player remains on Google Play for installation on Android devices that are certified by the manufacturer, installing Flash Player on an uncertified device may result in unexpected behavior and can potentially destabilize your device. A list of certified devices can be found at http://www.adobe.com/go/certifieddevices. Flash Player WILL NOT be supported on any device shipped with or upgraded to an Android version beyond Android 4.0.x
    Further comments on what is the case on Android devices is irrelevant. Adobe has dropped further development of Flash for mobile devices and Apple has made no indications that they have any plans to do so themselves, so it is highly unlikely that there will ever be a native Flash player for any iOS device.
    'nuff said on the matter. Regards.

  • Replacement path does not work for a specific query after migration 7.0

    Hello all,
    We have a problem with a replacement path variable in a query.
    After the migration, it seems this replacement path doesn't work.  This replacement path is defined inside a structure that is used in some other queries and for the other queries is working properly.
    Another think we have done is to make a copy of the query where the replacement path doesn't work and the copied query works ok.
    Did anybody find this kind of problem in a migration. Any help will be appreciated.
    Regards, Inma

    This is just for those who might have simmilar requirement &  would in case refer to this thread..
    Me too faced same problem of OLE DB for OLAP cant be released. I was using  replacement path query variable which was using result set from the other  query.
    I just had to uncheck 'Allow External Access' in release for OLE  DB for OLAP in query properties. This worked from me, my query using replacement path variable is giving desired results.
    Hope this might be useful for relevant users.
    Regards,
    Pritesh

  • Dynamic Interface in Query String does not work?

    Hi All,
    i have exposed a interface as a webservice with the help of the Define Web Service in Configuration Builder.
    In the SOAP Sender Communication Channel i have checked the options Use Encoded Headers and Use Query String
    The url of the webservice looks like this:
    http://server:50000/XISOAPAdapter/MessageServlet?channel=:BS:CC_SOAP_SENDER&version=3.0&Sender.Service=BS&Interface=http%3A%2F%2Fnamespace.com%2Fabc%2HER%2FGlobal%5EMIOS_GetDetails
    This works which is great, i can now retrieve supplier details with this webservice. Now i want to expose another interface as a webservice. That URL looks like this:
    http://server:50000/XISOAPAdapter/MessageServlet?channel=:BS:CC_SOAP_SENDER&version=3.0&Sender.Service=BS&Interface=http%3A%2F%2Fnamespace.com%2Fabc%2HER%2FGlobal%5EMIOS_EventBooking
    As you can see i have a different interface in the URL's of the Webservices. I want to have both make use of the same Communication Channel which is possible according to [SAP Note 856597|https://websmp130.sap-ag.de/sap(bD1ubCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=856597] See Q: Can I set the interface name dynamically from the client? also in this document : [How to Use the XI 3.0 Soap Adapter|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79]
    The problem is that when i try to call the second web service (EventBooking) that is routes to the mapping of the GetDetails interface, i can see this in SXMB_MONI. Therefore it gives an Error.
    When i try both scenarios in Configuration Builder they both work fine, only the webservice call of EventBooking ends up in the Message Mapping of GetDetail.... Why? And how to solve this?
    Anyone have experience with the feature mentioned in the SAP note?

    After some further examination it seems that both calls are picked up by the same interface. In the RWB both the messages are picked up by the MIOS_GetDetails...
    How can i fix this?

  • Anyone know why my flash website does not work on mac devices ?

    My site is this http://www.solecom-web.com

    Yes but the flash websites do not display correctly! All imac with safari have problems viewing flash;
    I have asked to others ; all problems with safari and imac!
    Flash only works with Atomic Web Browser on Imac

  • Why spark videodisplay control does not work when i run the application?

    Even in the mode design I can not see the video, thks.....

    @Jorge,
    Try using file:/// instead of file:/.
    This seems to work for me:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark"
            xmlns:mx="library://ns.adobe.com/flex/mx">
        <s:VideoDisplay x="159" y="96"
                source="file:///C:/Documents and Settings/pdehaan/My Documents/My Videos/walking.flv"
                loop="true"
                width="384" height="267"/>
    </s:Application>
    But I'd probably recommend copying the .FLV file into your Builder project or putting it online instead of trying to play it back from a hardcoded file:/// path.
    Peter

  • Why this WLST script does not work from ant a task

    Hi,
              The following is my lovely WLST script to disable managed server hostname verification in a cluster environment.
              It works perfect if I run it from the OS command line,
              java -cp $WL_HOME/server/lib/weblogic.jar sslSetting.py weblogic weblogic t3://localhost:7001
              But if I run it from ant task, it never works. Nothing happens, not even any messages. Any idea?
              ------ sslSetting.py -----------
              # Disable HostnameVerification on managed servers
              # This is a ONLINE script. The admin server must be running
              # @param $1 BEA_USER_NAME
              # @param $2 BEA_USER_PWD
              # @param $3 admin server URL
              if (len(sys.argv) != 4):
              print "usage: " + sys.argv[0] + " domain-home "
              sys.exit()
              beaUserName=sys.argv[1]
              beaUserPwd=sys.argv[2]
              adminServerUrl=sys.argv[3]
              def handleServer(server):
              SSLPath="/Servers/" + server.getName() + "/SSL/" + server.getName()
              print("handleServer(1): " + SSLPath)
              try:
              cd (SSLPath)
              print("handleServer(2): " + SSLPath)
              set("HostnameVerificationIgnored", "true")
              except Exception, inst:
              dumpStack()
              print ("FAILED handleServer(): " + SSLPath)
              else:
              print ("DONE handleServer(): " + SSLPath)
              #===============================================================================
              # Main
              #===============================================================================
              try:
              connect(beaUserName, beaUserPwd, adminServerUrl)
              edit()
              startEdit()
              adminServerName=cmo.getAdminServerName()
              for server in cmo.getServers():
              if adminServerName != server.getName():
              handleServer(server)
              save()
              activate()
              except Exception:
              dumpStack()
              else:
              print ("=== DONE ===")

    OK, when I run the WLST script from command java, I only need the weblogic.jar in the classpath. But I'll need a couple other jar file for it to work inside an ant target, as showing below.
              <target name="run-wlst">
              <java classname="weblogic.WLST" fork="true">
              <classpath>
              <pathelement path="${props.JAVA_HOME}/lib/tools.jar"/>
              <pathelement path="${props.WL_HOME}/server/lib/weblogic_sp.jar"/>
              <pathelement path="${props.WL_HOME}/server/lib/weblogic.jar"/>
              <pathelement path="${props.WL_HOME}/server/lib/webservices.jar"/>
              </classpath>
              <sysproperty key="weblogic.Home" value="${props.WL_HOME}" />
              <arg line="sslSetting.py weblogic weblogic t3://localhost:7001"/>
              </java>
              </target>

  • Import package does not work - beginner help

    Hi, I'm a beginner with java. I just trying to figure out how to use packages. I followed everything in the tutorial, but I can't figure out why my simple example does not work.
    I made the following directories three, for the sake of the example.
    in /home/username/Desktop I created a directory named it
    inside it I created prove
    inside prove I created test1 and test2
    Inside test1 I created the following sample class:
    package it.prove.test1;
    public class HelloWorld
         private String message;
         public HelloWorld(String message)
              this.message = message;
         public String getMessage()
              return this.message;
    }in the directory test2 I created this other one:
    package it.prove.test2;
    import it.prove.test1.HelloWorld;
    public class HelloWorldProgram
         public static void main(String[] args)
              HelloWorld hw = new HelloWorld("Guten Tag, Welt!");
              System.out.println(hw.getMessage());
    }So now I have this three:
    it
    it/prove
    it/prove/test1, it/prove/test2
    As I said in test1 there is HelloWorld.java and in test2 HelloWorldProgram.java.
    When I compile HelloWorld.java, it worked fine.
    When I try to compile HelloWorldProgram.java, the compiler says that cannot find package it.prove.test1..
    Why that? What did I make wrong?
    Sorry both for my bad english (it is not my first language) and for the really trivial question (I'm a really beginner).
    Tnx to whoever will help

    Assuming you are running on Windows here.
    Packages are directly tied to the classpath. Before java can find the it.prove.test1 package, it needs to be a part of the classpath. To make this possible, you need to add the root of the path, where the 'it' directory is in, to the classpath, like this:
    javac -cp .;/home/username/Desktop file.java
    the -cp switch tells java which classpath to use; it consists of two elements:
    . = current directory
    /home/username/Desktop = the directory containing the 'it' package root
    When run like this, it should work. The same goes for running the code, you would run it like this:
    java -cp .;/home/username/Desktop it.prove.test2.HelloWorldProgram
    Hope that gives you the hints you need.

  • Update on MS Access DB does not work

    Hi everybody!
    Any ideas, why this UPDATE Statement does not work?
    Statement s = con.createStatement();
                   //Update Statement
                   String updateString = "UPDATE Attends " +
                                                                          "SET Date = '12.05.2004' " +
                                                                          "WHERE LVA LIKE 'NET4'";
                   s.executeUpdate(updateString);
                   s.close();
    The Table Attends consists out of 3 columns, MatNr --> Type: Text, LVA --> Type: Text and Date--> Type: Date (also tested as Text, does not work either)
    The column Date is empty, updates on the column matNr and LVA work perfect, but why not on Date?
    I always get an Java.SQL.Error -> Syntax Error...
    Thx in Advance!
    Stef

    Having a column named Date is a terrible idea. It's a keyword in every database. Change that to something more meaningful for your problem. I'll assume you'll call it AttendanceDate.
    Use PreparedStatement - it'll escape that Date properly for you:
    String attendanceDateAsStr = "12.05.2004";
    DateFormat format = new SimpleDateFormat("MM.dd.yyyy");
    java.util.Date attendanceDate = format.parse(attendanceDateAsStr);
    String updateString = "UPDATE Attends SET Date = ? WHERE LVA LIKE ?";
    PreparedStatement s = con.prepareStatement(updateString);
    s.setDate(1, new java.sql.Date(attendanceDate.getTime()));
    s.setString(2, "NET");
    int numRowsUpdated = s.executeUpdate(updateString);
    s.close(); %

  • Current Version Of Flash Does Not Work For Last 8 Months Or Longer

    So i make flash arcades that resides in a game called Second Life the flash player it used to work great till the updates not long ago i now have to tell each person wanting to play my arcades that they have to do the following to get it to work.
    Here Is The Quote
    This is a fix for people that can not move with arrow keys in game or other keys not working on the arcade it comes down to Adobe no fixing there code in there new version. Every now and again they release a new version of Flash Player and they break the code this here is a way to fix it so you can play the arcades in sl with out problems i am sorry it is taking Adobe so long to fix this i have no control over what they do i do hope they fix this soon.
    Step 1. Download the uninstaller for Flash Player http://download.macromedia.com/get/flashplayer/current/support/uninstall_flash_player.exe
    The Flash Player uninstaller executes on both 64-bit and 32-bit version of the Windows operating systems.
    Save the file in a location where you can find it easily after you restart your computer. For example, save it on your Windows desktop.
    Step 2. Run the uninstaller
    Double-click the icon of the uninstaller that downloaded to your computer.
    Follow the prompts. If you see the message "Do you want to allow the following program to make changes to this computer?," click Yes.
    Delete Flash Player files and folders.
    (more in depth directions with pictures can be found here http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html#main_Download_t he_Adobe_Flash_Player_uninstaller )
    Step 3. Installing a working version of Adobe Flash Player Flash Player 15.0.0.152 (Win Firefox and Mac) (132 MB)
    Direct Link http://download.macromedia.com/pub/flashplayer/installers/archive/fp_15.0.0.152_archive.zi p
    Save the file in a location where you can find it easily example, save it on your Windows desktop.
    Step 4. Unzip the file to your desktop if you do not know how to unzip a file you can google it. Or you can download a free app called winzip or winrar are well known apps.
    After you have unzipped the file you should be left with a folder called "fp_15.0.0.152_archive" open the folder and find the folder named "15_0_r0_152" ignore the folder that says debug on it.
    When you are insde the "15_0_r0_152" folder double click the file flashplayer15_0r0_152_win.exe it will be the red box there will be 3 red box icons its the top one you want to install.
    After you complete this action you have the choices to let adobe automatically update your flash player we recommend you say no to this then click finish. Now restart your pc and log into SL and it should be working 100% again.
    Notes:
    15.0.0.152 is the latest working version of Adobe Flash Player that we know of atm if there is a new version out please let us know.
    You may update your flash player and see if it is working on the latest version we recommend you check each month at least one time to see if they have done updates to the software.
    If it breaks again you will need to follow these steps again until they fix there code. Some times they fix the code by the next update some times they take a month or more just depends on the people at adobe that are releasing these bad versions of Flash.
    Link to Flash Archive http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html
    So i am wondering can some one pass this to a tech person to fix the current code what ever was in 15_0_r0_152 and before worked great now it don't work at all this is not some noob talking this has been tested on over 80+ different computers if not more 80 or more people have contacted me alone on the issue as i know it is one and to be honest i am getting sick of waiting on adobe to fix there code so please send this to the right department to see if they can fix there code and not let it fall on deaf ears. Or give me the exact reason why the new code does not work but the old code does work and i will see if i can fix it but i would rather it be fixed by Adobe as there are many people that want it fixed thank you.
    Sincerely,
    Deviant Taurus
    PS. This happened about 3 years ago and was fixed with the next update i do not recall the version number but you guys have been releasing many new versions and it is still broken please help me and many others put this problem to rest,

    I just now posted it Adobe Flash Player 17.0  -  Bug 3973913
    Adobe Flash Player 17.0  -  Bug 3973913
    Adobe Flash Player 17.0  -  Bug 3973913
    Adobe Flash Player 17.0  -  Bug 3973913

  • Subvi does not work properly when called inside a vi

    Hello Every body
    thanks for your help. i am using a sub vi for sine signal generation. as a vi it works fine. but when i called this subvi inside another VI it gives some problems. for example timer indicator works properly.it reinitializes as well in the sub vi, but in the main VI it does not work properly. means does not count the time.in the sub vi on the fly i can change the values of frequency and amplitude in real time, but when i use as sub vi, it does not reponse as i change the values in the control arrays.similarly pause and continue works properly in the sub vi, but once again in the main VI, it does not work properly.graph indicator also work properly in the sub vi. but here once again it does not work properly in the main VI.the pause resume indicator also does not blink, when it is continue. in the subvi it blinks very well.generally why the sub vi does not work properly inside the VI?i am sending my VI and sub vis.
    any tips would be highly appreciated.
    thanks
    Regards
    Attachments:
    vi.zip ‏87 KB

    I just want to add some more details to Dan's answer. The subVI is acting exactly like you've coded it. The mistake is in understanding how subVIs work. When you call a subVI (or a function in any other language), you pass some parameters to it, the subVI does it's thing and returns values. the subVI does not accept new parameters from the calling VI until it returns to the caller and the caller runs the subVI again. In your case, you have a subVI with a while loop. You have some front panel control wired to the subVI's stop terminal. When first called, the value is false. So the subVI will keep running until the subVI's stop button becomes true but you cannot change it from main until the subVI finishes and returns so the subVI will never stop. As Dan says, the solution is pass references of front panel controls to the subVI and have the subVI monitor those references for changes and to update references to indicators on Main. You subVI does not need any front panel controls or indicators of it's own.

Maybe you are looking for