READ_EXCHANGE_RATE and negative rate

Hi,
I've a question: when I use READ_EXCHANGE_RATE function, I notice that in some cases result is negative ( and a table visualization returns a / instead of -).
When I found negative rates, for obtain the correct conversion should I divide source value with rate found and subsequently multiply the result by "-1"? Can I assume the rule is this? Or there are some other criteria to adopt?
Thanks a lot,
G.

Hi Brian,
Thanks for input.
So we can just schedule as job like you say.
"You can create a process chain or put it into daily master data load process chain."
Can you explain a bit more on the process chain? how we can schedule to load the Exchange Rate and UoM via process chain?
Which appoarch we should use? Process Chain or via Job? Why?
Thanks.

Similar Messages

  • Numeric Integration of positive and negative values in the same signal

    Hello.. I need to perform an evaluation of Area Under Curve of my signal, but it contains positive and negative values. I am using the "Numeric Integration" function, but the result expressed by my VI represent: AREA OF POSITIVE VALUES - AREA OF NEGATIVE VALUES, in other words, my result represent the difference between these two areas. But I want to know the total area, the sum of positive values area and negative values area, and because both values has are "+", my final result should has "+" notation.
    For example:
    Area of positive values: +45.00
    Area of negative values: +34.00
    Total area: +79.00
    How do I modify my VI to obtain the total area value?
    I try to split my values in two parts:
    A) only the positive and zero values
    B) only the negative values
    I calculated the areas of both splits and performed an sum of them, but the final result does not matches with total area (computed by another software to know the real value)
    I attached an picture of my VI
    Thank you
    Daniel
    Attachments:
    Numeric Integration1.png ‏12 KB

    Use an event structure for the boolean value changed. You also did not follow Lynn's advice to insert an "absolute value". It would really simplify everything.
    Here's how it would look in a newer version of LabVIEW (your icons look different because you have an older version. The functions are the similar).
    This is just a draft and the program needs to be improved. Use a state machine with events for read file and another for value change on the sampling rate. Place the data array in a shift so you can change the sampling rate without the need to re-read the file. Modify as needed. 
    Some important pointers in general:
    There is NO need to constantly spin the loop every nanosecond. The only time the loop needs to spin if if one of the inputs has changed.
    If you don't use an event structure, all UI loops need a wait to conserve CPU.
    Never (almost never) use "switch until released". Typically you want to use "latch when released" which makes the terminal true exactly once until the value is read and it will revert to false after that. "switch until released acts like a doorbell, so if it werent for the file dialog, you would execute the case several times in a row.
    You don't need to get the array size and wire N of the FOR loop if you are autoindexing. LabVIEW will spin the loop until it runs out of elements automatically.
    There is an atomic operation for "negate" in the numeric palette. No need to multiply with a "-1" diagram constant.
    There is an atomic operation for ">=0" in the comparison palette. No need to compare with a "0" diagram constant.
    Use a stop button on the loop termination.
    Everything that only needs to be done once after the file is read (e.g. you inner loop, etc. also belongs inside the case structure. Right?
    In general, you would make things much easier for us if you would attach your actual live VI instead of dead images.
    Message Edited by altenbach on 04-19-2008 12:22 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    areaPositive.png ‏9 KB

  • PO_QTY came out with 0 and negative number

    Hi experts,
    I was loading data via 2LIS_02_SCL,2LIS_02_ITM. PO_QTY was populated by ABAP instance. But some PO_QTY number came out with zero and negative number while some of other PO_QTY number came out with the right number.
    I was working on this problem for 2 days but have no idea on it. Anybody can help me?
    Thanks a lot.
    Junbo

    dear Junbo,
    are you working with business content extractor only, i mean no enhancement to that field ? i think it can be 'program error' that po quantity is not correct, try to search oss note ? what's your r/3 PI level ? applied the oss note mentioned before working with lo-mm pur ? it's stated in mm pur extraction doc (if you have not this doc, let's know your email, will send you).
    if you are using business content extractor only without enhancement to this field, you may create oss message to get sap help. debug with rsa3 option debug marked is possible.
    hope this helps.

  • How to configure HFM to allow loading of EOM and AVG rates?

    I am new to HFM and would appreciate some assistance with loading of Exchange rates. I have created the currency members in the Value and Account Dimensions, and have also created two additional accounts (in the Accounts dimension) to capture the EOM and AVG rates, and tagged these as "currencyrate" in account type. How do I get the rates to appear in C1 and C2 so that I can load EOM and AVG rates? Firstly, the TO and FROM rates do not appear in C1 & C2 for me to select (via a Grid).  And when I tried to load the data via a flat file, the system highlights that the intersection is invalid..
    Scenario;Year;Period;View;Entity;Value;Account;ICP;C1;C2;C3;C4;Amount
    Actual;2013;Jul;YTD;[None];<Entity Currency>;EOMRate;[ICP None];AUD;USD;[None];[None];X.XXXX
    When I tried creating the currencies in C1 & C2, the system rejected the members due to duplication (ie in the Value dimension)
    Assistance appreciated.
    Thanks
    JC

    Hi JC,
    To view/load the rates in a grid you'll want to select [Currencies] from View option in your Member Selection.  View is the first of the three icons at the top of the screen (View, Filters, and Options).  Once you select [Currencies] you'll see a list comprised of all members you've previously added to the Value dimension.
    Your flat file looks good, however, you might try loading to [None] in the Value dimension rather than <Entity Currency>.  Also, confirm the members to which you're loading in C1 and C2 exist in the Value dimension.
    Note: you can also view/load rates using HsSetValue formulas.
    Thanks,
    Erich

  • Lookout OPC Client – Asynchronous I/O and Update Rate serious problems (Sequence of data)

    I am using the Lookout OPCClient driver to connect to AB PLCs (EtherNet/IP protocol) and power measurement equipment (Modbus TCP protocol). The OPC server is the NI OPC Servers. The data that are read out from PLCs and PMs are energy meter readings, energy counters, power, voltage, current, frequency, power factor and el. energy quality measurements (THD). That energy meter readings are being stored in SQL database.
    I am experiencing a serious problem regarding the accuracy of the meter readings. Several times per day, randomly, meter readings are losing the time sequence. For example, sequence is: 167, after few seconds 165, 166.  In other words, present value followed by two previous old values. That generates a serious problem in our application that is expecting a naturally rising sequence of counter values.
    Analyzing further, I isolated the problem to the connection between Lookout OPCClient and OPC Server. I made a simple application in Lookout 6.7 (opcproc.lkp, attached) with OPCClient parameters: NIOPCServers, OPC2, Asynchronus I/O, Update rate: 10000, Deadband: 0.0, that is reading just one tag from NI OPC Servers demo application (simdemo.opf).
    By using OPC diagnostic tool from NI OPC Servers I record the sequence of OPC requests and responses.  I found out that OPCClient sends every 2.5 sec “IOPCAsyncIO2::Refresh2()” call that is request for refreshing of all items in one OPC group. Few milliseconds later OPC Sever responds with callback function “IOPCDataCallback:: OnDataChange()(Device Refresh)” that actually refresh the data.
    This periodic sequence is intrinsic to the OPCClient and cannot be disabled or changed (by my knowledge).  This sequence is periodically interrupted by “IOPCDataCallback:: OnDataChange()” caused by update rate parameter of OPCClient (client is subscribed to server for periodic update of changed items).
    In the case of demo application on every 4 refresh callbacks caused by refresh requests (2.5 sec) there is one update subscription callback determined by Update rate (10 sec).
    QUESTION 1:
    What is the purpose of update sequence and update rate when we have every 2.5 sec fresh values?
    PROBLEM
    The problem arises when we have a large number of items in OPC group. In that case the OPC Server starts to queue refresh requests because they cannot be fulfilled in 2.5 sec time because of large number of I/O points that must be scanned. At the same time update subscription callbacks are running at the period determined by Update rate. I observed in my production system that regular update callbacks has higher priority than refresh callbacks from the queue. That causes the loosing of timed sequence of data. After the update callback with fresh data, sometimes follow one or two refresh callbacks from queue with old (invalid) data. By adjusting Update rate parameter (1 hour, 2hours …) I can postpone the collision of data refreshes but I cannot eliminate it. Furthermore, the 2.5 sec automatic refresh are large burden for systems with many I/O points.
    QUESTION 2:
    Is there a way to disable automatic refresh request every 2.5 sec and just use update requests determined by Update rate?
    QUESTION 3:
    Is there a way (or parameter) to change the period of automatic refresh (2.5 sec)?
    This problem is discovered for Lookout 6.5, 6.6 and 6.7 so I could say it is intrinsic to OPCClient. If I use synchronous I/O requests there is not an automatic refresh, but that is not an option for large systems.
    Thanks!
    Alan Vrana
    System engineer
    SCADA Projekt d.o.o.
    Picmanova 2
    10000 ZAGREB
    CROATIA
    T +385 1 6622230
    F +385 1 6683463
    e-mail [email protected]
    Alan Vrana
    SCADA Projekt d.o.o.
    ZAGREB, Croatia
    Attachments:
    opcproc.zip ‏4 KB

    The physical connection from LV to the switch is (I believe) copper crossover to fiber converter into a switch.  Then, fiber from the switch to the end device (relay).  The relay has all of the typical modbus registries and has been verified by inducing signals in to the system and measured/polled in LabVIEW and observed Variable Monitor.  I am working with LV 8.2 and 8.5. 
    An OPC server would only add an additional translation of addressing within the configuration.  The only real draw back would be the network overhead required to do this processing and not being representative of the end design configuration.
    I will reiterated my question in another way:
    I must answer the question to management that relates to data collection, test results and analysis; how often are you polling the client in relation to the outcomes measured?  At this time I can not point at any configuration in the set up and execution that directs the data framing rate.  I only measure the traffic and work with results.  This needs to be clearly identified based on the relay modbus/tcp design capability of supporting an fixed number of client requests per second. 
    For testing purposes, I would like to be able to stress the system to failure and have prove capabilities with measured data.  The present problem is that I have no basis to establish varying polling rates that effect the measured data transmission. 
    This raises another question.  What handles the Variable Monitor data requests and how is this rate determined?
    Thanks for your interest in my efforts.
    Steve

  • MyRIO memory, data transfer and clock rate

    Hi
    I am trying to do some computations on a previously obtained file sampled at 100Msps using myRIO module. I have some doubts regarding the same. There are mainly two doubts, one regarding data transfer and other regarding clock rate. 
    1. Currently, I access my file (size 50 MB) from my development computer hard drive in FPGA through DMA FIFO, taking one block consisting of around 5500 points at a time. I have been running the VI in emulation mode for the time being. I was able to transfer through DMA from host, but it is very slow (i can see each point being transferred!!). The timer connected in while loop in FPGA says 2 ticks for each loop, but the data transfer is taking long. There could be two reasons for this, one being that the serial cable used is the problem, the DMA happens fast but the update as seen to the user is slower, the second being that the timer is not recording the time for data trasfer. Which one could be the reason?
    If I put the file in the myRIO module, I will have to compile it each and every time, but does it behave the same way as I did before with dev PC(will the DMA transfer be faster)? And here too, do I need to put the file in the USB stick? My MAX says that there is 293 MB of primary disk free space in the module. I am not able to see this space at all. If I put my file in this memory, will the data transfer be faster? That is, can I use any static memory in the board (>50MB) to put my file? or can I use any data transfer method other than FIFO? This forum (http://forums.ni.com/t5/Academic-Hardware-Products-ELVIS/myRIO-Compile-Error/td-p/2709721/highlight/... discusses this issue, but I would like to know the speed of the transfer too. 
    2. The data in the file is sampled at 100Msps. The filter blocks inside FPGA ask to specify the FPGA clock rate and sampling rate, i created a 200MHz derived clock and mentioned the same, gave sampling rate as 100Msps, but the filter is giving zero results. Do these blocks work with derived clock rates? or is it the property of SCTL alone?
    Thanks a lot
    Arya

    Hi Sam
    Thanks for the quick reply. I will keep the terminology in mind. I am trying analyse the data file (each of the 5500 samples corresponds to a single frame of data)  by doing some intensive signal processing algorithms on each frame, then average the results and disply it.
    I tried putting the file on the RT target, both using a USB stick and using the RT target internal memory. I thought I will write back the delay time for each loop after the transfer has occured completely, to a text tile in the system. I ran the code my making an exe for both the USB stick and RT target internal memory methods; and compiling using the FPGA emulater in the dev PC VI. (A screenshot of the last method is attached, the same is used for both the other methods with minor modifications. )To my surprise, all three of them gave 13 ms as the delay. I certainly expect the transfer from RT internal memory faster than USB and the one from the dev PC to be the slowest. I will work more on the same and try to figure out why this is happening so.
    When I transferred the data file (50MB) into the RT flash memory, the MAX shows 50MB decrease in the free physical memory but only 20MB decrease in the primary disk free space. Why is this so? Could you please tell me the differences between them? I did not get any useful online resources when I searched.
    Meanwhile, the other doubt still persists, is it possible to run filter blocks with the derived clock rates? Can we specify clock rates like 200MHz and sampling rates like 100Msps in the filter configuration window? I tried, but obtained zero results.
    Thanks and regards
    Arya
    Attachments:
    Dev PC VI.PNG ‏33 KB
    FPGA VI.PNG ‏16 KB
    Delay text file.PNG ‏4 KB

  • After 1 year earned leave should generate and pro-rata quota should generate next year on jan 1st.

    Hi Experts,
    Here is the client requirement and please let me know how to solve this.
    Earned Leave: after 1 year earned leave should generate and pro-rata quota should generate next year on jan 1st.
    Example: if employee joins on 01/07/2012 after 1 year i.e 01/07/2013 quota should generate 22 days next year on 01/01/2014 pro-rata quota i.e 01/07/2013, 11 days pro-rata quota should generate. Total 22+11 =33 have to generate on 01/01/2014. and next year 01/01/2015 (22+11+22)=55.
    Note: on 1/7/2013 = 22 days
    on 1/1/2014 = 11 days +22 days; total=33
    on 1/1/2015 = 33 days +22 days; total=55
    Conditions: if employee joins before 15th date of current month include the current month, if employee joins after 15th date exclude the current month.

    You will need 2-3 PCRs to address this.
    In one PCR you need to query the Date of Hire (from IT0041 - I guess you are maintaining this) using HRS=YDAYxx - where xx is the date type. You can then check it it is the first year anniversary or not by using HRS?01. If the condition satisfies populate a custom time type with 22 days.
    In another PCR, you need to check for 01 Jan by using HRS=BCURMO and HRS=BCURDY. In this PCR check again the length of service (see above). If it is more than 1, then proceed to give the pro-rata amount.
    If the pro-rata formula is simple you can use the second PCR or you would need a 3rd PCR to get the pro rata amount. Using HRS=Y**** operator you can query many date differences which will help.
    Regards
    Pramod

  • How to get link b/w FAGL_FC_VAL documents and Exchange rate loss&gain g/l

    Hi experts,
    pls tell me link b/w FAGL_FC_VAL documents and Exchange rate loss & gain g/l documents.pls provide me the table name and field names.
    Regards,
    Viswanadh

    Hi,
    I think you have been looking for link between FAGL_FC_VAL document created at the time of foreign currency valuation and document created at the time of realization (loss or profit booked). There should not by any link between the two, please note that these two will be differnt figures as realization is based on exchange rate at the time of realization and valuation is based on the rate prevailing at the time of valuation. Also valuation gets reversed on key date + 1 which woulld essentially mean that valuation is done for reporting purposes only.
    Hope this helps!!!
    Regards,
    Murlidhar Khatri

  • Invoice with positive and negative rows.

    Hi all,
    I have a customer with mobile sales and when he invoices a customer he needs to add positive rows with the products drops off and negative rows with product he collects, so the invoice total amount is the sum all the positive rows minus the sum of all the negative rows.
    So you can have an idea of what I'm talking about, imagine the milkman drops off six bottles of milk and collects two empty ones. If the empty bottles have a price, he needs to invoice six full bottles minus two empty ones.
    The problem: If I create a AR invoice with negative quantities I cannot copy it to an AR Credit Note. And, if I need to cancel that AR invoice, I cannot create an AR Credit Note with negative quantities...
    The customer creates about a hundred of this documents a day, so I need a direct solution.
    Does anyone have an idea?
    Thanks in advanced.
    Best Regards,
    Vitor Vieira
    Edited by: Darius Heydarian on Mar 20, 2008 3:45 PM

    Hello Suda,
    No, just Portuguese for the time being.
    But you can contact then directly to [email protected]
    Marco Rangel is their Product Manager and he can provide you with information about the product.
    I know that their product is already translated to French, and if not already done, the translations to English is not very dificult (the product was developed to be easy to translate).
    Best Regards,
    Vítor Vieira

  • Positive and Negative Frequency deviation Calculation

    Hi ,
        Iam using PXI 5600 with PXI 5620 for RF measurement.
        I need to measure Positive and Negative frequency Deviation. The NI example vi "MT RFSA Demodulate FM.vi" gives peak Frequency deviation . Can any one please help me to find positive Frequency Deviation and Negative frequency deviation from it
    Thanks,
    Niju.
    Solved!
    Go to Solution.

    Hi Niju,
    First things first - the 5600+5620 combined is what we refer to as a PXI-5660 RF Signal Analyzer.
    The PXI-5660 cannot be progammed via the NI-RFSA driver. The Modulation Toolkit FM example you reference is for the PXI-5661 and PXIe-5663 analyzers, both of which use the NI-RFSA driver.
    You should use MT ni5660 Demodulate FM.vi, located under ni5660 examples.
    Now on to your question...
    When you perform an FM demodulation, the resultant data out of the MT Demodulat FM subVI is frequency vs. time, with the frequency (Y axis) values being relative to the specified carrier frequency. So, the data is frequency deviation (Hz) vs. time. All you need to do to get positive and negative frequency deviation is to use a LabVIEW Array Max & Min primitive from the Array functions pallette. This will give you the min and max value of the FM data which will be the peak negative and peak positive frequency deviation.
    Regrds,
    Andy Hinde
    RF Systems Engineer
    National Instruments

  • How can i design square signal which having a positive and negative values equal to each other and separated from each other by controlled time or distance

    How can i design square signal which having a positive and negative values equal to each other and separated from each other by controlled time or distance, As it is shown in the figure below. and enter this signal in a daq.
    Solved!
    Go to Solution.

    By the time you spend for the nice diadram you might have done the vi
    Your DAQ like to have a waveform (array of values and dt ak 1/samplerate)
    If you set the samplerate you know the array length , create a array of zeros, and set the values of both amplitudes ... 
    Since I don't want to wire others homework here are some pictures
    And there are some drawbacks is room for improvement in my solution, just think of rounding errors ... and what might happen if the arrays get bigger ....
    Spoiler (Highlight to read)
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Showing Postive Values as negative and negative values as negative itself

    Hi Experts,
    I want to bring using a formula the value in negative always how this can be done pls advise.
    For example
    {Field 1 - Field 2 } e.g - = 1 here the value 1 is coming as postive and sometimes the same
    {Field 1 - Field 2 } e.g - = -2 here the value -2 is coming as negative
    Now I want that there should be some formula that in the above scenerio the Positives are made as negative and negative values stays as negative only.
    Please advise how this can be achieved.
    Regards,
    Venky

    Hi Venky, 
    You can add to your formula like: 
    If {Field 1 - Field 2 } > 0 Then
        ({Field 1 - Field 2 }) * -1
    Else {Field 1 - Field 2 };

  • What are supported sampling frequency and digitization rates for Zen Micropho

    Some MP3's are playing back slowly. It is inconsistent, though, since files with the same digitization rate and sampling frequency will behave differently - some right speed, some slow.
    The bulletin board says:
    "My tracks don't play at the correct speed e.g. they play too slowly, why?
    Chances are they are encoded in an unsupported sampling frequency..."
    How do I find out what the supported sampling fequencies and digitization rates are?

    Thanks for the info. I guess I was looking for something more specific - the exact bitrates and sample rates that Creative claims to support. Would you know where official and comprehensi've data can be had? There must be a tech spec somewhere.
    It is common these days in business to see a recording of, say, a conference call or seminar presentation at 32k bitrate/025Hz, or even 24k bitrate/8000Hz, posted to a company's website for download by those who could not be there, and MP3 players are increasingly used for their replay. Companies use low digitization rates because there is no need for hifi and the files are much smaller: less storage, faster download.
    I'd be surprized to think that Creative don't have compatibility with the standard range of rates offered by ubiquitous programs like Audacity and dBpower, the latter being one they themselves recommend!

  • "current encoder settings for bit rate and sample rate are invalid" message

    I have some files I am working with. Details and what happened:
    Had some music files where I was doing some trimming/splitting. Files worked fine in itunes.
    Open the files in Quicktime Pro 7 to trim them. Exported to aif.
    Opened the files with itunes. They open and play just fine.
    In Itunes I click"create AAC version" to convert them.
    I receive the message "An error occurred while trying to import the file. The current encoder settings for bit rate and sample rate are not valid for this file."
    I don't know what to do from here. Suggestions?
    Thanks.

    Make sure that the AIFFs that you export are set for 16 bit PCM.
    Also, assuming that you are using 44.1 kHZ sampling in your AIFFs, make sure that you are not trying to use 48 kHz in the AAC.

  • Positive and Negative Sign

    Hello everyone,
    May I know why the standard freight cost is negative sign in SD but positive sign in COPA.
    Also sales and various kind of cost are showing positive sign in COPA. No negative sign in COPA?
    Thank you.
    Regards.

    Hello,
    It is also possible to transfer conditions from MM to update billing data in pooled payment in the Information Systems (IS) retail system. These are transferred according to the same rules as SD conditions. Conditions from SD are always transferred to COPA with + signs, with the exception of credit memos and returns.  The reasons for this is that the signs for revenus are handled differently in the different applications of the system.  For example, revenus are positive in SD, while they are negative in FI. Consequently, COPA accepts all of the values as positive, and then subtracts deductions and costs from revenues in IS.
    Note that indicator transfer +/- is not used to compare the different use of +/- signs between FI or SD and COPA.  If you active the indicator, only the positive and negative values for the condition in question will be balanced.  This guarantees that the sum of the negative and positive condition values are displayed as a correct total value in the value field asigned to that condition.
    In order to perform transfer conditions from the billing documents the same definitions must be established for the value fields in Profitability Analysis and both pricing and conditions types must be defined in SD.
    Regards,
    Ravi

Maybe you are looking for

  • Windows 7 64 bit install error

    I have Window's 7 & I run 64 bit. Well Every single time I try to install iTunes 9.2.1 it says that part of the installation failed & it won't let my iPod nano or my gen. 5 iPod run on iTunes. So far every iPod I've tried says no then it tells me to

  • Please help !!! problem reloading classses in an applet

    I would like to know is it possible to dynamically load the classes in applet. What i mean is if the applet has already loaded class A, can I load it again from the server instead of using the cache copy in the browser in the client machine? If it is

  • Cs5 master suite file 1 of 2 goes to a page of garbage

    I am trying to download CS5 to reinstall it but file 1 of 2 on download page just opens to a page of garbage instead of downloading file.  File 1 of 2 downloaded fine.

  • Problems Running a 32-bit Version of Wine

    I recently installed a 32-bit system within my 64-bit system in order to run Wine, and subsequently Starcraft. However, when I attempt to use schroot and load Wine up from a standard user I'm greeted with this: W: line 83 [Arch32]: Deprecated key 'ru

  • HT203176 17" 1.5 GHZ PowerBook G4 Won't Boot

    I have a 17" 1.5GHZ PowerBook G4 with I think OS X 10.3.  It won't boot past the apple logo gray screen.  I have tried to safe boot, boot in single user mode and a myriad other fixes and can't get the machine to boot no matter what.  The only thing t