Waveform X Axis 顯示異常

各位先進您好:
想請教一下,下圖顯示元件為Waveform Graph,我使用這個元件來接收時域AD類比波形訊號,經過頻譜分析後的結果,X軸單位為Hz。
實務上的應用,會有另一個顯示上的需求,將X軸估定單位量值轉當作是1,也就是X軸的Scale經過一個倍率做換算。
以附件VI為例,我在頻寬1000Hz下產生了一個60Hz的時域波形來經過頻譜轉換,來進行顯示,當我X軸單位轉換至Order時,我會將X軸以60Hz為單位當作是1 Order。 
軟體實作上,並沒有採用X軸的屬性節點Offset and Multiplier Property來進行Scale的換算。而是直接對波形資料的Delta F(T) 來進行量值的轉換來達成需求。
目前遇到一個問題,當我在X軸單位的切換後,Waveform Graph X 軸的某個 Major Marker 還是顯示轉換前的量值,如下圖所示。
第四個Major Maker 在單位為RPM的時候顯示15000,轉換成Order後,應該顯示60,但15000這個數值顯示卻卡在那附近不變。
整個X Axis 只錯一個Maker Value,想請教是什麼原因造成的,要如何解決這問題呢?
P.S. Waveform的屬性節點僅使用在控制X Axis 的Name Label,無其他控制。
附件:
WaveformTest.vi ‏104 KB

所有客戶的電腦都使用 DELL OptiPlex 390
CPU:Intel® Pentium® 雙核心
OS都是Windows7
內建顯示卡
RAM:2GB
http://www.dell.com/tw/business/p/optiplex-390/pd
我猜有問題應該是都有問題,只是有客戶不在意,比較難掌握是程式問題,還是電腦配備不相容Labview的程式。

Similar Messages

  • Producer consumer waveform x axis

    I've run into a problem and I'm not sure of the source.  I'm developing a program that reads, displays, and writes thermocouple readings at different rates.  I'm using the producer-consumer architecture and while the sample rate will not be an option, the refresh rate of the chart that displays some of the temperatures will be controlled by the user.  I've been working with the attached example trying to understand where the problem lies with no luck.  The consumer loop is set to wait 2 seconds which I can tell it does but the x-axis still counts every second.  How do I sample from the producer loop and have the correct time and temperature displayed by the chart in the consumer loop?
    Thanks.
    LabVIEW 2012 - Windows 7
    CLAD
    Attachments:
    Plot Starting at Zero Seconds-2.vi ‏31 KB

    Sorry I can't look at your code right now as I am still waiting for my beta copy of LV for Android to arrive -- but seriously the x axis of a graph increments by 1 unless you set the multiplier property to something else.
    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

  • Incremental of Waveform Y axis overview range a la PTools. Is it possible?

    I have some very quiet audio tracks so I need to increment Y axis overview to make some editing (apart from zoom action, obviously, which it isn't enough in this case). There is this option on PTools, is there something same in Logic 7.1?

    I mean in Arrange Window, obviously

  • Why can't I reset the precision of my axis in a Waveform graph?

    I'd like to reset the precision of the axis on my Waveform Graph.  I can do this in other graphs but when I change it to a Waveform it doesn't like it.  Perhaps this is because time is on the x-axis?
    Anyway it comes up with the error, Invalid Property Value when I run this test VI. 
    Attachments:
    GraphPrecisionError.vi ‏55 KB

    I have reported this in the bug thread: http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=3331#M3331
    LabVIEW Champion . Do more with less code and in less time .

  • Bug in Digital Waveform Graph X-Axis

    Hello,
    I am making separate queried to a database to retrieve analog and digital data over the same time period.  The data were logged at 2 second intervals.  I have verified that both result sets return the same number of values with the same t0 and dt.  I then plot the analog values on an XY Graph and the digital values on a Digital Waveform Graph.  I then use property nodes to sync the two graphs (left and right plot bounds, XScale.Range, and Cursor Position.X).  After doing this, I can see that the datasets do not line up between the two graphs.  The data on the Digital Waveform graph ends several seconds sooner than the analog data.  The x scales of the graphs appear to match but the plots don't align in time.
    Has anyone else observed this behavior?  Is there any work-around?
    Thank you,
    Peter

    There is a much simpler way to synchronize these charts. Just use a stacked chart.
    If you use a bundle function you can take two signals (almost data type) and wire them into a Waveform Chart together.
    Then on the front panel right click on the chart and select Stack Plots
    Since you only have 1 X axis now they are instrincly synched and will always write valules at the same time and update the UI together. You can skip all of the scale synching....
    Since the data you are working with has lincked time stamps, the data will need to be matched, (make sure the samples are anyched and each itteration both would have the same number of samples.
    The last allternative would be to strip the time stamp off of your data then build a new data structure, with the digital data, analog data and 1 set of matched time stamps. You can then plot this on an XY chart using the time stamp for the X axis for both of your other plots.  Let me know if you have other questions.

  • Plotting data with multiple y-axis using waveform chart

    I am using LabVIEW 7.1 and am simply trying to split my data on one waveform chart using 2 Y axis.  One goes from 0-150 and the other from 800-1000.  I want them to graph on the same chart, and I have selected 'duplicate scale' when I right click on the chart, as instructed in the labview manual, but both of my data streams are still only connected to one of my axis.  I can't get it to recognize that one data stream should go on one axis and the other stream should go on the other axis.  Can someone help please?

    Right-click in the plot legend one plot. In the context menu select y-axis and after the axis you want for this plot. The scale is changed directly.
    There is an image of the context menu attached.
    I hope this helps
    Greetings
    shb
    Attachments:
    two y-axis.png ‏16 KB

  • How to make an exponential x-axis in a waveform-cluster?

    I have some data sampled with a signal analyzer. I have the data in 2
    arrays, X and Y axis.
    The X-axis is frequency, which is exponential, 10 Hz to 30kHz, and the
    Y-axis is the actual measured signal level.
    Then in Labview I want to check this waveform against limits. So I
    have set up with the methods "limit specifications" my limits, and
    plan to use "limit testing" for testing my waveform is within certain
    limits.
    However, now to the problem.
    "limit testing" in the frequency domain requires a signal input of the
    kind which is a cluser of f0, df and then the actual data, spectrum.
    f0 is 10Hz ofcourse
    spectrum is my Y-array. No problem so far
    BUT, df? what is df if the X-axis is exponential?
    Does anyone has any advice for me how to solve this problem or some
    clever work around?

    Hi Benne,
    why do you ask the same question again (with missing picture attachments) but now using a different user name?
    Please stop creating double posts!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to set name and Range of X-axis in waveform-display

    Hello,
    i have recorded a trace which should be displayed in a graph.
    The graph displays the x-axis with default-name = "time" and starts at "0" and ends at the number of points of my trace.
    My question is:
    1. How can i change with property the name "time" to another name?
    2. How can i change with property the start-number to another number (= start-frequency)?
    3. How can i change with property the last number (= stop-frequency)?
    I recorded a trace with 1000 points in a special frequency-range. The first point of the trace should now have as x-value the corresponding frequency.
    Thx for your help.

    Your trace has 200 data points.  On the first graph, you have not adjusted the properties so it displays from 0-200
    On the second graph, you set the min to 500 and the maximum to 600, which is a range of only 100. So only half of your trace is being displayed. Since it appears to me that you are taking 200 samples over 100Hz, your increment needs to be adjusted. By default, the increment is 1 on the waveform, so that corresponds to 1Hz. Since you have a data point every 0.5Hz, you need to change the property XScale.Increment to be equal to the difference between your start and end frequency divided by number of points in your trace (200). In this case, that is 100/200 = 0.5. See the following
    Message Edited by jrpe on 11-14-2007 12:42 PM
    Jeff
    Using Labview 7 Express
    Attachments:
    Offset2.PNG ‏6 KB

  • Change the x axis scale markers in a waveform graph

    Hello all,
    I am looking at an unusual graphing problem that hopefully has been solved.  The problem is because an pre-existing DAQ graph does things in a chart-like manner.
    The application context is that I measure a signal vs. test length.  During the test, I calculate the UUT position as a function of the test length.  The test includes measurements out and back.  Rather than graph signal vs. length; I want to graph signal vs. position.  I have considered the XY graph, but that co-locates the position data.  To remain consistent with an existing test program, I want to change the X Axis marker labels from distance to position at each marker's distance.
    I would like to customize marker text for a waveform graph's X Axis.  I found a sub-property node for marker text, but it does not seem to iterate through a Waveform graph's X Axis markers.
    For example, a test measures the distance 0 to 200 and the X Axis markers are labeled {0, 50, 100, 150, 200}.  How do I change those labels to {0, 50, 100, 50, 0}?
    The Marker Values[] property node does not do what I expected.
    Thanks,
    Kenneth
    Possible solutions:
    1. Find a property node that does the job
    2. Use custom indicators for each marker's labels
    3. Use two graphs, one for forward, the other for reverse testing
    4. XControls

    For your option #4 I would use option #2 but use a single picture and hide the X-Axis and do my own.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Want a constant time axis in waveform chart

    hello,
    my time axis in waveform chart is changing .how can i keep it constant say 1-100 .the whole point of this is to make waveform chart luk like a CRO.please need help.
    thanks in advace
    naveen.rabelli

    I don't think what you're asking for is possible, due to the nature of the chart - it accepts Y values and inserts the X value automatically. Offhand, I can think of 3 solutions -
    The bad one - constantly change the offset by moving it backwords. You will probably have flickering.
    The workaround one - Paste a text box over the first number saying 1 and another over the second number saying 100.
    The probably most correct one - Use a XY graph. Just have a 1D array of 100 elements and append it to a second 1D array with 1..100. Wire the 2D array into the graph terminal.
    Try to take over the world!

  • Multiple Axis Waveform Chart History?

    Hello Everyone,
    Recently I have been working on increasing my capabilities with waveform charts.  I am plotting 3 signals on 3 seperate axis.  I'd like to be able to transfer the plot history from one chart to another via property nodes.  The problem is, only 2 of my signals are making it through, and I'm not sure why. 
    For a little background why my code is structured the way it is, I followed an example from here:
    Pausing Charts
    Basically I want to be able to zoom in on the chart while the program is running.   By hitting pause, the data is transfered to another plot that isn't being updated.  Again, only 2 of my signals are making it through, and I'm not sure if there is a property node I'm missing. 
    Any help would be appreciated, the VI is attached below.
    Thanks,
    Alex
    Attachments:
    Chart Test.vi ‏39 KB

    For some reason the "Brake Temp" plot's color was screwed up. If you look at the legend it looks like it's black. However, changing the plot's color doesn't seem to have any effect. If you just recreate the "pause" graph by copying the "Waveform Chart" indicator then it will work.
    Suggestion: look into the Event Structure.

  • Shift waveform on x axis

    Hi,
    I have managed to transfer data from 'Read Measurement file' and am able to graph it. 
    However, I was wondering how do I shift waveform on the x axis or y axis. I know one way is to change data from the LVM file but is there any VI that I can use to do the shifting?
    Thanks
    Ridwan
    PS: How do I rate an answer?
    Solved!
    Go to Solution.

    What I think is not the value offset, but the time offset - t0
    Message Edited by Eugen Graf on 09-26-2008 09:23 AM
    Message Edited by Eugen Graf on 09-26-2008 09:23 AM
    LabVIEW Portal
    Attachments:
    TimeOffset.png ‏10 KB

  • Waveform graphic / chart time display (x-axis) is wrong?

    Why the time is incorrect in waveform graphic / chart? How to solve it?
    When I run the program, I find that waveform graphic/chart show 0 to 20 (time/x-axis) but actual is running 30 second.

    The Build Waveform is on the Waveform palette. You can use it to set the dt. It's a fancy cluster. The dt is your loop rate in seconds. I would assume you have some wait or delay function that you are using to set the loop rate.
    You can also use a property node - XScale.Range. Offset and Xscale.Range.Multiplier. Look at the example called Real Time Chart.

  • Waveform data could contaminate x axis display in waveform chart?

    Hello
    Please take a look at this vi:
    Attachments:
    Real-Time Chart.vi ‏19 KB

    Ben wrote:
    It looks like you are getting bogus time stamps from the SV.
    This thread talks about the chart and waveforms.
    Try click the Chart on the front panle to find the ignore...
    Ben
    As far as I understood this example uses "t0" from the waveform data for x axis. I tried this method and it works. The date and time shows correctly. That's great.
    But I actually have another request for the chart display, that is to show data in a certain time period, which should be programmable. For example I could let the chart show the data waveform in 10 seconds this time(I mean in one screen without scrollbar), and the next time I execute it, I change the parameter and show the data waveform in 60 seconds.
    I tried to modify the initialization like that:
    I thought by changing the maximum value of the scale range, I could realize that. This kind of setting didn't really work. before the breakpoint, the time in x axis became chaos again, and after going into the loop it returns to correct value.
    Do you have any ideas how to realize that?
    Thanks again!
    Best regards
    zzha

  • Waveform graph x-axis into real time recording

    Hey there,
    I have acquired voltage off a LVDT through the DAQ assistant and connected it to a waveform graph. However, the x-axis says its 'Time' but its got the white line running across it even though no time has elapsed and the time itself has funny units to it. What I need on the x-axis is real time so that I can see the line register from left to write as time passes by. I have tried a few things like connecting the DAQ to a chart graph but it doesnt have the log graph which I need. I have also fiddled with the XY graph by connecting the DAQ assistant into the 'Y Input' but I am not sure how to input time into the x input.
    If someone could help me with this problem, it would be much appreciated.
    Thanks,
    Gurung 

    Hi Gurung,
    what do you expect here? Wire waveforms to a chart:
    (DAQmxRead settings: n channels, n samples, 1D array of waveforms)
    For learning the basics you should
    - examine the examples coming with LabVIEW
    - go through the Basics course on NI website
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for

  • Can't print A4 PDFs

    Hi I've stumbled upon an annoying issue with printing papers in the A4 size. This screenshot is from Reader 9.5.1, but I had the same problem in 10.1.3. Printer is set to print in A4, and the document is also in A4, and should print everything in the

  • How to enable HLog for B-ACD Hunt Group

    We are using B-ACD for imcoming calls, the hunt group for BACD has 5 members. I want people to be able to login/logoff from this hunt group. I have this working with the DND button, but then the phone doesn't ring when the extension is dailed directl

  • Services PR from PM order released with dif value from Out. Agreement

    Hello, We are creating PR for services (item category D) coming directly from released maintenance orders. We select an outline agreement in the PM order and the service. Change the gross price in PM order. When is released a PR is created, but the p

  • My iphone turns green after a minute then turns off

    my iphone turns green after a minute then turns off. does anyone know what this is and how to fix it?

  • Request Deletion from Cube stuck in execeptional state

    Hi All, We are stuck with a strange situation caused by below steps. 1. We loaded a full request in cube 2. Next day we scheduled deletion of the request from cube 3. While deletion was in progress, we deletd the DTP through which the request was loa