Output timing mismatch problem

I am still very new to programming with LabVIEW, and infact programing in any languege at all (as an engineer this is only a part time role of mine) and yesterday I noticed a bug with one of my programs. I am attaching photos and descriptions of my code below. Non the less I have two programs. The first is called "Continious Pulse Firing" it takes a series of pulses that I write up and it fires them off at the correct time. It then writes these pulses to a shared global variable "Waveform" which you can see in the image as well as I send it up to the DAQ assistant for output.
The second program which I have commonly used it or variations of it as a replacement for the DAQ assistant on many programs I have written. This tool takes the input from the global variable waveform and plays it out. I have also included a screen shot of the front panel from this program.
Next suspecting that something was wrong the other day when looking at it in a scope, I went and connected the outputs from the 2 separate programs and overlaid them on a plot over oneanother. I modified some code from one of the sample programs that is included with LabVIEW to create this tool.  (It looks like this site is only allowing 3 pictures so I will try to include them in a reply to this post,) but the end result is that I am playing out at approximately 6 times the rate I should be. Now this has me wondering where am I going wrong in my program.
Attachments:
Continious Pulse Firing.jpg ‏115 KB
wavegen program.jpg ‏66 KB
Front panel of Wavegen program.jpg ‏49 KB

Here's the photo of my probed signal. The white wave was generated with the Daq assitant while the red wave was generated by my code with the help of the global variable. The white plot is what the signal should be giving me while the red plot is wrong.
Any ideas where I am going wrong?
Attachments:
Picture of Probe.jpg ‏211 KB

Similar Messages

  • Purchase Order Output Timing Error

    Upon creation/change of a purchase order, the system defaults an output timing of '2' instead of '4'. I checked NACE for the affected output type and found it to be listed as '4'. Where else can I check to see why the system is proposing a defualt of '2'?
    Thanks - points will be rewarded.

    in MN05 enter Output Type then check all Key Combinations. In one them you must have had it selected as 2.
    Please check all Key combinations
    Regards
    Adeel

  • Output channel mapping problem for surround encoder

    vista 64 bit
    sound blaster titanium x-fi sound card
    logitech 5.1 speaker set up
    hello, i am trying to mix a movie i made into 5.1. when i open the surround encoder, go to the audio hardware setup and try to set my output channel mapping i only get two speakers. i have a card that supports 5.1, 5.1 speakers, and get surround sound when i play a DVD. yet audition only recognizes my left and right speaker. any help on how i get my output channel mapping set correctly?
    thanks in advance!

    Thank you for the info, though I admit I'm still a bit confused.
    My card is a creative x-fi extreme gamer.  It has 3 line out jacks and one line in jack.  T  Oh, here it is in the manual...thats just not good enough.
    But what is the surround encoder dialog box doing, if not encoding surround mixes?  The manual says I can exportsurround sound from a multitrack session. 
    Date: Mon, 1 Jun 2009 21:58:08 -0600
    From: [email protected]
    To: [email protected]
    Subject: output channel mapping problem for surround encoder

  • Data Mismatch problem in Production system

    Dear Experts,
    We have been encountering serious data mismatch problems with our source system since 29th Dec 2010.
    We have realized this mismatch only on 11th Jan 2011. So, we have deleted entire data from 29th Dec 2010 onwards to 11th Jan 2011. Then we tried to load delta again as per our Process Chain sequence. Since then, our production system has become very inconsistent. We found that the entire data from 29th Dec 2010 to till date is started giving mismatch.
    Our system got damaged in terms of data drastically. If I delete any bad requests from our Cubes & Data Store Objects, the next time when we try to load data, cube & Data Store Objects is showing the deleted request no. is not updated properly. Because of this, our Process chain is daily failing to complete and giving so many technical errors. We are totally confused to restore our data from 29th Dec 2010 to till date.
    Can any one please help us to restore our data fully and Process Chain to run successfully...............?
    Thanks in Advance,
    Suman

    Hi Suman,
    I understood that you are using 3.x version of BW
    such kind of issues occurs if you distrub the delta sequence by deleting the requests without making them red.
    you can resolve this two ways......
    1) Go to reconstruction tab of the DSO and CUBE, select all the req from 29th Dec 2010 thru 11th Jan 2011 and reconstruct them. once they appear in the request tab. make all the requests to red (set the QM status to RED) one by one and delete them from the CUBE and DSO.
    This should set the delta status  back to 29th and you will be able to run a repeat delta from then in your next delta.
    2) Go to RSRQ and give the SID or the Request ID one by one that it is giving you ( request no. which is not updated properly)
        Mke the QM status as RED for all of them.
    Since you have already deleted them from the targets, just changing the QM status to RED will be sufficinet.
    You have make the QM status to RED inorder to inform the system that the requset is incorrect one and has been deleted.
    Once it is set to RED, system will not prompt any req and say "request no.# not updated properly".
    i suggest you the second option.
    Once you resume the delta load, it should run successfully.....and if you feel some data is still missing from 29th Dec 2010 thru 11th Jan 2011, just run a full repair load the get the data back.
    If your Datasource is of LO extraction u may need to fill the setup tables to perform full repair.
    Please let me know if the Datasource is of LO extraction. Also let me know once the issue is resolved.
    Regards,
    Sudheer.
    Edited by: Sudheer Kumar Kurra on Jan 22, 2011 7:58 AM
    Edited by: Sudheer Kumar Kurra on Jan 22, 2011 8:03 AM

  • J1inqefile - Excel output - Date field problem

    Dear All,
           I am facing a problem while executing the tcode-J1IEQEFILE.
           When choosing excel file output and executing, 3 files are created. But the problem is, the value of date field in one of the files is not in date format.
        Please help me out on this regard.
    Thank you,
    S.Sridhar

    I am also facing same problem in text file as well as in Excel file also. kindly some one could help me ( Date on which Amount paid  and Date on which tax deducted).
    Thanks
    Venkat

  • ITunes connection timed out problem. Please help

    Hey guys, I've purchased an iPod Touch 4th Gen recently but a problem I've had after installing iTunes is connecting to the internet. I haven't even got the software on the iPod Touch due to an error - "iTunes could not connect to the iTunes store. The network connection timed out. Make sure your internet settings are correct and your network connection is active, then try again"
    Here's a similar error message which comes up -
    http://turbo.inquisitr.com/wp-content/2009/11/itunes-connection-timed-out.jpg
    The frusterating thig is that know one has a clue about the problem or the solution. I've tried everything you name it, from disabling the firewall, disabling the anti-virus, disabling any other programs which may affect iTunes. I've tinkered with the different internet setting, looked out programs allowed in the firewall and iTunes is definitely allowed. And my internet connection is perfect and very very fast. I don't use wireless but an Ethernet cable. There are absolutely NO problems with my internet connection WHATSOEVER.
    So I was thinking whether the time I decided to install is the problem? Maybe it was peak time (I tried it at 17:00pm UK Time) and now its 22:25pm UK time. Maybe it's a time where many users are online? But if that was the case surely I would have been successful atleast once?
    Please help, I'm getting really really desperate. Thanks you ever so much

    You need to place the iPod in recovery mode and then connect it to your new computer and restore it via iTunes. Note that you will lose all content on the iPod. You can redownload apps at no additional cost provided you are signed into the same iTunes account that originally purchased the apps.

  • Report 10g output in excel problem

    Dear Members,
    I am using forms 10.1.2.0.2. I am calling the report from Forms parameter. I have passed the report_desformat=SPREADSHEET. But when i run the report it shows nothing and no out put is generated.
    Please help me to find out the problem.
    Parameter forms code is as under.
    PROCEDURE rep_call (p_rep in char, p_param in paramlist) IS
    report_id report_object;                    
    mJob_ID varchar2(200);     
    mRep_Status varchar2(200);     
    mReportServer varchar2(100) := 'REP_SERVER';     
    mReportServerJob varchar2(200);     
    x varchar2(200);
    BEGIN
    report_id := find_report_object(p_rep);
    set_report_object_property(report_id, report_execution_mode, runtime );
         set_report_object_property(report_id, report_comm_mode, synchronous );
         set_report_object_property(report_id, report_destype,cache);
    set_report_object_property(report_id, report_desformat, 'SPREADSHEET' );
         set_report_object_property(report_id, report_server, mReportServer);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'paramform=no');
         mReportServerJob := run_report_object(report_id,p_param);
         mJob_id := substr(mReportServerJob, length(mReportServer) + 2, length(mReportServerJob));     
         mRep_Status := report_object_status(mReportServerJob);
         WHILE Mrep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
              mrep_status := report_object_status(mReportServerJob);
         END LOOP;
    if mRep_status = 'FINISHED' then
         x := '/reports/rwservlet/getjobid' || mJob_id
                   web.show_document (x, '_blank');
         else
         message('report failed with error message ' || mRep_status);
    end if;
    END;
    Thanks & Regards

    Hi,
    1- Are you getting a blank output? or nothing is happening when you call the report from Forms?
    2- What is the status of the report job in Reports Queue manager?
    3- Try to run the same report with the same parameters from the browser URL and compare behavior.
    e.g
    http://hostname:port/reports/rwservlet?report=<report name>&server=<reports server name>&destype=cache&desformat=spreadsheet&paramform=no&userid=user/pass@db&any_other_parameter=value ....
    Regards, RZ

  • Output XML file problem (in FILE to RFC scenario)

    hi,
       my problem is that in the export parameter i have 3 variables but my output xml file shows only 2 parameters . I have checked my mapping all 3 parameters are mapped properly in output mapping .
    Initially when i started the scenario there were only 2 parameters in my export list .
    i completed this suuccesfully and then as per new requirement one more parameter was needed to be added i added a new parameter and reimported my rfc .
    the response tab of the reimported RFC shows me the newly added parameter but my final xml file only shows me the previous 2 it doesnt show me the newly added one is there any seeting which i need to change like in idoc where we have to readd the idoc in IDX2
    With regards
    Bhawarlal Choudhary

    Hi,
    2 Introduction
    Configuring IDoc adapter in Exchange Infrastructure 3.0 requires some configuration on the SAP
    systems, for both XI and the backend system where the IDoc message is to be sent. These steps, although
    simple, are many times missed or mis-configured, causing the delivery of messages to fail.
    Since IDoc adapter uses the ABAP stack, instead of J2EE, the configuration requirements are mainly in
    ABAP.
    Setting up IDoc adapters requires the XI integration server to be able to communicate with the backend
    SAP system, and also to make sure that the Logical System Name used when posting IDoc exists on the
    backend SAP system.
    3 The Step By Step Solution
    The basic steps for the IDoc configuration are outline below:
    1. Configure SM59 on XI to communicate to SAP backend system.
    2. Configure port on XI for IDoc communication.
    3. Create or verify the Logical System Name on the SAP backend system.
    4. Create or verify business system in XI’s System Landscape Directory.
    5. Verify the Logical System Name of the business system.
    6. Verify or add the Logical System Name for the sender business system.
    7. Create/configure the Communication Channel for the IDoc receiver adapter
    3.1 Configure SM59 on XI to communicate to SAP backend system.
    1. Using transaction SM59, create an RFC destination with Connection Type = “3”.
    In this example, the RFC destination name is “NDVCLNT510”.
    2. Enter the logon information:
    3. Test the connection by clicking on “Testing connection” and “Remote logon”.
    Both must be successful.
    3.2 Configure port on XI for IDoc communication.
    4. Go to transaction IDX1 on XI, and create a port. In this example, the Port name is “SAPNDV”.
    •     &#61472;The Port name must be in the form of “SAPxxx”, where xxx is the system ID of the backend SAP
    system.
    •     The Client must be the client number of the backend SAP system.
    •     Select the RFC Destination which was created in the previous step.
    3.3 Create or verify the Logical System Name on the SAP backend system.
    5. Enter transaction SALE on the SAP backend system.
    6. Create or verify the Logical System Name. In our example, NDVCLNT510 is verified.
    3.4 Create or verify business system in XI’s System Landscape Directory.
    The business system name for the SAP backend system must contain a valid Logical System Name. This Logical System Name is the one verified or created in the previous step.
    7. In the System Landscape Directory,  select the SAP backend business system. If one does not exist, then create the business system. Verify the Logical  System Name.
    3.5 Verify the Logical System Name of the business system.
    8. In the Integration Directory, doubleclick on the business system (in our example, it is NDVCLNT510).
    Navigate the menu:
    Service • Adapter Specific Identifiers.
    If information is empty or incorrect, then it will have to be synchronized with the content of the System Landscape Directory. Follow the steps below for synchronization.
    9. (Optional) Synchronization of the business system in Integration Directory to the business system in System
    Landscape Directory.
    •     &#61472;Double-click on the business system in the Integration Directory.
    •     &#61472;Switch to Edit mode.
    •     &#61472;Select menu: Service • Adapter-Specific Identifiers 
    10. (Optional) Within the dialog box, click on the button as indicated below to resynchronize.
    11. (Optional) If the expected data from the System Landscape Directory is not updated, then the SLD cache may need to be cleared first.
    3.7 Create/configure the Communication Channel for the IDoc receiver adapter.
    15. In the Integration Directory, create an IDoc receiver communication channel.
    •     &#61472;The RFC Destination is from step 3.1.
    •     &#61472;The Port is from step 3.2.
    NOTE:
    There is no need to create an IDoc sender Communication Channel for XI. Instead, the backend SAP system must be configure to send the IDoc to XI.
    4 Appendix
    Transaction: IDX2
    There are a couple of situation where IDX2 can be useful on the XI system.
    1. When we want to test connection between the XI and SAP backend system.
    2. When an IDoc has changed, and the meta data stored in XI needs to be update. When an IDoc is sent from the SAP backend system to XI, XI will first check to see if the meta data for the IDoc is already in its persistent cache. If not, then XI will use the configuration in IDX1 to retrieve the IDoc meta data from the backend system. If the
    meta is already in cache, then it will NOT do so. Therefore, when an IDoc has changed, it is necessary to manually update the new meta data on XI, or delete it from the cache, so that the latest version can be retrieved. IDX2 is used for this purpose.
    Go to transaction IDX2 and click on “Create”.
    Enter the IDoc Type and the Source Port as defined in step #2. Click “Continue”.If successful, the following will show up. If error occurs, then the IDX1 configurations will need to be re-checked.
    Regards
    Hemant
    If find helpful plz award points

  • Selecting Multiple Objects with Output Preview Causing Problems

    I'm trying to edit a PDF and need to select multiple objects. Without Output Preview open, I can easily select all the items I need using the shift key. With Output Preview open, whenever I try to select the second object, Output Preview creates a sticky note, instead of selecting the second object.
    I am also using the PitStop Pro plug-in.
    Any idea how to correct this problem? Thanks!

    Unfortunately it seems that the new sticky note feature with the output preview in Acrobat XI uses the same keyboard shortcut as multiple selection tool in Pitstop (shift).
    Closing the output preview is the easiest way to get around this issue.
    We could consider changing the key for multiple selection in PitStop, but 'shift' is pretty much a default, so what could we change it too?
    If anyone has any thoughts could they email me, I am the product manager responsible for Pitstop at Enfocus and my email is '[email protected]'
    All feedback gratefully received.

  • Namespace in output xml file problem?

    Hi,
    i imported an xsd in IR for developing an interface and the output was satisafactory except for a small problem in the namesapce which the file contains.
    My xml file output looks like
    <?xml version="1.0" encoding="UTF-8" ?>
    - <MT_OSD_FILE xmlns="http://localfile/ext" Version="123" >
      -field1
      -field2
    But where as the required format in the naming is
    <?xml version="1.0" encoding="UTF-8" ?>
    - <MT_OSD_FILE Version="123" xmlns="http://localfile/ext">
      -field
      -field
    how to get the namespace before the version(attribute)
    any ideas?

    Hi Prabhas,
    <MT_OSD_FILE Version="123" xmlns="http://localfile/ext">
    OR
    <MT_OSD_FILE xmlns="http://localfile/ext" Version="123">
    Both are same. Because, both Version and xmlns are arrtributes. And they should be unique (which they are) and they can be in any order.
    Check XML standard [Link1|http://www.w3.org/TR/REC-xml-names/] Declaring Namespaces Such an attribute's name must either be xmlns or begin xmlns:. These attributes, like any other XML attributes, may be provided directly or by default.
    Regards,
    Raghu_Vamsee

  • Connection request timed out - problem

    Hi, our errorlog confirms there are regular "Connection request timed out" errors in our web-application (asp.net with odp 9.2.0.4).
    Now we did a standard ODP installation, so i don't know how all the Pooling parameters are set up initially. But i found metalink note 261377.1 which states that the max number of connections also depends on the setting of maxconnections in the machine.config on the server. right now this setting is (windows server 2003):
    <connectionManagement>
    <add address="*" maxconnection="2"/>
    </connectionManagement>
    Apart from having to install patch version 9.2.0.7, could this be part of the problem? Or could this also be caused by wrong programming practice?
    Furthermore: in metalink note 240997.1 i found an example of setting several pooling parameters at connect-time. Is this the only way to do it, or is there something like an odp.config where you can specify these parameters?
    Regards, Paul.

    Hi Paul,
    1) "how the pooling parameters are set up initially": refer to the odp.net documentation, it tells you what all the default parameters are. The key parameter in this case would likely be "max pool size" which defaults to 100.
    2) "maxconnections in machine.config": I looked at that note which doesnt contain very much detail, but couldnt force a problem. maxconnection="2" is apparently the default, it's what mine is set to, and I can open 100 connections without problem. It may be that theres another setting that can affect this (I doubt the guy who wrote the note just made the info up) but I dont know what that is top of my head.
    3) the pooling parameters can only be set in the connect string itself. You could certainly store the settings in a System.Configuration.ConfigurationSettings.AppSettings file however.
    4) "Connection request timed out" is typically not an Oracle software problem, but more frequently an issue with code not cleaning up after itself properly. To confirm whether you've hit "max pool size", check v$session; how many actual connections does that app have? Make sure you're closing and disposing the connection, and additionally the command, reader, etc, under all circumstances (ie, a finally block).
    Hope that helps,
    Greg

  • External LCD flicker (timing standard problem?)

    My external LCD panel flickers when connected via DVI. It basically looks like a CRT refreshing. If I connect it with VGA, it doesn't flicker. It doesn't flicker when connected to a different machine. And it doesn't flicker if I boot the machine into Windows.
    I've tried setting different refreshes on it with SwitchResX to no avail. Again, it works perfect in Windows, but my built-in LCD has whine in Windows when not at full brightness. So, in handy chart form:
    OS X
    Built-In: Perfect
    External: Flicker
    Windows
    Built-In: High pitched whine when not at full brightness
    External: Perfect
    The only conclusion I can draw from this is that it is related to the use of different timing standards or something of the like. Clearly all the hardware is fine.
    So, does anyone have any idea how to go about changing the timing standard used in OS X?

    I'm experiencing almost the same problem as you: When I connect an external LCD projector to my Macbook Pro via DVI/VGA adaptor, I notice a flickering of the LCD projektor. The intensity of the flickering seems to depend on the frequency I adjust in the monitor control panel. Unfortunately there's no frequency that fits the needs of the LCD projector.
    Any idea to solve this problem is most welcome!

  • Composite AV output aspect ratio problem

    I'm using an Apple Composite AV dock connector to connect my iPad 2 to an older TV.  It has always worked well, displaying videos and images in the proper aspect ratio.  Just today the images and videos have become too tall and normally widescreen output now fills the 4:3 screen. This is true of all our TVs. Is there a way to set the output aspect ratio on the iPad2?  Is this an iOS5 problem?  The TVs don't have adjustable aspect ratios.

    I just tried my wife's iPad with iOS4 and it works fine.  I suspect this is an iOS5 problem, or else something is wrong with my iPad2.

  • Output Designer Executable Problem When Compiling

    I am currently experiencing a problem compiling some templates, where the Output Designer crashes with the following message 'Output Designer Executable has encountered a problem and needs to close. We are sorry for the inconvenience.'
    I have been working with a number of templates and most have compiled successfully without any problem. However occasionally they are crashing where they previously worked before. I also experience this problem using Test Presentment.
    This crash is happening intermittently, but often enough to be causing me problems.
    My feeling is it something to do with XP and memory allocation for compiles but I have not got to the bottom of this.
    Can anyone give me any advice over this problem. Have any of you experienced this problem, if so how did you resolve it ?
    Is there any settings that would solve this ?
    Thanks
    Stephen

    Stephen,
    I am having a similar problem. Have you been able to figure it out yet?
    Thanks,

  • Timing mismatch between picture and sound.

    I have been using Premier Element ver. 12 with my films recorded with my Canon EOS camera without any problems. I have now been trying to clip a film recorded with a MAC copmuter. The files have .mov extension. My problem now is, that the sound and the pictures are not sycnroniced anymore. It seems that the Pictures are 3 seconds faster per minute than the sound. So after 20 minutes the Pictures are 1 minute in front of the sound. Playing the original files with the Windows player Works fine and the timing of the sound in Premiere Elements fits with sound using the Windows player.
    Any Ideas????
    Gert Munch

    Hi' ATR
    Ref. #8
    Loading one of the problem files into Movie Maker Shows a small but constant shift between sound and Video within Movie Maker. Easy to fix. Exporting and import into Premiere Elements shows the same small but constant misallignment. That is good.
    The screenshots of the required readings is seen below
    Properties from Premiere Elements:
    I did not dare to install the MediaInfo properties readout program as I was warned about malware.
    Ref. #9
    From Movie Maker the Video bitrate is stated to be:
    15-12-14: 177232 kbps
    12-01-15: 81164   kbps
    16-02-15: 177396 kbps
    10-03-15: 280596 kbps
    From the above screen shots the audio bitrate seems to be 128 kbps
    Hope this makes sense to you.
    Gert

Maybe you are looking for

  • HOW TO ROLLBACK ENCUMBRANCE BALANCE

    제품 : FIN_GL 작성날짜 : 2003-11-24 HOW TO ROLLBACK ENCUMBRANCE BALANCE =================================== PURPOSE balance table의 data 에 corrput 가 발생했을 경우 예산 가집행에 대한 rollback script를 제공한다. Explanation 1. 관련 data를 모두 backup 받아 놓는다. 2. data가 corrupt 된 기간을 확

  • Line 41     1061: Call to a possibly undefined method hitTestObject through a reference with static type

    Im trying to use the hit test built into flash, but its failing. I have used this many time before! but this time flash is crying at me. I Think i know why but im not sure how to fix it. Here is my hit test code: stage.addEventListener( Event.ENTER_F

  • Collections versus Photo Organizer

    Ok, here is the question. You just import 300 pictures into organizer. Now you create a collection and tag all 300 new photos in the organizer with the collection name. Now when you click on back to all photos your screen is bombarded with any and al

  • Flashing Inspector and media browser

    While working a very complex project. Keynote 08's inspector and the media browser start to flash when I start to make any setting changes. This only happens on my Powerbook G4 (2gb ram, 120gb HD, 133). I don't have this issue on my G5. Anyone have a

  • Embedded fonts and hidden text

    I've just discovered that any font used in hidden text only isn't embedded. Has anyone else found this? My hidden text includes Times New Roman italic. This text becomes visible on the preprint event. TNR italic isn't used for any non-hidden text. If