Real-time - how to control speed of digital waveform

Deploying the VI attached to my RT desktop target I generate digital waveform on 8 channels on port0 and acquire data on AI [PXIe-6358].
The digital output frequency and analog input sample frequency are 10000 Hz therefore I expect that while one 8-bit digital code is active [valid] for 100us, one single analog sample is acquired. That means that I would expect one cycle of the while loop to finish in 100us x 2^8 = 100us x 256 = 25600us = 25.6ms.
However what happens is that the while loop finishes in 6ms regardless the set frequency. The loop finishes in 6ms even if I set 5/10/15kHz or if I put a 100us delay into the while loop. I also tried to set the source of the analog input sample clock to 'Dev/do/SampleClock' but nothing seemed to work so far.
How can I force the digital generation to be in correlation with the analog acquisition? I need to acquire 1 data point per channel while the respective digital code is active.
Thanks,
Krivan
Attachments:
RT_ai_dig_wave_gen.vi ‏56 KB

Hello krivan,
Thank you for your post on the forum.
Do you want the digital generation to start at the same time as the analog acquisition?
Shalini B
Applications Engineer
National Instruments UK & Ireland

Similar Messages

  • Is it possible to download the Real Time Collaboration ActiveX control?

    We would like to deploy the Real Time Collaboration ActiveX control to our user's PCs using SMS.  Our users do not have Admin rights on their PC, so the ActiveX control will not install automatically.  I check on the SAP site for the download, but could not find it.  Is the ActiveX control available for download somewhere?
    Thanks

    Hi,
    Read this link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/24/ae5e77711b431c887aa5193af8d851/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/EN/45/cc3541afe5db2be10000000a1550b0/content.htm
    You can also verify the download as follows:
           1.      In the Web browser of the user, from the Tools menu, select Internet Options.
           2.      In the General tab, click the Settings button.
           3.      In the Settings window, click the View Objects button.
           4.      In the Download Program Files window, if any of the following appear in the Program Files list, then the ActiveX control was downloaded:
            ExpBaseNegotiator
            ExpApplSelect
            ExpApplShareX
    Patricio.

  • Dynamic Update in real time with slider control

    We have requirements to display complex data in a graphical format. So far this has gone well by leveraging ADF and DVT components (dvt:Map, dvt:gauge, dvt:bargraph, af:tables, af:inputNumberSlider, etc.); however, we recently have been asked to add real-time animation of these controls over time. In brief, the user requires the ability to control the on-screen visualization of data by sliding the control on an af:inputNumberSlider (or equivalent) that represents a multi-month time scale. While sliding this control, the user expects to see the data visualization controls dynamically update in real time, keeping up with the rate at which the user moves the slider control. Think of this like a flip book animation where the slider controls the page the user is looking at and they can flip through the pages forwards or backwards at any desired speed. The time slider increments are one hour.
    Our current application architecture:
    Oracle ADF Fusion Web Application (v 11.1.1.5)
    EJB 3.0
    Eclipselink
    Oracle 11g
    Any kind of help is highly appreciated.
    Thanks,
    Mehabub

    Hi,
    the af:inputNumberSlider does not provide this functionality. Your alternative is a custom component (or any component that raises a client JS event) and call an af:serverListener in a custom event to send the notification to the server.
    Frank

  • New GL - Real time integration of controlling with financial accounting

    Hi,
    What are the impacts of activating new GL in already existing system. I need to use the real time integration of CO to FI functionality in new GL only. Can i activate new GL for this function only?
    Please advise
    thanks

    Hi
    Yes, by activating New GL you would have real time integration of FI with CO and you dont need reconciliation ledger as available before.
    More over at the document level itself the profit centers are written to the balance sheets accounts which was earlier done in the period end activities to transfer the profit centers to debtors and creditors etc., which is known as "Document Splitting".
    You also need assign the various GL accounts and sceaniors in Controllingwhich needs to activated with Document splitting.
    Regards,
    Suraj

  • How do I output three digital waveforms at once?

    I posted this in Digital I/O, but now I think it's actually more appropriate here because it's not a hardware question. I need to output three digital waveforms at a relatively low frequency, 71.9 Hz. I have a PCI DAQ card, the 6024E and am using the NI-DAQmx functions to try to do this. My program basically generates the square wave that I want, and converts it into a digital wave. I do this 3 times for the three separate waves, and then I combine them into an array and send them to my DAQ functions, which are in a while loop so I can get continuous output. My problem is that the waveform that the DAQ is actually outputting is not what I want. It's outputting a wave that has the same duty cycle (approximately) but the frequency is over 2 kilohertz. It's not like this all the time; after it outputs about 7 cycles of this wave, it goes to logic low for a long time, and then repeats itself. When I probe the digital waveform right before it goes into the DAQ functions, it's running correctly at 71.9 Hertz. Am I doing anything wrong with the DAQ functions or the sampling information? Thanks in advance.
    -- Josh Matloff

    Hello Josh,
    I'm pretty sure that the reason that your digital waveforms are not being produced at the correct frequency is because your digital output is not associated with any sort of timing. Unfortunately, with an E series board you can only do software timed digital operations. This means that the frequency at which the values on your digital lines will be updated depends on how fast/often your computer executes the DAQmx Write that is inside of your while loop. If you have an M series board, you can actually correlate the DIO operations with another subsytems clock (AI/AO sample clock, etc.) which means that you can acheive hardware-timed DIO. In the event that you do not have access to an M series board, I think that AnalogKid2DigitalMan was spot on that you would want to use counters to generate pulse trains (that is if your digital waveforms have a constant duty cycle and period). Depending on what the DAQ board is outputting to, you might also want to consider using the Analog Output channels to generate your digital waveform. As long as you continue to use the digital lines on the 6024E, there is not really a way to guarantee the timing of when the digital lines will be updated. You might be able to get close, but you will probably see some "hiccups", especially if your computer needs to service interrupts or give processing time to another application. And lastly, heed geckoee's advice and don't forget to properly close out your tasks! Putting in some error handling may also help in the debugging process.
    Take care,
    E.Lee
    Eric
    DE For Life!

  • How do I sample a digital waveform?

    I have a digital waveform that represents a 1-bit data stream.  The bit rate is 1Mbit/s (i.e. For a value of '1' the line is high for 1us, for '0' the line is low for 1us). 
    I want to create a numeric array representation of the line by taking a sample of it every 1us and appending it into an array.
    How do I set it up in LabVIEW to sample the line at 1MHz and create a 1-D numeric array of the bits?

    Hi Raine,
    It sounds like you're trying to keep data from previous samples in memory through the next iteration of the sampling loop, then append the new sample to the array.
    Using shift registers is the most reasonable option. To create a shift register, wire your sample data to the edge of your sampling loop then right click and select Replace with Shift Register. You can then use a Build Array function to connect the shift register data with the current sampling data.
    Cheers.
    | Michael K | Project Manager | LabVIEW R&D | National Instruments |

  • My Iphone 4 is so slow, almost impossible to use at times, how can i speed it up?

    It has become unusable at times and i still have 1.8gb remaining so i dont think memory is the issue. Any ideas? It seems to get slower with every update that comes out, i dont knowif this is apples way of making people buy the new iphone but this is certainly putting me off buying apple products in the future.

    Hi-
    How full is your startup drive?
    Have you run Disk Utility lately to repair your hard drive?
    Might read through this article and try at least the first three suggestions- Repair Permissions, Repair Disk, and run Periodic Maintenance.

  • Real time integration of controlling with financial accounting

    Hi friends,
    Can any one please explain the concept and as well as provide the configuration guide.
    Thanks & Regards
    T N R

    Please refer the below link:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/2d/830e405c538f5ce10000000a155106/frameset.htm
    Regards,
    Ashok

  • Youtube built app on my ipod 4th gen take a very long timeto load  how can i speed upthe app, youtube bult app on my ipod 4th gen take a very long time how can i speed upthe app

    i have an ipod 2nd gen and it loads faster thanmy ipod 4th gen

    This is the iMac Forum, try your question here iPod touch

  • Bejeweled Blitz game running real slow, how do I speed it up?

    I don't have a problem with the Bejeweled Blitz game loading up, it's when I start to play the game. When I move my cursor over the 'gems' there is always a delayed reaction. It used to be much faster when I played months ago, but now it's so sluggish that I don't even like to play it anymore ~ and this is the only game I play on Facebook. One of my friends suggested it might be related to my 'wireless' mouse, but I never had that problem & I've had the 'wireless' mouse for almost a year now. This delayed reaction with the Bejeweled Blitz game started a few months ago. I'm not sure what version of Firefox I'm running. One of your statements on the FAQ area said it may be caused by the newer version of Firefox. I'm getting to the point where I don't even want to play the game anymore because of this issue.
    I didn't see anything in the trouble shooting area that applies to the problem I'm having with this game. Sad thing is, I have lots of coins still. It also is delayed showing your score. I just played the game few minutes ago & it didn't even register my "new high score."

    Try to reset the page zoom on pages that cause problems.
    *<b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    You can also try to check the right-click context menu of that Flash object to see if you are viewing the full image.

  • How to find the real-time Zero point location ?

    I want to get a real-time phase difference between current and voltage waveform with the same harmonic frequency.for this reason I must know real-time zero or peak location.could you tell me how to do it?

    Hello;
    The best way to do phase difference analysis is by using one of the Simultaneous Multifunction I/O DAQ boards, such as the 6110.
    That board has one ADC per channel, meaning that the acquisition is trully simultaneous. If you hook up the voltage waveform to one channel and the current waveform (through a resistor) to another, you can see the phase difference in a simple graph.
    Hope this helps.
    Filipe

  • FI CO Integation: Document type for real-time integration with FI not there

    Dear Gurus,
    This is the error message that I got and I am looking for a solution could anyone help me please.
    I was doing simultaneous costing and doing Product Cost Collector reports.[KKBC_PKO]
    This is IDES 6.00 ehancement package 4,
    How do I define a document type for real-time integration with FI?
    Message no. FAGL_COFI003
    "Diagnosis: For CO documents to be transferred into Financial Accounting in company code 1000, -the system requires a document type".
    How do I go about with this, need steps to resolve this please
    Thank you
    Saleem

    Hi,
    1. Check which variant is assigned to your company code '1000' using this IMG path
    IMG->Financial Acctg (New)->Financial actg global settings (New) ->Real-Time integration of Controlling with Financial Actg ->Assign variants for Real-time Integration to Company codes.
    2. Check if document type is assigned to the variant assigned to your Company code in this path:
    IMG->Financial Acctg (New)->Financial actg global settings (New) ->Real-Time integration of Controlling with Financial Actg -> Define Variants for Real-Time Integration.
    Hope this helps.

  • Real-Time Integration is activated but no posting made in FI from KSV5

    Hi
    Real-Time Integration of Controlling with Financial Accounting is activated but when we do KSV5 - Distribution  Run system is not creating FI document for that. but properly posting CO document.
    If i do KB41N - Enter Manual Posting, system create FI document. I dont understand why system is doing so.
    Bittu

    Dear All,
    Any Input..
    Bittu

  • Defining Account Determination for Real-Time Integr

    Dear all,
    I haven't understood yet about Account determination for the real-time integration of Controlling (CO) with Financial Accounting (FI).
    Please tell accounting process that use this account. And give me a detail example.
    Thanks so much
    Minhtb

    Hello
    This is the new feature in New GL accounting
    During allocations in Controlling, most of the postings created do not affect Financial Accounting. These postings do not update any G/L account transaction figures; they are postings within Controlling. If, however, an allocation in Controlling leads to a change in the functional area or any other characteristic (such as Profit Center or Segment) that is relevant for evaluations in Financial Accounting, a shift occurs between the affected items in the profit and loss statement. For this reason, this information has to be transferred to Financial Accounting. This reconciliation between Controlling and Financial Accounting takes place by means of real-time integration.
    As a result of real-time integration, all Controlling documents that are relevant for General Ledger Accounting are transferred from Controlling to General Ledger Accounting in real time. This means that Financial Accounting is always reconciled with Controlling.
    A document is created in Financial Accounting for each posting in Controlling. This means that the detailed information contained in the CO documents is always available in reports in New General Ledger Accounting. This information can be sorted by the following, for example:
    &#9679;     Functional area
    &#9679;     Cost center
    &#9679;     Internal order
    Real-time integration replaces the reconciliation postings from the reconciliation ledger. Consequently, you do not need a reconciliation ledger.
    If, however, you do not set the Reconciliation Ledger Active indicator in Customizing for the controlling area, you cannot use the reports belonging to report groups 5A* (5AA1-5AW1). You set this indicator in Customizing for Controlling under General Controlling ® Organization ® Maintain Controlling Area. The reconciliation ledger serves as the data source for reports belonging to the report groups 5A*. You find these reports in the SAP Easy Access menu under Accounting ® Controlling ® Cost Element Accounting ® Information System ® Reports for Cost and Revenue Element Accounting.
    Replacement reports are available as follows:
    &#9679;     You find the reports in the SAP Easy Access menu under Accounting ® Controlling ® Cost Element Accounting ® Information System ® Reports for Cost and Revenue Element Accounting (New).
    &#9679;     You can create additional reports in report group 5A21. You can assign the report group to any drilldown report of New General Ledger Accounting using the report-report interface.
    &#9679;     From the report Financial Statements Actual/Actual Comparison, you can call up the report Cost Elements: Breakdown by Company Code. You find the report Financial Statement: Actual/Actual Comparison in the SAP Easy Access menu under Accounting ® Financial Accounting ® General Ledger ® Information System ® General Ledger Reports (New) ® Balance Sheet/Profit and Loss Statement/Cash Flow ® General ® Actual/Actual Comparisons.
    You can define account determination for each controlling area. You do this in Customizing for Financial Accounting (New) under Financial Accounting Global Settings (New) ® Ledgers ® Real-Time Integration of Controlling with Financial Accounting ® Account Determination for Real-Time Integration. In this way, you use the same account determination as for the reconciliation ledger (transaction OK17). You can then use the reconciliation ledger reports to compare FI balances with CO balances.
    Prerequisites
    If you use real-time integration in at least one company code, you need to have activated company code validation for the related controlling area. You do this in Customizing for Controlling under General Controlling ® Organization ® Maintain Controlling Area ® Activate Components/Control Indicators. Otherwise, the reconciliation between Financial Accounting and Controlling at company code level is not possible.
    In Customizing for Financial Accounting (New), you have processed the IMG activities under Financial Accounting Global Settings (New) ® Ledgers ® Real-Time Integration of Controlling with Financial Accounting.
    Activate real-time integration for all company codes between which you want to make CO-internal allocations.
    In the IMG activity Define Variants for Real-Time Integration, do not select all CO line items for transfer. If the same line items are to be transferred as through the reconciliation posting from the reconciliation ledger, select the following line items:
    &#9679;      Cross-Company Code
    &#9679;      Cross-Business Area
    &#9679;      Cross-Functional Area
    &#9679;      Cross-Fund (if you use Public Sector Management)
    &#9679;      Cross-Grant (if you use Public Sector Management)
    Features
    Value flows within Controlling that are relevant for General Ledger Accounting – such as assessments, distributions, confirmations, and CO-internal settlements – are transferred immediately. The FI documents are posted with the business transaction COFI. They contain the number of the CO document. This means that you can call up the CO document from the FI document, and vice versa.
    Activities
    If a document could not be transferred because the posting period was blocked in Financial Accounting or no account was found, for example, the document is included in a postprocessing worklist. You need to check this worklist regularly and process any documents in it. From the SAP Easy Access menu, choose Accounting ® Financial Accounting ® General Ledger ® Corrections ®Post CO Documents to FI.
    Example
    An internal order for business area 0001 is settled to a cost center of business area 0002. The document from this allocation is transferred in real time to Financial Accounting.
    Reg
    assign points if useful

  • Hi experts real time environment queation

    please guide me
    1. in real time how will i get my object.
    2. after completion of my object how can i test my object which method i can use who will send test data.
    3. who can release my object (it is abaper role to release using se09 or se10 or any other)
    4. whom can i submit my object (T.L or any other)
    5. TL what he can do and how he test my object.
    6. who can  TL submit the object PL or PM or basisguy
    7. who will transport the request?
    could u please send answers
    thanks to advance

    hi Sayeed,
    Please find below, answers to your questions:
    1. in real time how will i get my object.
    <u>Ans:</u> The objects in a project will be allocated by the Technical lead to the developers.
    2. after completion of my object how can i test my object which method i can use who will send test data.
    <u>Ans:</u> In typical SAP developments, as a developer you will be doing the unit testing, with the data provided in the test scripts.
    3. who can release my object (it is abaper role to release using se09 or se10 or any other)
    <u>Ans:</u> Generally, the developer will have a request for the objects he is assigned with; and he will be releasing the request from SE09, after the unit testing and code inspector checks.
    4. whom can i submit my object (T.L or any other)
    <u>Ans:</u> Once you are done with your object, this has to be communicated to your TL (infact, he will be monitoring your work/tasks).
    5. TL what he can do and how he test my object.
    <u>Ans:</u> The TL may assign the object to QA resource for doing code review, etc, or he himself might do the same. Also he will ensure the object is working fine, by doing testing from his side too.
    6. who can TL submit the object PL or PM or basisguy
    <u>Ans:</u>  The TL deliver the objects to the PRoject manager/Program manager as the case may be.
    7. who will transport the request?
    <u>Ans:</u> The basis resources will be resoponsible for doing the transports across the landscape.
    Hope this helps,
    Sajan Joseph.

Maybe you are looking for

  • How do I get my mail to start working again?

    As soon as I downloaded Mavericks, I was unable to open Mail. I downloaded the 11/7/13 update, shut down the computer, and rebooted it and I still get the same error message, "Mail quit unexpectedly. Click Reopen to open the application again." But w

  • Adjust standard font (Times new Roman) in an interactive pdf created in Indesign

    Could anybody please help me out? Is it possible (and if so, please tell me how) using Indesign CS6 for creating an interactive form: - to choose a font (i.e. arial) and have this being exported as interactive pdf (instead of the regular used font Ti

  • Should I be deinterlacing?

    Hello All, I've had some old 8mm movie film transferred.  It was transferred at 18fps and was shot (transferred) on SD digital video onto a miniDV tape.  When I'm editing this footage it has lots of jaggies on my iMac screen. I'm putting this footage

  • How to calculate average in result in BEx

    Hi Expert, I have 2 fields one is project and another # of days to finished project (I used formula to calculate the # of days from start to finished date. NOw in result need to calculate average of days took to finished all projects. I belive formul

  • SPNegoLoginModule and Fallback

    Hi I have a problem with configuring SPNego on EP6 SP16 The SPNego works fine if configured allone, as a single LoginModule in the stack. EvaluateTicketLoginModule       (Sufficient) SPNegoLoginModule               (Requisite) CreateTicketLoginModule