Building and manipulating Arrays within MathScript

Hi LabVIEW forum,
Does anyone have any advice, examples or other useful information about how to build and manipulate (i.e. find elements in arrays) from within a MathScript node ?
Regards,

Is this related to your other post? If so, you should keep the discussion to the same thread so people have some context to the question.
If you're asking a general question... have you looked at the documentation?

Similar Messages

  • Build array within scriptblock and use outside the block

    Hi,
    I am using scriptblock to run several commands in parallel. The code working fine. BUT I am trying to build an array of object within the scriptblock. My aim is to have all execution results in one array and after exiting the script block to print the results
    from all run. I notice that what i build within script block getting destroyed and in the end the $result variable is null. Is there any way that I can build and accumulate the results in a variable and use that outside scriptblock?
    code:
    $result= @()
    ForEach ($Command in $Commands)
        While (@(Get-Job -state running).count -ge $MaxThreads){      
        Start-Sleep -Milliseconds $SleepTimer
        Start-Job -scriptblock {
    $n = $Command
    $result += New-Object Psobject -property @{DATE = (Get-Date -format "MMddyy"); RESULT = $n}
        } -ArgumentList $Command -Name "$($Command)job" | Out-Null
    While (@(Get-Job -State Running).count -gt 0)
        Start-Sleep -Milliseconds $SleepTimer
    ForEach($Job in Get-Job)
        Receive-Job -Job $Job
        Remove-job -Force $Job
    $result

    Yep, but my real problem is that every now and again I just can't help myself and end up feeding the troll.
    I've had plenty of fun recently watching it twist in the wind and blather on about absolutely nothing of any substance. I'm assuming we'll get another missive across these threads later (dance puppet, DANCE)...
    The real shame though is when it ends up attacking the poor random OPs for asking a question. We're used to dealing with it so I can laugh at the situation, but it does bother me that the people who are just out looking for help end up getting lambasted
    by some complete jerk.
    I'm going to keep on ignoring it, hopefully if we all just stop playing along it'll get tired and go be useless somewhere else.
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)
    Offensive as he (?) can often be, it is difficult to take his attacks personally, because he obviously has no clue what (or who) he is talking about.
    What bothers me more about this phenomenon is:
    the disrespect shown to people just looking for help;
    the impact on the effectiveness of the forum with all the time and space wasted for no purpose;
    the troll himself, who seems to either be suffering some kind of emotional or personality disorder, or is playing some kind of game without concern for its effect.
    He doesn't get much positive feedback here, so perhaps he just feels that being able to write the way he does in a public forum, and get some response, is enough to prove his worth to his ego. Unfortunately, we will probably never find out more about him
    than is evident from his posts.
    Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.
    Seems to be a "tagger" mentality.  Marking territory with acts of vandalism.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Building and Deploying Within a Directory ?

    Hi Guys,
    Iv just been going through the "Oracle9iAS Containers for J2EE Users Guide, Release 2 (9.0.2)" pdf and have juts gone through the Building and Deploying within a directory.
    This is something, as a developer I would love or even demand to be able to do as createing war , jar and ear files each time I make a change is a total time nightmare...
    Unfortunately I was'nt able to get the above working with a very simple app.
    Before trying the app I made sure I could deploy it normally as a an ear file which worked.
    Below follows a description of the dir structure plus info added to relavent .xml files ( gods theres so many )..
    j2ee/home/applications/BalanceManager
    WebModule/
    WEB-INF/
    lib/
    classes/
    web.xml
    AccountHolders.jsp
    META-INF
    EJBModule/
    META-INF/
    application.xml
    application.xml ( not the one in config dir but the one in the above dir struct, ear application.xml) :-
    <application>
    <display-name>BM</display-name>
    <module>
    <ejb>EJBModule</ejb>
    </module>
    <module>
    <web>
    <web-uri>WebModule</web-uri>
    <context-root>BM</context-root>
    </web>
    </module>
    </application>
    server.xml ( in j2ee/home/config )
    <application name="BM" path="../applications/BalanceManager" auto-start="true" />
    http-web-site.xml:-
    <web-app application="BM" name="BalanceManager/WebModule" root="/BM" />
    The above files have been edited as of the document above, which can also be found at http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95880.pdf.
    When I start up OC4J the application gets deployed ( dos prompt ):-
    C:\devenv\oc4j\j2ee\home>java -jar oc4j.jar
    Auto-deploying BM (New server version detected)...
    Copying default deployment descriptor from archive at C:
    pplications\BalanceManager\BaEJBModule/META-INF/orion-ej
    directory C:\devenv\oc4j\j2ee\home\application-deploymen
    Auto-deploying BaEJBModule (No previous deployment found
    Auto-deploying file:/C:/devenv/oc4j/j2ee/home/applicatio
    odule/ (New server version detected)...
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    and also a BM dir is created in the application-deployements dir.
    So everything looks great, but when I navigate to -
    http://localhost:8686/BM/AccountHolders.jsp
    I get http 500 error page cannot be displayed.
    So it looks like the context root BM did'nt get added to the servers web context,
    but why??
    Obviously AccountHolders.jsp is the jsp in the WebModule dir.
    Iv been tweaking this and that and obviously tweaking never seems to work so if any ones got any ideas or suggestions on how to setup and deploy within dirs instead of ears please reply to me asap.
    Look forward to your answers,
    Stephen.

    Stephen,
    The entry in the http-web-site.xml should be:
    <web-app application="BM" name="WebModule" root="/BM" />
    This should be the name of the web-module in the application (EAR).
    regards
    Debu Panda
    oracle

  • Copy and paste array between instances?

    I have A.vi and B.vi. The last time I used these was in 8.6. I now have to use them on a machine with 8.2, but A.vi does not work in 8.2 without a bunch of tweaking, so I made it A.exe.
    A.exe builds and recalls files that contain arrays of DaqMx channels. I create long lists of channels once, and then since they are stored to a file, do not have to create them again. In the past, instead of adding code to B.vi to call the file, I would just open the file I wanted with A.vi, then copy the data from the array of channels, and paste it into the front panel of B.vi before pressing run.
    I cannot do this now. Is it because A is an EXE so the two are in different Application instances? I have not tried making B an EXE (nor do I want to), but I think it wouldn't matter because they would still be in different instances?

    You recreated numeric and string controls in an EXE. I agree that you can swipe these, CTRL C, and then CTRL V in to a VI. If I replace the CTRL C action with a Right Click> copy data, I get a picture in the VI.
    I can go to a numeric or text control or indicator within my EXE, right click, copy data, then paste that into another control within my EXE. If I then immediately go to a control in the VI, the Right Click>paste data option is greyed out and doing CTRL V drops a picture of the controlon the front panel. I did not select the control when I copied, I only highlighted the data inside the control.
    CTRL C or CTRL V is never an option when operating on array controls. I do not want to copy and paste individual lines of the array, I want the whole array data. This is done by right clicking on the numeric within the array index display and choosing copy data. In an EXE, this is your first option. In a VI while running, this is the third option. In a VI while not running, this is under data operations.
    I tried every combination of running and not running, and took screenshots, but it is hard to see exaclty what action I am performing.
    Attachments:
    Copy Array Data Running.jpg ‏37 KB
    Can't Paste Running.jpg ‏22 KB
    CTRL V of Right Click Copied Text.jpg ‏24 KB

  • How to build a cluster array dynamically from another cluster array?

    I'm working on a problem where I seem to be getting lost in a sea of
    possibilities, none of which strikes me as optimum. Here's what I need to do.
    I've got an input array of clusters (ARR1). Each cluster contains the
    following components: an integer (INT1), a ring variable (RING1), a boolean
    (BOOL1) and a cluster which itself is simply a bunch of ring variables
    (CLUST1) Now, I need to transform that into a set of clusters (CLUST3) each of
    which contains an array of characters (CHARARY2), a copy of the ring variable
    (RING2), a copy of the boolean variable (BOOL2) and a copy of the cluster
    (CLUST2).
    To build the CLUST3, I need to find all elements within ARR1 that have the
    same unique combination of RING1 and BOOL1, and if BOOL1 is True, then RING1
    in addition, build an array of all the INT1 values corresponding to each
    unique combination above converted to character, and then bundle this array
    plus the unique combination of the other variables into a new cluster. In
    general I could have several such clusters.
    So if I had the following array to start with:
    Index INT1 RING1 BOOL1 CLUST1
    0 3 1 F {Values1}
    1 2 1 T {Values2}
    2 4 0 F {Values1}
    3 6 0 F {Values3}
    4 1 2 T {Values2}
    5 4 2 T {Values2}
    6 3 0 T {Values3}
    7 4 2 T {Values3}
    I should end up with the following clusters:
    CHARARY2 RING2 BOOL1 CLUST1
    "3" 1 F Don't care
    "2" 1 T {Values2}
    "4","6" 0 F Don't care
    "1","4" 2 T {Values2}
    "3" 0 T {Values3}
    "4" 2 T {Values3}
    What methods would you suggest for accomplishing this easily and efficiently?
    Alex Rast
    [email protected]
    [email protected]

    Tedious but not conceptually difficult.
    ARR1 goes into a for loop, auto indexed on the FOR loop. The for loop has a
    shift register which will be used to build the output array. Nested within
    the for loop is another for loop, which the shift register array goes into,
    again auto indexed, along with the element that has been auto-indexed from
    ARR1. This for loop has a shift register, initialised with a boolean "true".
    The inner loop compares the current element of ARR1 with the output array
    and if an element in the output array is already present which matches the
    input by your criteria, then the boolean register is set false; otherwise it
    is left alone.
    After the nested FOR loop you have a case fed from the boolean shift
    register; if the boolean is true, the new element is unique and should be
    added to the array. If it is false then a previous element has been found
    making the present one redundant, and the array should be passed through
    without adding the element.
    In the true case, you simply unbundle the original element into its
    components and build the new element, using "build array".
    Notes for if the above is easy for you;
    1) if handling lots of data then pre-initialise the shift register of your
    outer loop with the same number of elements as your input array. Use
    "Replace Array Subset" instead of "Build Array" to insert the current
    element into the pre-allocated memory rather than having to create a new
    array and copy all the current data across, which is what "Build Array" is
    doing. Use "Array Subset" at the end to obtain a new array containing just
    the elements you've used, removing the unused ones at the end.
    2) Again for large datasets- the use of a while loop instead of the inner
    for loop is more efficient since you can halt the while loop as soon as a
    duplicate is found. With the described approach you have to go through the
    whole array even if the first element turns out to be a duplicate- much
    wasted computer time.
    Alex Rast wrote in message
    news:[email protected]...
    > I'm working on a problem where I seem to be getting lost in a sea of
    > possibilities, none of which strikes me as optimum. Here's what I need to
    do.
    >
    > I've got an input array of clusters (ARR1). Each cluster contains the
    > following components: an integer (INT1), a ring variable (RING1), a
    boolean
    > (BOOL1) and a cluster which itself is simply a bunch of ring variables
    > (CLUST1) Now, I need to transform that into a set of clusters (CLUST3)
    each of
    > which contains an array of characters (CHARARY2), a copy of the ring
    variable
    > (RING2), a copy of the boolean variable (BOOL2) and a copy of the cluster
    > (CLUST2).
    >
    > To build the CLUST3, I need to find all elements within ARR1 that have the
    > same unique combination of RING1 and BOOL1, and if BOOL1 is True, then
    RING1
    > in addition, build an array of all the INT1 values corresponding to each
    > unique combination above converted to character, and then bundle this
    array
    > plus the unique combination of the other variables into a new cluster. In
    > general I could have several such clusters.
    >
    > So if I had the following array to start with:
    >
    > Index INT1 RING1 BOOL1 CLUST1
    > ---------------------------------------------------
    > 0 3 1 F {Values1}
    > 1 2 1 T {Values2}
    > 2 4 0 F {Values1}
    > 3 6 0 F {Values3}
    > 4 1 2 T {Values2}
    > 5 4 2 T {Values2}
    > 6 3 0 T {Values3}
    > 7 4 2 T {Values3}
    >
    > I should end up with the following clusters:
    >
    > CHARARY2 RING2 BOOL1 CLUST1
    > -----------------------------------------------------
    > "3" 1 F Don't care
    > "2" 1 T {Values2}
    > "4","6" 0 F Don't care
    > "1","4" 2 T {Values2}
    > "3" 0 T {Values3}
    > "4" 2 T {Values3}
    >
    > What methods would you suggest for accomplishing this easily and
    efficiently?
    >
    > Alex Rast
    > [email protected]
    > [email protected]

  • CF Report Builder and Excel format

    Hi Everyone,
    I was trying to display a report in excel format in report builder. It shows the data, but I do not find the print button options, whereas I can see it with other formats. Is this the way it is, or do I need to format anything more within my report for showing up the print button option?This is only happening for excel format
    Thanks

    Hi Keiko,
    Yes, CF Report builder is new and initially there was few
    issues with this. But I guess now it's good after hotfixes.
    Well, I am using CF Report Builder. It's good for me. You can
    also design and develop complex reports, that depends upon the
    query you are writing. You can also add subreports to your main
    reports.
    Mainly CF Report is platform independent and you can also
    generate reports in PDF, EXCEL and FlashPaper.
    Crystal Report is no doubt is very good, and it's there for
    long years. I agree you can create complex reports with this, but
    you also can do the same in CF also. You are using this for last 10
    years, so I guess you should try something new and that is CF
    Report Builder and you can judge then.
    I am sure you will have fun with CF.
    Thanks
    Sankalan
    (www.mindfiresolutions.com)

  • Links to id's and named anchors within a page in an iframe do not open in firefox

    In order to force layout of my liquid website, I use i-frames to display content . It is all on my sight www.rdelutherie.com, and I am not displaying pages from other sights. The links to sections of pages from within the same page do not work in firefox.
    I have had this problem before with named anchors, and in moving up to html5 and in making my site accessible for people with dissabilities, I started using &lt;nav&gt; eliments... and changed from named anchors to links to ID's like this:
    In an unordered list I have these:
    <pre><nowiki> <li><a href="#s1">Subject 1:</a></li>
    </nowiki></pre>
    They link to sections of the same page like this one:
    <pre><nowiki>
    <section id=s1>
    <h2>Subject 1:</h2>
    <p>Blah blah blaaaaah, and bla bla!</p>
    </section></nowiki></pre>
    Last time I researched this problem (a year or more ago), I was told that it was because of a security risk (something about being able to count views...and other peoples proprietary and copyrighted material), but the vaguely described reasoning made little to no sense to me nor many others, who can not even link to our own stuff. The Mozilla developers were rather abrupt and some were even rude in telling us to live with it, instead of trying to come up with a solution or work around, and closed the post and disallowed further posting.
    The problem still persists, and although I am not a programmer, I have a real hard time believing that it is impossible for Firefox to distinguish between links contained within a document and site, from those on different sights, domains and what have you.
    As far as I know, no other browsers have this problem, so if it is such a big security risk, what is to stop someone with malicious intentions, from just using M$ IE, to bring their evil plan to fruition?
    In keeping with "Making the web a better place": Please address this problem, and find a solution, workaround, or at least explain why it is impossible.
    Bob English

    Thanks again jscher2000,
    I know exactly what you mean, but I have had other page display problems with adjacent columns where one side does not display completely and seems to be conforming to the other ones height... hence the height settings and other tricks to force things to be acceptable.
    I am far from understanding code, and most of the solutions, including the one in the link you posted do not have the information a novice like me would need to implement them successfully. Most of them are written for people much more advanced. Without it telling me where exactly to put the code, point to it, what I can (and should) change and remove elsewhere because of it... I am at a loss. I don't know the basics, and have tried hard to understand them, but it is not like electrical circuits, physics and other things that I can understand naturally and with ease.
    I will look into it further in a few days, meanwhile I have to attend to my real work that doesn't even pay the bills completely: guitar building and repair, now that comes easy and naturally to me!

  • I am looking for a app that will allow me to build and form for staff review then log it back to a main computer across mutiple users

    Please help, 
    The app that I need is one that firstly build and set of question into a form,  then allow other staff member to fill in the answers and then generate a report back to a centre database for review. 
    Also within this app if it is able to GPS locate where the form has been filled out and if possible a time tracker for wages.   All of these need to be then place in a report and sent back to a person or manager.
    The company I work for is looking to use this to replace some very old tech. 
    So when need it to be able to hold multiple different forms to fill in, track two different pay rates and log a GPS location on the forms. 

    I recommend that instead of working on an iPad application you get a good web programmer in and set up a web-facing system that can be used from anything with a web browser --  an iPad, a smartphone, a laptop or a desktop.  Then your employees can access the system from any computer with a web browser, and you don't need to employ an expensive specialist programmer to produce a system which is useless for devices made by other manufacturers.  The only requirement for use will be that your devices must in range of either WiFi or a phone signal.
    It will also mean that if you need to change your software at any time you only have to change one copy, back at headquarters, rather than update an App on every individual iPad.
    Apple's web browsers (including the ones built into iDevices) allow a web site to request the user's location, so people using an iPad should be able to do the things you have asked for.

  • Error While Runnig Calender Build and Run Automated Benefit cobol Process

    While Running Pay Calender Build and Automated Benefit cobol process i m getting a error
    Maximum number of set Run Cntl Record Loaded into Array.
    Array Limit Exceeded
    at pos 00028
    Please any one can help me to get rid of this problem.
    Thanks,
    Amit Asawa

    Hussein Sawwan wrote:
    Please post the details of the application release, database version and OS.Oracle EBS R12.1.1 windows server 2003
    Please verify you have no invalid objects in the database and no errors are reported in the database log file.i dont know where can i find this log file ?
    Search MOS for (ORA-06512 and GLPPOS) and go through the docs.i am sorry i don't have MOS ID :)
    Thank you
    kareem

  • How to display rich content with URL in adobe flash builder and flex for mobile apps?

    Hi,
      In Apple IOS SDK, I used the WebView control to display the rich text with Bullets, different font style, images within the text and the URLs also within the text as HTML content.
    Clicking on the URLs automatically opens the respective webpage in Safari.
    In Adobe Flash Builder, I don't see any control straight away equivalent to Apple WebView control.
    How to implement the same using adobe and flex?

    Thanks for your reply, its nice to know its not just me.
    the error i got when submitting to the App store where due to native support for IPHONE 5 which is now mandatory (from May 1st), looking around the internet the common soloution seemed to be upgrading to Air 3.7.
    The strange erorrs on 3.7 revolve around compiling a standard / production build (fast build works fine)
    the error is always the same (snippet shown below):
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "__ZN7avmplus8Debugger9debugLineEi", referenced from:
          __ZN7avmplus9MethodEnv9debugExitEPNS_13CallStackNodeE in AOTBuildOutput-4.o
          __ZN7avmplus11BaseExecMgr22debugEnterExitWrapperNEPNS_9MethodEnvEiPj in AOTBuildOutput-4.o
    I have completly failed to work out why, but my gut feeling is its something to do with how the mac is compiling the code in standard build and unable to find a library it needs.
    cheers
    Toby

  • Trying to learn Structure and/or Array

    OK here goes my best attempt at an explanation... I been
    through some tutorial on Structures and Arrays and have an ok idea
    of what to do with them. But all the tutorials I went through had
    the variable amounts hard coded in, but I want it to come from a
    database query(s).
    I want to get a mileage total per month per riderId
    tablename: mileageLog
    table fields: ridierId, rideDate, rideDistance
    First I want to query a DB and get all the riderId numbers
    (grouped so I only have one for each). This is no problem.
    <cfquery name="riderIds" datasource="DevKevin">
    SELECT riderId
    FROM mileageLog
    GROUP BY riderId
    </cfquery>
    Now using each riderId, I want to put the results into a
    structure and/or array so that I can then turn around and sort as
    desired.
    I think I need to use a loop - one for each riderId.
    Inside each loop, I would need a second loop running 12 times
    (once for each month)
    The inner loop would run a query like...
    <cfquery name="mileageByMonth" datasource="DevKevin">
    SELECT sum(rideDistance) AS monthTotal
    FROM mileageLog
    WHERE riderId=
    ???? from above somehow
    AND year(rideDate)=#nowYear#
    AND month(rideDate)=#
    ???? loop through 12 months#
    </cfquery>
    I'm so lost

    quote:
    Originally posted by:
    2onboard
    This does indeed return the correct amounts - THANKS
    But how do I utilize them? by that I want to take my results
    and put it into a table that is 14 columns wide.
    Column 1 = the riderID
    Columns 2-13 = the monthly totals
    column 14 = a yearly total
    I also want to be able to sort by any column
    Now it becomes complicated. I'm going to assume that you want
    the current year, not the last 12 months. That means you don't
    necessarily want 14 columns. I also assume that Access's month()
    function returns a number like 4, and not a string like April. I
    don't use Access so I don't actually know.
    Step 1 - Use query of queries and valuelist to get a list of
    distinct month numbers. I'll call this variable abc.
    Step 2 - Build another list of the month names for each of
    those numbers. The function is MonthAsString. I'll call this
    variable months. Then build a third list, the same length, with the
    word integer as each element. I'll call this variable xyz.
    Step 3 - Create a new query. This will have your data in a
    cross tab format for later.
    xTab = QueryNew("Rider,#months#,total",
    "varchar,#xyz#,integer");
    Step 4 - Loop through your original query and use if/else
    logic to populate the xTab query.
    Final Step - Use a flash grid to display your xTab query.
    That will enable you to sort on any column.

  • Problem in building and changes are not reflecting

    Hi Team,
    When I am building my DC, It is building without any errors,
    But it is not showing anything like build failed yes or no.
    I feel Its not building my DC,bcoz in tasks its not showing my DC name.
    When I deploy, It is deploying without any errors, but my changes are not effecting.
    What could be the problem ?
    Thanks in advance.
    Regards,
    Naresh

    Hi Ayyapparaj,
    Thank you very much for your reply.
    I have reverted the activity i have created for the DC, and deleted the activity.
    I have deleted that DC from my NWDS also.
    Now I have created the project again, with new activity.
    And made the changes, build and deploy.
    But still the changes are not effected.
    When I build my DC, It is not showing any errors in tasks,
    but My DC name is not there in tasks.
    I feel my Dc is not building at all.
    If some other user is created any activity on same DC but not checked in, then will create this kind of problem ??
    I am not sure , where it is going wrong?
    Its not showing like build failed---NO.
    Its not showing any errors also.
    Build is happening within 2 seconds.
    Can you please sort it out..??
    Thanks in advance.
    Regards,
    Naresh

  • Building and deploying J2EE apps ?  Now there is a solution for production root cause analysis.

    Is your organization building and deploying J2EE apps? If so, Halo
    can help solve one of the toughest issues facing enterprises today:
    Finding the root cause of software faults.
    "Halo monitors, pinpoints, reports on and provides a source-code level
    root cause of software faults in deployed J2EE apps. Halo is unique
    because it's the only technology that can give you a root cause
    diagnosis in a fully deployed, live production application. Halo has
    such low performance overhead that customers deploy their final,
    production versions of their applications with Halo enabled.
    Used with Web Application Servers like WebLogic, Halo helps ensure
    that deployed code is reliable and able to be quickly fixed if
    problems turn up. Most important, because Halo is an "always on"
    technology, you get all the information you need to rapidly solve a
    problem on the first fault. Problem replication and bug reports are
    obsolete with Halo
    "Halo has a unique ability to provide a root cause diagonosis and
    understanding
    of software problems in production systems, without needing to
    replicate the
    issue.
    Test on WebLogic proved that Halo runs with extremely low overhead and
    is suitable for use in deployed production systems"
    Andrew Sliwkowski, Software Engineer
    BEA Systems, Inc.
    The key is Halo's high performance, low overhead TraceBack
    instrumentation technology. Based on technology out of MIT and proven
    in the field, TraceBack enables you to instrument JARs, EARs and WARs
    within minutes, without touching source code.
    Halo is useful throughout the entire application life cycle, from
    development through test, beta and deployment.
    If you have interest in learning more visit our website at
    www.incer.com or email me directly at [email protected] (Rick Martin)

    I have two questions. We have just started developing apps using jdev9i, 9iAS v2 and are new to the j2ee environment so my questions may be very easy ones.
    Question 1: We have set up Oracle pooling connection to our databases. We have a development, test and production database. When I deploy my application, it includes the connections. This is preventing me from moving the EAR files from dev to test to prod without modification and re deploying to my EAR file. Is there a way or a place that I can put my database connections that will not be included in my EAR files and the application still find them?datasources.xml is where the info regradings connection to databases is licated. If you're using 9iAS
    you can use EM to create datasource entry at the global level. In OC4J standalone you could use admin.jar
    or edit the file. Check out the standalone user's guide at http://otn.oracle.com/tech/java/oc4j/pdf/oc4j_so_usersguide_r2.pdf.
    Also, you will othe OC4J docs on OTN.
    Question 2: I have a stand alone oc4j set up for our developers to use while testing their applications. The applications include libraries supplied in jdev such as xml parser v2. I do not want to deploy those lib files with the app because I will have to redeploy all my apps if I upgrade jdev. I just want to be able to upgrade the libraries, test the apps and not have to redeploy everything. I can do this by coping the jdev lib to 9iAS but I can't seem to find the right place to put the lib for the stand alone oc4j instance. You can use the library tag within application.xml for server wide availability. Check out the article
    http://otn.oracle.com/oramag/oracle/02-sep/o52oc4j_2.html specifically class loading in OC4J section
    Any help would be greatly appreciated. Thanks in advance.

  • Can't duplicate movieclips as an array within an array

    Hello.
    I have an animation that loads an xml into it and traces back
    an array within an array. I have tried to apply this to duplicated
    movieclips thereby creating a structured set of links. What I am
    trying to do is this:
    Chicken Nuggets
    __Compression
    __Texture
    __Disgust
    Mega Warhead
    __Taste
    __Hardness
    __Pain
    This traces fine but I can't seem to get the duplicated
    movieclips to assemble in this fashion.
    The code for the XML is as follows:
    var controlArray:Array;
    var variable:Array;
    var testTopic = new Array ();
    var test = new Array ();
    var controlsXML:XML = new XML();
    controlsXML.ignoreWhite = true;
    controlsXML.onLoad = function(success:Boolean){
    if (success){
    var mainnode:XMLNode = controlsXML.firstChild;
    var controlNodes:Array =
    controlsXML.firstChild.firstChild.firstChild.firstChild.childNodes;
    var list:Array = new Array();
    for (var i:Number = 0; i < controlNodes.length; i++) {
    var personnode:XMLNode = controlNodes
    .attributes.Name;
    trace(personnode);
    testTopic.push (new struct (personnode));
    var specificNode:Array = controlNodes.childNodes;
    for (var j:Number = 0; j < specificNode.length; j++){
    var itemnode:XMLNode = specificNode[j].attributes.Variable;
    trace(itemnode);
    test.push (new struct2 (itemnode));
    printer ();
    printer2 ();
    } else {
    trace('error reading XML');
    controlsXML.load ("controls3.xml");
    The code for the movieclip duplication is as follows:
    x = 50;
    function printer ()
    for (m = 0; m < testTopic.length; m++)
    duplicateMovieClip ( slotTopic, "slotTopic" + m, m );
    slotTopic = eval ( "slotTopic" + m );
    slotTopic._y += x;
    slotTopic.slotTopicContent.text = testTopic[m].personnode;
    function printer2 ()
    for (k = 0; k < test.length; k++)
    duplicateMovieClip ( slot, "slot" + k, k );
    slot = eval ( "slot" + k );
    slot._y += x;
    slot.slotContent.text = test[k].itemnode;
    function struct (personnode)
    this.personnode = personnode;
    function struct2 (itemnode)
    this.itemnode = itemnode;
    On the stage are two movieclips, titled "slotTopic" and
    "slot". Within those are dynamic text boxes titled respectively
    "slotTopicContent" and "slotContent". When I preview this file it
    only displays the text within the "slot" movieclip and it lists all
    six of the subtopics with no break. So, there are two dilemmas:
    1) The movieclips won't duplicate into the structured set of
    links that I want.
    2) "slotTopic" is not displaying text at all.
    If anyone has any advice, I'd really appreciate it.
    Thx!

    ok, I'm sorry but there are quite a few things wrong here.
    first though, when posting code please use the 'attach code'
    button.
    1) i can't imagine that you have a XML structure as deep as
    your calling to or the need for it with the limited amount of
    infomation your pulling, in addition your storing the info in
    attributes, so I can't see how this would work, it may 'trace' out
    the right text (somehow) but it's not getting into the arrays
    properly.
    2) you do not assign an attribute value to a XMLNode, and
    then try to push it into an array.
    3) you do not call a method (struct or struct2) using the
    'new' operator. this is how you envoke a new 'class' instance.
    4) do not use 'x' as a variable name as it is a reserved var
    in flash, assigned to an Object instance.
    5) the duplicateMovieClip() method needs to be called upon
    the existing clip as in:
    slotTopic.duplicateMovieClip('slotTopic'+m, m);
    additionally you can pass the _y placement within the
    initObject.
    6) you do not need to use eval, it isn't doing anything here,
    you will gain the correct path by calling duplicateMovieClip
    correctly.
    7) the reason why slotTopic is not being displayed at all is
    because of the second loop, you are duplicating the clips
    (incorrectly) into the same depths thereby replacing all of the
    contents of the slotTopic depths previously constructed.
    the solution to this problem is to construct both items with
    the same loop but increament one of the depth assignments by a
    specific number, in other words at depths much higher or at least
    different, than that of the first element, as in:
    slotTopic.duplicateMovieClip('slotTopic'+m, m, {_y:50});
    slot.duplicateMovieClip('slot'+(m+100), m+100, {_y:50});
    again I'm sorry man, but it will take some work to sort this
    out.

  • Build and Capture task sequence fails at 'Prepare ConfigMgr Client for Capture' step

    The scenario is as follows:
    Task Sequence is a Build and Capture of Windows 7 SP1 x64 Enterprise
    There are 17 Applications installed split into 2 'Install Application' steps due to the 9 item limit
    129 Software Updates are installed
    SCCM 2012 RTM
    I have built and captured on this system previously however there were no 'applications', just traditional SCCM 'packages'
    All task sequence steps run successfully until it gets to the 'Prepare ConfigMgr Client for Capture' step and it fails here. Here are the relevant parts of the SMSTS.log file:
    <![LOG[No certificates to delete]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:1013">
    <![LOG[Deleting Client properties from file C:\Windows\SMSCFG.INI succeeded.]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:922">
    <![LOG[Reseting the Trusted Root Key successful]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:1088">
    <![LOG[Deleting instance of 'CCM_Client' successful]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:170">
    <![LOG[Successfully reset Registration status flag to "not registered"]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:309">
    <![LOG[Successfully disabled provisioning mode.]LOG]!><time="15:30:12.546-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:1273">
    <![LOG[Start to cleanup TS policy]LOG]!><time="15:30:12.546-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880" file="utils.cpp:2773">
    <![LOG[getPointer()->ExecQuery( BString(L"WQL"), BString(pszQuery), lFlags, pContext, ppEnum ), HRESULT=ffffffff (e:\nts_sccm_release\sms\framework\core\ccmcore\wminamespace.cpp,389)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient"
    context="" type="0" thread="2880" file="wminamespace.cpp:389">
    <![LOG[ns.Query(sQuery, &spEnum), HRESULT=ffffffff (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,2800)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880" file="utils.cpp:2800">
    <![LOG[Wmi query 'select * from CCM_Policy where PolicySource = 'CcmTaskSequence'' failed, hr=0xffffffff]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="3" thread="2880" file="utils.cpp:2800">
    <![LOG[End TS policy cleanup]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880" file="utils.cpp:2821">
    <![LOG[TS::Utility::CleanupPolicyEx(false), HRESULT=ffffffff (e:\nts_sccm_release\sms\client\osdeployment\preparesmsclient\preparesmsclient.cpp,457)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880"
    file="preparesmsclient.cpp:457">
    <![LOG[Failed to delete policies compiled by TaskSequence (0xffffffff)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="3" thread="2880" file="preparesmsclient.cpp:457">
    <![LOG[Failed to prepare SMS Client for capture, hr=ffffffff]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="3" thread="2880" file="preparesmsclient.cpp:472">
    <![LOG[pCmd->Execute(), HRESULT=ffffffff (e:\nts_sccm_release\sms\client\osdeployment\preparesmsclient\main.cpp,136)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880" file="main.cpp:136">
    <![LOG[Failed to prepare SMS Client for capture, hr=ffffffff]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="3" thread="2880" file="main.cpp:136">
    <![LOG[Process completed with exit code 4294967295]LOG]!><time="15:35:21.015-660" date="11-13-2012" component="TSManager" context="" type="1" thread="2152" file="commandline.cpp:1098">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="15:35:21.015-660" date="11-13-2012" component="TSManager" context="" type="1" thread="2152" file="instruction.cxx:3011">
    <![LOG[Failed to run the action: Prepare ConfigMgr Client for Capture. 
    Unknown error (Error: FFFFFFFF; Source: Unknown)]LOG]!><time="15:35:21.046-660" date="11-13-2012" component="TSManager" context="" type="3" thread="2152" file="instruction.cxx:3102">
    It looks like there is a similar issue over here (http://www.windows-noob.com/forums/index.php?/topic/5906-task-sequence-error-0xffffffff/) that was resolved by removing the Application Installations one by one until a problematic one was found
    and removed - however I would rather avoid this very time consuming process if possible.
    I have also testing this using 'capture media' in the full OS and that also fails at the same step with the same errors in the smsts.log
    The only workaround I have for now is to let the task sequence fail at the 'Prepare ConfigMgr Client for Capture' step, then I uninstall the SCCM client using 'ccmsetup.exe /uninstall' and use the 'capture media' method - obviously with no SCCM client installed,
    it skips the 'Prepare ConfigMgr Client for Capture' step and goes straight to the 'Prepare OS' step and then to the actual capture to the WIM step.
    Anybody else seeing this or have any suggestions?
    My Microsoft Core Infrastructure & Systems Management blog -
    blog.danovich.com.au

    It looks like there is a similar issue over here (http://www.windows-noob.com/forums/index.php?/topic/5906-task-sequence-error-0xffffffff/) that was resolved by removing the Application Installations one by one until a problematic one was found
    and removed - however I would rather avoid this very time consuming process if possible.
    You dont have to test it 18 times....
    Just test with 50% of the applications first, if it fails, test with 25% and then on of the time...
    You should be able to find the application, within 4-5 tests...
    Ronni Pedersen | Microsoft MVP - ConfigMgr | Blogs:
    http://www.ronnipedersen.com/ and SCUG.dk/ | Twitter
    @ronnipedersen

Maybe you are looking for

  • How to restore the Main Drive from Time Machine after replacement

    I have a Late 2008 PowerBook Pro. I have a 2TB external drive for Time Machine. I replaced the main drive with a 1 TB drive and thought that i could restore from the Time Machine. I have another external drive that has an earlier OS on it. It lets me

  • Is there a limit to number of recipients for an email?

    I need to send the same email to about 250 people. Is there a limit to the number of recipients Mail can handle in the BCC field? At the moment I can get all the address's from a spreadsheet as Comma separated text. Will this pasted into the BCC fiel

  • Difference between value and binding ?

    hello I am afraid I am not clear on difference between value and binding of a component? I will appreciate if you supply an explanation. kind regards

  • Fusion drive + Bootcamp on mid 2012 MacBook Pro 15"

    Dear all, I am in a sort of delimma now, as I am trying to set up a Fusion Drive with a Bootcamp partition on my 2012 MacBook Pro 15" with a Hitachi 750G HDD and a Crucial Micron M4 256G SSD. Here are the challenges I read up from other threads or pe

  • Restore deleted transformation in sap bw

    a transformation from extractor to billing DSO has been accidentally deleted. the deleted one is captured in a Transport request which is not yet released. is there a way by which it can be restored... i mean rollback the deleted operation and restor