How to make a vertical Power Spectrum graph?

I need help to rotate a graph 90 degrees. My input is Scaled Data which goes into an Index Array to split the channels. The graph is okay for the selected channel but is in landscape mode and I want it to be relatively thin and vertical i.e. exchange the X&y axis.

I may not understand exactly what you need, but I have a suggestion.
The trick is to reformat the data and use an XY graph. They allow for ultimate control of the displayed data because they just draw lines between the x-y points in their data array. I suspect the scaled data in your VI is in a cluster. Unbundle it, autoindex the array with a for loop, bundle in a "x value", pass the array of clusters to the xy graph.

Similar Messages

  • How to make baseline vertical

    Hello All,
         how to make baseline vertical.
    Always baseline is horizontal i.e we can draw the text only in
    horizontal line . How to make baseline vertical . Is there any method
    in jdk1.1.8 to make baseline vertical.
    Can any one answere?
    Sharmila

    in 1.1.8, no
    AffineTransform (introduced in java1.2) allows an arbitrary transform to be applied to the origin, so it can be used to perform the task you want. However, this functionality is unavailable in <1.2 JREs.
    rob,

  • How to make a Vertical Total of a multilline item?

    Hello,
    I have a block that contains 12 numeric multiline items. I would like to make a vertical total for each item.
    I tried to make a reference item, it didn't work. i tried also to make it by doing a Sum of my item, it didn't work neither.
    Could someone give me any ideas how to figure it out?
    thanks

    You use Summarized items for this:
    -Create a non-database-block, name it e.g. BL_CONTROL, set the property "Single record" to "Yes".
    -Create a number-item in the block, set the property "Calculation Mode" to "Summary", "Summary function" to "sum", and "Summarized Block" and "Summarized item" to your block/item you want to sum up.
    -Set the property "Query all records" to "Yes" on your database-block.

  • How to make sure plots in xy graph are present?

    Hi community,
    since updating to LabVIEW 2014 this week I have an issue with code that worked previously (or didn't but the problem was unnoticable).
    As shown in the example llb I created to showcase the issue, I'm filling xy graphs with quiete some data and then programatically colour the plots.
    The problem is that if there are too many plots then the property nodes that are to colour the plots thow errors as if the corresponding plots were not present in the graph yet - even though I used a single frame flat sequence structure to try to make sure data is written to the plot before trying to colour them.
    Maybe this would have happened in LabVIEW 2013 too - but the threshold for the number of plots was higher. All I can say is that I observed this with data sets that worked fine in LabVIEW 2013.
    To reproduce simply run "colour the graphs.vi" with sufficiently high values for "numerisch" and "numerisch 2" (50 on my machine may be more on yours). I left the error out terminals of the property nodes unwired so you get taken to the right position when the error occurs.
    Can I somehow check whether all plots are in the graphs yet? That way I could introduce a delay that makes sure I don't try to colour graphs that aren't there yet - regardless of the speed of the target PC.
    Has xy graph behavior changed in LabVIEW 2014? Or maybe its performance?
    Best regards
    Florian
    Solved!
    Go to Solution.
    Attachments:
    colour.llb ‏194 KB

    Florian,
    i cannot run your example as it requires some VIs from a LAVA-library (which i dont have installed).
    Nevertheless, there are some questions i am stumbling about:
    1. Why do you use a local variable rather the terminal to pass all plots to the indicator?
    2. If you place a wait function in the sequence frame which waits longer than the expected time for passing the data, does the error still occur?
    3. Do you run into the error if you enable panel updates before coloring the plots in order to slow coloring down?
    I can imagine that you have a race condition against the UI thread. The local variable (just like the terminal) has a buffer where the data is copied to. The UI thread will retrieve the data as soon as it is ready. I would expect the coloring to require the data be present in the UI thread already (in order to "acknowledge" the plot). So if, for any reason, the UI thread only cought 98% of all plots when you start recoloring, you race against the transfer of the last 2%.. depending on the UI thread execution speed, you can run into the error or maybe not.
    That is the reason why i want you to test for waiting times or slowing down the coloring.
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How to  make the vertical  scrollbar  moved  automaticlly?

    Hi:
      I make a  program using BDC to create  POs.
      In my bdc recording process, i only inserted a line material item ,  but now in my program i failed  to  insert material items  over <b>7</b> because the screen only have 7 lines in default situation. how to solve this problem?   thanks inadvance!

    Hi guixin chen
    But programming for the scroll bar is never a good idea...
    Simply because thsi depends on the GUI settings on OS settings of the user.
    and you cant possibly program to consider all this.
    The best option as somebody suggested is to use teh bapi/fm.
    If u r trying to add some items to the PO in BDC, you might also have the option through the menu to add a new item. use that instead of a scroll. This will make ur BDC GUI settings independant.
    Rgds,
    Prashanth.

  • How to make a vertical calendar with ical 3.0.3/leopard?

    Hello,
    With this version of ical (3.0.3) running OS 10.5.3, I can't seem to figure out how to create and print a vertical ical calendar. Any advice?
    Thanks much.

    To do a video Podcast - You should use iMovie to create a movie and then save as a .mov file, upload to the internet and then update the RSS feed accordingly.
    Garageband can be used to create an Audio Podcast, either share to iTunes with out the podcasting track and convert to MP3. Or for an enhanced Podcast - have the podcasting track enabled and then Share to iTunes - it will go over as an AAC file.
    But GB3 is not going to do video - that is what iMovie
    Rob @ podCast411
    http://www.podcast411.com

  • How to make a vertical lift or elevator in a platform game

    I am creating a side scrolling platform game using the book "Flash Game University" by Gary Rosenzweig.
    My protagonist has an instance of "hero".
    My current issue is trying to create a lift or elevator to carry the player up or down. The lift is not covered in the book. My thoughts were that the lift constantly moved up and down at a pace determined by a timer. I cannot get my lift to move. I have created a movie clip called "lift" and made it exported for action script. I can make it act similar to a floor movie clip so that I can stand on it, but I cannot get the lift to move on the y axis.
    I tried creating a new function called lift() and using a for loop to count between 0 and 100 using a variable "i" and then make my lift move up 1 unit for each loopcycle. It didn't work.
    lift.y -= lift.y - 1;
    Does anyone have a better solution?
    Thanks,
    Alex

    Rob,
    This worked. Here is my current code ...
    var topIndex:Number = 20;
                        var bottomIndex:Number = 160;
                        var stepDistance:Number = 10;
                        var movingUp:Boolean = true;
    public function createLift()
                                            box = new Object();
                                            box.mc = gamelevel.box;
    public function moveMyLift():void
                                            // lift 01
                                            if (movingUp && box.mc.y > topIndex)
                                                      box.mc.y -= stepDistance;
                                            else
                                                      movingUp = false;
                                              if (!movingUp && box.mc.y < bottomIndex)
                                                      box.mc.y += stepDistance;
                                            else
                                                      movingUp = true;
                                            if (hero.mc.hitTestObject(box.mc))
                                                      hero.mc.y = box.mc.y;
    My lift works correctly. It moves up and down correctly and when I jump on it I stay moving on it. There are only 3 things that don't make sense.
    1. When I am on the elevator I cannot jump. If I am not on the elevator I can jump normally.
    2. When I touch any portion of the elevator, my character automatically repositions itself to stand on the elevator. It seems normal, but not something that should happen in my scenario. I only want to "climb" on the elevator if I touch the "top" of the elevator.
    3. If I add a second elevator, even with its own function, the timing of the elevator math appears to synch instead of work independently. Why? The two elevators synch their movement and timing. Also the first elevator stutters as the synching of the two elevators match thier movement and then moves in unison with the second elevator. Why are they not operating separately?
    Here is the code for the first and second elevator:
    private var box:Object;
    private var box02:Object;
    var topIndex:Number = 20;
    var bottomIndex:Number = 160;
    var stepDistance:Number = 10;
    var movingUp:Boolean = true;
    var topIndexLift02:Number = 1;
                        var bottomIndexLift02:Number = 100;
                        var stepDistanceLift02:Number = 4;
    public function createLift()
                                            box = new Object();
                                            box.mc = gamelevel.box;
                                            box02 = new Object();
                                            box02.mc = gamelevel.box02;
    public function moveMyLift():void
                                            // lift 01
                                            if (movingUp && box.mc.y > topIndex)
                                                      box.mc.y -= stepDistance;
                                            else
                                                      movingUp = false;
                                              if (!movingUp && box.mc.y < bottomIndex)
                                                      box.mc.y += stepDistance;
                                            else
                                                      movingUp = true;
                                            if (hero.mc.hitTestObject(box.mc))
                                                      hero.mc.y = box.mc.y;
                                  public function moveMyLift02():void
                                            // lift02
                                            if (movingUp && box02.mc.y > topIndexLift02)
                                                      box02.mc.y -= stepDistanceLift02;
                                            else
                                                      movingUp = false;
                                              if (!movingUp && box02.mc.y < bottomIndexLift02)
                                                      box02.mc.y += stepDistanceLift02;
                                            else
                                                      movingUp = true;
                                            if (hero.mc.hitTestObject(box02.mc))
                                                      hero.mc.y = box02.mc.y;
    public function gameLoop(event:Event)
                                            // get time difference
                                            if (lastTime == 0) lastTime = getTimer();
                                            var timeDiff:int = getTimer() - lastTime;
                                            lastTime += timeDiff;
                                            // only perform tasks if in play mode
                                            if (gameMode == "play")
                                                      moveCharacter(hero,timeDiff);
                                                      moveEnemies(timeDiff);
                                                      checkCollisions();
                                                      scrollWithHero();
                                                      createLift();
                                                      moveMyLift();
      moveMyLift02();
    Thank you,
    Alex
    Message was edited by: ajdove

  • How to make only vertical scrollbar?

    my codes are shown as the following 2 classes:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.JScrollPane.*;
    class showConsole2{
    public static void main(String argv[])throws Throwable{
    consoleFrame csf = new consoleFrame();
    csf.show();
    class consoleFrame extends JFrame{
    public consoleFrame()throws Throwable{
    super("Console"); setSize(150, 200);
    JPanel p1, p2, p3, p4, p5, p6, content ;
    p1 = new JPanel(); p2 = new JPanel();
    p3 = new JPanel(); p4 = new JPanel();
    p5 = new JPanel(); p6 = new JPanel();
    content = new JPanel();
    JLabel l1, l2, l3, l4, l5, l6;
    l1 = new JLabel("aaaaaaaaaaaaaaaaaaaaaaa");
    l2 = new JLabel("aaaaaaaaaaaaaaaaaaaaaaa");
    l3 = new JLabel("aaaaaaaaaaaaaaaaaaaaaaa");
    l4 = new JLabel("aaaaaaaaaaaaaaaaaaaaaaa");
    l5 = new JLabel("aaaaaaaaaaaaaaaaaaaaaaa");
    l6 = new JLabel("aaaaaaaaaaaaaaaaaaaaaaa");
    p1.add(l1); p2.add(l2); p3.add(l3);
    p4.add(l4); p5.add(l5); p6.add(l6);
    content.add(p1); content.add(p2); content.add(p3);
    content.add(p4); content.add(p5); content.add(p6);
    setContentPane(content);

    Here is the code :)
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.JScrollPane.*;
    class showConsole2{
    public static void main(String argv[])throws Throwable{
         consoleFrame csf = new consoleFrame();
         csf.show();
    class consoleFrame extends JFrame{
         public consoleFrame()throws Throwable
              super("Console"); setSize(150, 200);
              JPanel p1, p2, p3, p4, p5, p6,content;
              JScrollPane content1;
              content = new JPanel(new GridLayout(6,1));
              content1 = new JScrollPane(content);
              content1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
              content1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
              p1 = new JPanel(); p2 = new JPanel();
              p3 = new JPanel(); p4 = new JPanel();
              p5 = new JPanel(); p6 = new JPanel();
              JLabel l1, l2, l3, l4, l5, l6;
              l1 = new JLabel("aaaaaaaaaaaaaaaaaaaaaaa");
              l2 = new JLabel("aaaaaaaaaaaaaaaaaaaaaaa");
              l3 = new JLabel("aaaaaaaaaaaaaaaaaaaaaaa");
              l4 = new JLabel("aaaaaaaaaaaaaaaaaaaaaaa");
              l5 = new JLabel("aaaaaaaaaaaaaaaaaaaaaaa");
              l6 = new JLabel("aaaaaaaaaaaaaaaaaaaaaaa");
              p1.add(l1); p2.add(l2); p3.add(l3);
              p4.add(l4); p5.add(l5); p6.add(l6);
              content.add(p1); content.add(p2); content.add(p3);
              content.add(p4); content.add(p5); content.add(p6);
              setContentPane(content1);
    }Good Luck

  • How to make the values of a combination graph (bar and line) visible always

    Hi ,
    I am using jdev 11.1.1.6
    i have created a combination graph which has a bar and line.
    The data with respect to bar and graph were only visible when i keep the mouse pointer on it.
    i need to set the values visible always.
    kindly let me know how to make it.
    In pie graph its by default showing the data always.
    regards
    Siva

    Hi Sameh Nassar,
    Thanks for the input, am using the combination graph and i dont have this property added till now.
    i tried adding them manually in source but it didn't work. so I assume that this property is good with pie chart alone.
    please correct me if am wrong.
    This is my combination graph structure.
        <dvt:comboGraph id="comboGraph1"
                          value="#{bindings.testVO1.graphModel}"
                          subType="COMBINATION_VERT_ABS_2Y" shortDesc="Graph 1">
            <dvt:background>
              <dvt:specialEffects/>
            </dvt:background>
            <dvt:graphPlotArea/>
            <dvt:seriesSet markerDisplayed="true">
              <dvt:series lineWidth="0"/>
            </dvt:seriesSet>
            <dvt:o1Axis/>
            <dvt:y1Axis/>
            <dvt:y2Axis/>
            <dvt:legendArea automaticPlacement="AP_NEVER"/>
            <dvt:graphTitle text="Combination graph"/>
            <dvt:o1Title text="x axis"/>
            <dvt:y1Title text="y1 axis"/>
             <dvt:y2Title text="y2 axis"/>
          </dvt:comboGraph>
    regards
    Siva

  • Convert power spectrum back to original waveform

    Hi,
    I have program my PXI 5610 to transmit a sine wave to my PXI 5600.
    But when I use the 'ni5660 Read Averaged Power Spectrum VI' to read the signal, it comes out as a power spectrum.. So how can I convert this power spectrum back into my sine wave to show it on the graph.
    I am new into this field, hopefully someone can help me out.
    Thanks.
    Jieyi
    Attachments:
    wiring.GIF ‏9 KB

    Hello Jieyi,
    When you read your signal as spectrum, you loose the phase data. You can still get your signal back but it would not have any information about the phase. I would suggest you acquire the time domain data. This is very simple since the driver can do everything for you.
    The time domain data will be automatically converted to In Phase (I) and Quadrature Phase (Q) which are two components that changes the carrier. You can read more about IQ signals here.
    Then, you can open the example called ni5660 Getting Started IQ.vi located under "\LabVIEW 8.x\examples\instr\ni5660" and look at this:
    Finally, if you have modulation toolkit, you can open any modulation example to transmit a sinewave. These are located at:
    "\LabVIEW 8.x\examples\Modulation\RFSG examples"
    For example, AM:
    Transmitter (Tx)
    MT RFSG Generate AM.vi
    Receiver (Rx)
    MT ni5660 Demodulate AM.vi
    These examples are ready to transmit any standard waveform including your sinewave.
    Hope these information helps,
    Message Edited by Yardov on 08-17-2007 06:50 PM
    Gerardo O.
    RF Systems Engineering
    National Instruments
    Attachments:
    acquire time domain signals.JPG ‏46 KB

  • Keeping Power Spectrum Peaks on a Graph

    Hello,
    I am trying to read in a signal which varies in frequency as time progresses. I am taking this function and running a real time power spectrum (FFT Power Spectrum.vi) on it. As time goes the peaks move around according to teh frequency which is coming in. What I want to do is to keep the old peaks on the graph as the new peaks come in. So for example if I had a signal which was at 50 htz then 75 htz, at the end of the run I want to see both peaks on my grpah. Is this possible? Thanks.
    Intern NSWCCD Carderock.

    If you use the Spectral Measurements Express VI, you can configure it to do peak hold. In the configuration screen, turn averaging on, click on the Peak Hold radio button, and set the averaging number to 1. Then all your peaks will be displayed as they come and go. See attached vi. If you want to see how the express vi does it, you can convert the express vi to a normal vi and then look into the block diagram. I believe one of the functions has a peak hold input.
    - tbob
    Inventor of the WORM Global
    Attachments:
    SpectralMeasure.vi ‏98 KB

  • My ipad mini is totally drain and after plug it to regain the power its not working anymore.can somebody knows how to make my ipad work again

    my ipad mini is totally drain and after plug it to regain the power its not working anymore.can somebody knows how to make my ipad work again

    Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Can 3 vertical Radio Buttons span 3 rows in a table? AND how to make form highlight when radio butto

    I am trying to add 3 grouped vertical radio buttons where one is on each line of a 3 row table. When I group the 3 buttons it squeezes them into one row, is there a way I can have them grouped and one in each.
    Also, I would like to know how to make part of the form highlight when one of the 3 buttons is selected

    Hi,
    If I am not wrong, a table cell can hold only one component or none. In order to place the radio group to different positions vertically, you can use subforms instead of table.
    Asiye

  • How to make the graph follows the position of the video frame

    Hai..
    I want to open the video (. avi) and graph together in one VI.. The videos and graphs can be controlled (forwarded or rewind) in the desired position.. However, the graph should follow where's the position of the video frame..   The graph generated from the data in excel, after reading data, then there is the processing of signals, such as filter, mean, find the peak, etc.. After that the result will appear in the graph..
    Until now, I've been able to display video and graph.. I'm trying to use WMP and also IMAQ..
    Because I want to show the position of the graph or signal when the video plays, I was making a cursor or a line on a graph that follows the position of the video..
    First, I'm trying using WMP.. I can forward and rewind video using WMP, after that I make a cursor on the graph and the position of cursor I put in the position video.. And then when I run the program, the signal that arises from the right, but the cursor in the graph follow the position of the video (the cursor appears on the left) different side with the signal..
    I also tried using IMAQ when I tried to use the video controls, so the video can be forward or rewind using the slide, and I made a graph control to follow the video.. But the video isn't playing, it just show only images or frame in the video..
    Can we create a graph that can follow the position of the video? (graph can be in forward and rewind just like with video)
    I've tried many ways but until now have not been successful.. can someone help me?
    Any help is greatly appreciated thank you.

    This should do pretty much what you want, assuming that a slider is how you are controlling your video position. You are going to have to play around with it a little but it should give you the basic idea.
    Attachments:
    Slider.vi ‏35 KB

  • How do I make text vertical in a table

    How do I make text vertical within a table using pages '09?

    You need to type the text in a Textbox, turn off text wrap, rotate that 90° using the Metric Inspector then position it over the cells you want the text vertical.
    Peter

Maybe you are looking for

  • 7410 booting directly to grub command line after forced restart?

    I'm running a 7410 (2x 100gb SSDs and 2x 500gb sata) with a j4400 containing 24 1tb drives. I attempted to create a pool and the bui hung so I went back to the SP and did a stop /SYS. After doing a start /SYS then starting the console, it goes throug

  • Exception using Quartz org.quartz.plugins.xml.JobInitializationPlugin

    Hi All, This the exception I am getting, I tried the solution provided on the internet but the entry was the same as the solution provided. Parsing XML file: jobs.xml with systemId: jobs.xml validating: false validating schema: jar:file:/C:/Program%2

  • Curves isn't offered in the layer dropdown.  Why?

    I uploaded a raw photo and was going to work in layers with curves, but it wasn't offered in dropdown.  I've had that happen a few times after working with curves once or twice, but the third time it wasn't offered in dropdown.  Why?

  • Just install oracle 11g -  can't access SQL

    hello all, I am new to this and trying to learn I install my oracle 11 g ( with great difficulties !!!) I am trying to open the sql developer and it's asking me for the full pathname for JAVA.EXE ??!!! I updated the java and give him a path for it bu

  • Re-install all web server components?

    Hi all, I would like to completely uninstall apache and php and reinstall it all to default settings, deleting all configuration files along with any installed modules. Anyone know a way of doing this, I just want to start a fresh? Thank you, Jamie