Writeback calculation speed

I've created a writeback spreadsheet, and I can run the calculation program successfully (enter data, recalc, totals are changed). Works great.
However, I have 5 years of data in my AW. I'm only interested in aggregating the last year of budget data. Currently, the calc program takes 6 seconds to run. When I call it from the add-in, the status is ALL for all dimensions and for the measure dimension. (I tested it with a little outfile.)
I'd like to be able to use the LIMIT command to just select year 2008 time periods. However, when I do that, the screen doesn't reflect that the aggregation has run.
When my code looks like this, it takes 6 seconds to run, and the results are shown on the screen:
aggregate gl_data_prt_topvar using obj392802768
When my code looks like this, it takes about 1 second to run, but the results are NOT shown in Excel:
trap on haderror noprint
push time
limit time to '2008'
limit time add descendants
aggregate gl_data_prt_topvar using obj392802768
pop time
return
haderror:
pop time
What should I do to get the results visible in Excel? I've tried adding a BIA_REFRESH after the call to the calc, but that didn't do it.

Solution: the cube was defined as a compressed composite, and you can't limit a dimension of a compressed composite and then aggregate it. I redefined the cube as non compressed.

Similar Messages

  • How to use the GPU for calculations?

    Hello everybody,
    I am working on a project at the Ruhr-University, where i have to determine the calculation speed of ActionScript, e.g. in calculating MD5 Hash values.
    Is it possible to use the GPU for the calculation? It would be the best, when i can use the GPU and the CPU for the calculations.
    I already know that ActionScript is running on the CPU und the GPU is used for video rendering.
    Is there a chance to use specifically the GPU for the calculation?
    Regards
    Patrick

    HOW TO USE Scroll Panes
    The JScrollPane API

  • Difference between BT Broadband Speed Test and all...

    I have recently moved to BT Broadband from TalkTalk as I was dissatisfied with the speeds that I was getting with my TalkTalk line – they were OK outside of peak time but woeful in peak time.  With TalkTalk, I was on their ‘up to’  8Mbps which, in practice, translated to about 6Mbps for download outside peak times but dropped to below 1 Mbps in peak (around 500Kbps and sometimes even lower!) – these measurements were taken regularly with both the TalkTalk and Think Broadband speed tests which were usually roughly in agreement and I haven’t had to rely on memory as I downloaded the spreadsheet records available to Think Broadband registered users. 
    I am now posting this in the hope that somebody can explain the difference between the BT Broadband Speed Checker (Here) and all the others available on the web.
    When you are first connected to BT Broadband they warn you that your speeds will vary over the first ten days while they test your line to ascertain optimum speeds for it.  During that time, I checked it every day early, mid-day and evening (usually around 0630, 1230 & 2000 hrs) with Think Broadband and, yes, it did vary – the first day it started at around 1Mbps for download but rose to 10Mbps by the end of the day. On the second day, it rose to a peak of 17.8Mbps which was unbelievably fast to use (well, to me anyway) but never reached that speed again as over the rest of the ‘test period’, the download speed dropped and dropped to the point where I am now outside of the BT test period and consistently seeing only 2 to 2.5Mbps over a 24 hour period.
    I emphasise that those speeds were all recorded using Think Broadband but I am now doing tests using the BT checker mentioned above and the speeds which BT indicate for downloads are consistently in the 14 to 18 Mbps range.  If I do the BT and TB test in quick succession, they generally show the BT calculated speed to be better than that of TB by a factor of around 7 (ie.  TB at 2 Mbps whilst BT show 14Mbps).  Now either they are measuring different things (or the sams things differently) or one of them is lying – all I know is that my general browsing experience is slower outside of peak times and I can tell by the time it takes to load pages. 
    I might have misunderstood something in these tests but I am now beginning to regret that I fell I for the BT sales pitch which promised me ‘up to’ 20 Mbps but ‘more likely’ 17 Mbps.   I have tried to discuss thisl with BT Broadband technical support but they were no use whatsoever – indeed, I got the impression that he was reading from a script and as it didn’t cover my issue, I was wasting my time – it would also have helped for English to be his first language! 
    According to the BT test, I am well within their ‘minimum guaranteed access speed’ (Here).  for my area (about 4Mbps) and therefore cannot do anything about it.  BUT that is only when measured using the BT speed tester – with any other, I am well below.  I am beginning to feel very conned and might even start looking to withdraw from BT if I cannot get this settled.
    Can anybody help.  I will happily post detailed records of my various tests or router stats if they will help.
    Thanks in advance.  

    OK, I have now done all the tests etc. And here are the results:
    ADSL Line Status from HomeHub 3
    Connection Information
    Line state:
    Connected
    Connection time:
    0 days, 00:27:11
    Downstream:
    23.71 Mbps
    Upstream:
    1.176 Mbps
    ADSL Settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.5 Annex A
    Latency type:
    Fast
    Noise margin (Down/Up):
    3.4 dB / 6.4 dB
    Line attenuation (Down/Up):
    5.3 dB / 2.1 dB
    Output power (Down/Up):
    19.4 dBm / 11.6 dBm
    FEC Events (Down/Up):
    0 / 0
    CRC Events (Down/Up):
    41 / 24
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    HEC Events (Down/Up):
    20 / 7
    Error Seconds (Local/Remote):
    61 / 13
    BT Speed Test Result
    Download Speed:  6.59Mbps
    Acceptable Range:  4Mbps - 21 Mbps
    IP Profile:  21.42Mbps
    Upload Speed:  0.99Mbps
    Upstream IP Profile:  0.83 Mbps
    Think Broadand Speed Test
    Download Speed:  1.8 Mbps
    Upload Speed:  0.9 Mbps
    Uswitch Speed Test
    Dowload Speed:  1.7 Mbps
    Upload Speed:  0.9 Mbps
    For what it's worth, I followed the guidelines for the BT test and took all of the tests within a 10 minute period.
    All I know is that my daytime BT connection is nowhere near as fast as I had from TalkTalk.  Indeed, it was not even quick enough to watch non-HD YouTube videos earlier this morning without freezing to buffer.

  • Order analysis: poor representa​tion at speed fluctuatio​ns

    Dear all,
    In our company we do shaft motion tests at turbochargers. One part of it is performing order analysis and there lies my problem. 
    Please take a look at picture 1 and 2. They show the speed curves and the corresponding waterfall-diagramms. The difference in the pictures is the type of speed rise.
    Picture 1:
    The speed rise is evenly and the representation of the 1 EO (Exciting Order) is very straight and linear. 
    Picture 2:
    The speed rise until maximum speed is very unevenly. The speed goes up and down bewteen 20000 ... 25000 RPM. In result of it the representation of the 1 EO is very poor.
    Do you know how to avoid such poor representation despite changes in speed?
    Parameters used:
    Highest frequenc to be measured: 1 kHz
    Sample rate: 10kHz
    # of Samples: 1k
    Freqency resolution: 10 Hz
    Thank you for your help.
    Regards jenz
    Attachments:
    1.PNG ‏180 KB
    2.PNG ‏122 KB

    @ Ian Ren
    I use a PXI-Chassis 1033 with a NI-6122. The speed signals is recorded by a counter (edge counting) and the vibration signal is recorded by two analog inputs.
    I'm not sure whether I need an additional synchronization between the counter and the vibration signals (?). At present the counter and the analog inputs use the same 20 MHz Timebase and starts at the same time.
    Do you think something is wrong?
    @ Preston
    (1) Yes, I only write the output of the orbit analysis VI to file.
    It includes:
    the offset correction
    the transformation of the coordinate sytem of the raw data to the horizontal and vertical directions of the test setup
    orbit presentation
    Do you think there is too much to calculate and therefore delay in writing the data to the file? Please take a look to the block diagramm.
    (2) Yes, I begin first writing data if the calculated speed value is > 0.
    The speed calculation after the edge counting delivers a speed value at 400 RPM. At this point I have already vibration signals. So I avoid a time misalignment.
    (3) No, at present I do not use NI Sound and Vibration Tools but I have the software. The reason is, that I can not provide real signals to test the software and my DAQ-Hardware.
    (4) What do you mean with "writing a good size time waveform from the vibration signals say perhaps 10 seconds in each record"?
    Jens
    Attachments:
    Orbit_VI.pdf ‏35 KB

  • How long does it takes that GPS in MAP 3.1 will wo...

    Question to NOKIA:
    HOW LONG TIME YOU NEED TO MAKE GPS TO WORK WITH OVI MAP 3.1 in N97?
    On all N97 I know and as you can read here in forum the GPS doesn't work usable in N97 and with MAP 3.1.
    I believe that this is a software problem because often I get a GPS signal inhouse and in the wood, but from one second  to the other N97 lost the GPS signal. And this in the best weather condition under free sky. Sometimes gps signal works for 15 minutes, then the signal will drop every minute or so.
    The current position on map is shift (past) abaout 40-50 meters from the real position, so its unable to use.
    The calculated speed is always changing between 0 and the current speed. 
    I have updated phone to de newes software and firmware also to ne newest maps also has hard reseted and reformatet and the problem ist still the same.
    CAN NOKIA TELL US WHEN THIS BUG WILL BE FIXED, AND CAN NOKIA OFFER US A REFUND.
    I have payed a lot for N97 and alot for the navigation licence and a lot for accesoires and a lot for the traffic security assistance. So I want a working phone! I dint have payed money for e alpha-stadium phone.
    If this is realy the quality of nokia phone, then It is the latest phone I have buyed from nokia.
    By the way, the phone has many many many many other bugs as described in this forum.
    Really bad work NOKIA! :-(
    I was so excited with my N95 and now this mess...
    NOKIA please answer us forum members, what you plan to do with the N97 bugs. When we can hope that the bugs are gone? Otherwise I will return my phone and want my money back and I sue for compensation.

    Express shipping is available in some areas - http://store.apple.com/us/help/print_products/routing - see your country for details of offerings there
    LN

  • HOW LONG TIME YOU NEED TO MAKE GPS TO WORK WITH OV...

    Question to NOKIA:
    HOW LONG TIME YOU NEED TO MAKE GPS TO WORK WITH OVI MAP 3.1 in N97?
    On all N97 I know and as you can read here in forum the GPS doesn't work usable in N97 and with MAP 3.1.
    I believe that this is a software problem because often I get a GPS signal inhouse and in the wood, but from one second  to the other N97 lost the GPS signal. And this in the best weather condition under free sky. Sometimes gps signal works for 15 minutes, then the signal will drop every minute or so.
    The current position on map is shift (past) abaout 40-50 meters from the real position, so its unable to use.
    The calculated speed is always changing between 0 and the current speed. 
    I have updated phone to de newes software and firmware also to ne newest maps also has hard reseted and reformatet and the problem ist still the same. If I switch off the option "Maps improvment" (which SENDS DATA TO NOKIA!!!) the the drop outs are fewer. But evreytime the position on maps is shift about 40-50 Meters from right position. Is there a mistake in calculation the position?  Also the speed is jumping sometimes from 0 to x and back.
    CAN NOKIA TELL US WHEN THIS BUG WILL BE FIXED, AND CAN NOKIA OFFER US A REFUND.
    I have payed a lot for N97 and alot for the navigation licence and a lot for accesoires and a lot for the traffic security assistance. So I want a working phone! I dint have payed money for e alpha-stadium phone.
    If this is realy the quality of nokia phone, then It is the latest phone I have buyed from nokia.
    By the way, the phone has many many many many other bugs as described in this forum.
    Really bad work NOKIA! :-(
    I was so excited with my N95 and now this mess...
    NOKIA please answer us forum members, what you plan to do with the N97 bugs. When we can hope that the bugs are gone? Otherwise I will return my phone and want my money back and I sue for compensation.

    I have no word to disagree with you and hoping that Nokia soon will make some press statement or something else to tell us what they do with their flagship, sorry bugship Nokia N97.
    Could be a shame recognize errors, but it's worst not to say nothing ant let the bad news of Nokia N97 spread for internet even if they want to sell a Nokia N97 Mini in the near future.
    I understand and supose that we will no have no new version till september because we are in the last week and july and the activity in august decrease really high... but at least someone of Nokia could tell something about this problems and if it's possible all the other problems.
    Why Nokia Beta Labs Forum there is a direct contact with Nokia workers, and in discussions is relly rare to find?
    Yesterday is history.
    Tomorrow is a mistery.
    Today is a gift.

  • SWF problem in FF and Chrome browsers.

    Hi all,
    I have one problem with my swf file, I have created an swf for calculating speed. In the time of 12Sec. one person can move some distance with some x speed, an another person can move same distance with 2x speed, but finnaly two persons will reach the distance in same time that is 12Sec. I have created one timer for this, will show the time.If I run the swf the timer is working fine, I embeded this swf into html and I checked that html file using IE it is working fine, but if I check it in FF or Chrome the timer is running bit slow and it is effecting my functionality. So, any help on this please.....I attached the screen shorts here.
    I used AS3.0 to create this.
    SWF Output
    Chrome Output
    IE Output
    Thanks in Advance
    Santhosh Kumar M

    Hi kglad,
    here is the code.... please help me to find where I did the mistake...
    ****** START *************
    a_mc.stop();
    b_mc.stop();
    var ax:Number=a_mc.x;
    var bx:Number=b_mc.x;
    var count:Number=0;
    var cnt:Number=0;
    time.text=String(count);
    var b:Boolean;
    if (! b) {
              var endTime:int;
              var startTime=getTimer();
              this.addEventListener(Event.ENTER_FRAME,ff);
    function ff(e:Event):void {
              endTime=getTimer();
              fps_tf.text =String(Math.round(1000/(endTime-startTime)));
              startTime=endTime;
    var board:Sprite=new Sprite();
    addChild(board);
    board.graphics.lineStyle(1,0);
    board.graphics.moveTo(50,105);
    board.graphics.lineTo(450,105);
    board.graphics.beginFill(1);
    board.graphics.drawCircle(50,105,1.5);
    board.graphics.drawCircle(130,105,1.5);
    board.graphics.drawCircle(210,105,1.5);
    board.graphics.drawCircle(290,105,1.5);
    board.graphics.drawCircle(370,105,1.5);
    board.graphics.drawCircle(450,105,1.5);
    board.graphics.endFill();
    persA_txt.text=String(Math.round(a_mc.x-ax));
    persB_txt.text=String(Math.round(b_mc.x-bx));
    var sa:Number=2.75;
    var sb:Number=2.75;
    var tf:Number=0;
    var timer:Timer=new Timer(100,120);
    var ts:Number=0;
    var tms:Number=0;
    pl_btn.addEventListener(MouseEvent.CLICK, pla);
    function pla(event) {
              stage.addEventListener(Event.ENTER_FRAME, onenter);
              a_mc.play();
              b_mc.play();
              timer.start();
              tf=1;
    res_btn.addEventListener(MouseEvent.CLICK, sto);
    function sto(event) {
              stage.removeEventListener(Event.ENTER_FRAME, onenter);
              a_mc.x=ax;
              b_mc.x=bx;
              a_mc.stop();
              b_mc.stop();
              timer.reset();
              persA_txt.text=String(((a_mc.x-ax)/80).toFixed(1));
              persB_txt.text=String(((b_mc.x-bx)/80).toFixed(1));
              time.text=String("0");
              tms=0;
              ts=0;
              tf=2;
    pa_btn.addEventListener(MouseEvent.CLICK, pau);
    function pau(event) {
              stage.removeEventListener(Event.ENTER_FRAME, onenter);
              a_mc.stop();
              b_mc.stop();
              timer.stop();
    timer.addEventListener(TimerEvent.TIMER, doTimer);
    function doTimer(e:TimerEvent):void {
              tms++;
              if (tms==10) {
                        tms=0;
                        ts++;
              time.text=String(ts+"."+tms);
    timer.addEventListener(TimerEvent.TIMER_COMPLETE, ontimercomplete);
    function ontimercomplete(event) {
              a_mc.stop();
              b_mc.stop();
              tf=2;
              stage.removeEventListener(Event.ENTER_FRAME, onenter);
    function onenter(event) {
              a_mc.x=a_mc.x+sb;
              b_mc.x=b_mc.x+2*sa;
              if (b_mc.x<208) {
                        sa=2.75;
              } else {
                        if (a_mc.x<208) {
                                  sa=0;
                                  b_mc.stop();
              if (a_mc.x>=210) {
                        if (b_mc.x<368) {
                                  sa=2.75;
                                  b_mc.play();
                        } else {
                                  if (a_mc.x<368) {
                                            sa=0;
                                            b_mc.stop();
              if (a_mc.x>=368) {
                        sa=2.75/2;
                        b_mc.play();
              persA_txt.text=String(((a_mc.x-ax)/80).toFixed(1));
              persB_txt.text=String(((b_mc.x-bx)/80).toFixed(1));
    ******** END ************
    Thanks
    Santhosh Kumar M

  • AP Extreme airplay video unusable

    Inexplicaby and suddenly, Airplay video is stuttering so badly as to be unusable on ALL my devices.
    Running AP Extreme latest firmware (downgrading did not help)
    iPhone 5 6.1.2
    iPad HD 6.1.1
    MBPr 10.8.2
    Trying to stream videos from computer to any of these other devices fails with LONG black screens with just a few seconds of video every 2 or 3 min.
    I would guess the APE is failing except there's no other indication of that and internet seems ok (possibly a little slow) and Hulu / Netfilx play video on iTV perfectly.
    I've downgraded APE firmware and same result.
    Where to begin?

    "Slow" wireless network streaming performance is almost always due to limited or poor signal quality. As you can imagine the better the signal quality, the higher the available bandwidth.
    Without knowing your exact network configuration, I would first try to eliminate any potential Wi-Fi interference candidates. I would also use a utility, like iStumbler, inSSIDer, or WiFi Explorer to determine if you have any competing Wi-Fis in the area. You can use these utilities to find out which have the strongest signal and what channel(s) they are operating on. Then change the operating channel of your wireless network to a channel at least 3-5 channels away.
    To get a more accurate measure of the speed of your wireless connection, you need to use a method that actually measures the speed that your connection is delivering. These include:
    Timing a drag-and-drop filecopy and calculating speed (file size / transfer time). For example: Create a 1 GB Disk Image file using the Disk Utility. Copy this file from your Mac to an AirPort Disk attached to the 802.11n AirPort Extreme Base Station (AEBSn). Measure the time it takes for the copy to complete.
    Start a file copy, and then, use OS X's Activity Monitor to note the data rates on the Disk Activity tab.
    Using AJA's System Test utility to measure transfer times for various video files.
    Running iPerf or jPerf.

  • Sparse VS Dense and neglecting Period Dimension

    Hi All,
    I am working on a classic planning application, in which i have 3 custom dimensions apart from six standard dimension. As the application grows and we start developing business rule we feel the need for optimization of our application hence along with increasing Cache Size, Block Size etc. we also make changes in JVM registry and lastly we also convert our Custom dimension to Dense from Sparse. As we are always using these dimension at either row/columns. Now i have to different questions:
    1) there are three custom attributes associated with one of my Custom dimension with 150descendants, so if i change it to Dense then i loss those three custom attributes. So is there any way to convert this from sparse to dense while having the attributes with it. Note: I am using this dimension on Row and i only want to convert it to dense in order to enhance performance. The motivation behind this change is that i piratically experiment that the business rules that take more then 20mins to executes just execute in less than a minute when i convert the other 2 custom dimensions from sparse to dense.
    2) I am not using Period Dimension in my application, because my need are fulfiled by year dimension only, so is there any way to delete it or neglect it while processing business rules?

    Hello,
    Your question gets into some advanced design topics fairly quickly and you may want to engage an experienced consultant to help you.
    It sounds like your application is past the design stage and you are making what are design level changes which is a likely risk to your project delivery time frames.
    Regarding the conversion of the dimension from sparse to dense -- there is no way to tag a dense dimension as an attribute.
    Review Chapter 10 of the Database Admin Guide at http://docs.oracle.com/cd/E17236_01/epm.1112/esb_dbag/frameset.htm?dattrib.html#dattrib524566
    Pay special attention to the "Understanding the Rules for Base and Attribute Dimensions and Members".
    In addition to loosing the attribute dimension please be aware of the implication to block size. Switching a sparse to a dense has a multiplicative effect on your block size; you should make all upper level members dynamic calc and then the number of level 0 members time your old block size will be your new block size.
    On the topic of your period dimension you may want to try renaming it and using it for one of your other dimension needs if you do not require month level data.
    On the topic of calculation speed you can usually make re-write your calculations to make them dense. In your instance it may be a good idea to make your years dense to use that to facilitate creating dense calculations.
    Good luck,
    John A. Booth
    http://www.metavero.com

  • How to use Shift Register?

    Hi
    Today I spend hours to ficure out how to use a shift register with labview.
    I am going to calculate the acceleration of the wheels of an RC-car.
    I want to use the simple function to calculate the acceleration.
    a=(v1 -v0)/time
    From this it follows that I need two speed (ms) values. I was thinking about including a shiftregister that I made before (attached) into the SpeedAngle.vi
    But that doesn't work.
    Is there maybe an other way to store two following values of the calculated speed? So that I can use it for further calculations.
    Thank you!
    Attached the two program files.
    Bye
    Attachments:
    ShiftRegister1.vi ‏23 KB
    SpeedAngleAdvancedEDIT.vi ‏187 KB

    Hi
    Thank you very much. Now it works. Attached you will find the program. Now I need to adjust the car with the program. Hope this also works.
    One more question. Why isn't it possible to use a Numeric Control twice?
    Because I wanted to use the Numeric Control that I use for the time constant (time) also for the calculation of the acceleration.
    That doesn't work. Than I placed a Numeric Indicator to display the value of the time constant. But it just displayed the default value.
    Bye
    Attachments:
    SpeedAngleAdvancedEDIT.vi ‏214 KB

  • Synchroniz​e DSA modules and 40 MHz clock on CompactRIO

    Hello.
    We are using CompactRIO to perform vibration and counter measurements. We are using DSA modules (9234, 9229) for analog signals and 9411 modules as digital input for counter period measurement. We need to perform these measurements in sync over a period of 24 hours.
    DSA modules use the internal 13.xx MHz of one of them as master, while counter measurements use the FPGA 40MHz clock. The problem is that after a couple of minutes we see a noticeable drift between them.
    Two questions:
    1. Is it possible to derive a 13.xx MHz clock from the FPGA 40 MHz clock, and use it as a master for DSA modules?
    2. Is it possible to export the DSA master 13.xx MHz clock and use it as an input to the FPGA? This way we could quantify the drift between both clocks.
    We found this post: http://forums.ni.com/t5/LabVIEW/Export-FPGA-Onboar​d-clock-to-io-modules/td-p/1149080, but it's not exactly the same situation.
    Kind regards,
    Daniel Ramírez
    CLD - CADETECH S.A.
    Chile

    Yes - there is a method of calculating speed on the FPGA and with reference to the oversample clock.  Consider this document:
    http://www.ni.com/example/31301/en/
    It uses a high speed analog, yet it time stamps level detection - a digital output - to the DSA oversample clock. 
    Then in the LabVIEW Sound and Vibration Measurement Suite Order Analysis tools, you can find the digital tachometer VI used to prepare the speed pulses for resampling and order analysis. 
    Let us know how this works. 
    Preston Johnson
    Principal Sales Engineer
    Condition Monitoring Systems
    Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
    National Instruments
    [email protected]
    www.ni.com/mcm
    www.ni.com/soundandvibration
    www.ni.com/biganalogdata
    512-683-5444

  • Reply to BEN ABOUT THE RESISTIVITY PROGRAM

    Ben,
    Following is the code of the Resistivity measurement program that i had posted a question about.
    Look at the loop in the following position in the program::
    Outermost TRUE frame
    Frame 2
    Frame 2
    Look at the loop taking input from the Q control on the front panel.Also the input is taken from another array , F .The program first calculates Qa and then searches array Q for the closest value and then remembers the index at which the closest value was found and from the same position in another array (f)gets a value Fa .Fb is calculated similarly.
    This takes foreveR(BUT IS NOT WRONG-JUST TAKES TOO LONG , MY BOSS SAYS EARLIER IT DIDNT TAKE SO LONG)
    SO KINDLY HELP
    REGARDS
    UT
    PAL
    Attachments:
    resistivity.zip ‏257 KB

    "utp" schrieb im Newsbeitrag
    news:[email protected]...
    > Ben,
    > Following is the code of the Resistivity measurement program that i
    > had posted a question about.
    > Look at the loop in the following position in the program::
    > Outermost TRUE frame
    > Frame 2
    > Frame 2
    > Look at the loop taking input from the Q control on the front
    > panel.Also the input is taken from another array , F .The program
    > first calculates Qa and then searches array Q for the closest value
    > and then remembers the index at which the closest value was found and
    > from the same position in another array (f)gets a value Fa .Fb is
    > calculated similarly.
    > This takes foreveR(BUT IS NOT WRONG-JUST TAKES TOO LONG , MY BOSS SAYS
    > EARLIER IT DIDNT TAKE SO LONG)
    > SO KINDLY HELP
    > REGARDS
    > UTPAL
    Utpal,
    concerning the code you mention, Ben's answer is correct, it is a sort of
    interpolation which is done in your code.
    The calculation is done in an extremely inefficient manner in the code. I
    compared it with an optimised code and found that the speed differed by a
    factor of 10. The absolute numbers were 12 ?sec for the optimised code and
    117 ?sec for the code in your program. But this was under Labview 6.1 on a
    2.3 GHz pentium, and you talked about LV 4 (on a probably much slower
    machine).
    HOWEVER, the calculation speed depends on the value of the input number Qa,
    since a long array (roughly 6000 elements) has to be searched through. For
    Qa values close to 1 (which you probably have for a "well behaved" van der
    Pauw sample) the code in your program takes twice as long as the numbers
    above indicate (whereas for a Qa of, say, bigger than 5000 the speed is much
    faster).
    Now suppose your PC is a factor of 10 slower and suppose further that LV 4
    is another factor of 10 slower than LV 6.1 (it is doing lots of 'array
    subset' operations in your code) and considering further that the algorithm
    is performed 4 times in your program, we might expect a speed of 2 x 10 x 10
    x 4 = 800 slower than the numbers above, i.e. 800 x 117 ?sec which is appr,
    0.1 sec.
    Therefor I believe that the awfully long times you report are not due to
    this (admittedly very inefficient piece of) math code.
    I attach 2 png pictures, showing
    a) the optimised code
    b) how to convert the two big array constants in your code into a form
    suitable for the optimised code
    You should run b) only once of course and then store array [(Q,f)] in your
    program.
    If you have access to Labview 6.0 or 6.1, I could also send you the code
    directly.
    -Franz
    [Attachment Calculate interpolated f(Q)d.png, see below]
    [Attachment Make Q,f arrayd.png, see below]
    Attachments:
    Calculate_interpolated_f(Q)d.png ‏4 KB
    Make_Q,f_arrayd.png ‏2 KB

  • HSF Server and multithreading

    Hi,
    I just got a good production server with a multicore CPU. Unfortunately, when I run CPU intensive tasks like scenario calculations and consolidations, the HSFServer.exe process uses only one of the cores, so I still obtain very slow results.
    Is HSF not multithreaded at all which could explain it never uses more than one core ?
    Any tuning tips to improve calculation speed ?
    I haven't found anything related to this in the documentation.
    edit : I know the option in the HSF Administrator, Server, Settings, Advanced.
    The documentation says :
    Optional: In Max number of worker processes, enter a number for the MaxBackgroundWorkers register.
    Defines the number of slots available for simultaneous long runtime background processes such as database exports, server consolidations, and Entity Change Manager runs.
    If the number of long runtime processes exceeds MaxBackgroundWorkers, new processes are queued until a BackgroundWorker slot becomes available.
    Use this equation to estimate the MaxBackgroundWorkers setting:
    For consolidation-intensive servers: (Number of Physical Processors) - 1
    For database export-intensive servers: 2 x (Number of Physical Processors)
    But that only means that if I set 2 workers, I can perform a consolidation on one core, and a database export on another core, but it doesn't mean I can run a calculation that uses more than one core simultaneously.
    Thanks in advance.
    Regads,
    JM
    Edited by: endy on Dec 16, 2010 11:22 PM

    create a class 'exampleServer' externed JCO.Server.
    //in your main method,create a array of JCO.Server by:
    exampleServer serverConnections[] = new exampleServer( i );
    //than start your JCO.Server
    serverConnections[] .start();
    the array length i decide how many server do you create.
    Edited by: steiner fisher on May 30, 2008 7:23 AM
    Edited by: steiner fisher on May 30, 2008 7:23 AM
    Edited by: steiner fisher on May 30, 2008 7:24 AM

  • Upgrade CPU on HPZ600

    ‎Will my HP Z600 with mothernoard OB54h D take Intel Xeon X5690.Presently having Dual CPU Intel Xeon E5620, BIOS 786G4 v03.08. Wish to speed up calculation speed (complicated simulation calculations, now typically taking some 6...24 hours), up to maximum to be reached.If compatible, would the Dual X5690 be the right and best choice?And more, is it the utmost CPU ever to be fit in the present motherboard ?

    aliquo93 wrote:
    Hi, I want to upgrade the CPU on my HP Pavilion g6-2146sl, how can I do that? I only have to change the CPU or I have to change the entire motherboard? Can you also give me a list of supporterd processors?
    Thank you all.
    Hi,
    It's all here:
    http://h10032.www1.hp.com/ctg/Manual/c03277661.pdf
    The cpu is NOT soldered to the motherboard so a simple replacement should be fine. I see that your laptop uses only the shared graphics chip from the cpu. I would consider a board replacement too. There is listed a motherboard with a dedicated ATI Radeon 7670M with 1GB or 2GB of RAM. Component replacement procedures start from page 38.
    Dv6-7000 /Full HD/Core i5-3360M/GF 650M/Corsair 8GB/Intel 7260AC/Samsung Pro 256GB
    Testing - HP 15-p000
    HP Touchpad provided by HP
    Currently on Debian Wheeze
    *Please, help other users with the same issue by marking your solved topics as "Accept as Solution"*

  • For a software engineering which is best MacBook Pro or MacBook Air

    for a student of software engineering which is better MacBook pro or macbook air

    What do you need for software engineering, a large screen? a large disk? a lot of ram  (like for 3d apps)? a lot of calculating speed?
    I think that the answer is no to all, but what do you think?

Maybe you are looking for