MOTIF RAMPE

Bonjour,
D’après ce que je sais, la sous-VI de LabVIEW qui nous génère un motif de rampe peut le faire à la base, soit avec un nombre d’échantillon, soit avec un delta.
Donc, toujours, nous aurons une rampe qui tient ses éléments également espacés.
Mon problème ce que je dois générer une rampe qui possède les deltas dedans l’écart, variables. Pour cela, j’ai le premier élément, le dernier ainsi que le nombre d’échantillons, et l’information du delta pour les premières valeurs et pour les dernières valeurs (le delta pour les valeurs au milieu de cet écart doit être plus au moins une moyenne des deltas de l’extrémité).
Par exemple : Je sais que le première élément doit être 5, et le dernière 355. Les premiers éléments avec un delta de 5 et les dernières avec un delta de 10, au milieu, un delta moyen à peu près, (tout en sachant le nombre d’échantillon total). Donc, on aura :
5, 10, 15, … 200, 207.5, 215, …. 335, 345, 355.
Ce qui serait superbe, ce d’avoir une transition entre les des deltas continus (avec un incrément tout petit), comme cela :
5, 10.4, 16, … 200, 207.5, 215.6, …. 333,8, 344,5, 355.
N’hésitez pas à me faire des corrections, je suis tout débutant.. =)
Je vous remercie pour toute l’attention.
Cabral
Solved!
Go to Solution.

Let's say we take your numbers and you want a fixed delta of 7.5 (the average of 5 and 10) with a range from 5 through 355.  Either the final value will not be equal to 355, or the final delta will not be equal to 7.5, because you cannot divide 350 by 7.5  You have the same problem with a variable range, because the average delta will still be the same.  So, you will need to make a decision.  Which is more important, the start and end points or the delta values?
Here is one possible solution, assuming that the end points are more important than the deltas.  It adjusts the delta values to get a whole number of steps.

Similar Messages

  • Rampe delta variable

    Bonjour,
    D’après ce que je sais, la sous-VI de LabVIEW qui nous génère un motif de rampe peut le faire à la base, soit avec un nombre d’échantillon, soit avec un delta.
    Donc, toujours, nous aurons une rampe qui tient ses éléments également espacés.
    Mon problème ce que je dois générer une rampe qui possède les deltas dedans l’écart, variables. Pour cela, j’ai le premier élément, le dernier ainsi que le nombre d’échantillons, et l’information du delta pour les premières valeurs et pour les dernières valeurs (le delta pour les valeurs au milieu de cet écart doit être plus au moins une moyenne des deltas de l’extrémité).
    Par exemple : Je sais que le première élément doit être 5, et le dernière 355. Les premiers éléments avec un delta de 5 et les dernières avec un delta de 10, au milieu, un delta moyen à peu près, (tout en sachant le nombre d’échantillon total).
    Donc, on aura :
    5, 10, 15, … 200, 207.5, 215, …. 335, 345, 355.
    Ce qui serait superbe, ce d’avoir une transition entre les des deltas continus (avec un incrément tout petit), comme cela :
    5, 10.4, 16, … 200, 207.5, 215.6, …. 333,8, 344,5, 355.
    N’hésitez pas à me faire des corrections, je suis tout débutant.. =)
    Je vous remercie pour toute l’attention.
    Cabral

    Bonjour Cabral,
    Hélas créer un delta modulable pour une rampe n'est pas du tout quelque chose d'immédiat. La meilleure solution serait de découper la rampe initiale et d'en faire des rampes continues par morceau dont le Delta est fixe sur chaque "segment".
    J'ai quand même été plus loin et propose ici une version polynomiale de la rampe. Le polynôme est d'ordre 2 ici mais on peut facilement reprendre le principe pour avoir un ordre plus élevé.
    On a les même paramètres de rampe (init, final, et step), plus la force du polynôme entre 0 et 1. Une valeur de 0.5 donne une rampe linéaire. Plus on s'éloigne de cette valeur, plus la différence à mi-chemin entre la rampe linéaire et le polynôme est élevée. Attention à ne pas dépasser les 0.2 et 0.8 car on n'a plus une monotonie du motif.
    Derrière, le calcul est marticielle/polynomiale donc ce n'est pas chose aisée, comme dit en début de poste.
    Cdt,
    Eric
    Eric M. - Application Engineering Specialist
    Certified LabVIEW Architect
    Certified LabWindows™/CVI Developer
    Pièces jointes :
    Progressive_Ramp.vi ‏21 KB

  • FCP clip time remapping / speed ramping question re realtime after changes?

    Hello All,
    My first post here! I tried searches for this topic but didn't find....
    I wasted hours today messing with the keyframe editor to try and ramp parts of a single clip... first time using this feature and couldn't follow the manual! way too difficult to grasp without fluency in 'techygeekconfusic' lingo. Anyway, I don't think the topic was covered from what I read in my version of the manual.
    So I went straight for the keyframe editor graphic display under the clip in timeframe and put in a few points with the pen tool (using time graph blue line) and seemed to be going great until I realised that the segments in the single clip (ten minutes long) that I was adjusting were affecting what came after - ie slowing down the remainder of the clip. And that was all I could get from my manual that this happened without any explanation about stopping it happen by letting the outpoint of the clip readjust automatically for the changes made to that part of clip so that altered clip would be shorter in timeline...
    I then tried again from the start but noting the minus time on pentool arrow when I slid each keyframe point back and subtracting it from the duration in motion tab and that seemed to work for a while...
    but God bless my little brain! what I really wanted to happen - for the blasted thing to readjust itself automatically after I had adjusted a segment of the clip so that the remaining non-adjusted part would play in realtime with a new shorter outpoint in the sequence timeline - just couldn't be realised in my little brain or in the 'user friendly' control panels of FCP.
    I tried to get hold of the 'bezier' point at the end of clip and drag forward at the same rate as each change but could'nt get hold of it! I tried to put two points with pen tool at same time but couldn't isolate them from one another to create four points for adjustment without having still frames between.. blah blah.. I tried to get snapping to the pen tool points for further control but couldn't... duh!
    Please! how do you do it! obviously I have limited intelligence but I need to do this now. I want to adjust the 10 minute clip (DVCproHD 720p24N format - not that this should matter as my sequence settings are same) adjust the clip at maybe 10 different places so that it ramps in speed to cover up some boring areas and then back to normal speed after the changes - not back to some slo mo **! speed.
    I tried cutting with the razor tool to isolate and that didn't work either and other analogue brain type stuff ok I know you are laughing at me now but please help?!! I'm pretty new to this stuff, give me the old reliable Steenbeck and a few real bins and strips of film hanging on clothes pegs and I'll be ok...
    Help will be most gratefully appreciated!!!!!!!!
    Barra
    Message was edited by: BarraAppleId

    Andy did a very good job explaining the underlying problem with the time remap tool.
    The key thing to remember is the first and last frame are fixed in time. If you speed up the clip, time after that keyframe will have to slow down to compensate. Imagine the clip is a rubber band that has been cut so that it is a long string-like form. Now imagine anchoring each end of it with a push pin to a board. If you grab a point on the band and pull it toward one of the pins, the part of the band on the side you are pulling away from the anchor will stretch (run slower) and the side you are pulling toward will bunch up (run faster). But, when all is done, the start and end will still be at the fixed points.
    The way I've worked through this is to make a general guesstimate of how long the clip will be once all the ramping is complete. For example, I want the clip to start at normal (100%) speed and ramp up to 300% and back down to 100%. I might start with a clip having a constant speed of 200% and then change it to variable and play with it. The key concept is if you can get the overall LENGTH to where it should be, the rest works out fine.
    I have repeatedly asked in the FEEDBACK/New Features page that they add a toggle to the speed/time remap tools. This toggle should allow you decide whether the playback TIME for the clip should be fixed or flexible.
    For example, if you were working with a 4 second clip and wish to slow it down by 50% -
    If 'Maintain Time' is toggled ON, when you decrease the speed of clip by 50% - the clip will still play for 4 sec (but will show only half the total frames).
    If the toggle is OFF, the 4 sec clip will now play for 8 sec and will display all the frames.
    Where this concept becomes really powerful is when it's applied to time remap. If you have 'Maintain time' toggled OFF, as you adjust speed, the end point of the clip will float in time. If you increase the speed, the overall time of the clip will shrink. If you slow it down, the end point moves out in time.
    We need to keep asking ...
    x

  • How can I use the sounds of the Yamaha Motif XF6 in Logic Pro 9?

    I have Logic Pro 9 on my Mac Book. I also have a Yamaha Motif XF 6 synthesizer. Instead of using Logic's software instruments I would like to record the sounds of the Motif directly into Logic.
    I have been told that an audio interface is necessary for this. What kind of audio interface would be good for this? Any in particular?
    And, once I have obtained the interface, what steps do I need to take to hook up the Motif into Logic to utilize the Motif's sound bank?
    Detailed steps would help, as this is new stuff for me.
    Thanks!

    Since this is a user forum only, and your questions will take a lot of time to answer you might want to check both the Logic manual and the XF6 manual. The XF6 has possibilities such that you may not need and Audio interface if the Firewire option is present.
    Also you have a built in USB MIDI interface as well, you will need to download the Yamaha MIDI driver.
    Read Exploring Logic Pro, especially chapter five, you can record your performance via MIDI, edit it and then commit to audio.
    Dig in.

  • How can I view the color ramp in LV 8.6 sensor-mapping express vi during run-time?

    Hi All, 
    I've been using the sensor mapping express VI that is new in LV 8.6. When I place the express vi in my block diagram of my main vi I get the normal 'express' style configuration dialog. As a part of the configuration there is a really nice 'color-ramp' control where I can configure ranges; max; min; out -of-range colors and so on.
    What I would like to do is have the color-ramp control appear as a control on my main vi's front panel. After I convert the express VI to a regular VI I can't seem to find the connection to this control. Although I have found the sub-vi that the expressvi uses in an .llb here:
    C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\express\express 3d picture\SensorConfig.llb
    Can anyone point me in the right direction to do this? I get so deep into all the sub-vi's I end up getting lost-haha!
    Thanks - Paul

    The characteristics of the color ramp (max, min, colors) are all part of a "colorrampstuff" cluster that is inside the Sensor Mapping express VI. In order to change those values for the express VI, you will need to create a custom express VI that provides you with inputs to this cluster. This is done similarly to creating a subVI. Then you can use a variety of methods to write to the elements in this cluster and change them while the program is running.
    It may be easier to place numeric controls on the front panel that write directly to the elements in the cluster than to use a color ramp as a control.
    Will
    Certified LabVIEW Architect, Certified Professional Instructor
    Choose Movement Consulting
    choose-mc.com

  • How can I use Java to do Seismic programming as Motif?

    One of my friend recently finished a seismic on-site data processing program using
    Motif on Solaries.He asked me if I can implement the same function to use Java language
    so that the program can run on different platforms such as Windows,Unix.
    Seismic data is usually enormous.And I don't have any experence in plotting seismic
    curves by using Java.
    Is there any seismic processing software programmed with Java available?
    I will appriciate any help.
    Thank you

    I think the point is not the word seismic than 'how to plot curves in Java.'.
    You can find many resources about plotting curves you want in Java2D.
    Refer to these URL:
    Java2D http://java.sun.com/products/java-media/2D/index.html
    Java2D Tutorial http://java.sun.com/docs/books/tutorial/2d/index.html

  • SAP BPC 7.0NW (project in Ramp-Up)

    Hi,
    We are doing 2 Ramp-Ups currently on the BPC for Netweaver version, and I have a question relating to script logic.
    Knowing the Microsoft version very well, we are quite experienced with using logic for budgeting or forecasting purposes. I have read that ABAP/BADI's are the alternative for SQL Logic or could be. In fact, I am looking for the alternative statements of the SQL logic, but then Netweaver-compatible.
    - Is there information available on how to write BPC-logic based on ABAP/BADI's?
    - Will all of the SQL logic available in the Microsoft version become fully available in the NW version (now very limited availability)?
    Thx
    Bjorn Van Damme

    Hi Bjorn,
    The alternative to SQL based script logic in SAP BPC NetWeaver would be MDX based functions. There are 2 methods that you can utilize.
    1. MDX based functions
    2. ABAP based functions/ BADI's
    SQL Logic in NetWeaver environment doesn't work. You may try utlizing microsoft based MDX in NetWeaver environment. Well, it is up to you if you are able to utilize BADI's too prefereable method in terms of NewWeaver environment. You may have to get the information from SAP regarding what standard functions are available in writing script logic using ABAP/BADI's.
    Regards,
    Sreekanth.

  • Using a timer to ramp up voltage in code?

    I'm currently using a small VI for the Xandrex XPD power supplies, and I have to automate this program so that the voltage will ramp up, say .2 volts every 500 milliseconds to a user defined voltage (say 15Volts). While I know some basic loops can do this, I am somewhat green with LabView and any help that could be given would be much appreciated. Right now my VI can set current limits and voltages on the PSU. With that out of the way I believe there shouldn't be much more needed in the VI to create a ramp time.
    I have attached a picture of my block diagram, if there is anything else that's needed I'll post it up. Thanks!
    Attachments:
    Block diagram1.jpg ‏49 KB

    Here's the VI in 8.0 form. One thing to be aware of is that the time between steps will not be exactly 500msec because Windows is not a realtime (deterministic) operating system. Most of the time it will be very close, but if something happens that severely loads the CPU it is possible for the value to increase significantly.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
    Attachments:
    ramp up.vi ‏11 KB

  • 6.40 Ramp-Up: Dispatcher problem

    Hi,
    we have installed the WAS 6.40 unicode version (ABAP + Java) and Adobe Document Services as part of the Ramp Up.
    The installation was done successfully without any problems and Support Packages (ABAP, BASIS) have been applied up to level 3, in addition the ABAP kernel has been upgraded to patch level 19.
    We have the following issues:
    1. In the Microsoft Management Console the disp+work
    (dispatcher) process is in yellow status: "Running but dialog queue info unavailable" even though we can logon to the system through the GUI and do not see any error messages in the system.
    2. When we try to test print any Adobe Form through transaction code "SFP", we get the following error message:
    "Test for function group /1BCDWB/SM00000001 Function module /1BCDWB/SM00000001
    Runtime: 7,670,791 Microseconds
    Exception SYSTEM_ERROR
    Message ID: FPRUNX Message number: 001
    Message: Adobe document services error: SOAP Runtime Exception CSoapExceptionTransport : (1001)
    3. The trace file in the ICM Monitor ("SMICM") shows the following error messages:
    [Thr 4636] *** INFO => the EXTBIND attribute in parameter
    icm_server_port_<xx> for service 8000 is not necessary on Windows - i
    [Thr 4636] Tue Jul 27 17:58:19 2004
    [Thr 4636] *** WARNING => IcmNetCheck: NiAddrToHost(10.0.0.1) took 11 seconds [icxxtool.c 431]
    [Thr 4636] *** WARNING => IcmNetCheck: 1 possible network problems detected - please check the network/DNS settings [icxxtool.c
    [Thr 3940] Tue Jul 27 17:58:28 2004
    [Thr 3940] IcmJ2EEScheduleFunc: WARNING: no HTTP service defined
    [Thr 4896] Tue Jul 27 18:02:02 2004
    [Thr 4896] *** ERROR => IcmCreateCacheInvalMsg: no HTTP/HTTPS service active [icxxmsg.c 2903]
    [Thr 4896] *** ERROR => IcmCreateCacheInvalMsg: no HTTP/HTTPS service active [icxxmsg.c 2903]
    [Thr 4896] *** ERROR => IcmCreateCacheInvalMsg: no HTTP/HTTPS service active [icxxmsg.c 2903]
    We also posted this as a Ramp-Up OSS message but maybe someone on this forum came across this as well before...
    Thanks,
    Guenther
    Message was edited by: Guenther Schober
    Message was edited by: Guenther Schober

    To resolve step 3, remove the EXTBIND=1 parameter from the instance profile.  EXTBIND is only needed when using ports < 1024.

  • Start Of Ramp-Up for SAP Portfolio and Project Management 5.0

    Start Of Ramp-Up for SAP Portfolio and Project Management 5.0
    Starting with this new release, the application SAP Portfolio and Project Management 5.0
    replaces both the SAP Resource and Portfolio Management (SAP RPM) application and the
    Collaboration Projects (cProjects) application.
    Start of ramp-up for SAP Portfolio and Project Management is 19th of April, 2010. The end
    of ramp-up is currently scheduled for 19th of October, 2010.
    Functional Innovations And New Features
    A detailed description of all new and/or enhanced functional innovations and features can
    be found in the Release Notes:
    [http://service.sap.com/releasenotes |http://service.sap.com/releasenotes]
      -> SAP Solutions
        -> Release Notes SAP Portfolio and Project Management
    There are some SAP Notes which are in general very important for SAP Portfolio and Project
    Management 5.0 and which also serve as central points of entry to find import information:
    SAP Note [1377104|https://service.sap.com/sap/support/notes/1377104]      FAQs - SAP Portfolio and Project Management 5.0
    SAP Note [1402912|https://service.sap.com/sap/support/notes/1402912]      PPM 5.0: Supported Browsers, Java versions, etc. 
    SAP Note [1411953|https://service.sap.com/sap/support/notes/1411953]      PPM 5.0: Configuration Content
    SAP Note [1436778|https://service.sap.com/sap/support/notes/1436778]      SAP Portfolio and Project Management 5.0: Restrictions
    Kind regards,
       Florian

    Thanks very much for taking the time to post the info Florian. I will update this thread as well if I run into any new information.
    Do we have any idea on SAP's direction for Product Definition? PD is still version 2.0 and I heard that PD functionality will be incorporated into PPM 5.0 which does make a lot of sense. I very briefly went through the notes and config doc in this post and did not get the impression that PPM has any idea and concept management capabilities.

  • After Effects CC crashes PC (BSOD) using Gradient Ramp effect

    I've done it three times now to make sure, but whenever I make a solid layer and add the gradient ramp effect, and then change the color, it gives me a BSOD. I've had some BSOD issues while using AE for various reasons, and I've gone through solutions considering disk cache, Open GL rendering, multi-core processing, etc. I'm pretty sure I need to replace a piece of hardware, as each BSOD is indicating such, but I've had a hard time determining which. I should note that going to the color palette for something like text doesn't give this issue. So far it's been for the solid layer and gradient ramp. Note that I've also used other plugins, such as Element 3D and Keylight and such without a problem.
    I recently signed up for CC so I haven't yet uninstalled CS6, and I'm doing that as I write this.
    My computer is running 64-bit Windows 7, has updated drivers for PSU, ram tested healthy, GPU driver updated, and more. My RAM is 16 GB DDR3 1666 GHz, Processor is AMD Six-Core Phenom 2, GPU is Geforce 470 GTX, and I'm running standard 7200 rpm disk drives. I have intentions to update all of the hardware over time, so I'm wondering if maybe a switch to Intel or an updated GPU might be helpful.
    Thanks!
    Katie

    System
    Provider
    [ Name]
    Microsoft-Windows-Kernel-Power
    [ Guid]
    {331C3B3A-2005-44C2-AC5E-77220C37D6B4}
    EventID
    41
    Version
    2
    Level
    1
    Task
    63
    Opcode
    0
    Keywords
    0x8000000000000002
    TimeCreated
    [ SystemTime]
    2014-06-20T03:36:20.388819000Z
    EventRecordID
    16009
    Correlation
    Execution
    [ ProcessID]
    4
    [ ThreadID]
    8
    Channel
    System
    Computer
    Helios
    Security
    [ UserID]
    S-1-5-18
    EventData
    BugcheckCode
    292
    BugcheckParameter1
    0x0
    BugcheckParameter2
    0xfffffa800f208028
    BugcheckParameter3
    0xb66cc000
    BugcheckParameter4
    0x1c000175
    SleepInProgress
    false
    PowerButtonTimestamp
    0
    I exported the information and uploaded it to my Dropbox for download: Dropbox - BSOD-Katie.zip
    Let me know if I need to give any more information Thank you!

  • 64 Bits and Motif

    I compile a Motif application in 64 bit as follows:
         CC -xtarget=generic64 -g -c fonttest.C
         CC -xtarget=generic64 -g -o fonttest fonttest.o -lstdc++ -lm -lXm -lXt -lX11
    it compiles just fine. But when I run it I get the following errors at runtime:
    Warning: Cannot convert string "-dt-interfacesystem-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet
    Warning: Unable to load any usable fontset
    Warning:
    Name: FONTLIST_DEFAULT_TAG_STRING
    Class: XmRendition
    Conversion failed. Cannot load font.
    this error repeats several times. I load a font manually for the
    drawing area and it works fine, but the (default) fontset stuff fails.
    Anyone have any ideas?
    Thanx,
    scott

    When you load a font by hand, do you load this font,
    or some other? The message means that your app can't
    find the font requested. Find some font you know that
    you have and use it. You may be setting a default
    font in one of your dot files.

  • How to make a ramp affect other layers

    I'm trying to create a lower thirds that will include some motion, otherwise I might try Photoshop for this. But basically, I'm trying to create a gradient using ramp in AE so that the lower thrids I've created fades away on the sides. Similar to the image I've attached. I don't know how to make the layer that I put the ramp effect on affect the other layers. Can anyone help?

    Dave's method is great.
    Like all things AE, there are many ways to accomplish the same thing.
    Some alternatives are: Make a black & white gradient ramp on one layer, and use it for a track matte on another matte. You can also use the Set Matte effect to copy the alpha of one layer to another.
    There are direct ways to create alpha ramps using 3rd party plug-ins like Ramp Alpha that's in Red Giant's Key Correct and Image Lounge.

  • Urgent help required: color template - use color ramp instead

    hello,
    I want to match color using the color matching vi. i understand you need a color template before executing the system.
    however i want to give my users the chance to choose any color from a color ramp and then this should be used an input to the color match vi (template). is this possible????
    if yes how... i have put a color ramp in the front panel and then put the output to the input of the color match template but get an error: not a template...
    thanks

    Hi farhan,
    Can you please send in some example code, as I can not find the VI you are talking about. The closest match I have is IMAQ Color Match and this does not have a template input.
    Please can you also tell me what version of LabVIEW you are using as well.
    Regards
    JamesC
    NIUK and Ireland

  • Recruitment open for Upcoming Ramp-Ups: SAP BusinessObjects GRC 10.0 Suite

    Recruitment open for Upcoming Ramp-Ups:
    SAP BusinessObjects Access Control 10.0
    SAP BusinessObjects Risk Management 10.0
    SAP BusinessObjects Global Trade Services 10.0
    SAP BusinessObjects Process Control 10.0
    Key Data
       * Target Release to customer: 13th December 2010
       * Target Completion date Ramp-Up: 15th June 2011
       * Contact Persons: Petra Beenk (EMEA); Jennifer Ingle (North America); Fabiana Pacheco (Latin America); Allen Xiao (APA) Sawako Watanabe (Japan)
       * SAP Ramp-Up project responsible: Sabine Schoeler
    http://service.sap.com/rampup
    Cheers,
    Vit
    Edited by: Vit Vesely on Oct 23, 2010 9:32 PM

    Hi Simon,
    I appreciate your help.
    It noticed by me that in the GRC 10 front end system, the component GRCFND_A_V1000 was not installed!!!
    How this was missed I dont know. Inspite of this, other component GRCPINW_V1000_700 was installed.
    Now I have figured out and installed the correct component and I can now activate the BC sets
    Thanks for your rhelp again
    Regards,
    Faisal

Maybe you are looking for