How to process data in the past based from data in the present

hello guys,
i have a problem in my labview programs. how to process data in the past based from data in the present ?
i have a formula self-organizing maps
this formula is looking for D1, D1 is neuron index that will be searched for the smallest value.and the result are D1=2 ,D2=5, D3=17 from calculating with formula  .it means the smallest value is 2, "2" from weight [2 2] in file attached.
and then it will be in other formula
it mean [2 2] + 0.5 ( [1 1]-[2 2] ) = [1.5 1.5]
and the weight will be  [1.5 2 2 ] in matrix
                                          1.5 3 5
I would appreciate any input/help on solving this
thanks
Attachments:
dika.vi ‏16 KB
weight.txt ‏1 KB
data .txt ‏1 KB

Hi Ronny Hanks,
Moving your records from internal table into the database table depends upon various scenarios :-
1. If you use INSERT statement.
INSERT <database_table> FROM TABLE <internal_table>.
But in this case, you need to make sure that you don't have any duplicate entries in your internal table that violates data entry into database table, else you will get a dump.
INSERT <database_table> FROM TABLE <internal_table> ACCEPTING DUPLICATE KEYS.
In this case, you are forcefully inserting duplicate records into your database table which may lead to data redundancy in your database table.
2. If you use UPDATE statement.
UPDATE <database_table> FROM TABLE <internal_table>.
This will update the existing records in your database table from the internal table.
3. If you use MODIFY statement.
MODIFY <database_table> FROM TABLE <internal_table>.
This statement works both in combination of INSERT & UPDATE statements.
Existing records (in database table) will be eventually updated/modified and new records (not in database table currently) will be successfully inserted into the database table.
Hope this solves your problem.
Thanks & Regards.
Tarun Gambhir.

Similar Messages

  • How to create a service entry sheet based from the PO

    how to create a service entry sheet based from the PO
    Gurus,
    I am creating a service entry sheet from the PO but I am getting an error of u201CPlease maintain services or limits Message no. SE029- Diagnosis(You cannot enter data until the PO item has been maintained correctly) u201C
    The document type of the PO is standard NB, account assignment category is Q- (Proj make to order) and the item category is D(service). Then I am trying also create a PR using account assignment category is Q- (Proj make to order) and the item category is D(service) but still cannot proceed, a message asking me to enter a service entry number. What I know the process is create a PO(maybe based from PR) then post the GR then create a service entry sheet in ML81N but I cannot proceed. Just creating a PR or PO using those mentioned account assignment and item category and getting an error of need to enter a service entry sheet number.
    Please help.thanks!

    HI,
    Process for Creating Service Entry Sheet
    Transaction Code :    ML81N
    1)To open the respective Purchase Order, Click on the u2018Other Purchase Orderu2019, then enter the Purchase Order No.
    2)Click on the u2018Create Entry Sheetu2019 icon(3rd Icon on Top-Left)
    3)Give Short Text (e.g. R/A Bill No. 1) and top service entry sheet number also generated.
    4)Click u2018Service Selectionu2019 Icon on the Bottom of the Screen.
    5)For the 1st Time, when we are making Service Entry Sheet for a respective Purchase Order, we need to u201CAdopt Full Quantityu201D by clicking the Check box next to it, then Enter.  (*For the next time, no adoption is required, just continue)
    6)Select the respective Services by clicking on the Left Hand Side, then Click u2018Servicesu2019 (Adopt services) icon on the Top.
    7)Give the completed Quantity, then Click u2018Acceptu2019 icon(a green flag on the top)
    8)Save .
    9)Service Entry Sheet is SAVED and account posting made.
    Hope, it is useful for you,
    Regards,
    K.Rajendran

  • I have an old iPhone 4 that finally stopped working.  I have an unlimited data plan and want to keep it.  When I called customer service, I was told like in the past that if you purchase the new phone at full price, you can keep your old plan.  However, a

    I have an old iPhone 4 that finally stopped working.  I have an unlimited data plan and want to keep it.  When I called customer service, I was told like in the past that if you purchase the new phone at full price, you can keep your old plan.  However, after some time on the phone i was told by the csr and supervisor that their system is not allowing them to complete the transaction without changing to a limited data plan.  I was told to try going to a store and buy the phone.  Same thing happened.  Has Verizon changed something and not told their employees?

    Seems like people having this problem are those coming from a phone that doesn't have a nano SIM card...so when Verizon issues them one they end up changing their plan. No clue why this keeps happening but stay on top of them. As long as you initiated the request for your plan to be reinstated within the 14 day time frame they should put it back. Interested in seeing how this plays out. There is still one phone in my house that hasn't been upgraded (an iPhone 4). I'm hoping when we do upgrade it at full retail they won't mess with her unlimited data plan

  • HT201272 I have OS 3.1.3 how do I go about Downloading past purchases from the App Store

    I have OS 3.1.3 how do I go about Downloading past purchases from the App Store?

    You can download the current versions of the apps from the store e.g. via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes : re-downloading. But you may find that the current versions require higher iOS versions than you have on your iPod - in which case have you not got copies of the older versions of those apps on your computer's iTunes or on a backup ?

  • In Yosemite Mail, there is an issue where the signatures no longer toggle as in the past. If you change the existing signature, it just adds the new one vs replacing it within the body of the message. Thoughts?

    In Yosemite Mail, there is an issue where the signatures no longer toggle as in the past. If you change the existing signature, it just adds the new one vs replacing it within the body of the message. Thoughts?

    Hi howe.sc,
    When I checked for how signatures in Yosemite work, I found this.
    Mail (Yosemite): Include signatures in messages
    Delete a signature from a message: Select the signature, then press the Delete key.
    Replace a signature in a message: Delete the existing signature, then add a different signature.
    That sounds similar to what you are describing.
    Take care,
    Nubz

  • [svn:osmf:] 10589: Updated the readme. txt for the VASTSample based on feedback in the OSMF forum.

    Revision: 10589
    Author:   [email protected]
    Date:     2009-09-25 10:15:31 -0700 (Fri, 25 Sep 2009)
    Log Message:
    Updated the readme.txt for the VASTSample based on feedback in the OSMF forum.
    Modified Paths:
        osmf/trunk/apps/samples/libs/VASTSample/readme.txt

    A good solution. Liked it very much. Can you please make it a technet blog for others.
    [email protected]

  • I have 300 stores and I'm looking for a global QOS config that would shape/policy the bandwith based on a % of the detected ISP link speed

    Hi,
    We have 300 stores with mostly the same router config.
    The router in each store is a cisco 891 router capable of doing QOS.
    Each of our store is connected to internet through a local Internet Service Provider (ISP).  They all have different ISP.
    Each store has different Internet plan with different speed, some are DSL, other are using cable modem.
    The connection between the router and the modem is 100Mbps. But the real speed after the modem will be different depending of the Internet plan the store is using. Exemple : 20Mbps download / 2Mbps upload.
    I'm looking for a standard QOS config that would be put in each routeur and that would shape/policy the bandwith based on a % of the detected ISP link speed.  The goal here is to prevent a single desktop computer of the store to take all available bandwith of the ISP link because of youtube , cloud photo upload, etc.
    Because the wan of the router is in the modem at 100Mbps, I cannot use this bandwith indication for the % calculation. The ISP link speed (after the modem)  is much lower than that.  
    In other words, I dont want to set specific qos value or bandwith manual value in each of my 300 router. Especially because the ISP speed is not the same in each site, it's a big job and it's changing all the time.  Stores owner boost their link, etc.
    So, Is there a way within the router to detect the Wan real max speed and to assign dynamically % of the deduced value and assign it to different policy-map rules, etc.
    regards
    Jonathan D

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    I'm unaware of any (one) "built-in" feature that will do what you're desire.  (BTW, I don't believe PfR, as mentioned by Matt, will do what you desire either, but I've haven't used it in several years.)
    I was looking to address a somewhat similar problem several months ago, and believe I could construct dynamic QoS shaping using an embedded device script working with IP SLA monitoring.  However, the "problem" site (using a cable modem) closed, so I didn't pursue it further.
    An alternative approach would be to use as few policy models as possible.  For example if there are sites with 2, 3 or even 5 Mbps uploads, you might use a 2 Mbps shaper for each.  Of course, sites with more available bandwidth won't obtain the full advantage of it, but your maintenance support will be easier.  Conversely, especially for cable modems, running under their nominal speed might provide much more predictable performance, as HFCs are generally much more variable in their actual available bandwidth, moment to moment.

  • Have searched Forums for quite some time now. Cannot find a correct answer to: how do I prevent my old email address from appearing as the "from:" address

    Have searched Forums for quite some time now. Cannot find a correct answer to: how do I prevent my old email address from appearing as the "from:" address when I use a "send this" link on a webpage/news article. The email window opens and automatically inserts my old Hotmail address instead of the Yahoo address I've used for a long time. (The drop-down won't let me change it or delete it.) Thanks.

    Do you get a drop down list with suggestions if you clear that "from" field and click elsewhere on that page to move the focus off that field and then double-click again in that field or start typing the first letters of that unwanted email address?
    Use these steps to remove saved (form) data from a drop down list:
    #Click the (empty) input field on the web page to open the drop down list
    #Highlight an entry in the drop down list
    #Press the Delete key (on Mac: Shift+Delete) to remove it.
    *Form History Control: https://addons.mozilla.org/firefox/addon/form-history-control/
    *Tahoe Data Manager: https://addons.mozilla.org/firefox/addon/data-manager/

  • I got my i phone4s few days back and i created an apple id with a credit card and when i go to the appstore to purchase apps,all have and message stating that "this app is no longer availabe"..how do i fix this issue?im from singapore by the way

    i got my i phone4s few days back and i created an apple id with a credit card and when i go to the appstore to purchase apps,all have and message stating that "this app is no longer available"..how do i fix this issue?im from singapore by the way

    If it is longer available then you can't get the app on your phone.

  • How do i fix my nano (6th gen) from automatical turning the volume down by itself

    how do i fix my nano (6th gen) from automatical turning the volume down by itself? I bought my first nano (6th gen) and it started to happen. so, i just bought a new one because i'm unavailable to take it to an apple store. now, the second one is doing the same thing.  i've reset them through itunes, and it continues to happen. any suggestions?

    Did you check your volume limit settings?
    copied from page 24 of the iPod_nano_6thgen_User_Guide

  • How can I change the itunes store from Swiss to the Italian one on my ipad2 with new software ios6? Thanks

    How can I change the itunes store from Swiss to the Italian one on my ipad2 with new software ios6? Thanks

    See More Like This to the right of this post!

  • How do I remove the coloured bars from running down the side of my emails.

    How do I remove the coloured bars from running down the side of my emails.

    Hi
    The setting I have in Composing are-
    Composing
    Message Format - Rich Text
    In addressingonly have  tick in When sending to a group
    Responding - tick only the first two boxes
    Last only the bullet for Include selected text
    Hope htis helps

  • Why can't I create a gallery in iPhoto in the normal way who in the past? If I sent the gallery to another the pictures are deleted!

    Why can't I create a gallery in iPhoto in the normal way who in the past? If I sent the gallery to another the pictures now will be deleted!

    Before anyone can help, they need information to work with. Basic stuff:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. What were you doing when the problem arose?
    - Did it ever work properly?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    Anything else you can think of that might allow someone else to understand your issue.

  • How to check if the approver returned from AME is the last apporver

    Hi,
    I have setup multiple Approval Groups which uses a query to derive the approver list. Each Self Service HRMS transaction is attached to a different approver group.
    My requirement is to write a function in Workflow to check if the approver returned from AME is the last approver of the group.
    Please let me know how I can achieve this.
    Thanks,
    Rachana

    there is some seeded attribute like is_last_approver. Check the value if this returns tru then it is last approver

  • May i ask how to find the history website from safari in the new Mavericks?

    may i ask how to find the history website from safari in the new Mavericks?

    Choose Show All History from the History menu.
    (93509)

Maybe you are looking for