Addition of 2D array

I need to sum up the output from a detector continuous which takes the form of 2D array. I was trying to do so by using polymorphism and shift register. However, when I put an indicator at the outlet of the addition, no output is given. Why would this happen I have the file attached, and the addition happens in frame one of the outer sequence structure.
Thanks!
Angelia
Attachments:
raman_2_trial.vi ‏369 KB

Angelia,
I was actually just looking at your code  I'm glad you caught it too!
Sam S
Applications Engineer
National Instruments

Similar Messages

  • Iterative addition of 2D array using a shift register

    Hi
    I'm trying to add 2D array iteratively using a shift register.
    However, the indicator for the output of 2D addition shows nothing.
    Do you know Why? and How to fix this problem?
    Thx
    hiyang

    Ok, looked at ur attached VI
    You are not getting any output because, you are adding an array with an empty/blank array
    First, initialise an array of zeroes of required size and pass it to shift register,  Initialise your other array which u are adding inside the loop also of similiar dimension, and later, keep changing its elements
    Do as shown in modification of your attached VI
    Regards
    Dev
    Attachments:
    2DArray_shiftRegister.vi ‏30 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]

  • Target has run out of memory on LM3s8962

    I'm using the LM3s8962 evaluation kit to record data from the ADC's.  I have the system set up so that I use the elemental nodes of the four adc's in a while loop, and replace the values in four different arrays.  The arrays are initialize (1x1000 elements) before entering the loop.  This works fine.
    THE PROBLEM:  When I try to make the arrays larger (i.e. initial arrays larger than 1000 points, 4 individual arrays), I get the following error:
    Error: Memory allocation failed. The target has run out of memory. [C:\Program Files (x86)\National Instruments\LabVIEW 2011\CCodeGen\libsrc\blockdiagram\CCGArrSupport2.c at line 253: 2 3
    OR
    Error: Memory allocation failed. The target has run out of memory. [C:\Program Files (x86)\National Instruments\LabVIEW 2011\CCodeGen\libsrc\blockdiagram\CCGArrSupport2.c at line 173: 2 3
    Any suggestions?

    Th0r wrote:
    It looks like you're filling up the flash memory on the LM3S8962 with all of these array initializations.  According to page 263 of the LM3S8962 datasheet, that microcontroller has 256 KB of flash memory which you can use to fill up with your code.  In addition to your array initializations, some of this space is taken up by the LabVIEW Embedded Module-specific code as well.  What datatype are you using in these arrays?  Does this error occur upon building or running your code?  Thanks for any additional information you can provide!  
    That's probably it.  The error occurs when building the code, before it's actually able to run.  If reduce the array size, I'm able to run the code no problem.  At the moment,  I'm using a long 32 bit integer, which I know realize I can reduce significantly, as my ADC only reads at 10 bits.  Do you know if there's a way that I can preallocate the array to a place other than flash?
    I've found a fix around it since I last posted, in which I set up a buffer (smaller) and then save the buffer values on the SD card.  This works well and I can sample for long periods of time, but it does slow down my overall sampling rate, so I'd like to fix the above problem nonetheless. 

  • Scrollable sub panel

    Hi,
    I have an application that consists primarily of a tab control.  On a portion of one of the tabs, I have various controls: check boxes, radio buttons, text and numeric fields. (see attached snap of tab) These are used to access 8 different registers.  I need to expand this to access 32 registers but I don't want to grow the tab to be that large. Not all 32 need to be visible at one time.
    I was thinking some sort of scrollable sub panel would be nice where you can view 8 registers at a time, but I don't know how to create one.  I read other similar posts that recommend using a splitter bar but I only need this capability on one of the tabs not the whole thing.
    Any suggestions?
    I'm using LV 8.2.
    Thanks.
    Solved!
    Go to Solution.
    Attachments:
    ScrollPane.jpg ‏68 KB

    Thanks!
    I implemented an array of clusters and that works well.  I didn't go as far as using a separate scrollbar and controlling the index. I'm able to use the array's built in scroll bar feature to implement what I needed.
    However, using the array's scrollbar, when I scroll past the active members of the array, there are additional non-active array elements that are grayed out.  Is there a way to have an array not show the grayed out 'potential' array members?
    Thanks.

  • Power Spectrum vi

    Hi,
    Can anaybody tell me the maximum size of an array that can be accepted by
    the Power Spectrum vi in the signal processing toolset?
    I find that it does not produce an output if an array size of over 5 million
    elemnts is used, however it produces the required output when the an input
    array of 4 million elemnts is used.
    Additionally, when an array of 5 million element and over is used as the
    input:
    1. No error message is produced.
    2. This occurs even when averaging is activated.
    Thanks,
    Luca

    I am not sure which VI you were using exactly. Is Power Spectrum.vi on the palette Function>>Analyze>>SIgnal Processing>>Frequency Domain? I have tried this VI and do not have the problem you mentioned.
    Would you attach some testing VIs?

  • Suggested RAID Level

    Hey guys, So I recently built this computer: Intel Core i7-5820K, Asus GeForce GTX 970, NZXT Phantom 530 (Black) - System Build - PCPartPicker
    I posted this thread before I purchased the parts and it should explain my purposes of the computer quite well: Computer Build
    I haven't worked on a project with it since I built it, as school has been really crazy, but I will be starting one very soon.  I purchased an addition 2 7200 2Tb HDD's and a 250GB Evo SSD, so I have:
    4 2TB 7200Rpm HDD's and 1 SSD.
    I will be re installing windows on the new SSD shortly and I see on the 'Generic Disk setup" that I should use RAID 3 or 5, but I could use some advice on which would be better?
    I would definitely like enough redundancy to be able to loose one drive and keep all data, but beyond that I don't care.
    Thanks in advance for any feedback!
    EDIT: Also, I don't have a RAID Controller

    Raid with controller as cc_merchant and others have advised.
    In addition:
    Use the array only for active projects, moving finished projects off to external storage upon completion.  Keep the volume of the data on your array under 50% to stay optimal.
    If you go Raid 0, then make it a habit to backup often, daily if possible.  If don't have the room for complete daily backups, then at least back up the premiere project, layered photoshop and AE project files, etc.  You can always re-ingest the video after an event, as the bulk of the work resides in the project files, (which also means don't empty your camera cards until the job is singed off and archived -ah, I remember the days of added security with having original tapes...).

  • Tcl script help -- include interface description in status message

    Hi there,
    I'm trying to create a script that will email me when an interface goes down, and include the interface description in the email.  I've found a script that successfully emails me when the status changes, and I found another script that will parse for the interface description, but I can't seem to get them to work together.  I've mashed them up together into the below script:
    # EEM policy that will monitor SYSLOG for Interface status changes.
    # If UPDOWN message is detected, send an email with interface information.
    ### The following EEM environment variables are used:
    ### _email_server
    ### - A Simple Mail Transfer Protocol (SMTP)
    ### mail server used to send e-mail.
    ### Example: _email_server mailserver.example.com
    # Register for a Syslog event. Event Detector: Syslog
    # Match pattern for Interface Status change
    ::cisco::eem::event_register_syslog pattern "%LINK-3-UPDOWN"
    # NAMESPACE IMPORT
    namespace import ::cisco::eem::*
    namespace import ::cisco::lib::*
    # Set array for event_reqinfo
    # Array is populated with additional event information
    array set Syslog_info [event_reqinfo]
    set msg $Syslog_info(msg)
    # Set routername variable for use later
    set routername [info hostname]
    # Parse output for interface name
    if { ! [regexp {: ([^:]+)$} $msg -> info] } {
        action_syslog msg "Failed to parse syslog message"
    regexp {Line protocol on Interface ([a-zA-Z0-9]+)} $info -> interface 
    # ------------------- cli open -------------------
    if [catch {cli_open} result] {
    error $result $errorInfo
    } else {
    array set cli $result
    # Go into Enable mode
    if [catch {cli_exec $cli(fd) "enable"} result] {
    error $result $errorInfo
    #Find interface description
    if [catch {cli_exec $cli(fd) "show interface $interface | inc Description" } description] {
            error $description $errorInfo
    #--------------------- cli close ------------------------
    cli_close $cli(fd) $cli(tty_id)
    set time_now [clock seconds]
    set time_now [clock format $time_now -format "%T %Z %a %b %d %Y"]
    # EMAIL MESSAGE
    # This manually creates a text message with specific format to be used by the
    # smtp_send_email command later to send an email alert.
    # Ensure the following are configured:
    # ip domain-name <domain.com>
    # If a hostname is used for mailservername, ensure the following are configured:
    # ip name-server <dns-server>
    # ip domain-lookup
    # NOTE: Change environment variable _email_server to your SMTP server
    # The email below references the following variables:
    # $routername: hostname of device
    # $time_now: time when specific Syslog message was detected
    # $msg: Syslog message received
    set email_message "Mailservername: $_email_server
    From: [email protected]
    To: $_email_to
    Cc:
    Subject: EEM: Critical interface status change on $routername
    This email is generated by EEM.
    $time_now
    $msg
    $description
    # Send email message
    if {[catch {smtp_send_email $email_message} result]} {
    set result "Email send failed"
    } else {
    set result "Email Sent"
    # Debug message to check email transmission status
    action_syslog msg "$result"
    When I trigger an interface UPDOWN message, I'm getting the following error on the command line:
    Oct 17 23:56:19.355 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl: can't read "interface": no such variable
    Oct 17 23:56:19.355 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl:     while executing
    Oct 17 23:56:19.355 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl: "cli_exec $cli(fd) "show interface $interface | inc Description" "
    Oct 17 23:56:19.355 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl:     invoked from within
    Oct 17 23:56:19.355 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl: "$slave eval $Contents"
    Oct 17 23:56:19.355 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl:     (procedure "eval_script" line 7)
    Oct 17 23:56:19.355 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl:     invoked from within
    Oct 17 23:56:19.355 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl: "eval_script slave $scriptname"
    Oct 17 23:56:19.359 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl:     invoked from within
    Oct 17 23:56:19.359 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl: "if {$security_level == 1} {       #untrusted script
    Oct 17 23:56:19.359 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl:      interp create -safe slave
    Oct 17 23:56:19.359 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl:      interp share {} stdin slave
    Oct 17 23:56:19.359 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl:      interp share {} stdout slave
    Oct 17 23:56:19.359 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl: ..."
    Oct 17 23:56:19.359 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl:     (file "tmpsys:/lib/tcl/base.tcl" line 50)
    Oct 17 23:56:19.359 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl: Tcl policy execute failed: can't read "interface": no such variable
    Can anyone help me figure out where I'm going wrong? 
    Thanks in advance,
    Brandon

    Hi Dan,
    Thanks for the reply.   I've made the changes you suggested but I'm still getting the error:
    Oct 18 21:41:50.446 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl: can't read "interface": no such variable
    Oct 18 21:41:50.446 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl:     while executing
    Oct 18 21:41:50.446 HKT: %HA_EM-6-LOG: CriticalLinkStatus.tcl: "cli_exec $cli(fd) "show int $interface | inc Description""
    Is there any additional debugging I could place in my script?  Normally I would try and print the variables after each line to see what's being populated, but I'm not sure how I can test that from within EEM.
    --Brandon

  • How can I manage four NI5112s in one system?

    Now in system there are four NI5112s.All the NI5112s have the same configuration and all their inputs are connected to the same pulse signal source.All the NI5112s use analog edge triggering and the trigering source is the input signal.So all the NI5112s should be trigered at the same time.However,when I fetch the waveform with the function niScope_Fetch in sequence,I find that the values of wfmInfo.absoluteInitialX vary a lot(10-70ms).why?

    The reason the absoluteInitialX values differ from one board to the next is probably due to the fact they are not armed at the exact same time, so the individual board timestamp clocks start at slightly different times. This is also due to the fact that the boards are running completely independent of each other.
    I have attached an example program that will be available on the Developer Library for High-Speed Digitizers shortly. It is set up to synchronize two boards in PXI, and to increase it to 4 simply expand the slave board array and the additional propogation delay arrays to have 3 inputs (Master board will be the 4th board). Also the VI is setup to have the master board in slot 2 of the chassis and take advantage of the Star Trigger capabilit
    ies of slot 2 in the PXI chassis.
    Let me know if you are using PCI boards and we can see about modifying the code for PCI.
    Good Luck on your project!
    Attachments:
    Multiple_NI_PXI-5112_Synchronization_Demo.llb ‏136 KB

  • Poor battery - MBA 2013 i7 8GB RAM 128GB SSD

    Hi,
    I have been using my 11 inch MacBook Air 2013 model for just over three weeks now and I am not getting anywhere close to the 9 hour benchmark obtained via 'light browsing with Safari'.
    So we are on the same page, here are the applications I have installed since the date of purchase:
    - MS Office suite
    - Chrome
    That's it! No DropBox, no dedicated Flash Player plugin, nothing more than what I have listed above in addition to default array of applications that come preinstalled with Mountain Lion.
    I recived only 5 hours by running the following basic test:
    - Screen brightness at 5 bars
    - Only default applications running in the background after a clean restart (Activity monitor shows that the CPU is on average idle 97% of the time)
    - Set the display option for dimming to Never via the Energy Saver panel.
    I just left the computer on my desk and monitored it intermittendely until it died. It took 5 hours for the battery to completely drain.
    Here is the information for the battery as reported by the System Information utility:
    Battery Information:
      Model Information:
      Serial Number:          C0132250CUNF90G43
      Manufacturer:          DP
      Device Name:          bq20z451
      Pack Lot Code:          0
      PCB Lot Code:          0
      Firmware Version:          511
      Hardware Revision:          000a
      Cell Revision:          1198
      Charge Information:
      Charge Remaining (mAh):          4481
      Fully Charged:          No
      Charging:          No
      Full Charge Capacity (mAh):          5116
      Health Information:
      Cycle Count:          21
      Condition:          Normal
      Battery Installed:          Yes
      Amperage (mA):          -383
      Voltage (mV):          8300
    Feedback given to me by Apple support:
    "Everything seems normal [long awkward pause]"
    Feedback given to me when I talked to a Genius at my local Apple store:
    "Monitor your Activity Monitor for CPU hogging applications, everything seems normal"
    I am disappointed to say the least since I am only getting 5 hours when I am not interacting with my computer at all. The official benchmarks give me the right to expect more.

    Thank you for your response, PlotinusVeritas: 
    However, as I mentioned I was not running any other applications asides from what comes pre-installed with Mountain Lion.  The CPU is on average 98% idle.  Apple claims the 11 inch model is able to last approximately 9 hours with basic web browsing. I was getting less than 5 under IDLE conditions (i.e. not using the computer at all - CPU idle). The difference between the i7 and i5 is insignificant in terms of power consumption.
    Very disappointed by this. 
    I would refund the product if I could, but Apple Care told me it takes at least several cycles before the battery gets fully calibrated. I laid my trust on their 'expertise' and my 14 day return period has expired. 
    To potential customers, I would advise you on waiting out a bit longer as more computers will soon adopt the Haswell architecture which will consequently provide you with much cheaper alternatives. 
    Performance wise the device is what you would expect from any computer with an SSD drive with tons of RAM and a UNIX OS.
    I would appreciate if they could at least try replacing my battery as other individuals with the same setup as me are getting far greater benchmarks.

  • How to pass an array or structure, in addition to a query, or multiple queries to the Report Builder as parameters

    Is there a way to pass an array or structure for example as parameters, in addition to a query, or multiple queries to the Report Builder in CF8? I believe this was recommended by users to be in CF8.

    BrianO,
    Although it's been a while, I thought I'd provide the code to do this for you. It works for me in CF8, and probably will in CF7.
    Here I create a structure called My, and provide that one parameter to my CFReportParam tag.
    <CFSet My = {
    Client = "Client Name",
    ReportDateFrom = DateFormat(ThisStartDate, DateMask),
    ReportDateTo = DateFormat(ThisEndDate, DateMask),
    PageHeaderImage = ImagePath & "\Logos\Page_Header.png",
    WatermarkImage = ImagePath & "\Logos\Watermark.png",
    GetBarSummary = GetBarSummary,
    GetPieSummary = GetPieSummary
    }>
    <CFReport Template="#ReportPath#\SpendSummary.cfr" Format="PDF" Query="GetSummary">
    <CFReportParam Name="My" Value="#My#">
    </CFReport>
    Inside the report itself, reference the given parameter as Param.My.PageHeaderImage for example. It can be referenced that way from any expression inside the report builder. You can even use the queries as the data source for charts (using the Data From a Query -> Query Builder -> Advanced) by entering "Param.My.GetPieSummary" where it says "Variable containing query object".
    HTH
    Swift

  • Include array of data in additional results

    It seems not to be possible to use array of data in additional results? Anyone who knows if this correct?
    Regards
    Vagn

    Hi,
    I tried your example, the first step I am seeing the extra result and when I add some values to your local I see them as well.
    The second step doesn't because you haven't specified anything to report.
    Regards
    Ray
    Regards
    Ray Farmer
    Attachments:
    Additional Results test.seq ‏6 KB
    Additional Results test_Report[11 58 17][28 01 2009].zip ‏3 KB

  • String Array Constant Addition

    Is there an elegant way of marking the last element in a string array
    constant? i.e. I take an Array constant, and add a simple string to it,
    so that it becomes a String Array Constant. Now I add elements 1 and 2
    and 3. But now I want to take element 3 out. If I just delete Element 3
    contents from the string control, that is fine, but the # of Array
    elements is still 3. It is just that the 3rd elelment is null. How can I
    make the array length 2? Now I know that starting over is one option
    (just creat a new array constant, and add the two elements) but what if
    my array constant has 100 elements and I want to make it 99. I also
    know that programatically I can remove these elelents, but I am taking
    about in the programming of th
    is constant. I must be over looking
    something... Any ideas???
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    [email protected] wrote:
    > Is there an elegant way of marking the last element in a string array
    > constant? i.e. I take an Array constant, and add a simple string to it,
    > so that it becomes a String Array Constant
    Arrays must be all the same type. If the last element is a constant, all
    elements are
    > Now I add elements 1 and 2
    > and 3. But now I want to take element 3 out. If I just delete Element 3
    > contents from the string control, that is fine, but the # of Array
    > elements is still 3. It is just that the 3rd elelment is null.
    In a string, yes, Empty strings are essentially nulls.
    > How can I
    > make the array length 2? Now I know that starting over is one option
    > (just creat a new array constant, and add the two elements) but what if
    > my array cons
    tant has 100 elements and I want to make it 99. I also
    > know that programatically I can remove these elelents, but I am taking
    > about in the programming of this constant. I must be over looking
    > something... Any ideas???
    This is one of my problems. It is easy to size an array up, but hard to size
    down.
    Of course you can resize at run time but the only way I know to do this
    when editing is to start over.
    Kevin Kent
    Attachments:
    Kevin.Kent.vcf ‏1 KB

  • ADDITION OF 2 ,1-D ARRAY'S ..... Please

    Hi form
    String[ ] a = {"a","b","c"};
    String[ ] b = {"d","e","f"};
    Please Can Somebody tell me How to Add the Elements of the
    2nd Array to First, So the O/P Prints as
    String [ ] a = {"a","b","c","d","e","f"};
    Thx in advance

    I think you cant really add the second array to the
    first array.
    This is because the first array has fixed size and
    cant grow.
    But you could make the third array c = a + b.
    i.e
    String[] a = {"a","b","c"};
    String[] b = {"d","e","f"};
    String[] c = new String[a.length + b.length];
    System.arraycopy(a, 0, c, 0, a.length);
    System.arraycopy(b, 0, c, 0, b.length);Yes, it is a little confusing :)There is a little error above but like this it should work:
    String[] a = {"a","b","c"};
    String[] b = {"d","e","f"};
    String[] c = new String[a.length + b.length];
    System.arraycopy(a, 0, c, 0, a.length);
    System.arraycopy(b, 0, c, a.length, b.length);

  • ADDITIONAL RAID ARRAY

    Hi,
    I am using Dell Power Edge R610 with Windows 2008 server standard.  I have configured RAID 5 with 3x300GB SAS drives and 3 disk partitions (C:, D:, E:) also.
    Now there is no enough space in D: Partions.
    Is there any option to add extra space on D: Drive or Can I create an additional RAID5 or RAID 1 in the existing server without loosing the entire data.
    Attached existing HD details.
    Thanks
    KK

    Hi,
    You may want to repost your question in the PowerEdge HDD/RAID boards of these forums.  You are much likely to get a knowledgeable answer to your question there.
    Todd

Maybe you are looking for

  • Error during Import & Export of rules - RAR 5.2

    Hi all, We tried exporting the rule set from Production to the Quality system (as we wanted to make changes in the quality system and then move to the production again). For this we followed the step by step procedure provided in the configuration gu

  • Mapping between Sales Order-Schedule-Line and Delivery-item

    Hi together, I want to extend the Datasource 2LIS_12_VCITM (Delivery-number, -item, Order-number,-item is available) by Sales Order Schedule Line. Could not find any ERP table (VBEP and LIPS allow a mapping only on item level) for the mapping between

  • Problem while trying to execute Java class in JSP using  RunTime Class

    Hi, I want to execute a JAVA class through a JSP. For this I am using following code .... JSP (AAA.jsp) CODE ............ try String[] cmd = new String[3]; cmd[0] = "cmd.exe" ; cmd[1] = "/C" ; cmd[2] = "java -DPeBS_CONFIG_HOME=D:/CASLIntegration/PeBS

  • Activation issues with older software, CS2

    since i couldn't find a way to get kai's power tools to work with my copy of CS6, i decided to boot up an older mac running OSX 10.4 to run my copy of CS2. my old mac has been offline so long i needed to reactivate my copy of CS2, but it requires a n

  • Wrong presentation in pdf (everything very small in left corner)

    Some of our customers have problems with the presentation of a pdf. The pdf is signed with a digital signature. How can we solve this problem?