Graphs in Viewer

I cannot get graphs to appear in Viewer, whether I have created them in Plus or Desktop. In Presentation Options, the Chart Area is selected as "Show". Versions are 4.1.48 for Plus and Desktop, and Viewer 4i.
Any help would be most welcome.

Hello.
I don't know if this helps, but:
I believe that, if you create a graph in Desktop, it will NOT show up in the Viewer. Only graphs that are created in Plus show up in Viewer.
I have noticed problems with workbooks when I open them in desktop--even after creating them in Plus. I am trying to avoid the Desktop version all-together.
If I were you, I would try to create the workbook from scratch and add a graph in Plus only. Then, check it out in the viewer.
There are also URL parameters that help with the display. You may want to check the docs.
Good luck!
Robin

Similar Messages

  • Bind graph to "View Criteria adf form - table "

    Hello
    I;m trying to bind the data from a result table of a view criteria to a bar graph. Until now with no luck . When I use the same binding , when i run jsf page i get the following errors
    Target URL -- http://127.0.0.1:7101/testWeb-ViewController-context-root/faces/untitled1.jspx
    <10 Αυγ 2010 12:31:17 μμ EEST> <Error> <HTTP> <BEA-101020> <[ServletContext@18476965[app:testWeb module:testWeb-ViewController-context-root path:/testWeb-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.ClassCastException: oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel cannot be cast to oracle.adf.view.faces.bi.model.DataModel
         at oracle.adf.view.faces.bi.component.dataView.UIDataView.getDataModel(UIDataView.java:590)
         at oracle.adfinternal.view.faces.bi.renderkit.graph.RichGraphRenderer.getImageViewDataModel(RichGraphRenderer.java:814)
         at oracle.adfinternal.view.faces.bi.renderkit.imageView.RichImageViewRenderer.encodeAll(RichImageViewRenderer.java:733)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         Truncated. see log file for complete stacktrace
    >
    <10 Αυγ 2010 12:31:17 μμ EEST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at 10 Αυγ 2010 12:31:17 μμ EEST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = 10 Αυγ 2010 12:31:17 μμ EEST SERVER = DefaultServer MESSAGE = [ServletContext@18476965[app:testWeb module:testWeb-ViewController-context-root path:/testWeb-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.ClassCastException: oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel cannot be cast to oracle.adf.view.faces.bi.model.DataModel
         at oracle.adf.view.faces.bi.component.dataView.UIDataView.getDataModel(UIDataView.java:590)
         at oracle.adfinternal.view.faces.bi.renderkit.graph.RichGraphRenderer.getImageViewDataModel(RichGraphRenderer.java:814)
         at oracle.adfinternal.view.faces.bi.renderkit.imageView.RichImageViewRenderer.encodeAll(RichImageViewRenderer.java:733)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:1963)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:1044)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderSecondPane(PanelSplitterRenderer.java:943)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:197)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:221)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1066)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1501)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = charakopouloslap TXID = CONTEXTID = TIMESTAMP = 1281432677055
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    Obviosly what I'm doing is wrong. How can i do what want ?
    Thanks

    Hi,
    try applying the ViewCriteria to the View Object instance in the ADF BC ApplicationModule Data Model. Create a new instance of the ViewObject and use the configuration button above the selection area to assign a ViewCriteria to this VO. Then build a graph on top of it
    Frank

  • Displaying Graph in Viewer

    Hi,
    I want to Display the Graph to the right side of the table. By default it is displayed at the Bottom. How can I achieve this. Any help will be Appreciated.And If I click on Printable Page the Graph is not getting Displayed. Why?
    Thanks & Regards,
    P.Velvadivu.

    Hi
    Currently it is not possible to display a graph on the right side of a table/crosstab in Discoverer Viewer. However, you can achieve the same result by using the Discoverer Portlet Provider with Oracle Portal, and publish any number of worksheets - tables, crosstabs, and graphs - on the same page.
    Which version of Discoverer are you using? If you are using Discoverer 9.0.2 I would encourage you to upgrade to the latest patch - 9.0.2.54. On the printable page, the graph is displayed on the top of the page, followed by the table/crosstab.
    Regards
    Discoverer Product Management

  • Printing a Graph from viewer

    Hi,
    I have a worksheet along with a Graph in Discoverer Viewer.If I see Printable Page only data is shown.How can I print the data along with the Graph.Any help ?
    P.Velvadivu.

    Graphs are displayed on the same page as the table/crosstab on the printable page.
    Regards
    Discoverer Technical Team

  • Displaying Plus Graphs in Viewer

    I trying to display a graph which I've created in Discoverer Plus in the Discoverer Viewer. I was wondering what steps need to be taken to get the graph to display. (which pages and components you had to modify, special way to save the worksheet in Plus, etc.) Any help would be greatly appreciated
    -Thanks
    Andy

    Hello.
    I don't know if this helps, but:
    I believe that, if you create a graph in Desktop, it will NOT show up in the Viewer. Only graphs that are created in Plus show up in Viewer.
    I have noticed problems with workbooks when I open them in desktop--even after creating them in Plus. I am trying to avoid the Desktop version all-together.
    If I were you, I would try to create the workbook from scratch and add a graph in Plus only. Then, check it out in the viewer.
    There are also URL parameters that help with the display. You may want to check the docs.
    Good luck!
    Robin

  • How do I write a vi that will save graph data and text data (related to the graph) so the next time I want to view the graph data the text data is included in the read vi?

    I am new at writing vi's and hope you may be able to help. I would like to create a vi that will graph measurements taken from a daq device. I would like to include text data that a user can choose from (example: machine number, test circuit, load cell type) that will stay with the graph so when the graph is viewed at a later time the text data (explaining parts of the graph) will display with the graph data. I have included a vi I am using to capture and display a force value. Any help would be greatly appreicated.
    Attachments:
    force.vi ‏500 KB

    What you want is a DATALOG file:
    When you save a file, use the BUNDLE function to bundle your machine number, test circuit, whatever (include a few spare fields), plus your graph data. Get the graph data from the source, or use a local variable of the graph itself.
    Wire the bundle output to the DATALOG TYPE of a NEW FILE function. (I presume you'll use a FILE DIALOG set to SAVE FILE to choose a file path).
    Write the same bundle output to the DATA input of a WRITE FILE function.
    Use a CLOSE FILE function to (ahem) close the file.
    When you want to read a file, use a FILE DIALOG set to EXISTING FILE (or some other means) to specify what file to read. Wire the same cluster type to the DATALOG TYPE of the FILE DIALOG, so that it will only
    offer files of the correct type.
    When you have a file path chosen, wire the bundle to the DATALOG TYPE input of a FILE OPEN operation.
    Use a FILE READ to read a single cluster - the output of FILE READ will be a cluster of the right type.
    Use a CLOSE FILE function to....
    Out of the FILE READ function, you can UNBUNDLE BY NAME the data and send to the graph and the other fields, or, if you're clever, you can use a cluster on the screen, and not unbundle it. That's harder though, since you probably want the text fields to be controls (inputs) and the graph to be an indicator (output).
    Hope that helps.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • Graphs in Discover Viewer

    I can't see the graphs using Viewer, though they have been generated using the Web based Discoverer Plus. Have tried the xhost + etc. Have changed the properties file to change the display setting. Any body done it, and has the steps needed?
    This is for Solaris (8) on SUN.

    I am running 9iAS on SuSe Linux SLES, and have done all of the settings from editing the opmn.xml file, to editing the configuration file, installing the xvfb etc.
    I have not found any solutions on why I can not view my charts/graphs in Viewer or in Portal(can view worksheets in portal) Can anyone please give us an answer on how to solve this problem PLEASE!!!!!!!!!!Anyone at Oracle maybe??????
    I don't know if this might have something to do with the fact that I got 9iAS installed on one machine?

  • How to programatically cut data in view

    Hi There,
    I have a requirement to programatically load data and display the 2-DAxis curve in view. Once the curve is displayed, the user can toggle a band cursor and with its help cut/tuncate data. All this needs to be achieved programatically. I am able to achive until setting the band cursor but could not find a means where to cut the data programatically. Can someone please help me out with the same.
    Thanks in advance
    Priya

    Hi Priya,
    I believe this is what you're describing.
    OPTION EXPLICIT
    Dim Sheet, Cursor, Area, Curve, Xch, Ych, Xmin, Xmax, TempCh, Start, Delta
    Set Sheet = View.ActiveSheet
    Set Cursor = Sheet.Cursor
    Set Area = Sheet.Areas(1)
    IF Area.DisplayObjType <> "CurveChart2D" THEN Call AutoQuit("Region clearing only works on 2D graph VIEW Areas")
    IF Cursor.Type <> "Band" THEN Call AutoQuit("Region clearing only works with the VIEW band cursor")
    IF NOT Area.DisplayObj.Curves.Count > 0 THEN Call AutoQuit("Your 2D graph in VIEW has no curves configured")
    Set Curve = Area.DisplayObj.LeadingCurve
    Xch = Curve.XChannelName : L1 = CNo(Xch)
    Ych = Curve.YChannelName : L2 = CNo(Ych)
    Xmin = MinV(Cursor.X1, Cursor.X2) : R1 = Xmin
    Xmax = MaxV(Cursor.X1, Cursor.X2) : R2 = Xmax
    TempCh = CNo("/TempIndexChannel")
    IF TempCh > 0 THEN Call ChnDel(TempCh)
    IF Xch = "" THEN
    IF ChnPropValGet(Ych, "waveform") = "Yes" THEN
    Start = ChnPropValGet(Ych, "wf_start_offset")
    Delta = ChnPropValGet(Ych, "wf_increment")
    ELSE
    Start = 1
    Delta = 1
    END IF
    TempCh = ChnLinGenImp("TempIndexChannel", ChnLength(L2), Start, Delta)
    Xch = CStr(TempCh)
    TempCh = "\Delete/"
    L1 = CNo(Xch)
    END IF
    Call FormulaCalc("Ch(L2):= Ch(L2) + NoValue*((Ch(L1)>=R1) AND (Ch(L1)<=R2))")
    IF TempCh = "\Delete/" THEN Call ChnDel(Xch)
    Call WndShow("VIEW")
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How to see a stream of a signal in the Data View while monitoring a signal.

    Hi!
    I'm migrating from an older data acquisition software for SignalExpress. With the DAQ old had a way to monitor the signal so that the software screen I saw on the timeline and as I increased or diminished the scale of the X axis (time), I saw more or less signal transitions in screen, respectively. For example, if the time scale (x axis) was set to 5 seconds and the signal that I was monitoring commute every 1 second, I would see on the screen of the software 5 sequential pulses.
    I am not able to configure my data acquisition that way. What I have noticed is that the scale of the X axis is limited to the value of the "Samples to read." With that, I see the sign on the software screen is instantaneous and not a sequence of pulses.
    I intend to monitor the signals are random signals originating from idependentes and switching relays.
    In summary, I believe that the solution to what I want to do is increase the scale of the axis X. How to do this?
    I use SignalExpress 2011, USB-6363 DAQ step and Digital Line Input.
    Thank you.

    OKors,
    First, sorry for the delay in responding to you. And second, thanks for your reply.
    I will try your suggestion: continuously scrolling "strip chart".
    To try to clarify, what I want is to merge than I can with Digital Graph - signs lined up vertically with the display type Chart, where it can act on the parameters of History Lengh, as you suggested, to achieve "curb" the transition graph .
    If using the first solution, Digital Graph, the screen transitions are very fast. On the other hand, if using the graph chart type for digital signals, they overlaps, since all have the same value - 0 or 1.
    The idea is that these two characteristics in a single graph (Data View). I believe something to be simple, but I'm having trouble mounting this setting.
    That's it. Any news ... I'll post here.

  • Server Admin not drawing graphs

    I have a fresh install of Leopard that will not display the graphs in Server Admin on the server. I can see the graphs if viewing from my laptop or other machine, but not from the server itself. It gets a few errors like ...
    ... [0x0-0x1b01b].com.apple.ServerAdmin[1734]: * ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 *
    ... [0x0-0x1b01b].com.apple.ServerAdmin[1734]: * ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x6826d30) failed. *
    The hardware is a Xserve, 2 x 2.0GHz PPC G5 with 2.0 GB RAM.
    Any help is appreciated as this is an annoying feature.

    Hi
    I see the same "error" messages in every leopard server install I've done - and I've done a fair few - regardless of what hardware was used. Graphs draw fine for me.
    Tony

  • 3D bar graph: issues using 2D Y-Z plane and timestamp

    Hi,
    I'm having issues trying to plot a multiplot 3D bar graph using view towards Y-Z plane property (3D plot properties/View direction). This makes the 3D graph basically look like 2D. Bar graph looks quite ok when it is drawn without y vector (timestamp) but as soon as the timestamp is connected it doesn't make any sense. The bars are basically thin lines plotted to a very small area. Autoscaling or manual scaling doesn't help. Attached is a small example VI with some data which gives an idea what I'm trying to accomplish and what the issue is.
    What I would like to achieve is to keep the bar width as in the case before y vector is connected to and have timestamps.
    I'll be glad if you had any suggestions that could help.
    Thanks,
    Matti
    Attachments:
    3D Bar Plot_mod.vi ‏13 KB

    Oooh. This is a bug for 3D Bar. The width and internal are not relative to the actual range. I filed CAR 344934.
    If you could use 3D projection, you can use value pair (also from Properties or VI Server) as a temporary workaround. Value pair can override scale with any text. Here is an example.
    Attachments:
    3D Bar Plot_mod3.vi ‏16 KB

  • Waveform Graphs: Is there a way to save data to a file and then clear the graph after each run?

    This is just an added feature that I would like to insert because I end up having to erase the previous graph(for viewing and simplification purposes) after almost every plot cycle. Does LabVIEW 7.0 have a built-in feature that allows the user to automatically clear the graph after each run.
    Thank you,
    Keith Blackwell

    May I recall you that to clear a graph you have to create a property node,
    choose value and connect an 1D array with its first value to zero.
    Then using a Select vi enables you to choose from clear or graph value.
    Gérard
    Gérard Férini
    Switzerland
    http://home.tiscalinet.ch/gferini/
    remove -move to reply personally
    "Greg McKaskle" wrote in message
    news:xEmJc.43762$[email protected]..
    > > I went into the function pallette-->signal manipulation-->align and
    > > resample
    > >
    > > and found something that may be useful, but I'm not sure how to use
    > > it. I guess I have to play around with it by trial and error. Was this
    > > the VI seetting that you were referring t
    o?
    > >
    >
    > The option I was talking about is for the entire VI. It resets the
    > value of all indicators prior to running. The setting is located in the
    > VI Properties dialog on the execution page I believe. In the end, there
    > are multiple ways to get this to work, and if you want just a few
    > indicators to be reset, you want to use locals or control methods, but
    > th eVI Properties is a convenient way to get all indicators cleared at
    once.
    >
    > Greg McKaskle
    >

  • Set XY Graph Y-Auto Scale

    I am trying to figure out how to set the XY Graph Plot View Y Autoscale based on the values visible NOT based on all the values in the historical arrray.
    The goal is to be able to scroll left to right and have the signal centered on the XY chart.  This functionality is desired because my signal
    has a wide Y range and simply scrolling left to right I always end up zooming in then back out.
    Any help on this would be appreciated
    Tim C.
    1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!

    Simply turn off autoscaling and set the Y min and max under program control using property nodes.
    In your case you could take the array subset of the history data accoding to the x range, then take "array min/max" of the subset to set the y scaling.
    LabVIEW Champion . Do more with less code and in less time .

  • Zero crossing, "Triggering" and XY-Graphs

    I'm trying to measure the electrical hysteresis of a sample.  The way in which I do this is by measuring two voltages within a circuit, sending them to my DAQ, and then plotting them in an XY-Graph to view the shape of the curve.  I can somewhat see the hysteresis, but II need to measure the "zero-crossings"; that is to say, the value of one function, when the other is 0, and vice versa.  So when V1 = 0, I want to know what V2 is, and when V2 = 0, I want to know what V1 is.  Seems simple enough, and I have included my VI.
    First I tried the ZeroCrossingPtbyPt, along witha Relay, which never seemed to trigger properly.
    Second, I tried using Trigger and Gate, but that seems to give inflated values.
    This VI can be tested by removing the DAQ assitant and replacing it with two "Generate Signal"(s),  with the same frequency, different amplitudes, and a small phase difference, and this will produce a similar effect without the real signals.
    Next, I am sending the raw voltage signals into a Waveform Graph.  However, it is impossible to get the traces to stay "still" on the graph.  In other words, if this were a real oscilloscope, there would be a "triggering" problem, and if the trigger were set to the proper value, the oscilloscope would be able to track the waveform without it jittering left to right in time.  Any ideas on this?  I've tried to change just about everything in the Waveform Graph with no difference.  Do I need to send in some other signal to get the graph to follow the waveform properly?  This is really important because it will tell me if my sample rate is good enough to capture the signal (a sine wave at 1 kHz).
     Finally, the hysteresis curve on the XY Graph seems to cover many cycles (periods) of the waveform, but I want it to cover only 1 cycle at a time, so it isn't so sketchy-looking.  It's very boxy as well.  So in short, the number of points it is plotting is fine, but it is not plotting them quickly enough, since I'd like all of the points it plots to be over a single period of the waveform.
    Please help!  Thanks in advance.
    Attachments:
    hysteresis.vi ‏176 KB

    As it turns out, the issue was that I was not collecting enough samples at a high enough sample rate from the DAQ.  This is why it worked with "Generate Signals" and did not work with the DAQ Assistant.  Because there were not enough samples, the apparent zero crossing was occuring either too early or too late, leading to an incorrect value.  Therefore, the best solution when it comes to finding zero crossings is make sure your # of samples, and sample rate are high enough to get an accurate measurement.
    As a result, this is why my XY Graph was showing blocky hysteresis loops, rather than nice smooth curve hysteresis loops.  The data being sent to it was not quick enough, and therefore the XY- Graph connected the dots between the points that it was sent, yielding a truncated loop, which appeared blocky or sketchy.
    On the issue of triggering, this can apparently be set within the DAQ Assistant in the "Triggering" tab; the key is chosing the correct channel to trigger from, and a reasonable trigger level.  This was my problem, and this is why my Graph appeared to jitter.  It was not the graph itself, but the DAQ Assistant that did not tell it the proper triggering timing.
    So, in short, I solved my own problems, but I leave this as a record for those who encounter similar problems in the future.
    Thanks.

  • Dynamic View with DIAdem 2011

    Hello everyone,
    so my new task as a trainee has just come up... I need to use the View section in quite a smart way. Let's assume I have a 2D-Curve displaying pressure (Y-axis) function of temperature (X-axis). Let's also assume I have n channels showing say Current (Y-Axis) function of Voltage (X-axis), each at a given (different) pressure.
    While I use the "hand" button and click on the first graph (Pressure = f (Temperature) graph) anywhere, which gives me a given temperature and thus a given pressure, I would like to see the corresponding graph (the Current = g (Voltage) one) below right away. I am also asked that the corresponding graph should immediately refresh to match the new value of pressure if I move the mouse.
    Is it possible to do this ? How ? Can I find any tutorial dealing with this out there ?
    Thanks in advance !

    Hi Andreas,
    Sorry for the huge delay and thanks a lot for responding !
    I have tried to get the channels you asked but I never could get enough attention from my boss, besides apparently there would be an issue about making public private documents of the company blabla... So I'm afraid I cannot help you, you who are trying to help me...
    So I have found that Refresh method in the doc, but I do not know how to get things started in VIEW, nor do I know how to save the coordinates of the point I click on and use them to display another graph.
    Would it be possible to see one basic script displaying graphs in VIEW (because when I try to do such things with Enable Recording Mode, there are bugs, error messages and nothing happens in the end, or only a new area but no new graph displayed) for DIAdem 2011 ? That way I could get some basis to work from, commands, and the impression that things are getting better. . .

Maybe you are looking for

  • Check the date format

    Hi,   Can anybody tell me how to check the date format in BDC while updating.   The system date format is like mm/dd/yyyy. Check the dates format, in case of error return the following message “The date format should be YYYYMMDD”. Thanks......

  • Wpg_docload from inside apex

    - I would like to use the below procedure to download an image in a new browser window. - I created a public dad - I created the following package/procedure: create or replace package body jmf as procedure download is v_bfile bfile; begin select bfil

  • "Busiest Clients" report template on Cisco Prime & Aironet 1242AG

    Yesterday I was trying to schedule a "Busiest Clients" report on our Cisco Prime physical appliance (PRIME-NCS-APL-K9, v2.1.0.0.87). My goal was to monitor the busiest clients on a couple of old Aironet access-points. These APs have been installed in

  • Can't find my serial number for Lightroom to add to another computer

    I have my original number that I put in to get the serial number, but forgot to write down the serial number. It's good to download on 2 computers, and I need the serial number to download on my new computer, but can't find it and don't know what to

  • No Undo on Delete!

    I just thought I was deleting about 25 images from a folder that I thought I had filtered down to reject flags and then found I actually deleted the entire database of 565 or images. I immediately tried escape but that did nothing. I took no other ac