Function of good decimation?

Hello

I need to decimate certain curves with DIAdem (the user specifies the time beginning, duration and increment; and then, it executes the decimation). I tried the 'reduction of the classification' function, but it doesn't really realize what I need. That's what I get when generating a report excel after you have used the function 'reduction of the classification' (as you can see, there are some 'empty lines'):

NameTime (s)VSL1\Voie1_ReechVSL1\Voie2_Reech
Unit    
10,020037, 7716E-165543E 1-15 
20,020090,587785251,1755705 
30,02015   
40,020210,951056521,90211303 
50,02027   
60,020330,951056521,90211303 
70,020390,587785251,1755705 
80,02045   
90,02051-1, 6651E-15-3, 15-3301E 
100,02057-0,58778525-1,1755705 

etc...

============================

How can I make a real decimation effectively?

Thanks for any help...

Julien

Hi krsone,.

I have 2 solutions for you below, one based on the Classification of reduction, the other based on the linear mapping.  Let me know if you still have any questions.

StartTime = 0.02
Duration = 0.01
RedFactor = 2
Michel = "[1] / Time."
Ychan = "[1] / [2].
Period = SEC (2, Michel) - ChD (1, Michel)

ClassBegin = StartTime
ClassWidth = period * RedFactor
ClassRangeWidth = duration
Call ChnClassXRedXY (Michel, Michel, Ychan, "BeginWidthRange", "Average", 0, 0, 0)

Points = CLng (/(Period*RedFactor) Duration)
Call ChnLinGenImp ("LinInterpX", Points, StartTime, period * RedFactor)
Call ChnMapLinCalc (Michel, Ychan, "[1] / LinInterpX", "LinInterpY", 1, "[bound.value] Y", NoValue, "analog")

Brad Turpin

Tiara Product Support Engineer

National Instruments

Tags: NI Software

Similar Questions

  • SmartView HsGetValue function retrieves some decimal numbers

    Hi guys,.

    We are on HFM 11.1.2.4.102.5088 (PSU 21909692) and SmartView 11.1.2.5.510 and you want to extract the data via HsGetValue. We need the numbers to 2 decimal places.

    But it seems that during the recovery of all the numbers get rounded to the total amount. 1.111,89 becomes 1.112,00

    We changed the option of smartview in the "Formatting" tab to 2 decimal places, but still: same problem.

    Do you by chance have any idea why this is happening?

    Thank you in advance!

    Best regards

    Carmonte

    We found just that the problem is caused by HFM/Workspace/Application preferences, where we defined '. ' as a thousand delimiter and ',' as the decimal separator.

    As soon as we changed it back to normal ("'. ' as the decimal separator") HsGetValue retrieves the two decimal places.

    However: it's a bug. We will create a SR.

  • How to solve the dark median line when I use officejet all-in-one, the copy function?

    The print function is good, but has only problem in copy functioln.  How to clear the dark midline?

    Hello tseng0719,

    I think it would be useful to have more information in this case. For example:

    What printer do you have? This happens when you copy of the bucket or the adf? Do this also happen when you scan a picture?

    A small tip would be to clean the glass of the scanner because it migh be fine it's only down to the dirt on the glass (especially if this happens when you scan using the adf).

  • initializeUpdate function of the com.ibm.jc CardManager class

    Hello
    I'm currently trying to create a JavaCard Applet loader and I get in trouble with the function initializeUpdate of the CardManager class. Below is the code that I write to initialize communication with the javacard/reader...
    the list of all players with a card shows
    readers is TerminalFactory.getDefault () .terminals () .list (State.CARD_PRESENT);.

    {if (Readers.IsEmpty ())}
    return;
    }

    establish a connection with the reader
    expression = (PCSCJCTerminal) JCTerminal.getInstance ("PCSC", readers.get (0) m:System.NET.SocketAddress.ToString () .substring (15));
    term. Open();
    RTA = new ATR (term.waitForCard (2000));

    connect to the map
    System.out.println ("layout map...");
    map = new JCard (term, atr, 2000);

    Select Cardmanager
    System.out.println ("selection of card manager...");
    cardmanager = new CardManager (card, CardManager.daid);
    cardmanager. Select();

    installation key
    Byte [] dfltKey = c2b ("404142434445464748494a4b4c4d4e4f");
    cardmanager.setKey (new OPKey (1, 1, OPKey.DES_ECB, dfltKey));
    cardmanager.setKey (new OPKey (1, 2, OPKey.DES_ECB, dfltKey));
    cardmanager.setKey (new OPKey (1, 3, OPKey.DES_ECB, dfltKey));

    authenticate to cardmanager
    System.out.println ("authenticate to the Manager of the map... \n");
    * cardmanager.initializeUpdate(1, 0,CardManager.SCP_01_05); *
    cardmanager.externalAuthenticate (OPApplet.APDU_CLR);

    When I run the program, everything goes well until the initializeUpdate function that throws the exception:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/jc/CL3
    at com.ibm.jc.OPApplet.initializeUpdate (unknown Source)
    at com.jnet.tools.LoadApplet.initConnection(LoadApplet.java:80)
    at com.jnet.tools.LoadApplet.load(LoadApplet.java:88)
    at com.jnet.benchmarks.ClientBenchs.runTest(ClientBenchs.java:636)
    at com.jnet.benchmarks.ClientBenchs.main(ClientBenchs.java:485)
    Caused by: java.lang.ClassNotFoundException: com.ibm.jc.CL3
    java.net.URLClassLoader to $1.run (unknown Source)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass (unknown Source)
    at java.lang.ClassLoader.loadClass (unknown Source)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (unknown Source)
    at java.lang.ClassLoader.loadClass (unknown Source)
    at java.lang.ClassLoader.loadClassInternal (unknown Source)

    Since I'm quiet new in Java, I don't know what means this exception. I think that all the parameters of the function are good since I use the same when I "manually" load Applets on the map with the same settings and it works. My JRE is 1.6 (but I also tried 1.5), and the JCOP tools version is 3.2.7.
    I also tried with another card with various AIDS and SCP parameters different but I still have the same error.
    I thank in advance for the future fold

    862087 wrote:
    Since I'm quiet new in Java, I don't know what means this exception. I think that all the parameters of the function are good since I use the same when I "manually" load Applets on the map with the same settings and it works. My JRE is 1.6 (but I also tried 1.5), and the JCOP tools version is 3.2.7.

    The problem is not with your code, but your classpath. The card handler class seems that depends on another class that is missing when running. He is not recovered at the time of the compilation that you compile not against it. Try adding the crypto.jar located in the same location as the offcard.jar you are using.

    See you soon,.
    Shane

  • Please give me a link to the version 5.01

    How much more clear do I have to be? Version 6 hangs my computer! I want the version 5.01, and I do not appreciate Mozilla weeding out all links to 5.01.

    Found for you a web site with Mozilla.
    When you click on the link below, you will see this text:
    "Thanks for choosing Firefox!
    Your download should automatically begin in a few seconds, but if not, click here. »

    The words "click here" will be in blue. Click on the blue, and then you start to download the version 5.0.1.

    FireFox 5.01

    I caught so the link is functional and good.

  • Satellite 5200 - Touchpad scrolling in Opera / Touchpad backlighting

    Hello.

    Recently downloaded the Opera browser & find scrolling Synaptics stopped working!
    All other functions seem good & scrolling is always fine with MS Explorer
    Can someone tell me if this can be fixed?
    [Using a Satellite 5200-902]

    Also Touchpad light turns off after 5 seconds. [This is normal]
    Does anyone know if it is possible to find the code and change it to say 60 seconds?

    Any help on the above would be appreciated
    Thank you

    I m not sure but I think that Opera explore doesn t support this option.

    But if opera supports this option, then perhaps, you must activate only in the opera settings?
    But sorry I n t use Solution Explorer and so I can't give you a statement exactly hoe to do.

    But play around with the settings or visit some sites support Opera

  • night shift iOS 9.3 does not work in mode

    SO this is my first post

    This new functionality is good and only time will tell if it works with my sleep pattern. The only thing that bothers me is - you have activated of night shift, but when you hit that 20 percent mark where it prompts you to activate the ' mode low-energy "you click on it and you get blinded. Why is this? This sorting at a later date where the two functions operate with each other? Would be nice if they could like it would take difficult decision out of my hands each day.

    See you soon

    Quarter of night is supposed to consume more energy, so it is disabled mode low consumption. Unfortunately, most users will be willing to switch mode low power night night is going to be beneficial. I suggest you send feedback to Apple.

    http://www.Apple.com/feedback/

  • Satellite U940 - fan of strong cooling after Windows 8.1 update

    Hello

    I have a month old Satellite U945-S4390 and I started to have this problem after the upgrade to Windows 8.1 a few days ago.

    I started windows 8, and the fan returned to be quiet.
    When I reinstalled windows fan 8.1the began once more to be strong.

    I am convinced that it is a matter of 8.1 for Windows (at least for me).

    Anyone else having this problem? All proposed the solution?

    > I started windows 8, and the fan returned to be quiet.
    > When I reinstalled windows fan 8.1the began once more to be strong.

    After winning 8.1 update, you must install all drivers and utilities Toshiba as a pilot system of Toshiba in the right order.
    The Toshiba driver page provides installation instructions for all models of 8.1supported Win.
    Installing these drivers is very important about the functionality of good laptop

  • How to activate infrared for Sat M40-244?

    Hello
    first of all, I would like to know if infrared is available on the M40-244 laptop?

    So if it is Yes, how can I use infrared transmission?

    In Control Panel > Wireless...
    The options are on, but in this area, no device is detected.
    Should I directly activate infrared in the bios? How can I do?

    I already try to re - install the driver for the irda (package of official drivers) but nothing better

    I would like to precise in the specification of the motherboard, I find (with SiSoftware Sandra Lite) an Irda port, but this port is "disable."
    So is it possible to activate this port.
    Thanks for your response

    Good day

    PS: Sorry for my bad language

    Hi good

    As far as I know the IrDA is not available on Satellite M40-244.
    In this case, it is not possible to activate or deactivate this function :(

    Good bye

  • OfficeJet pro 8610: impossible to be re - connect officejet pro 8610

    About 2 weeks, I have not connected wireless to my 8610 no problem, he printed, scanned & copied fine until this week, so I wanted to print something & he said that it was not connected.

    He is still connected to my home network with a signal strength is very good, always prints from my phone & compressed it even installed on my old windows XP netbook first attempt.

    I have installed and uninstalled scan & PC doctor and all other HP related software several times but nothing helped, it will not be connected to the computer.

    I then tried to connect using the USB cable, it recognizes the printer with the sound of connection and say connect again, nice printer but at the moment no use at all, it will be thrown in the garden very soon unless someone can help. Please, I beg you.

    I tried to connect with all the different methods, it's IE USB, network and ethernet cable, whenever the connection would launch, go to halfway through, say it can't connect and stop.

    Charles 001 mail response was very good, thank you, I am always looking for other positions, and decided to cross and get rid of everything I could find on HP, found some pieces that were not uninstalled, got rid of everything, including a different HP printer that was left from an earlier era.

    Go to start

    run

    Printmanagement.msc

    custom files

    and the deletion of all.

    Then tried to reinstall, first time of happy days on the network connection.

    Printing system function all good, full, and if it happens again I'll try this first.

  • Table 1 d of dynamic data index

    Hello.

    I have 2 son of dynamic data. Basically, I want to access each item of two, with a single function (module) in a moment.

    I use table to build, and with a probe, I see for wire 1 (items: x 1, y1, z1,...) and for the 2 wire (items: x 2, y2, z2,...).

    Now, I want to use a function (module) good enough to choose for example to y2 2 and wire1 z1.

    Thank you.

    Hei, I got it!

    I used the table of generation 3 and 1 index table 2D. Innitialy, I put merger signals instead of build table, so I was stuck there.

    Thank you for being around.

    Here's a vi. My project is more complex, so I made an example for you. (LV 2010)

    Can it get any easier?

  • The Dell printer cannot communicate with the Dell computer.

    It seems that suddenly my Dell AIO 942 printer cannot communicate with my Dell Studio 17computer.  These devices have been the transparent connection until two days ago.  I've set up a restore point, I installed the drivers, unplugged and re plugged 110 s and USBs, used different ports and I still have the same, printer cannot communicate with the State of the computer.   Copy and scan functions are good, Windows Vista operating systems.  How can I find these devices to their previous state of communication?

    Jesse,

    Thank you very much for the detailed information. It really give us a head start trying to solve the problem.

    Please answer these questions to get more clarity-

    (1) what are the other steps in troubleshooting tried by you so far?

    (2) other changes on the computer that I should know about?

    In the meantime, I have you refer to items offered on the Dell website - troubleshooting

    http://www.Dell.com/support/home/us/en/19/product-support/product/Dell-942/research

    You can also have a look at the Microsoft article as well-

    http://Windows.Microsoft.com/en-in/Windows/printer-problems-in-Windows-help#fix-printer-problems=Windows-Vista&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    Get back to us with the results.

  • IF A GAMBLING SITE WANTS MY ADDRESS E-MAIL & MY PASSWORD?

    IF A GAMBLING SITE WANTS MY ADDRESS E-MAIL & MY PASSWORD?

    Hello

    Make an email address on a free site such as Hotmail, Gmail, Inbox or others to use for those
    where spam is a possibility. You can always just stop using this address.

    If your password by e-mail, he wants then it's a site totally bug. There is no reason that EVERYONE needs
    to know your email password or other system passwords.

    If she wants you to create a password for its functions is good, as long as you make a
    which is not used for other functions.

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Should I change ip of the router if I use the vpn - RV110W

    Hello:

    My RV110W ip address is 192.168.1.2. Now, I add a line to vpn clinet adjustment table. When I put the button Save page displays "to ensure the functionality.the good router need to change its ip address to 10.x.x.1. So. I need to know should I change ip of the router 10.x.x.1 order to use the VPN? It is very embarrassing because my devices are all set to the range of 192.168.1.x.

    Hello

    I'm sorry that you're having problems with your device.

    You are right, the router will force you to change the IP address when you try to date a new VPN user, if he always uses the IP address 192.168.1.X, in order to avoid problems when people connect remotely like this subnet is the most used, and if someone tries to connect remotely by using the 192.168.1.X subnet, then the connection will be rejected.

    Now, you don't really have to change if you don't want (I have no advice as the function is there for a reason and most likely you will have problems with the connection of users on the same subnet).

    What you can do is change the IP address that you want, create all VPN users and then change the IP address to you, this way you fool the router and you can keep your current IP address (even once, this is not recommended)

    I hope that was helpful, please let us know help.

  • Authenticate the accounts of Movi (Jabber) with LDAP/AD

    Condition: I have a setup of TMS-control-Expressway (VCS are x7.0.2, TMS is at 13.1.2).) Commissioning is good in all areas (manually created Movi accounts are correctly identifying you and calling functions are good). In the start-up directory, I have the root directory. In the root directory, I have 6 Movi accounts created manually as well as 6 subdirectories. I installed each subdirectory with a Base DN and DN (each subdirectory has a different Relative DN).

    Result: Each subdirectory is to import users AD it was supposed - and all areas that fall under each user Movi is populate correctly (email, title etc etc). The only area that is not filling (and should be grayed out/disabled) is the password field. This field has a default password for each user. In addition, the password field - meaning that it can be changed right there in the provisioning of TMS directory. The search AD to autheticate password is obviously not the case. FYI, if the Movi user uses their username (domainsername) AD and the password entered manually, Movi makes login.

    Attempt of high school: I also went in the control VCS vcs configuration > authentication > devices > Search AD and filled in the fields (to add the VCS control to the field). I also made sure authetication on VCS is set to 'local database', but the "auto" value on the challenges of the NTLM protocol.

    It doesn't change anything. MOVI users opening a session cannot use his AD password.

    Timothy,

    Yes, it should work. I see no problem with keeping the subfield of "treat as authenticated.  Again the subzone is where any request for 'registration' will pass through including your presence and your phonebook.

    the initial Setup subscribe for MOVI/Jabber is still going through the default zone which, in your case, will be challenged for credentials.

    Try it out and if face you any problem then post here.

    Thank you

    Alok

Maybe you are looking for

  • IPhoto import, duplicates Handeling

    I heard that when you import an iPhoto library in pictures, Photos provides assistance to the detection and removal of the photos in the iPhoto library double. Is this correct? If so, how does this work? I tried to search for this topic, but Apple di

  • Satellite A200 - 1 GB: I lose all the data on the HDD using the recovery CD

    Hello Recently, I had some problems with the network of vista Home premium, start at the blue screen with a TCPIP. SYS error and after a reboot, never launched.Download the bluescreen when the green bar loaded and sometimes even to secure boot. So I

  • LAPTOP BATTERIES.

    A friend bought a laptop just this month of December 2013.In 9 months of time, the battery could not power the machine more. Its a hp laptop battery type. When you plug in the charger it reloads and you said "battery full" but when the charger is unp

  • Login Forgot password

    I'm locked out of my phone because I forgot my password for the connection.  Is there a solution for this?

  • Windows Vista think the C drive is full

    I'm trying to help my mother claire on the space on his computer. It is currently running Windows Vista Home Premium 64-bit, drive C is 140 GB. Yesterday, she showed that she had about 5 GB of free, this morning it had fallen less than 1.5 GB. I ran