Stopping the VI when running a infinite simulation loop

Hi,
This is my first time on this forum and for that matter, I started with Labview a few months back. I am developing a standalone application for servo motor control through USB 6211. The motor control was completed and I created a DLL which I could run through VC++. My application requires me to call this DLL or an EXE based on this VI repeatedly with direction, velocity and angle parameters and the remainder of the program depends on the finishing of this executable.
The issue was that the VI did not stop execution after the motor was turned off, I suppose due to the simulation loop. I tried using the abort execution block but was advised to avoid doing so. My next step was to move all the DAQ assistant blocks into a while loop and couple the motor ON/OFF control with the stop button. But this hasn't helped either. I am attaching the VI and the SubVI here. I went through the board but did not come across a query involving a simulation loop. Any suggestions?
Attachments:
rotate.vi ‏551 KB
Velocity_Con.vi ‏430 KB

Hi Vivek!
Thank you for contacting National Instruments.  From the information you have provided here, along with the attached VIs, I would agree that it is the simulation loop that is causing the problems when stopping the VI.  It looks like you are using the LabVIEW Simulation Module. 
When using these loops there are two primary ways of stopping their execution.  The total simulation time can be controlled from the input node, the box at the upper left of the loop, or the Halt Simulation VI can be used from within the Utilities palette.  I would suggest taking a look at the detailed help for the simulation loop in order to better understand the methods of stopping this execution.  As you mentioned it is always good programming practice to avoid using the abort button because this can result in open references being left without any programmatic resolution.
I hope this helps!  Let me know if there is anything else I can help with or clarify.  Have a great day!
Jason W.
National Instruments
Applications Engineer

Similar Messages

  • Premiere Elements 12.1 Constantly Connecting To The Internet When Running

    Hi there!
    I have an issue with Premiere Elements 12.1 constantly connecting to the Internet when running... it looks like it is either trying to connect to something or downloading something.
    Premiere runs OK, but it is very slow: this is due to it trying to connect. (We've proved this by running the program without the Internet disabled... it sits at about 13,000K in memory... and works fine).
    Anybody got any idea why it is connecting to the Internet in the first place and how we can stop it doing it.
    We believe this issue started when we updated to v 12.1... but can't be sure!
    We have tried uninstalling and re-installing it... same problem. We're virus checked till all night... nothing found (no root kits, nothing etc.)
    We're running Win XP Service Pack 3, 32 bit... I know 'Windows XP is old etc. etc. etc.'. Yet it still works great and is nice and fast for us here.
    Any advice/suggestions greatly received!
    Thanks in advance,
    GRBaker

    Hi Steve,
    Thanks a bunch for the post... we're certainly experiencing no other issues besides the 'downloading' issue on Premiere... various virus/spyware etc. scans have revealed nothing. There's nothing odd in the Startup or process list...
    PC operates entirely as normal... no unusual performance lags/Internet disconnections etc. No issues with other software, so far, after installing Elements.
    So we're currently leaving the program on to 'download' (or whatever it is doing), so it could be that it will eventually stop constantly accessing the Internet.
    We are already in contact with Adobe and they are keeping pretty tight-lipped about what it might be doing... saying (so far) only that Photoshop Elements/Premiere 12 does connect to CloudFront to 'download fonts'... (they were also basically indicating they thought it was our PC/a faulty install until we mentioned we knew it was CloudFront it was trying to connect to...)
    ...if the applications need to download stuff, then all Adobe has to say is 'it's perfectly normal, just wait for it to complete' then we would not be worried! All it needs is a simple notice to say that 'some additional downloads are required': give us a progress bar or something... no problem!
    I can't think why else it would be connecting to the Internet???? (Well, a couple do come to mind..!)
    We did pay for the download version of the software (we don't have physical installation DVDs) from one of Adobe's Registered resellers, so maybe that has something to do with it.
    I suspect you are 100% correct and that it isn't in fact a bug, bit simply some additional data/content that needs to download etc. If this is the case, then maybe it is related to our broadband speed (which can variable as we live in a rural location).
    As you say, if it was a bug everybody would have it! There is that thread I mentioned above, but that's for a previous version of elements I think... to me, as the user experiencing the issue, it definitely looks like a bug as it's rendering the software unstable!
    Most likely it's just our bad luck and there's something specific to my installation that's tripping the software and causing the issue. I suppose it depends how you define 'bug'... if it's a normal operation of the software that just happens to disagreeing with my system... than Adobe would say 'that's not a bug'... but I would say 'it's a bug as it causes this problem'. It simply a question of perspective!
    Anyway, it's mystifying to me: the software runs GREAT, when it's not trying to access the Internet. It's weird. You certainly can't complain, for price, it really is excellent software!
    Cheers,
    GRB

  • Stop the test when out of records

    Hi,
    Is it possible to stop the whole test-run when a script runs out of db-records?
    Otherwise, it would be a good feature in future versions.
    Regards,
    Axel

    If you use that "When out of records: stop the user" setting, then every user who requests a new record will stop, so the test will end gracefully as each user realizes it needs to stop at the end of it's iteration. This assumes you are requesting a new db record at the start of each iteration of the run section.
    If your script is not configured to request a new record at the start of each iteration, then you will need to add some extra DB check in the script. How is your script configured to request new DB records? If you need some type of force abort of all virtual users, there are other possible options for coding into your script. Though to directly answer your question, there is no OATS Controller setting which specifically stops the entire test when the databank runs out of records.

  • "Errors occurred during the extraction" when run RSA3 of EBP datasource 0DO

    "Errors occurred during the extraction" when run RSA3 of EBP datasource 0DOC_NUMBER_ATTR.
    What would be the reason and how to resolve this problem?
    Thanks

    Hi Kevin,
    Generally the installed DS also comes under RSA5 nodes, not only in RSA6.
    Have you activated it earlier before extraction?
    If DS is already active, please try to follow all the steps once more, and check, and let us know if still the same error comes.
    Cheers!!!!!!!!!!!

  • Can't stop the music when I leave the page.

    Hi all;
    I keep posting in the wrong area.  Sorry.  I did this post in AC2 and the answers didn't look right.  So, here I am again.
    I'm  building a  website in flash using my limited understanding of action  script.   Everything was progressing very well until I found that if I  go to one  of my example pages of my web site and play the flash video  (with audio)  and click back to my "home" button, the audio will  continue to play.   If I go back to the example page, the video is off  and when I start the  video, it plays again with the other audio.  I  hear the audio twice! I  know there is an action script to handle this  but, I can't figure it  out.
    My question is, How do I stop the audio when I click away from the example page back to the home page or any other page?
    Thanks in advance for your help.
    I'm using Flash CS4 and a Mac OS operating system.
    Did I mention that I'm not very good with action scrupt but, I'm so close to finishing this web site.

    assign your component an instance name (if it doesn't already have one), eg flv and in the frame that contains that component add:
    flv.addEventListener(Event.REMOVED_FROM_STAGE,removedF);
    function removedF(e:Event):void{
    flv.stop();

  • Is there a way to increase the font size in the sidebar of Mac mail and the Finder when running OS 10.6.8?

    Is there a way to increase the font size in the sidebar of Mac mail and the Finder when running OS 10.6.8?

    The only way to increase the size of the onscreen text in the Finder Menu Bar and in the Side bar in Finder Windows is to change the screen resolution in the OS X Preferences Pane under the Displays icon.
    What Mac and screen size are you using?

  • HT4064 how to do you stop the issue when you have to click several times on your ipad to get into anything?

    how to do you stop the issue when you have to click several times on your ipad to get into anything?

    I think you have enabled VoiceOver; turn off VoiceOver
    1. Press the Home button
    2. Tap Settings.
    3. Then double-tap Settings.
    4. Tap General.
    5. Then double-tap General.
    6. Use three fingers on the screen to scroll to Accessibility
    7. Tap Accessibility.
    8. Then double-tap Accessibility
    9. Tap VoiceOver
    10. Then double-tap VoiceOver.
    11. Tap "On" next to VoiceOver
    12. Then double-tap "On" to turn it off.

  • How to stop the Add-on running the process

    Hi All
             I have created an Add-on using C# and it starts and stops correctly. when it is stopped the add-on menu disappear from the main menu, but when I open the Task  Manager and check the processes running the add-on process also appears as running. I want to stop this process running when the add on is stopped.
    regards
    Padma

    Hi Padma,
    all i use in my c# code is
        private void SBO_Application_AppEvent( SAPbouiCOM.BoAppEventTypes EventType ) {
            switch ( EventType ) {
                case SAPbouiCOM.BoAppEventTypes.aet_ShutDown:
                    System.Windows.Forms.Application.Exit();
                    break;
                case SAPbouiCOM.BoAppEventTypes.aet_CompanyChanged:
                    break;
                case SAPbouiCOM.BoAppEventTypes.aet_LanguageChanged:
                    break;
    and it works...
    there's no other place where i Exit my Application, thats why i guess that this should help you
    lg David

  • How to you stop the health app running in the background?

    How to you stop the new Health App from running in the background? Its its always running collecting data on how many steps I have taken and how far I have walked.. I walked 12000 steps and travelled 4.1km DRIVING my kids to school this morning according to the app.

    I never intend to use the health app because I do not need an app on my phone to help me live a healthy lifestyle.  Therefore I find it intrusive there is no way to stop it from tracking my steps or whatever else it may be doing.  I found a way to force the app to crash and maybe this will stop it from running in the background.  Open the app, tap "Health Data" at the bottom of the screen, tap "Fitness" then "Steps" and tap "Add Data" type in a huge number - a very huge number with 30 or more characters, you can even add more than 1 decimal point.  Repeat this for "walking + Running Distance".  From this point forward the app will crash when you try to look at the data.  Maye this prevents it from recording new data, I'm not sure but I really like the fact the app crashes.  Hopefully Apple will add a feature to allow us to turn off data collection altogether or even better, allow us to delete this app.

  • Why does SHDB stop the recording when "Save" is done in VA01 ?

    Hi,
    Here is my problem:
    - When I run VA01 manually and save my sales order, the transaction does not exit: I can see the sales order number in the status bar and continue to work in the same screen.
    - When I do the same with transaction SHDB (transaction recorder), VA01 exits just after Save and the recording stops.
    I tried to play with the different options of SHDB but nothing worked so far.
    Does anyone have an explanation, or better, a solution ?
    Thanks in advance !

    Normally, you run your recording in a loop, so you want to exit the transaction when an order is saved so that you can go on with the next one.
    Rob

  • Using SSRS local mode, receive invalid token error when trying to export the report when running in worker thread

    We're using ASP.net with .Net 4, developing with Visual Studio 2012.  We use SSRS 2012sp1 with local reports, so exporting the report ourselves instead of using a reportviewer control (and not using the SQL Reporting service).  The reports are
    executing fine when we export the report in the main thread, but if we spawn a worker thread and run a report there we receive the following error when calling Render():
    Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Failed to load expression host assembly. Details: Invalid token for impersonation - it cannot be duplicated.
    We only receive this when running a report that uses expressions on a separate thread.  I've tried running the application pool under all the default built-in accounts (NetworkService, etc), and under admin user accounts to no avail.
    This didn't occur with the previous version of our application which used .net 3.5.

    As mentioned, we are not using the Reportviewer control, we are rendering locally.  Not certain if that would make a difference.
    Also, I had tried using all the built-in accounts.  Just for kicks I changed it to LocalSystem again, then reset IIS (see image below).  I then tried to export the report in a worker thread and received the same error.
    Here is the text from the exception:
    Microsoft.Reporting.WebForms.LocalProcessingException: An error occurred during local report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Failed to load expression host assembly. Details: Invalid token for impersonation - it cannot be duplicated.
    at Microsoft.ReportingServices.RdlExpressions.ReportRuntime.ProcessLoadingExprHostException(ObjectType assemblyHolderObjectType, Exception e, ProcessingErrorCode errorCode)
    at Microsoft.ReportingServices.RdlExpressions.ReportRuntime.LoadCompiledCode(IExpressionHostAssemblyHolder expressionHostAssemblyHolder, Boolean includeParameters, Boolean parametersOnly, ObjectModelImpl reportObjectModel, ReportRuntimeSetup runtimeSetup)
    at Microsoft.ReportingServices.OnDemandProcessing.Merge.Init(Boolean includeParameters, Boolean parametersOnly)
    at Microsoft.ReportingServices.OnDemandProcessing.Merge.Init(ParameterInfoCollection parameters)
    at Microsoft.ReportingServices.ReportProcessing.Execution.ProcessReportOdp.CreateReportInstance(OnDemandProcessingContext odpContext, OnDemandMetadata odpMetadata, ReportSnapshot reportSnapshot, Merge& odpMerge)
    at Microsoft.ReportingServices.ReportProcessing.Execution.ProcessReportOdp.Execute(OnDemandProcessingContext& odpContext)
    at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReportOdpInitial.ProcessReport(ProcessingErrorContext errorContext, ExecutionLogContext executionLogContext, UserProfileState& userProfileState)
    at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.Execute(IRenderingExtension newRenderer)
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory yukonCompiledDefinition)
    at Microsoft.Reporting.LocalService.CreateSnapshotAndRender(ReportProcessing repProc, IRenderingExtension renderer, ProcessingContext pc, RenderingContext rc, SubreportCallbackHandler subreportHandler, ParameterInfoCollection parameters, DatasourceCredentialsCollection credentials)
    at Microsoft.Reporting.LocalService.Render(String format, String deviceInfo, String paginationMode, Boolean allowInternalRenderers, IEnumerable dataSources, CreateAndRegisterStream createStreamCallback)
    at Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, PageCountMode pageCountMode, CreateAndRegisterStream createStreamCallback, Warning[]& warnings)
    --- End of inner exception stack trace ---
    at Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, PageCountMode pageCountMode, CreateAndRegisterStream createStreamCallback, Warning[]& warnings)
    at Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, PageCountMode pageCountMode, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings)
    at Microsoft.Reporting.WebForms.LocalReport.Render(String format, String deviceInfo, PageCountMode pageCountMode, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings)
    at Microsoft.Reporting.WebForms.Report.Render(String format, String deviceInfo, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings)
    at IxSS.Infolinx.Report.MicrosoftInfolinxReport.ExportReport(String strFileFullyQualifiedPath, String strExportType, String strFilterDesc, Dictionary`2 extraParams, String area)
    at IxSS.Infolinx.Report.MicrosoftInfolinxReport.ExportReport(String strFileFullyQualifiedPath, String strExportType, String strFilterDesc, Dictionary`2 extraParams)

  • Error in the Informatica when running the DAC load( Prebuilt Analytics)

    Hi All,
    Please help me with the below issue with the informatica i am getting when running the DAC load:
    Below are the details:
    SELECT F0006.MCMCU,F0006.MCSTYL,F0006.MCCO,F0006.MCAN8,F0006.MCDL01,F0006.MCRP06,F0006.MCUPMJ,F0006.MCUPMT,F0006.MCUSER,F0101.ABAN8,F0101.ABLNGP, F0101.ABEFTB,F0101.ABUPMJ,F0101.ABUPMT,F0116.ALAN8,F0116.ALEFTB,F0116.ALADD1,F0116.ALADD2,F0116.ALADD3,F0116.ALADD4,
    F0116.ALADDZ,F0116.ALCTY1,F0116.ALCOUN,F0116.ALADDS,F0116.ALCTR,F0116.ALUPMJ,F0116.ALUPMT,
    CAST(F0006.MCRP08 AS CHAR(10)) AS FLEX_ATTRIB_1_CHAR ,
    CAST(F0006.MCRP10 AS CHAR(10)) AS FLEX_ATTRIB_2_CHAR,
    CAST(F0006.MCRP19 AS CHAR(10)) AS FLEX_ATTRIB_3_CHAR,
    CAST(F0006.MCRP08 AS CHAR(10)) AS FLEX_ATTRIB_4_CHAR,
    CAST(F0006.MCRP13 AS CHAR(10)) AS FLEX_ATTRIB_5_CHAR,
    CAST(F0006.MCRP14 AS CHAR(10)) AS FLEX_ATTRIB_6_CHAR,
    CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_7_CHAR,
    CAST(F0006.MCRP01 AS CHAR(10)) AS FLEX_ATTRIB_8_CHAR,
    CAST(F0006.MCRP15 AS CHAR(10)) AS FLEX_ATTRIB_9_CHAR,
    CAST(F06.MCRP16 AS CHAR(10)) AS FLEX_ATTRIB_10_CHAR,---------------------------Table name should be F0006
    CAST(F0006.MCRP12 AS CHAR(10)) AS FLEX_ATTRIB_11_CHAR,
    CAST(F0006.MCRP27 AS CHAR(10)) AS FLEX_ATTRIB_12_CHAR,
    CAST(F0006.MCRP21 AS CHAR(10)) AS FLEX_ATTRIB_13_CHAR,
    CAST(F0006.MCRP03 AS CHAR(10)) AS FLEX_ATTRIB_14_CHAR,
    CAST(F0006.MCRP13 AS CHAR(10)) AS FLEX_ATTRIB_15_CHAR,
    CAST(F0006.MCRP23 AS CHAR(10)) AS FLEX_ATTRIB_16_CHAR,
    CAST(F0006.MCRP21 AS CHAR(10)) AS FLEX_ATTRIB_17_CHAR,
    CAST(F0006.MCRP24 AS CHAR(10)) AS FLEX_ATTRIB_18_CHAR,
    CAST(F0006.MCRP19 AS CHAR(10)) AS FLEX_ATTRIB_19_CHAR,
    CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_20_CHAR,
    CAST(F0006.MCRP12 AS CHAR(10)) AS STATE_REGION,
    CAST(F0006.MCRP04 AS CHAR(10)) AS COUNTRY_REGION,
    '0' AS X_CUSTOM
    FROM F0006
    LEFT OUTER JOIN F0101 ON
    F0101.ABAN8 = F0006.MCAN8
    LEFT OUTER JOIN F0116 ON
    F0116.ALAN8 = F0006.MCAN8 AND
    F0116.ALEFTB=F0101.ABEFTB
    As mentioned in the SQL the table name should be F0006 instead F06, I have checked the Source Qualifier transformation and below is the SQL issued
    SELECT F0006.MCMCU,F0006.MCSTYL,F0006.MCCO,F0006.MCAN8,F0006.MCDL01,F0006.MCRP06,F0006.MCUPMJ,F0006.MCUPMT,F0006.MCUSER,F0101.ABAN8,F0101.ABLNGP, F0101.ABEFTB,F0101.ABUPMJ,F0101.ABUPMT,F0116.ALAN8,F0116.ALEFTB,F0116.ALADD1,F0116.ALADD2,F0116.ALADD3,F0116.ALADD4,
    F0116.ALADDZ,F0116.ALCTY1,F0116.ALCOUN,F0116.ALADDS,F0116.ALCTR,F0116.ALUPMJ,F0116.ALUPMT,
    CAST($$FLEX_ATTRIB_1_CHAR AS CHAR(10)) AS FLEX_ATTRIB_1_CHAR ,
    CAST($$FLEX_ATTRIB_2_CHAR AS CHAR(10)) AS FLEX_ATTRIB_2_CHAR,
    CAST($$FLEX_ATTRIB_3_CHAR AS CHAR(10)) AS FLEX_ATTRIB_3_CHAR,
    CAST($$FLEX_ATTRIB_4_CHAR AS CHAR(10)) AS FLEX_ATTRIB_4_CHAR,
    CAST($$FLEX_ATTRIB_5_CHAR AS CHAR(10)) AS FLEX_ATTRIB_5_CHAR,
    CAST($$FLEX_ATTRIB_6_CHAR AS CHAR(10)) AS FLEX_ATTRIB_6_CHAR,
    CAST($$FLEX_ATTRIB_7_CHAR AS CHAR(10)) AS FLEX_ATTRIB_7_CHAR,
    CAST($$FLEX_ATTRIB_8_CHAR AS CHAR(10)) AS FLEX_ATTRIB_8_CHAR,
    CAST($$FLEX_ATTRIB_9_CHAR AS CHAR(10)) AS FLEX_ATTRIB_9_CHAR,
    CAST($$FLEX_ATTRIB_10_CHAR AS CHAR(10)) AS FLEX_ATTRIB_10_CHAR,
    CAST($$FLEX_ATTRIB_11_CHAR AS CHAR(10)) AS FLEX_ATTRIB_11_CHAR,
    CAST($$FLEX_ATTRIB_12_CHAR AS CHAR(10)) AS FLEX_ATTRIB_12_CHAR,
    CAST($$FLEX_ATTRIB_13_CHAR AS CHAR(10)) AS FLEX_ATTRIB_13_CHAR,
    CAST($$FLEX_ATTRIB_14_CHAR AS CHAR(10)) AS FLEX_ATTRIB_14_CHAR,
    CAST($$FLEX_ATTRIB_15_CHAR AS CHAR(10)) AS FLEX_ATTRIB_15_CHAR,
    CAST($$FLEX_ATTRIB_16_CHAR AS CHAR(10)) AS FLEX_ATTRIB_16_CHAR,
    CAST($$FLEX_ATTRIB_17_CHAR AS CHAR(10)) AS FLEX_ATTRIB_17_CHAR,
    CAST($$FLEX_ATTRIB_18_CHAR AS CHAR(10)) AS FLEX_ATTRIB_18_CHAR,
    CAST($$FLEX_ATTRIB_19_CHAR AS CHAR(10)) AS FLEX_ATTRIB_19_CHAR,
    CAST($$FLEX_ATTRIB_20_CHAR AS CHAR(10)) AS FLEX_ATTRIB_20_CHAR,
    CAST($$STATE_REGION AS CHAR(10)) AS STATE_REGION,
    CAST($$COUNTRY_REGION AS CHAR(10)) AS COUNTRY_REGION,
    '0' AS X_CUSTOM
    FROM F0006
    LEFT OUTER JOIN F0101 ON
    F0101.ABAN8 = F0006.MCAN8
    LEFT OUTER JOIN F0116 ON
    F0116.ALAN8 = F0006.MCAN8 AND
    F0116.ALEFTB=F0101.ABEFTB
    The error code and error message in the workflow monitor says:
    Message Code: VAR_27028
    Message: Use override value [F06.MCRP16] for mapping parameter:[mplt_BC_SDE_JDE_InternalOrganization_BusinessUnits.$$FLEX_ATTRIB_10_CHAR].
    Some how it is overridng all the values so please let me know what i can do.
    Thanks in Advance

    Oracle Support

  • How do I fix an Alert which keeps coming up frequently. I have tried to stop the script from running as well as continuing to see if the script will complete.

    A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsMicrosummaryService.js:759 ed

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Hide menu bar and tool bar of the browser when running forms 10g

    hi all
    i want to hide browser's tool bar,menu bar when i run the form
    thanks

    maddyd2k wrote:
    Hi
    your utility is very helpful
    one thing i want ask.... i am using oracle developer suite in that where i can find web server and where i can place the FormStart folder
    Help me in this
    Thanks
    Edited by: maddyd2k on Mar 31, 2011 3:46 AMHi
    first, yes this utility is very useful but it is not mine ;) all credits goes to Peter de Vaal the author !
    for your requirements, take a look at Peter's documentation on how to set up the utility for developer suite (the webserver is the oc4j standalone)
    you must define a virtual path to your FormStart folder and html files :
    Step 2. Define a virtual path
    The FormsStart directory must be made accesible through the http protocol. The way to do this is to define a virtual path for your web server.
    For Oracle Developer Suite the webserver is the stand-alone oc4j. You define a virtual path in file orion-web.xml. This file can be found in:
    <DS_home>\j2ee\DevSuite\application-deployments\default\defaultWebApp
    Add the following line before the </orion-web-app> tag:
         <virtual-directory
                virtual-path="/forms/fs"
                real-path="C:\oracle/FormsStart/html" />
    For Oracle Application Server the webserver is Apache. You can specify virtual paths in httpd.conf or in one of its include files (oracle_apache.conf, forms.conf). We suggest to specify it in forms.conf (in <AS_home>\forms\server, For 9i and 9.0.4 it is: forms90\server\forms90.conf).
    Use Enterprise Manager Website to edit this file (Click on HTTP Server, then on Advanced server Properties, then on forms.conf or forms90.conf).
    Add the following line, below the list of other AliasMatch tags:
    Windows:
    # Virtual path for FormsStart Utility
    AliasMatch ^/forms/fs/(..*) "C:\oracle\FormsStart/html/$1"
    Unix:
    # Virtual path for FormsStart Utility
    AliasMatch ^/forms/fs/(..*) "/app/oracle/FormsStart/html/$1"JeanYves

  • Keep Receiving: Error is: 'Insufficient access rights to perform the operation' When running script

    Hello. I have a powershell script I run in our domain to disable AD accounts. Part of that also removes the users from all AD groups. That part of my script however keeps throwing up this Error is: 'Insufficient access rights to perform the operation'
    error. 
    Now from our Exchange server if I run this script with powershell, things work fine. But running it on the domain controller is when I get this error. Thoughts? 

    Thanks Anna!
    I was able to add this code below in to the script where it kept erroring out and it then worked. I had to point it to a different DC then it was running on. 
    –Server comp1.test.server.com
    Thanks again!

Maybe you are looking for