I found Error in Statistics Express about the algorithm for mode

LabVIEW 7.1 was used. today I acquired a lot of data and analyzed using Statistics Express in LabVIEW 7.1, whereas the results of mode were not correct because I analyzed the data using both Excel and SPSS. so I think there must be something wrong with Statistics Express in LabVIEW 7.1. Attached is the data which mode is 57.24 by SPSS, but the result of Statistics Express showed the result of 32.608.
will someone please help me?
thanks
Attachments:
data.xls ‏29 KB

Hi,
I agree the 2 places of decimals is a cosmetic property and I have no issue with that....
I have my vi setup such that at one call it gets the mode of distances between points on lines. The second time I call the mode it is to get the mode of distances between another set of points. Two separate arrays in a fairly large program. I've attached a shortened sample hopefully the error still appears. Also I was wrong about wiring the intervals wire, this did not change anything.
If I run the 2nd mode operation on it's own without the previous call it works fine, only when there is a previous mode operation does it fail to "re-initialise" and returns the result of the first mode operation.
The only thing I can think of is that the first set of data has many different distances and gives a clear mode, whereas the second set has values approximately the same, with the odd multiple (ie 20,22,19,41,62,20,21,23). However, going against this is the Express Statistics vi which calculates the correct values in the Express Window (double clicking on it and selecting the statistics) but when wiring these to an indicator the result from the first mode operation is returned.
Any suggestions welcomed.
Kind regards,
Leeser
Attachments:
mode_error_example.vi ‏143 KB

Similar Messages

  • I updated Itunes today to the latest version. Windows 7 64bit. None of my drivers work and get an error when itunes starts, about registry setting for reading and writing dvds and cds missing. Anyone else have the same issue. I downloaded itunes again, re

    I updated Itunes today to the latest version. Windows 7 64bit. None of my drivers work and get an error when itunes starts, about registry setting for reading and writing dvds and cds missing. Anyone else have the same issue. I downloaded itunes again, reinstalled still have same issue.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • Intranet DOWN!! Help, please!! I installed SP2010 SP2 and the Configuration Wizard Stopped at Step 5. I found errors 100 and 104 in the Event Viewer!

    Hi, 
    Help, please.
    Intranet DOWN!! Help, please!! I installed SP2010 SP2 and the Configuration Wizard Stopped at Step 5. I found errors 100 and 104 in the Event Viewer!
    Acording to these entries:
    http://blogs.technet.com/b/sbs/archive/2011/08/19/two-commands-you-should-always-run-first-when-troubleshooting-companyweb.aspx
    https://translate.google.com/translate?hl=en&sl=auto&tl=en&u=http%3A%2F%2Fwww.techtask.com%2Fsharepoint2010%2Ffehlermeldungen-nach-sharepoint-2010-service-pack-1-installation%2F
    In order to fix this, I need to run:
    PSConfig.exe -cmd upgrade b2b -force -inplace -cmd application content -install -cmd install features
    But SP doesn’t recognize “b2b”.  is the the content or config db?
    Thanks in advanced

    Your Syntax is bad. b2b should follow -inplace, it doesn't make sense anywhere else in the command. Have a look here for more detail:
    https://technet.microsoft.com/en-us/library/cc263093%28v=office.14%29.aspx?f=255&MSPPError=-2147217396

  • I am using the Order Analysis Toolkit and want to get more information about the compensation for "Reference Signal Processing", which is scarce in the manuals, the website and the examples installed with the toolkit.

    I am using the Order Analysis Toolkit and want to get more information about the compensation for "Reference Signal Processing", which is scarce in the manuals, the website and the examples installed with the toolkit.
    In particular, I am analyzing the example "Even Angle Reference Signal Processing (Digital Tacho, DAQmx).vi", whose documentation I am reproducing in the following:
    <B>DESCRIPTIONS</B>:
    This VI demonstrates how to extract even angle reference signals and remove the slow-roll errors. It uses DAQmx VIs to acquire sound or vibration signals and a digital tachometer signal. This VI includes a two-step process: acquire data at low rotational speed to extract even angle reference; use the even angle reference to remove the errors in the vibration signal acquired at normal operation.
    <B>INSTRUCTIONS</B>:
    1. Run the VI.
    2. On the <B>DAQ Configurations</B> tab, specify the <B>sample rate</B>, <B>samples per channel</B>, device and channel configurations, and tachometer channel information.
    <B>NOTE</B>: You need to use DSA PXI-447x/PXI-446x and PXI TIO device in a PXI chassis to run this example. The DSA device must be in slot 2 of the PXI chassis.
    3. Switch to <B>Extract Even Angle Reference</B> tab. Specify the <B>number of samples to acquire</B> and the <B># of revs in reference</B> which determines the number of samples in even angle reference. Click <B>Start</B> to take a one-shot data acquisition of the vibration and tachometer signals. After the acquisition, you can see the extracted even angle references in <B>Even Angle Reference</B>.
    4. Switch to the <B>Remove Slow-roll Errors</B> tab. Click <B>Start</B> to acquire data continuously and view the compensate results. Click <B>Stop</B> in this tab to stop the acquisition.
    <B>ORDER ANALYSIS VIs USED IN THIS EXAMPLE</B>:
    1. SVL Scale Voltage to EU.vi
    2. OAT Digital Tacho Process.vi
    3. OAT Get Even Angle Reference.vi
    4. OAT Convert to Even Angle Signal.vi
    5. OAT Compensate Even Angle Signal.vi
    My question is: How is the synchronization produced at the time of the compensation ? How is it possible to eliminate the errors in a synchronized fashion with respect to the surface of the shaft bearing in mind that I am acquired data at a low rotation speed in order to get the "even angle reference" and then I use it to remove the errors in the vibration signal acquired at normal operation. In this application both operations are made in different acquisitions, therefore the reference of the correction signal is lost. Is it simply compensated without synchronizing ?
    Our application is based on FPGA and we need to clarity those aspects before implementing the procedure.
    Solved!
    Go to Solution.

    Hi CracKatoA.
    Take a look at the link bellow:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=255126&requireLogin=False
    Regards,
    Filipe Silva

  • Hi, i'm a new member of this community. I've recently learn about flashback malware and other threats to Mac devices. I've installed the new Mac OS X update for Lion 10.7, and the flashback removal tool. what about the update for Flash Player?

    Hi,
    i'm a new member of this community. I've recently learn about flashback malware and other threats to Mac devices. I've installed the new Mac OS X update for Lion 10.7, and the flashback removal tool. What about the update for Flash Player? Should i install it? Otherwise, should i permanently remove this app?
    I realy need some advice.
    Thank's to all.

    Be sure to install the latest version of Safari (version 5.1.7) which is available via Software Update (in the Apple menu) if you have not already installed it. This update will automatically disable older versions of Flash when new versions are available, and will instruct you on how to install the latest version on your system. This should help keep your system safe from any vulnerabilities in Flash.
    Note that this is only useful if you use Safari, though other browsers have their own update mechanisms you should research and enable or configure to your liking.

  • What is the algorithm for this?

    if I have a string 000111 (or any amount of zeros and ones), what is the algorithm for me to get all possible combinations? (001011, 001101, ...)

    Odd but the following code does not yeild the results you list in your post. Maybe you have a mistake? Or am I missing something?
    class test
    public int[] getC(int[] c, int n)
              int m= c.length;
              for (int i= m; i-- > 0;)
                   if (++c[i] <= n-(m-i))
                        while (++i < m)
                             c= c[i-1]+1;
                        return c;
              return null;
         public static void main(String[] args)
              test t = new test();
              int[] input = {0,1};
              int n = 4;
              int[] res = t.getC(input, n);
              for (int i = 0; i < res.length; i++)
                   System.out.println(res[i]);

  • I keep getting an error when I launch, about the registry setting being incorrect. I have reinstalled several times. Also when I try to burn a disc, it says No recorder found

    I get an error about the registry settig when I try and launch Tunes. Also when I try to burn a playlist, it says "no recorder found"

    This may help:
    iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows
    Also try the driver section of:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • File not found error on some computers running the same program

    Dim pList As System.Diagnostics.Process
    retval = 0
    PTRName = "F:\myprogram.exe"
    If My.Computer.FileSystem.FileExists(PTRName) Then
    System.Disgnostics.Process.Start(PTRName)
    pList = System.Diagnostics.Process.GetProcesses
    For each proc As System.Diagnostice.Process in pList
    If proc.ProcessName = "myprogram" Then
    retval = proc.Id
    Exit For
    End If
    Next
    If retval > 0 then
    'continue
    Else
    'error message
    End If
    End If
    PTRName = "F:\myprogram.exe"
    If My.Computer.FileSystem.FileExists(PTRName) Then
    Retval = Shell(PTRName,4)
    If Retval > 0 Then
    'Continue
    Else
    'Error message
    End If
    End IF
    I have created a program which:
    opens a file
    reads the records and massages the records
    writes the records to a new file
    Launches a program that uses the resultant file.
    The program was written on Windows xp MCE using Visual Studio 10. The resulting program works fine.
    I places The executable and the input file onto a flashdrive, and then tested it on other machines.
    Two of the machines are both Win 7 Pro 64bit with .Net 4. On one machine it works great. On the other I get a "File not found" error when starting the second process. This is the failing code:
    The problem is with the Shell command. When I rewrite it as:
    it works on both machines
    So my question is: Why does exactly the same code (The same flashdrive was used on both machines) work on one machine and not the other (when both machenes appear to be at the same level)?
    In both cases I verify the file exists in the correct place before I try to start it.
    Any help would be appreciated.
    Thanks in advance
       John 

    The use of F is just an example. I use:
    OutputPath = My.Application.Info.DirectoryPath 'Where app is run from (root)
        'Make sure the path ends in \
        If VB.Right(OutputPath, 1) <> "\" Then
          OutputPath = OutputPath & "\"
        End If
    to get the correct information.
    Then
      PTRName = OutputPath & "myprogram.exe"
    BTW "myprogram.exe" is not the correct name it is just an example.
    Sorry if this caused confusion
    However all of this is not the point. If:
     My.Computer.FileSystem.FileExists(PTRName)
    is true then the file is in the right place. Therefore:
    Retval = Shell(PTRName,4)
    must also work. However it does not on some machines.
    Is the problem in .Net, VB or VS because it is not in my code. 
    I have also used a routine similar to you (in VB6) to find a particular volume, but used the volume label. That worked better in my case.
    John

  • TS1544 "keychain not found" error messages pop up all the time, please help!

    Hi, Ive been constantly getting "keychain not found" error messages ever since i updated to OS X and cant sync messages, facetime, calendars etc. i've tried keychain first aid and get this message:
    Verification started
    Checking keychain configuration for Lee (user ID=501)
    Home directory is /Users/Lee
    Checked login keychain
    Error: login keychain not found
    Unable to get info for ~/Library/Keychains/login.keychain, reason: The operation couldn’t be completed. No such file or directory
    Checked default keychain
    Checked keychain search list
    Problems were found; you should choose the Repair option to fix them
    Verification failed
    Can anyone help?
    Thanks

    Is there a login.keychain in /Users/username/Library/Keychains/? The message says not. If not, create a new one or restore the one residing in your bootable backup/clone or Time  Machine backup.

  • About "the hospital for the error records"...

    Hi folks,
    I am new to ODI, and I am not buying the idea of "the hospital for the error records". In my personal opinion it introduces many complications. If some dimension records are "dirty" and we put them in the error table, then we are splitting the natural relation of the data, aren't we. The DWH data won't correspond to the source anymore, the dimension's data will be artificially split (the error records could apear on the next day), and we will need an additional process which should update the corresponding fact records on the next day (late arriving changes for the existing facts). Sounds much more complicated, than just to allow the ETL process to fail, fix the issue and start it again.
    Experts, please, help with an opinion.
    Thanks in advance!

    @DecaXD, thanks for your comment.
    "after that under my opinion "something is better than none"" This is exactly what I am worried about. The whole "hospital" idea, is something, which makes the whole process more complicated, without clear benefits. I like the idea to have E$ tables, but just for debugging purposes, just to be able to identify quickly, what were the error rows, so I can do a investigation based on failed data. What, I don't like is the idea that we can EASILY reuse the error data to recover the DWH state later.
    "Are you sure that you want to stop ALL your datawarehouse because the Address field is null?"Well, if during the analysis phase (especially, the data profiling step), we missed the fact that the address table could be null, then yes, I would like to stop the whole ETL, because this is situation, which has not been addressed correctly during the design of the ETL process.
    A rithorical question: Are you going to keep recovering the null records after each run (even a "successfull" one), or you would fix the interface/mapping to allow nulls, which would be updated on subsequent runs naturally ?
    What about more complicated error rows, like missing dimension key, which relates to many fact records ? Should we put the related fact records in their E$ table either. What if we have a snowflake design with many references to/from the error dimension records. Sounds too complicated for me.
    I would just store the error rows, and stop the ETL. Note, that I allow for dellay, but don't publish any not consistent data in the DWH.
    Bellow is a quote from the book you mentioned:
    "Don’t overuse the reject file! Reject files are notorious for being dumping
    grounds for data we’ll deal with later. When records wind up in the reject file,
    unless they are processed before the next major load step is allowed to run to
    completion, the data warehouse and the production system are out of sync."
    I am looking for more arguments, I do understand that it is not a simple issue, but I would like to see your real life experience here..
    Thanks!
    Edited by: hayrabedian on 2013-4-29 14:01
    Edited by: hayrabedian on 2013-4-29 14:02

  • Error in SMW01:Allocation of the tax for country RO, sequence 1, value 0 no

    Hi,
    when materials are replicated we found a queue existing in SMQ1 and SMQ2.
    When i have checked in SMW01 for the Log it showed me the error "Allocation of the tax for country RO, sequence 1, value 0 not possible"
    Then i clicked on Show BDoc Message Ext.data It showed around 20 materials.I ahve checked the material in R3 there is no sales view for this material type itself.
    i tried to replicate one of those material manually then it is replicated.
    Can anyone guide me why system showed "Allocation of the tax for country RO, sequence 1, value 0 not possible" this message even there is no problem with material?
    Is there any Trasaction to find the exact material which is creating problem?
    kindly suggest me few points on this how to solve this kind of error in future
    regards
    subbu

    Hello Subbu,
    There is a txn:CRM_TAXCUST_VALIDATE which would help you to figure out any issues with Tax customizing.
    Please exceute this txn and you would come to know the list of erroneous tax customizing.
    Also,
    in CRM table CRMC_TAX_MAP for country RO,check whether any  records have been                
    maintained for Access Sequence (i.e LFDNR) 1.
                                                                                    Please check the following customization in txn:SPRO.                                                                               
    CRM->Basic Functions->Taxes->Basic Settings->Tax Types and Tax Groups->            
    Assign Tax Groups to SAP ECC Tax Classifications (Product).                                                                               
    For example: If there are entries for Country RO for sequence 1 and                
    value 0 there must also be correpsonding  entries in R/3 table MLAN and            
    vice versa.                                                                               
    Also,I kindly advice you to go through the documentaion of                         
    "Assign Tax Groups to SAP ECC Tax Classifications (Product)" in CRM,               
    which is present in the above mentioned SPRO navigation.                                                                               
    Also,                                                                               
    *If you are not sure about the sequence of the taxes, you can check it             
    in SAP ECC, in Customizing for Sales and Distribution (SD), by choosing            
    Basic Functions -> Taxes -> Define Tax Determination Rules.                                                                               
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • Can Signal Express prompt the user for the next ascii file name?

    I am using the following to collect data from Thermocouples and Strain Guages in our plant.  It allows me to plt data every second, while recording only every 3 seconds to cut down the file size.
    Big Loop- 
    Small Loop- 
          Conitional repeat...
          DAQmx Aquire...
          Statistics (mean) Temp...
          Statistics (mean) Press...
          Current Iteration...
    End Small Loop-
    Save to ASCII/LVM
    The problem is that I have to configure the save step as "overwrite once, then append" so I get a single file each time the project runs.  How can I get Signal Express to either prompt the user for a new file name with each run or have the ascii file saved into the log directory for that run.  As it stands now, the file gets overwritten with each new project run.
    Thank you.
    new user

    Hi crawlejg,
    You can set signal express to increment the file being created each time.  But if you are looking for 1 new file each time the project runs you will have to use LabVIEW as this advanced functionality is not available in Signal Express.  If you need help getting this to work in LabVIEW or have any other questions please feel free to ask!
    Sincerely,
    Jason Daming
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Question about the requirement for goods issue from a delivery (VOFM)

    Dear all
    ※Please note that this is related to the credit limit check.
    I am trying to set up the SAP system, so that if the maintenance contract (rental document) is billed at least once,
    the system would allow the user to bill the customer regardless of the credit usage (ex. 150%).
    So I created the following routine for the credit check (in VOFM).
    IF XVBAK-AUART = 'ZMZZ'.    --> Please note that ZMZZ is the document type of our rental document
       LOOP AT XFPLT.
           IF XVBUK-FKSAK = 'B' or XVBUK-FKSAK = 'C'.
    We will not do any credit limit check for this item line.
                MOVE CHARX TO BYPASS-SECURITY.
                MOVE CHARX TO BYPASS-STATIC_LIMIT.
                MOVE CHARX TO BYPASS-DYNAMIC_LIMIT.
                MOVE CHARX TO BYPASS-DOCUMENTVALUE.
                MOVE CHARX TO BYPASS-CRITICAL_FIELDS.
                MOVE CHARX TO BYPASS-REVIEWDATE.
                MOVE CHARX TO BYPASS-OPEN_ITEMS.
                MOVE CHARX TO BYPASS-OLDEST_OP.
                MOVE CHARX TO BYPASS-DUNNING_LEVEL.
                MOVE CHARX TO BYPASS-USER1.
                MOVE CHARX TO BYPASS-USER2.
                MOVE CHARX TO BYPASS-USER3.
                EXIT.
          ENDIF. 
               EXIT.
       ENDLOOP.
    ENDIF.
    Now, with the routine above, it became possible to bill customers regardless of the credit usage.
    However, when we try to ship (posting goods issue) the item for that maintenance contract, when the credit usage exceeds 100%, the system rejects it with the error message below.
    <Error message>
    Static credit check: credit limit exceeded
    Now, I want to set up the system, so that if the posting goods is for the item which satisfies the following condition,
    the system would not reject the posting due to the error above.
    <condition>
    1. The item is for the maintenance contract which was billed at least once --> this means that this is not a new contract
    ※Please note that for new maintenance contracts (which is not billed even once),  the system should not allow to post goods 
       issue if the credit usage exceeds 100 %.
    I looked into VOFM, and found out that we are using the following routines for posting goods issue.
    <system routine>
    13
    <user routine>
    113
    But I didn't know where the error (Static credit check: credit limit exceeded) came from.
    Could you tell me how to find (or where to modify) a location where I can make the modification in order to
    satisfy our requirement?
    Thank you very much in advance

    Dear all
    I was able to solve the problem by setting up the credit check routine for delivery notes, and assign it for "No credit check" field
    in the automatic credit control (OVA8).
    So, thank you for your help, everyone
    Takashi

  • I have a few questions about the warrenty for the iPhone 4

    I just called technical support and they said since the vibrate on my phone is broken, they would send me a used phone, no cost to me. However, I have to send back my current phone and they said if they find out that I was the reason the phone is broken that they would have to charge me $300 for sending me the used one.
    How could they know if it was my fault? As far as I know the vibrate just stopped working one day. What would have to be wrong with the phone for them to be positive that it was my fault? If they do come to the conclusion that it is my fault, how do they charge me? Can I cancel the order for the new one and just keep my old one?
    My phone has minimal scratches on it, looks like it is practically brand new. If i receive the replacement phone tomorrow and change my mind, can I send it back with the prepaid label they send me?
    Sure I would love a phone with vibrate in working condition but if it is going to cost me $300, I can deal without it.

        @Dougnvic, no need to worry because I'm here to help! The vibrate function is very important especially when you're in a situation where you cannot have the ringer turned on.
    If we replace your phone through the warranty you are only charged for the equipment if there is any damage on the phone. The normal wear and tare is expected and you will not be billed for the phone because of these scratches.
    Once the phone is received it is inspected for any physical or liquid damage. If damage is found you are then billed for the phone and the charge will appear on your bill. You will also receive a text message advising you of the charge. Once you are billed the charge cannot be removed even if you return the replacement.
    If you change your mind and do not want to have the phone replaced you can just return the replacement once you receive it and keep your current phone. Just use the prepaid return label that will be inside the box of the replacement.
    If you are sure there hasn't been any damage then there is nothing to worry about. You will not be charged. You can also take the phone into a store and have a store representative take a look at the phone before you return it, if that makes you feel better.
    John B
    Follow us on Twitter @VZWSupport

  • Error: Maintain settlement rule of the sender for a higher level WBS

    Hi,
    I dont want to maintain the settlement rule for a higher level WBS. How can i configure this in such a way that i dont get the following error:" Maintain settlement rule of the sender" while doing CJ88. Maintaing a separate Settlement profile for a higher level WBS is an option but we are looking if something else could be done The problem is that there are no actuals booked against, say, level 2 WBS but when i execute CJ88, i get the aforesaid error. How can i ensure that only the lowest level WBS ask for the settlement rule and not the levels above it. I have already removed the Investment profile from the higher level WBS but still getting the same error.
    Regards,
    DPil

    Hi,
    It is a type Capex WBS and Biling element is not checked. In fact i get a warning while doing the settlement: WBS is neither a billing element nor an account assignment element.
    Diagnosis
    WBS element  is not indicated as either an account assignment element or as a billing element in the master record.
    System Response
    The WBS element cannot be assigned to an account.
    Procedure
    Correct your entries or add the missing indicator to the master record for the WBS element.
    But this is just a warning. On pressing enter i get the error :Maintain settlement rule of the sender "

Maybe you are looking for

  • Add a 2nd HD to a dv7 3160us?

    I want to install a second hard drive in my dv7 3160us. Will the hardware kit shown for the primary HD work for the second HD too? When I get the 2nd HD installed is there anything that has to be changed in the BIOS so it is recognized? Is there a si

  • Netboot MAC Address filter settings do not hold

    I was able to find this fix for getting the Model property settings to stick: * Stop Netboot * Uncheck Enable image * Make the change * DO NOT click "Save" * Check Enable image * Start Netboot but the MAC Address filtering settings do not stay Any id

  • I am assuming the Time Capsule needs a router, my router is old, what is the best router to get?

    I have the Time Capsule and a very old router.  I am assuming that I have to have a router, what should I get for a new router?  Can the Time Capsule be its own router?

  • My winxp could not recognize iphone as internal storage

    Why my winxp sp3 does not recognize iphone 4s as internal storage? I installed itunes 10.5.3 and connected to my iphone 4s then it shows up in itune and able to sync photo/music..etc, but it shows in exploere as digital camera which I would not allow

  • List tree

    Hi all, I am using the cl_gui_list_tree. In tree display I managed all the nodes are with checkboxes. As usual this tree has the hierarchy. Now If checked the root node, then how can check all the lower level nodes of the root. Thanks and Regards, Ba