Division of packed numbers giving 0 as result .

I have a requirement where i need to divide a workarea element of type CURR with that of DATA Type DEC
My problem is that it is returning result as 0 on division, Point to be noted is that the report has its fixed point arithmetic checkbox as unchecked in Program attribute (it is a SAP Standard Report). I have also tried with field symbols taking type as packed but still the result is 0.
TABLES : ZFI_CurrencyConv.
Data: l_data2 type zdec,    "i.e. 9 length and 5 decimal places
          l_data1   type zdec.
SELECT  Single * FROM zfi_currencyconv
           WHERE company_code = reguh-zbukr
           AND date_from LE reguh-laufd
           AND date_to GE reguh-laufd.
  IF sy-subrc = 0.
        l_data1  =  REGUH-RBETR        "CURR length 12 & 2 decimal places
      l_data2   = ZFI_CurrencyConv-FIXED_EXCHG_RATE
     l_data2 = l_data1 / l_data2.
       REGUH-RBETR = l_data2 .
  ENDIF.
Here ZFI_CurrencyConv-FIXED_EXCHG_RATE is of type Zdec only  (9 length and 5 decimal places)
       RGUH-RBETR  is of type CURR length 12 decimal 2 places.
Edited by: Gaurav Deep on Nov 6, 2008 12:09 PM

Hi,
I don't know why it gave you 0.5 check the below code it will give you 50.
DATA: menge LIKE ekpo-menge,
      netwr LIKE ekpo-netwr,
      amnt LIKE ekpo-netwr.
menge = 10.
netwr = 500.
amnt = netwr / menge.
WRITE amnt.
if you are using this in bapi pricing conditions then have to adjust it accordingly
Regards
Ahsan

Similar Messages

  • Division of random numbers, see if the result is an integer.

    Simple and yet cant find an easy way around it.
    I have 2 RANDOM numbers coming in, I'm dividing them and I want to see if the result is an integer or not. Basically I need to see if the divison of the 2 random numbers provides a whole number.
    Who wants KUDOS?
    /spaw
    Solved!
    Go to Solution.

    Use Quotient and Remainder, check if Remainder is 0.

  • Issue with packed numbers

    I'm using 2 packed numbers. And fixed point arthimetic is not checked in my program and i don't want to check that. While dividing these two numbers the decimal portion is getting truncated.
    How to resolve this problem?
    I've tried moving the number to a character variable but this is of no use if the user follows the decimal notation as ',' then the division throws dump.
    Please help me.

    Hello all,
    When you can't use "fixed point arthimetic" you have to calculate factor that will allow you to get the right value because packed numbers are considered as integers.
    As an example: (consider that we don't know decimals number of each variable)
    DATA :   wl_dec1 type i,
             wl_dec2 type i,
             wl_dec3 type i,
             wl_factor type i.
            DESCRIBE FIELD klmeng decimals wl_dec1.
            DESCRIBE FIELD zzntgew decimals wl_dec2.
            DESCRIBE FIELD ntgew decimals wl_dec3.
            wl_factor = 10 ** ( wl_dec1 + wl_dec2 - wl_dec3 ). " thisformula is different in case of division
            ntgew = klmeng * zzntgew / wl_factor.
    In case of division it should be :
            wl_factor = 10 ** ( wl_dec1 - wl_dec2 + wl_dec3 ).  "where wl_decx correspond to varx decimals
           var1 = var2 / var3  * wl_factor.
    As a solution you can also create a function module which uses "fixed point aritmetic" in which you send values as parameters and use wanted formula as single as you would write without any conversion factor.
    Edited by: blsapsdn on Sep 7, 2011 11:45 AM

  • Is it possible to view line numbers in the search results in Dreamweaver CS5?

    Is it possible to view line numbers in the search results in Dreamweaver CS5?
    If so how do I switch it on.
    Thanks

    I don't think so. 
    Just double click on results in your Results Panel. 
    DW will open the page to that line of code.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • NOT IN operator giving the wrong results

    DB version:10gR2
    Why is NOT IN giving the wrong results. Isn't NOT EXISTS operator a flawless alternative to NOT IN?
    create table my_table1 (col1 number);
    insert into my_table1 values (1);
    insert into my_table1 values (2);
    commit;
    create table my_table2 ( col1 number);
    insert into my_table2 values (1);
    commit;
    select * from my_Table1;
           COL1
              1
              2
    select * from my_table2;
           COL2
              1
      --correct result
      SELECT * FROM my_table1 t1 WHERE NOT EXISTS
    (SELECT * FROM my_table2 t2 WHERE t1.col1 = t2.col1)
           COL1
              2
    ---correct result using IN
    SELECT * FROM my_table1 t1 where col1 not in (select col1 FROM my_table2 t2);
           COL1
              2
    Inserting a NULL to my_Table2
    Now the query using NOT IN is returning wrong results.
    insert into my_table2 values (null);
    commit;
    SELECT * FROM my_table1 t1 where col1 not in (select col1 FROM my_table2 t2);
    no rows selected
    Query using NOT EXISTS is still giving the right results.
    SELECT * FROM my_table1 t1 WHERE NOT EXISTS
       (SELECT * FROM my_table2 t2 WHERE t1.col1 = t2.col1);
           COL1
              2

    ScottsTiger wrote:
    can i use NOT EXISTS(with a proper Co-related subquery) as a safe alternative to NOT IN?Depends on your data and what you need to achieve.
    Personally I avoid using NOT EXISTS or NOT IN if I can really help it.
    My preferred method is to outer join the tables together and then remove any resultant rows where a value exists and I didn't want one. ;)

  • Division wise Separate numbering range required for invoices

    Hi Gurus,
    The requirement is Division wise Separate numbering range required for invoices. For e.g  like 11 Steel Fabrication, 12 Aluminum Fab, 13 Carpentry & Join, 14 GRP/GRC, 15 Stone & Marble
    Already a table ZSD_NUM_RANGE with fields like Client, Plant, Number range in the case of internal number assignment
    Presently number range is based on plants.
    I understand that Division field SPART is to be included in this table by using the exit given below:
    User Exit For Billing
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
    May I know how far this is feasible to shift plant wise no. range to division wise no. range.?
    Also if we do division wise number range, How about shifting to new invoice numbers in the middle of the FISCAL year?
    Kindly revert back to me at your earliest.
    Regards,
    Anbu

    Dear Anbu
    Ideally speaking, invoice number range should be per plant and the user exit what you had indicated holds good.  May be you can try with the same user exit.
    thanks
    G. Lakshmipathi

  • The Same Excel Functions Not Giving the Same Result in Numbers

    I'm been using Excel for years and now that I've made the switch to Mac, I thought I should probably utilise the iWork suite of software and get rid of Microsoft once and for all.
    Whilst I love the user-friendliness, there are so many small things that Apple to appear to have overlooked which keeps me hanging on to Microsoft Office just a little, but I digress.
    OK, So I have one sheet in Numbers with the following data.
    I am trying I need to search Column A for the TLDs in Column C, if they exist output the correct renewal price from Column D in Column B
    e.g. A2 contains .net so  B2 should have 12.50 in it.
    A
    B
    C
    D
    1
    Domain Name
    Renewal Price 1
    TLDs
    Renewal Price 2    
    2
    test.net
    .com
    5.00
    3
    test.co.uk
    .co.uk
    10.00
    4
    test.com
    .net
    12.50
    So... can someone please explain to me why the same functions which exist in Numbers and Excel (VLOOKUP / LOOKUP / SEARCH) do not work in Numbers as they do in Excel? If there is a valid reason, fine, I'll accept that, but how do I acheive the above?
    The formula which WORKS in B2 in Excel but NOT in Numbers is:
    =VLOOKUP(LOOKUP(32768,SEARCH(C$2:C$4,A2),C$2:C$4),$C$2:$E$4,2,FALSE)
    Thanks in advance.

    So... can someone please explain to me why the same functions which exist in Numbers and Excel (VLOOKUP / LOOKUP / SEARCH) do not work in Numbers as they do in Excel? If there is a valid reason, fine, I'll accept that, but how do I acheive the above?
    That's a form of "array function" (searching a "table array").  Numbers can't do array functions the way Excel can.
    Here's one way to achieve the same goal in Numbers:
    The formula in B2, copied down:
         =VLOOKUP(RIGHT(A2,LEN(A2)−SEARCH(".",A2)+1),Prices::$A:$B,2,FALSE)
    SG

  • SAP adapter giving the merged result set (First RFC call data + Second RFC call data) for second RFC call

    I have a WCF Adapter service to call a SAP RFC. When I call the RFC first time, it gives me correct no of result set but when I call this RFC second time immediately after first call, it gives me merged result set (First Result set + Second Result Set).
    e.g. We have a RFC which receives vendor number and blank object of result set as parameter and gives back the list of purchase orders as Response in object of result set for that vendor.
    Suppose, we have a vendor "a" and vendor "b". For vendor "a" there are 5 purchase orders and for vendor "b", we have 4 purchase orders in SAP. When I call the WCF adapter service for this RFC for vendor "a",
    it gives me 5 purchase orders. Immediately after first call, when I call WCF service for vendor "b", it gives me 9 (5+4) purchase order records which is wrong.
    In brief, one RFC call is affected by its previous call.
    For each new WCF request, a new object of result set is created, connection is opened, rfc is executed and connection is closed.
    Can anybody have any idea on this?
    Thanks.
    Thanks, Nishant Gupta

    Hi,
    Please refer to the document
    http://seroter.wordpress.com/biztalk-and-wcf-part-vii-about-the-biztalk-adapter-pack/

  • Query not giving the correct result

    select Project_id, contractno
    from elf_transactions
    where(rtrim(contractno),rtrim(project_id)) not in
    (select rtrim(contractno),rtrim(projectid)
    from contract_proj
    where report_month='1-May-2007' )
    when I m firing this query, it is not giving correct result to me, it also select the recorts which are matches in both the table
    i want to fine out those contract, with projectid which are not in contract_proj table
    Please help me in this regard

    CREATE TABLE ELF_TRANSACTIONS
    VENDOR_ORDER_REF VARCHAR2(60 BYTE),
    BT_SUB_CON_REF VARCHAR2(10 BYTE),
    PR_NO VARCHAR2(15 BYTE),
    PO_NO VARCHAR2(15 BYTE),
    PR_PO_DESCR VARCHAR2(200 BYTE),
    ONE_IT_PROG VARCHAR2(50 BYTE),
    BT_DEL_MANAGER_NAME VARCHAR2(40 BYTE),
    DELIVERY_TYPE VARCHAR2(5 BYTE),
    ACTUAL_DEP_DATE DATE,
    ASSOC_ASG_BR_QUE VARCHAR2(50 BYTE),
    PRE_AVG_P1_P2_INC_CNT NUMBER(3),
    POST_P1_P2_INC NUMBER(3),
    PERC_GROWTH_POST_REL NUMBER(3),
    VENDOR_DEL_MANAGER VARCHAR2(50 BYTE),
    REPORT_MONTH DATE,
    COMMENTS VARCHAR2(200 BYTE),
    PROJECT_ID VARCHAR2(20 BYTE),
    CONTRACTNO VARCHAR2(15 BYTE),
    CONTRACT_TYPE NVARCHAR2(15),
    IDUNO VARCHAR2(10 BYTE),
    STATUS VARCHAR2(10 BYTE),
    DESCRIPTIONCODEDELIVERABLE VARCHAR2(255 BYTE),
    UNIQUEID VARCHAR2(255 BYTE),
    LOCK_RECORD CHAR(1 BYTE),
    VERIFIED CHAR(1 BYTE),
    VERIFIED_BY VARCHAR2(40 BYTE),
    BT_VERIFIED CHAR(1 BYTE),
    BT_VERIFIED_BY VARCHAR2(40 BYTE)
    CREATE TABLE CONTRACT_PROJ
    CONTRACTNO VARCHAR2(10 BYTE),
    PROJECTID VARCHAR2(20 BYTE),
    IDUNO VARCHAR2(10 BYTE),
    CH_EMPID VARCHAR2(8 BYTE),
    CHNAME VARCHAR2(40 BYTE),
    GH_EMPID VARCHAR2(8 BYTE),
    GHNAME VARCHAR2(40 BYTE),
    PM_EMPID VARCHAR2(8 BYTE),
    PMNAME VARCHAR2(40 BYTE),
    SPM_EMPID VARCHAR2(8 BYTE),
    SPMNAME VARCHAR2(40 BYTE),
    PRJ_MONTH DATE,
    BT_CONTRACT CHAR(1 BYTE)
    REPORT_MONTH     COMMENTS     PROJECT_ID     CONTRACTNO     CONTRACT_TYPE     IDUNO     STATUS     DESCRIPTIONCODEDELIVERABLE     UNIQUEID
    06/01/2007 00:00:00          1287     TML007452               OPEN     Delivery of CRs DM CD and NSI     N/A
    06/01/2007 00:00:00          1280     TML007452               OPEN     Delivery of CRs H&W OOR and WLTO     N/A
    06/01/2007 00:00:00          1231     TML007452               OPEN     Delivery of CRs H&W OOR WLTO     
    06/01/2007 00:00:00          1097     TML007679               OPEN     High Level Roadmap for Global Services and Wholesale with Feasibility study into BTR access to Switc     N/A
    06/01/2007 00:00:00          405     TML007942               OPEN     RTRCC DEVELOPMENT -Q107     
    06/01/2007 00:00:00          405     TML007919               OPEN     WLR3 DEVELOPMENT-Q107     
    06/01/2007 00:00:00          1170     TML008439               OPEN     R-510     
    CONTRACTNO     PROJECTID     IDUNO     CH_EMPID     CHNAME     GH_EMPID     GHNAME     PM_EMPID     PMNAME     SPM_EMPID     SPMNAME     PRJ_MONTH     BT_CONTRACT
    MBT003060     176     BT06     8694     Soman Sameer Surendra     1054     Bhadti Shripad Shivram     1054     Bhadti Shripad Shivram     1420     Rao Darbhamulla Kameswara     05/01/2007 00:00:00     N
    MBT003842     1156     BT12     19992     Kalle Ajit Ashutosh     1539     Padgaonkar Shailesh Vishwanath     13948     Khunte Milind Vasant     16426     Kulkarni Vinay     05/01/2007 00:00:00     Y
    MBT004677     458     BT09     20275     Mundassery George     5044     Kamalapurkar Leena Shrinivas     12849     Dave Ajay Yogeshchandra     2017     KIRKIRE SONAL MADHUKAR     05/01/2007 00:00:00     N
    MBT004695     362     BT13     20276     Ghosh Sankar     2624     Avachat Jagdish Vasantrao     13592     Pal Sudipta     2624     Avachat Jagdish Vasantrao     05/01/2007 00:00:00     N
    MBT004826     VITRIA     BT09     20275     Mundassery George     26099     Saha Debendra Kumar     28134     Hinge Anand Sharad     12777     Karandikar Sumedh Vidyadhar     05/01/2007 00:00:00     Y
    MBT004924     1027     BT03     1451     Tillu Ashirwad     15693     Devaraj Daniel G     6867     Jadhav Satyajit Ramesh     15693     Devaraj Daniel G     05/01/2007 00:00:00     N
    MBT004927     1025     BT05     4436     Kelkar Subhash Manohar     20379     Gore Sujeet Narayan     13704     Vignesh Chandrasekaran     4347     BIJNORI REHANA GULAMWARIS     05/01/2007 00:00:00     N
    MBT004927     1092     BT05     4436     Kelkar Subhash Manohar     15094     Jain Jitendra     13350     Bokil Shripad Raghunath     9511     Markande Balchandra Narayan     05/01/2007 00:00:00     N
    MBT004927     1213     BT09     20275     Mundassery George     19996     Vege Sridhar     16401     Sibgathulla Mohammed     19996     Vege Sridhar     05/01/2007 00:00:00     N

  • Spotlight giving multiple & odd results for Apps

    Hello folks-
    My Spotlight is giving me multiple & odd Application results for the same app.
    Screenshots for iCal search:
    http://dl.dropbox.com/u/567698/Screen%20shot%202010-01-02%20at%205.58.48%20PM.pn g
    http://dl.dropbox.com/u/567698/Screen%20shot%202010-01-02%20at%208.07.58%20PM.pn g
    I have tried re-indexing Spotlight by excluding entire HD from Spotlight (placing into Privacy and then removing it). No change.
    Grateful if someone can advise resolution steps.
    Thanks,
    Waleed

    VK-
    Correct.
    MacHD2 is my local HD.
    The other two apps listed in the results, with the dates, are, well, not sure but here's the screenshot of what it says it is:
    http://dl.dropbox.com/u/567698/Screen%20shot%202010-01-02%20at%208.43.52%20PM.pn g
    Thanks man.
    -Waleed

  • Division of two numbers

    How can i divide two numbers(28,3) of a database column and assign the result to another coloumn of number(28,3) in Oracle Application Framework.

    Create a transient attribute of your calculation with type number
    Generate the RowImpl for the VO.
    Set the value in the getter of the new column in VORowImpl as shown below.
    public Number getCustomColumn() //CustomColumn is the name of your new column
    Do your calculation
    return <your calculated value>
    Regards,
    Peddi.

  • How to use TextField to add two numbers and show the result.

    hi everybody
    i would like to use JTextField to get addtion of two Numbers,
    for example i am trying to type any integer numbers in JTextField like 7
    and press JButton, called( +) to add anthor number like 7 and press JButton called(=) to get addtion fo
    7 + 7 = 14, at same JTextField.
    so there will be two buttons, one for (+),other for (=).
    i have implement ActionListener in (+) button ,to get Text from JTextField (with getText() method),
    now how do i use same getText() method to get the next number that i will add it with previous number in
    (+) button and get the result whenever i press (=).
    1-type integer number like (4) in TextField.
    2-press addition button(+) to get text by using getText() method and clear TextField.
    3-type anthor integer number like(6).
    4-press (=) button to get the number (6) by using getText() method, calculate 4 + 6 and show the result at same TextField (10).
    i hope it is so clear
    thank u in advance for any advice and suggestion.

    Use your first button to
    String x = JTField.getText();
    int y = Integer.parseInt(x);
    this will get your first value on your + button. Make sure you initialise the int beforehand incase nothing is put in (ie error prevention) then clear the JTField prob using setText(""). Repeat the process for the = button using different variables and add them normally and output the result.
    If your putting more than 1 arithmetic button on the GUI then you'll need to distinguish between them!!!

  • I have a 4th gen ipod nano which will not sync after restore. i have run itunes diagnostics and attached thMicrosoft Windows Vista Home Premium Edition Service Pack 2 (Build 6002)e results. can you help please?

      Microsoft Windows Vista Home Premium Edition Service Pack 2 (Build 6002)
    Sony Corporation VGN-NS20E_P
    iTunes 10.6.1.7
    QuickTime 7.7.1
    FairPlay 1.14.37
    Apple Application Support 2.1.7
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 5.1.1.4
    Apple Mobile Device Driver 1.59.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 0012ACE4032C3EC8
    Current user is not an administrator.
    The current local date and time is 2012-05-26 22:17:26.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    Intel Corporation, Mobile Intel(R) 4 Series Express Chipset Family
    Intel Corporation, Mobile Intel(R) 4 Series Express Chipset Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name: {78DA402D-66EE-4084-9D5E-8A010E0B8437}
    Description: Atheros AR928x Wireless Network Adapter
    IP Address: 192.168.2.8
    Subnet Mask: 255.255.255.0
    Default Gateway: 192.168.2.1
    DHCP Enabled: Yes
    DHCP Server: 192.168.2.1
    Lease Obtained: Sat May 26 19:10:42 2012
    Lease Expires: Sat May 26 19:10:41 2012
    DNS Servers: 192.168.2.1
    Adapter Name: {C1458549-CA0B-4A3B-8F8E-9259653AA0DD}
    Description: Marvell Yukon 88E8055 PCI-E Gigabit Ethernet Controller
    IP Address: 0.0.0.0
    Subnet Mask: 0.0.0.0
    Default Gateway: 0.0.0.0
    DHCP Enabled: Yes
    DHCP Server:
    Lease Obtained: Thu Jan 01 00:00:00 1970
    Lease Expires: Thu Jan 01 00:00:00 1970
    DNS Servers:
    Active Connection: LAN Connection
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: No
    Firewall Information
    Windows Firewall is on.
    iTunes is NOT enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was unsuccessful.
    The network connection timed out.
    Connection attempt to firmware update server was successful.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2012-05-26 20:57:29.
    **** Device Connectivity Tests ****
    iPodService 10.6.1.7 is currently running.
    iTunesHelper 10.6.1.7 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) ICH9 Family USB Universal Host Controller - 2934. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2935. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2936. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2937. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2938. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2939. Device is working properly.
    Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293A. Device is working properly.
    Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293C. Device is working properly.
    FireWire (IEEE 1394) Host Controllers:
    RICOH OHCI Compliant IEEE 1394 Host Controller. Device is working properly.
    Connected Device Information:
    JULES'S IPO, iPod nano (4th Generation) running firmware version 1.0.4
    Serial Number: YM839W553QU
    Bus Speed: 61440
    Most Recent Devices Not Currently Connected:
    iPhone 4S running firmware version 5.0.1
    Serial Number: DNWH3R84DTD2
    **** Device Sync Tests ****
    No iPod, iPhone, or iPad found.

    Hello, VvioletT. 
    Thank you for visiting Apple Support Communities.
    I see you are experiencing issues syncing your iOS device.  Here are a couple articles that I would recommend going through when experiencing this issue.
    iOS: Troubleshooting USB-related alerts when syncing
    http://support.apple.com/kb/TS5254
    Resolve issues between iTunes and security software
    http://support.apple.com/kb/ts3125
    Cheers,
    Jason H.

  • Name attribute not giving the desired result in form tag

    Hi,
    I am using struts and the name attribute in form tag is not giving me the desired reuslt. The code is
    <html:form name="loginActionForm" type="source.form.LoginActionForm" action="/login.do" method="post">
    </html:form>
    when I am trying to use the name in javascript then I am getting an error
    "document.loginActionForm " is null or not an object.Where am I going wrong?

    I did so but the name I have used in the form tag is the same as what i have used in javascript.I dont think that it is a javascript error and it must be some mistake I made in the form tag.Also one more thing is it necessary to use the type attribute if you use the name attribute.

  • Why is my zero order hold not giving the expected result?

    I am trying to replicate the functionality of the Discrete Order Hold Function so that I can use it without having to have a ''Control and Simulation Loop''. The attachment desiredresult.vi shows an example of the Discrete Order Hold Function inside the ''Control and Simulation Loop''. The other attachment (zeroorderholdquestion.vi) shows my attempt at achieving the same result. I multiplied the while loop index by the sampling period to get the array index for the resampled y-output. I based this on my understanding of the formula for Discrete Order Hold given under http://zone.ni.com/reference/en-XX/help/371894G-01/lvsim/sim_dzoh/#details.
    However, I am having difficulty getting the frequency of the waveforms before and after resampling to match up. (See attachment for clarity on what I mean by this). Any suggestions on what I am doing wrong?
    Solved!
    Go to Solution.
    Attachments:
    zeroorderholdquestion.vi ‏207 KB
    desiredresult.vi ‏244 KB

    here i wrote something maybe similar to simulate a multi channel, mux, sample and hold with cross talk
    http://forums.ni.com/t5/LabVIEW/How-can-I-create-and-sample-and-hold-circuit-in-Labview/m-p/2407256#...
    If samplerate and hold time have a clean ratio  you just need the decimate vi
    another simple version:
    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 ǝɥʇ'

Maybe you are looking for

  • Apple DU vs SoftRAID's drivers for RAID volumes, performancewise?

    Hi, For some time I have been using SoftRAID's (http://www.softraid.com/) drivers (v. 4.0.7) for an OS+apps SSD and my users' accounts on a 2*2TB RAID0 (WD Caviar Blacks) volume. At present the User volume is about 50% full (2 of 4TB). I am consideri

  • BDC upload problem in hr master

    Hi, we are facing a problem in BDC upload for hr master tcode pa40. we want to stop bdc after 2 screens only and not process further screens. how to do this? please help Thanks.

  • Problem with repairing Lion

    A week ago my MacBook Pro was running slow, so I turned it off. When I tried to turn it back on it wouldn't. I took my mac to the local Geek Squad and he told me to boot it up holding option (same as holding command+R). When I do this I click on Repa

  • HT1657 Movie is NOT playing after i downloaded it!!! How do I get it to play?

    I rented a movie on itunes, it downloaded fine, but it won't play. I have a mac, so what's the deal?

  • Installer and deploying

    Hello I need some information about making installer of build exe file. My project contain Modbus I/O server library that connected to  "GLOFA GM7U PLC" and Communicated correctly. When i built exe file and  installer package did not have any problem