Problem with Wave form chart

Hi 
I used ni daq and displayed a live data values on a  waveform chat ...and also i am  able to save the data as .lvm format . 
Now I have to creat two modes to my chart , Live data mode and History mode and show the saved values again on the chart. how to do this ? And also I want to display Auto scale as an icon as shown on the figure . Also I  want  to change the range of the y -axis by using horizontal pointer slide as shown on the figure. 
I attached  my code and the front pannel which  I have to implement. 
 Tnx
Attachments:
chart.jpg ‏41 KB
demo.vi ‏87 KB

Hi Cherkose,
for the Autoscale, you can use the property node X Scale>Scale Fit.
When you want to display data from a file, you have to read them first and then make multiplot.
If you want to use different "States" of your programm (either History or Live data) use a state machine or a simple case structure to switch between the states.
regards
Tobias

Similar Messages

  • Problem with Wave Burner

    Hi
    I'm having a problem with Wave Burner hanging when I try to play audio files. The last time I used it, several months ago, all was well but now after importing my audio files and pressing play the program hangs up and can only be closed with force quit. This also happens opening saved files which played previously. Logic and Pro-tools are still working fine. No problems there.
    Im using a digi003 with Core Audio. Logic 8.02 OS version 10.5.8. I mac 2.66 dual.
    Any help would be appreciated. Thanks!!

    I thought I'd try this again
    In Wave Burner if I select the internal audio as playback it works. It's only when I select the Digi003 as playback that it hangs. It used to playback through the 003 fine.
    Anyone?
    Thanks!

  • Session problem with a form that calls psp web page.

    Hi,
    My unique form is based on table A.
    Within the form I call a stored procedure, which insert data from A into tables B,C,D
    And then within the same form I call a psp procedure using web.show_document('http://server:8080/plsql/psp_procedure?pvId=1001);
    The plsql web page displays data from tables B,C,D for each single pvId.
    The problem is:
    If any commit is issued the psp web page contains no data from B,C,D.
    I suppose I'm working with two different sessions, can I work within the same one?
    Thanks

    Hi,
    I'd say the main problem is that you have both rows with the same name 'Rangée1'. This is not a good idea, especially as the first row is the repeatable row.
    When objects have the same name, you can see the instances in the hierarchy, eg 'Rangée1[0]' and 'Rangée1[1]'. The instances use a zreo-based numbering system.
    By the way you can also see it in the Object > Binding tab:
    So that is when you have multiple objects with the same name.
    The problem with your form is that when objects are repeated (add new instance button), then these new objects also have instances, eg 'Rangée1[0]', 'Rangée1[1]', 'Rangée1[2]', etc.
    So the Acrobat gets confused ;-)
    I have renamed the second row 'Rangée2'. That seems to have solved the problem.
    Here is the form back to you: https://acrobat.com/#d=jcCs7X85xeRYQjvI2Yb*Cw
    Good luck,
    Niall

  • Problem with HR Forms

    Hi,
    I am having problem with HR Forms. I am trying to edit renumeration statement form (Copy of the standard form, with custom infotype fileds).
    One of the Single Fields was spelled wrongly, and I am trying to correct it. I went to the chnage screen, double clicked on the faulty field, changed its name, and pressed 'Transfer'. It asked for a customizing request, and saved it.
    If I again go to PE51, and check the form, the changes I made are not reflecting. Why is this? can anybody help?
    The field I require is P9001-ZCREWNO. But it takes only P9001-zcrew. Is there any limit of 5 characters on length of filed name? (All other changes are reflecting, only this particular change is not reflecting.)
    Thanks
    Krishna
    Edited by: Krishna Kishor Kammaje on Jul 16, 2008 9:49 AM

    Sameer,
    Thanks for the reply. That is already done. I already have the field available in the F4 help of the 'Single Field.
    The field name is ZCREWNO. But when I give this and save it, it says 'Saved'. But if I open again, the stored field name is actually ZCREW  (That is only 5 characters). Because of this, the filed value is not getting populated.
    In Pe51_checktab, filed name is ZCREWNO.
    Thanks
    Krishna
    Edited by: Krishna Kishor Kammaje on Jul 16, 2008 11:19 AM

  • Problem with multiple forms and subview

    I have a problem when using NetBean Web Pack (JDK6, Net Beans 5.5, JSF 1.2).
    1) I created a JSF page (hello.jsp) and a page fragment (header.jspf) inside Web Pack, and let the JSF page (hello.jsp) includes the page fragment.
    2) The include instruction is outside of the "form" element id=main_form() of the first JSF page.
    3) Inside the page fragment (header.jspf), I put a form (id=header_form) with some input fields inside the "subview" element.
    4) When running the web application, the form and its children (id=header_form) inside the subview are not rendered.
    It seems to be a problem with multiple forms on a page and the subview.
    Do I use these JSF components incorrectly? Any advice?
    Thanks

    The forms are not nested.
    hello.jsp
    <webuijsf:body ...>
    <!-- BEGIN: include header -->
    <div style="margin: 0px 0px 10px 0px; left: 0px; top: 0px">
    <jsp:directive.include file="Header.jspf"/>
    </div>
    <!-- END: include header -->
    <webuijsf:form ...>
    From above fragment, you can see the header.jspf is outside of the form element.

  • Multi plot wave form chart

    i am acquiring 16 channels simultaniously scan rate of 1000samples/second.  using chart with single channel (array of data format) i can see 10 sec duration. with multiplot view of least 4 channel i used waveform property but this will not getting 10 sec duration of x. this is showing just like a graph.
    how to show my multiplot at least channel in one chart with continous updation....? 
    Regards,
    Balaji DP

    please find an attachment.
    chart 1.jpg
    i am trying to show the 4 channels of with 1000samples/second. even i am using the chart. i can see only 1 secon of data.
    if i try with single channel array of data with out using wave form property with  chart i can see 5 minutes of updattion.
    how to see multiple plot atleast 4 channel with 5 minutes of duration?
    Regards,
    Balaji DP
    Attachments:
    chart1.JPG ‏39 KB
    chart2.JPG ‏9 KB

  • Problem with custom form

    Hey All,
    Has anyone ever experience a problem with maximizing or resizing their custom form? I have a rather large form that every time I try to maximize or resize causes Business One to hang and crash.
    Any ideas what might be causing this?

    Hi Curtis,
    Thanks for posting the solution... will keep it in mind!
    Thanks,
    Adele

  • Problem with Migration Forms to Apex ...

    Hello !!
    I discovered Apex a few days ago, so I began with the Oracle tutorials, where I found the conversion from Forms to Apex : "Converting Your Oracle Forms Applications to Application Express 3.2".
    I tried to do the same, with a Unix server and my laptop with Windows.
    I downloaded the Forms which where on my Unix server on my laptop, and then converted them with frmf2xml.bat.
    Then I created a project and uploaded only one Forms Module (_fmb.XML). After upload, the Percent Complete column is lower than 100%.
    My problem is at the following step : "Generating Your Application Express Application".
    When I click on "Create Application", select "Based on Migration Project" and then on "Next", I have one of the following errors :
    - 1 error has occurred * The project, "Test Gestuser" does not contain any Blocks associated with database objects.
    - 1 error has occurred * Database schema PROCIE does not contain the associated database objects for the project, login. Ensure the database schema associated with the project contains the database objects associated with the uploaded Forms Module .XML file(s)
    I really don't understand these two errors, having yet checked all the possible error sources, user, schema, ... ?:|
    I have probably forgotten to give some informations, so ask them ;)
    Thanks for your help,
    Pierre C.
    Edited by: Pierre C. on 19 juin 2009 17:22

    I found the problem(s) ... but now I have another one !!
    The problems are with the Forms : I opened them with Forms Builder and created a new Block with the assistant. Then I compared this block with another "normal" block : they haven't the same properties.
    My block has an associated canvas and database source, whereas the other "normal" blocks haven't.
    Where does the error come from ??
    Is there something to do with Forms Builder ?
    On my Unix server before downloading the forms ?
    Another thing to do ??
    Thanks,
    Pierre C.

  • Problem with contact form

    Hi-
    I found a contact form for my Flash website but it's not working properly. It uses ActionScript 3 and PHP, both of which I don't know much about. Because of this, I can't pinpoint the problem or how to fix it. Here's what's going on:
    1) Each field in the form only allows 3 characters and no special characters such as @ _ ! . , etc...
    2) When the user goes to the next field in the form, the previous field appears blank but the when clicking on that again, the original text appears.
    3) When submitting the form, it just keeps saying "in progress" and never shows the confirmation text nor does the email get sent. There is an HTML file included with this form but I am not sure if I need to put that in as I have embedded this form into an SWF file so I don't think I need that code but please let me know if I am wrong about this.
    I am posting both the AS code and PHP code below.. if someone can help me figure this out I would greatly appreciate it. I am not sure which file the problem is in. If someone here doesn't know PHP then at least see the AS code and let me know if the problem is in that or not. That way I can pinpoint which file the problem is coming from and then seek further help if needed. To see the form in action, go here: http://www.poojasdesigns.com/ and click on "Contact Me".. here are the codes:
    ActionScript 3.0
    //presistant reference to this movie's mail timeline:
    var mainTL:MovieClip = this;
    //start off with submit button dimmed
    submit_mc._alpha = 40;
    //create the LoadVars objects which will be used later
    //one to send the data...
    var dataSender:LoadVars = new LoadVars();
    //and one to recieve what comes back
    var dataReceiver:LoadVars = new LoadVars();
    create listener for Key Object
    this is just a U.I. thing - "wakes up" the submit button
    when all fields have at least some content
    var formCheck:Object = new Object();
    formCheck.onKeyUp = function() {
         if (name_txt.text != '' &&
                   email_txt.text != '' &&
                   subject_txt.text != '' &&
                   message_txt.text != '') {
              //clear any alert messages
              alert_txt.text = '';
              //enable the submit button
              submit_mc._alpha = 100;
         } else {
              //remain disabled until all fields have content
              submit_mc._alpha = 40;
    Key.addListener(formCheck);
    /*#######SET STYLES FOR TEXT FIELDS#######*/
    //define styles for both normal and focussed
    //set hex values here that work with your site's colors
    var normal_border:Number = 0x000000;
    var focus_border:Number = 0xFA8D00;
    var normal_background:Number = 0xFFFFFF;
    var focus_background:Number = 0xE9E3E3;
    var normal_color:Number = 0xFFFFFF;
    var focus_color:Number = 0x000000;
    //create an array containing the fields we wish to have styles applied to
    inputs=[name_txt,email_txt,subject_txt,message_txt];
    a "for in" loop now iterates through each element in the "inputs" array
    and applies our "normal" formatting to each input text field
    for( var elem in inputs) {
         inputs[elem].border = true;
         inputs[elem].borderColor = normal_border;
         inputs[elem].background = true;
         inputs[elem].backgroundColor = normal_background;
         inputs[elem].textColor = normal_color;
         /*this takes care of applying the "normal" style to each of the four input fields;
              the following TextField prototypes handle highlighting when an input field
              gains focus and resetting to normal when a field loses focus*/
         inputs[elem].onSetFocus = function() {
              this.borderColor = focus_border;
              this.backgroundColor = focus_background;
              this.textColor = focus_color;
         inputs[elem].onKillFocus = function() {
              this.borderColor = normal_border;
              this.backgroundColor = normal_background;
              this.textColor = normal_color;
    //finally: make the first field (name_txt) selected when the movie loads
    Selection.setFocus(name_txt);
    /*DEFINE SUBMIT BUTTON BEHAVIOR*/
    submit_mc.onRelease = function() {
         //final check to make sure fields are completed
         if (name_txt.text != '' &&
                   email_txt.text != '' &&
                   subject_txt.text != '' &&
                   message_txt.text != '') {
              alert_txt.text='';//clear any previous error messages or warnings
              //advance playhead to frame 2 - the "processing" message
              mainTL.play();
              //assign properties to LoadVars object created previously
              dataSender.name = name_txt.text;
              dataSender.email = email_txt.text;
              dataSender.subject = subject_txt.text;
              dataSender.message = message_txt.text;
              //callback function - how to handle what comes abck
              dataReceiver.onLoad = function() {
                   if (this.response == "invalid") {
                        mainTL.gotoAndStop(1);
                        alert_txt.text = "Please verify your email address - it appears to be incorrect."
                   } else if (this.response == "passed") {
                        mainTL.gotoAndStop(4);
              //now send data to script
              NOTE: the line below presumes the Flash swf file and php script are in the
              SAME DIRECTORY on your server. If this is not the case (if for example you
              wish to put the php script along with other similar items in a "scripts"
              directory) you MUST MODIFY THE PATH. Otherwise the Flash movie won't be
              able to locate the php script.
              dataSender.sendAndLoad("processEmail.php", dataReceiver, "POST");
         } else {
              //warning if they try to submit before completing
              alert_txt.text = "Please fill out all the fields before submitting the form.";
    PHP
    <?php
    //create short variable names
    $name=$_POST['name'];
    $email=$_POST['email'];
    $subject=$_POST['subject'];
    $message=$_POST['message'];
    $name=trim($name);
    $email=trim($email);
    $subject=StripSlashes($subject);
    $message=StripSlashes($message);
    /*my email address - dummy address inserted for privacy in this forum*/
    $toaddress='[email protected]';
    if (preg_match ("/^[-_.[:alnum:]]+@((([[:alnum:]]|[[:alnum:]][[:alnum:]-]*[[:alnum:]])\.)+(ad|ae|aero|af|ag|ai|al|am|an|ao|aq|ar|arpa|as|at|au|aw|az|ba|bb|bd|be|bf|bg|bh|bi|biz|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|com|coop|cr|cs|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|in|info|int|io|iq|ir|is|it|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|mg|mh|mil|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|name|nc|ne|net|nf|ng|ni|nl|no|np|nr|nt|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|pro|ps|pt|pw|py|qa|re|ro|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)$|(([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5])\.){3}([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5]))$/i", $email)) {
    mail($toaddress,$subject,$message,"From: $name <$email>\r\nReply-To: $email\r\nReturn-Path: $email\r\n");
    //clear the variables
    $name='';
    $email='';
    $subject='';
    $message='';
    echo "response=passed";
    else {
    echo "response=invalid";
    exit;
    ?>
    Please let me know how to proceed. Thanks so much!
    *Pooja*

    You say you don't know much about AS3, and that you have embedded this form into an swf.  In what manner did you embed it, and what version of AS does the swf use?  Have you tried using the form in the page that was provided as a standalone test to see if it works?

  • Problem with Stacked Bar Chart

    I have a problem with a stacked bar chart in Numbers 09. My chart is a single series with 6 categories. All of the categories have different values. The first 5 categories display correctly. However, the last category does not display in the color its supposed to, but rather shows up as white/background instead of the grey color shown on the legend. However, the value label is displayed in the proper place.
    When I select other chart types (pie, regular bar, or regular column) the category shows up like it's supposed to.
    This is kind of annoying since I would rather use stacked bar instead of a pie chart. Is there an upper limit on the number of values it can display as a stacked bar chart? Is this just a bug? Thanks!

    Here's my result with six values in a single series. I double clicked the last bar to change its colour from the default grey (which was visible) to magenta.
    Numbers 2.0.3, iBook G4, OS X v10.4.11
    (Shot in the dark:) Try double clicking the value label, then changing the order position of this item.
    Regards,
    Barry

  • Problem with a Form field, need help

    I work for a small police agency and I am our IT guy.  Most of my IT tasks have many been hardware and system software and networking.  I have been trying to learn and teach myself programming.  I also create forms for agency use.  I have been working on a form and want to add increased functionality to allow our officers to issue a citation with the least amount of time spend on the form.  One main issue is that we have to have a unique citation number.  We have come up with a format that will specify as such:  YYYY(Officer's 4 Digit ID Number)-(Auto Incrementing number).  So, for instance, if this is my 55th citation issued and my ID number is 0100 the citation number would appear like this:  20120100-0055.  The ID number will be entered by the officer earlier in the form.  The problem I can't seem to vision around is how I will keep the number to increase by one and have it maintain that way.  I want it to be form specific, because each officer has their own vehicle and MDT that the PDF will reside on at this time. 
    So far, what I have toyed with in the past 30 minutes is this:
    var Ticker = 0001;
    var Year = getFullYear();
    var x = getField('OfcIDNo').value;
    Eventually the form will be autocreated by a program that will be run from a centralized server.  I have even thought about running the from from a server and taking all the data and INSERTing it into a SQL Server 2008 Express DB table on a server, but I'd still have to have the citation number created at the form as the officer fills in the data.  The last four of the number doesn't have to reset when the year changes, but it would be a plus.  Any information anyone can help with I would appreciate it. 
    Thanks in advance

    Seems like it was too easy, is it safe to assume that javascript and javascript functioning in Adobe PDF is a bit different learning curve?  That does help, the only thing that I'm missing is the Auto Incrementing 4 digit number.  I was toying with assigning a variable in the globals that would auto increment but having problems with how I would execute it.  Each copy of the form would be installed on each officers MDT so the number would be specific to that officer. The format will be YYYY"OFCIDNo"-####.  I would like to assign the number to the global variable on the execution of the Print Dialog.  This way the officer an clear the form if he/she needs to start over and then it stays whether or not they close the file and reopen it. 
    That syntax has been very helpful to get started. 
    Thank you,
    David

  • Problem with a form in the portal.

    Hi Masters,
    I'm getting this error in the portal when I'm executing a form. I'm the basis here but I need a hand because I can't find the solution to this. Thanks for the help!
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "Render" operation. Request start time: Tue Jul 24 11:12:58 VET 2007 com.adobe.ProcessingError: Invalid XDP error while configuring the XMLForm module. Please validate the form template and try again: com.adobe.document.xmlform.InvalidXDPException: IDL:com/adobe/document/xmlform/InvalidXDPException:1.0 Exception Stack Trace: com.adobe.ProcessingError: Invalid XDP error while configuring the XMLForm module. Please validate the form template and try again: com.adobe.document.xmlform.InvalidXDPException: IDL:com/adobe/document/xmlform/InvalidXDPException:1.0 at com.adobe.Render.execute(Unknown Source) at com.adobe.BaseADSRequest.doWork(Unknown Source) at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source) at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126) at

    Sounds like a problem with the privileges.
    Try creating a new user, say user_temp, and grant the user Manage privilege to All Portal DB Providers and Manage to All Schemas.
    Try creating a form after logging in as user_temp.
    The minimum privileges required to create a Portal DB provider component is Create privilege on the Portal DB Providers and Manage on the Portal DB Provider schema.

  • Problem with Stacked area chart

    Hi all,
    I'm working on delivery data according to month having input(combo) as the year. I'm trying to display the data in percentages in Stacked area chart having series as ontime delivery, 1 week late, 2 weeks late,........5 weeks late and category labels as months. The problem is when I take the Preview of data I get to see the data for ontime, 1 week , 2 week as it should be but when I hover the mouse over the 2 weeks data area  mouse over values shows 5 weeks data(0 %) where as in reality the colored area belongs to 2 weeks data. I tried to delete 5 weeks series data and now it shows as 4 weeks data.
    What could be the problem ?
    Thanks

    >
    Raghavendra Gadhamsetty wrote:
    > Did you try adding the formula year(datefield) in X axis by removing the existing datefield?
    >
    > Regards,
    > Raghavendra
    Thanks for the answer regarding dates. I'm still awaiting an answer on the following part of my question:
    "My problem is that I am trying to configure a stacked area chart to show various related financial figures over the period of a year or more. My problem with a regular stacked area chart is that because of the large number of data points (daily) the X axis becomes far too chaotic with the large number of labels. The obvious option seems to be to use the "Show time scale" option in axis settings, however when you chose this option the "Date axis area" chart type is automatically chosen and this chart type doesn't seem to allow stacking. Can anybody help?"
    Thanks in advance for your help.
    Kind Regards,
    Mark

  • ORARRP Problem with Oracle Forms and Reports 10g

    hi,
    i have a problem with orarrp utility. the printeroutput is sometimes mirrored or only a blank sheet. is this a known problem? are there any workaraounds available? what can i do to fix the problem? please help me.
    thanks very much
    gunnar kieck

    Hi Rajesh,
    But i have not installed IAS at all. I have only Forms and Reports 10g and Oracle database installed. As you said it only save on IAS, but can we save it on local machine. Is there any other alternative.
    Again my second issues is --> I want to remove Mail option and rename Cache option to PDF from Destype combo box which appears at run time.
    Any idea how we can do this?

  • Problems with ISR_MSSRCF_SRQ3 form, attribute EXT_KEY

    Hello masters:
    I have problems with the ISR_MSSRCF_SRQ3 form. The portal doesn't show the requisitions that I have been created before. I´m getting next error messages in transaction SLG1:
    "Case ... does not exist. No number range interval has been specified fir yhe case type"
    "No number range interval has been specified for the case type Attribute: EXT_KEY"
    Does anybody know what I have to do?
    Thanks in advance
    Edited by: Rodrigo Arenas Arriola on Sep 2, 2009 3:57 AM

    It was because there wasn't enough space within the form.
    Thank you.

Maybe you are looking for