Time to update buffer PCI-6713

Hello guys,.

We use PCI-6317for 50 Hz generation of waveform of 3 phases for a quite a while using the library OR-DAQ traditional.

We could not get a reliable update of a waveform with a single call to the WFM_DB_Transfer function and need to call double.
Otherwise, we could sometimes get a signal consisting of the buffer past and present.

For now, that's a good solution, but now we have different requirements.

We went to NOR-DAQmx and surprisingly managed to update the PCI-6713 buffer with a single call to DAQmxWriteAnalogF64. But it seems that we can update the buffer only once per period of output signal.
For our 50 Hz signal is 20mS. Function until the next blocks.

That is the first question.
Can we call DAQmxWriteAnalogF64 wave update more often than 50 times per second for the output 50 Hz signal?

If the answer is positive, how can it be done?

I have attached a LabWindows CVI 7.0 source code for an example of test (for 1 channel only) program we wrote specifically for this post.
The waveform generation is started by calling ConfigureTask and StartTask reminders in this list.

Could someone kindly tell me what changes to the code have to do to update the asynchronous output with output buffer?

And another question.
PCI6317 can generate signals with different frequencies (channel 1 said generates 50 Hz signal, channel 2-60 Hz, etc.)?

Thank you very much for all supplied glue!

Andriy

The answer to this question is no.  It is not possible to dynamically change the environment buffer output.  You must wait until the buffer is exhausted, and then change the stamp on the next set of data.

The only thing to do with your current hardware is to reduce the size of form of wave/buffer.  You must call the function write significantly more often, but you can change it to any of these points.

Also, get a reliable 3ms response in your software feedback loop will be entirely dependent on the speed of your computer.  If Windows decides it must allocate resources elsewhere (automatic update check, MS Word being opened, Media Player, play music), then the program CVI can certainly lag.  That's why he could miss the update of buffer, which is probably the reason why you get the error 200290. The code cannot run fast enough for all process before the depleats buffer.

The absolute best thing to use to control is one of the FPGA modules.  With them integrate you actually in the material you want your control algorithm to be.  This means that the control algorithm is all timed material, producing the best possible response times.

What rate are you inputing to the sampling frequency?  In addition, in the code you sent that you send "fFrequency * SAMPS_PER_GRID_CHANNEL" to the DAQmxCfgClkTiming function.  I wonder why you're multiplying your frequency of SAMPS_PER_GRID_CHANNEL.  The rate input parameter must be just the frequency in Hz you want items to be generated at.

Tags: NI Hardware

Similar Questions

  • iPhone 5 screen freezes from time to time after updating to ios 10.

    iPhone 5 screen freezes from time to time after updating to ios 10. Then, should I block the screen again and unlock it to make the iphone work again.

    Hey Nilay182,

    Thank you for using communities Support from Apple. I can see from your post that you are having problems with your iPhone freeze or does not. Having a reliable phone is important and I would help him get yours working normally again. I have provided a link that explains how to troubleshoot a few things with your phone when it does not.

    If the screen of your iPhone, iPad or iPod touch does not respond to touch


    If you still have problems with your screen after you follow these steps, let know us and we can continue to troubleshoot from there.

    Kind regards.

  • Since the installation on my Windows 7 64 - bit installed, Firefox has constantly gotten slow that hour passes, hangs for 10-15 seconds at a time and just gets worse over time with updates and all.

    Since the installation on my Windows 7 64 - bit installed, Firefox has constantly gotten slow that hour passes, hangs for 10-15 seconds at a time and just gets worse over time with updates and all. It was fast when I installed first, but of the six latest mos has slown to a crawl.

    upgrade your browser Firefox 8 and try

  • Unable to connect using Face Time after updating iOS 9.3

    Unable to connect using Face Time after updating iOS 9.3

    gshort319 wrote:

    Unable to connect using Face Time after updating iOS 9.3

    Use FaceTime with your iPhone, iPad or iPod touch - Apple Support

    Get help if you cannot make or receive calls FaceTime - Apple Support

  • Installed OR-DAQmx Base 15.0 for Device Manager (PCI-MIO-16-4 & PCI 6713) Watch always point of exclamation on both cards.

    There are two cards I have installed on this computer. The two cards are PCI-MIO-16-4 & PCI-6713. They all have two cable connecting to each other on top. The current operating system is Windows 7 64-bit with 4 GB of memory.  I went to the drivers OR support and typed in the serial number for these two cards. The two cards came back with the same drivers. That is NEITHER-DAQmx Base 15.0. Installed the driver NOR-DAQmx Base 15.0, but shows Device Manager always the exclamation point on those two cards. So, I tried to search for new hardware and get a message saying cannot install driver. I also tried to restart. Help, please.

    Thank you

    hms168

    Drivers install successfully. Thank you!

  • Output 2 signals of pci 6713

    Hi guys,.

    I tried to program my card analog output PCI 6713 to the output of the 2 signals, AO0 one and the other of A01, but I get this error message:

    DAQmx Write (analog 1-d Wfm NChan NSamp) .vi:3
    The task name: _unnamedTask<1C>

    with error code:-50103

    I have attached my code for your perusal.

    Help, please

    Ridwan

    All you had to do was select the two channels when you all first created the DAQ Assistant and combined the two signals.

    With the existing DAQ Assistant, you can add additional channels.

    I recommend that do you some review of the information available in the getting started with DAQmx

  • Can I remove Western Austrailian time zone update?

    I was trying to figure out why my computer fathers moves so slowly and on a 27% free space on it.  I defragmented and ran the cleaning disc.  Thing I would do would be appreciated.  Deleted photos and unwanted programs, but still has not made a difference.

    Some how my dad has a program called update zone Western Australia time on his computer and it takes 4 095,00 MB so space.  Is it safe for me to simply remove this program via the control panel of the computer hurt them with anything else?

    If you're basing your belief that "The Western Australia time zone update" takes 4095 MB (which is rather much space) based on the report in the control panel > Add / Remove Programs, that number is probably inaccurate.

    However, if you do not live in Western Australia, the chances are that you don't need this update.

    If the drive has 27% of free space, a crowded disk is not slowing down things.

    Apart from the obvious things like an old, slow CPU and a minimum amount of RAM, you should start by looking at the processes tab of the task (CTRL + ALT + DELETE) Manager.  Double-click on the "CPU" column title to sort entries by decreasing the percentage of processor utilization.

    Insofar as any further hard drive cleaning, what follows is my response keeps on this topic:

    There are a number of things you can do to- temporarily - free up disk space.  The only real solution, however, is to get a bigger internal hard drive.   You can move the data to an external drive, but if it's the data that you use frequently, slower access times may annoy you.  Therefore, I do not recommend that you move your My Documents folder in its entirety on an external drive, but you can certainly do this by following the related instructions.

    • You can run Disk Cleanup (start > run > cleanmgr > OK)
    • You can reduce the size allocated for the restoration of the system to about 1 GB (right click on desktop > properties > system restore > settings)
    • You can disable hibernation (if you don't use it) (right click on an empty spot on the desktop > properties > screen saver > power > Hibernate)
    • You can disable the indexing of the drive, which will also speed up your computer a bit (http://lifehacker.com/031440/turn-off-indexing-and-speed-up-windows-xp)
    • You can reduce the size of your Internet browser cache (depending on the browser that you use)
    • You can remove most of the $NTUninstallKBxxxxxx files $ following the directions here: http://windowsxp.mvps.org/Hotfix_backup.htm (read the warnings in the gray box first)
    • See also:

    " How to recover disk space on Windows Server 2008 and Windows XP computers? ."

    " Forty ways to free disk space ."

    But none of these answers you will earn really large amounts of space for very long.  The term solution time is a bigger hard drive.

    In the meantime, download and run JDiskReport, that will show you graphically what files take up more space.  If you want to move an application on an external drive, you will need to uninstall and then reinstall it specifying your external drive as the installation location.  You can not simply move the files.

  • HP DV7-4050ea: Date &amp; only time not updated DV7-4050ea

    I have a HP Pavillion DV7-4050ea. Whenever I restart the computer, the date time not not to date. I changed the battery (CR2032) without result. Is this what can I do to make sure of the correct date and time of updates every time I restart the computer.

    Hello

    Try to manually set the date/time of the bios again.

    You should see that the first field highlighted is the time value - set this to the correct time by using f5 and f6 (f5 will reduce the number & f6 it will increase).  When it is correct, press ENTER to highlight the Minute field and again, use f5 & f6 to set the correct minutes.

    When finished, press the arrow down to select the first Date field.  This should be for the month, so using f5 & f6 to enter the correct value.

    Press Enter to highlight the field day and this, and then press ENTER to highlight the year field and then set this.

    If you are happy with the settings of Date and time, press f10 and press ENTER to save the settings and exit the bios.

    Let windows load completely.  If the Date and time correct does not appear, go to the control panel and set the Date and time correct here.

    Restart computer and check if this has fixed the problem.

    Kind regards

    DP - K

  • How updated peripheral PCI & what's this?

    Original title: PCI DEVICE

    HOW DO I UPDATE FROM PCI DEVICE & WHAT

    Hello

    You can get the answer to what is pci device

    http://www.ehow.com/about_5399638_pci-device.html

    and you can update the site to intel!

    Please mark as useful if it helps!

  • time to update the index

    I created a new table and inserted the number of lines (for example near 1000), the index database is updated to take into account (or view) the newly inserted rows. How to find the time to update the taken by the index of prior State to a new State, referring to the newly inserted rows of 1000?

    You can try to use the runstats tool to compare 2 different scenarios SQL and deduct the time required for maintenance of indexes.

    Scenario1:
    Insert 1000 rows in a table without indexes on the table

    scenario2:
    Insert 1000 rows in the table with the index on the table

    time for scenario2 - time for scenario1 is time for index maintenance, provided that you run these tests on hosts/databases without concurrent activity.

    See http://asktom.oracle.com/pls/asktom/ASKTOM.download_file?p_file=6551378329289980701

  • Fastest time expected update - NI 9265 current of output

    I use an output module current 9265 with 9174 chassis.  Basically, I want to read in a text file, analyze a value to a certain dt (at the present time, I am 20 Hz) and writing a value to the card, which will control a valve.  Break down: adjustment points (1) read a 4-20ma 2) output the value of EI file to a certain dt for each iteration in the while loop.  Can I expect this system to be close to 20 Hz?  I need my timing to be very close, but I understand that by using a Windows system (Windows 7) will cause the jitter in the system and avoiding the near-perfect.  Thank you.

    Hello Mr._Bass,

    The NI 9265 updates its output values each 9.5 US, that only calculates over 100,000 samples per second.  Therefore, the hardware itself has the ability to maintain this speed.  Depending on your system and the amount expected from the jig, this number can vary quite a bit depending on your machine.  If you have typical tasks such as antivirus, firewall, or any other thing that Windows is running in the background, jitter will increase.  On average, the amount of jitter in a windows system is the order of the hundred nanoseconds, but can vary considerably.  Outputs at 20 Hz will be an update with a period of 50 000 (0.05 s), so even if your system jitter is high and about 50 US, it would affect only your calendar of 0.1%.  Please keep in mind that these amounts of jitter are estimates and may be not accurate for your system.

    If your application must be very closely controlled, and you see higher levels of jitter that your system can support, there are steps to take to reduce jitter.  The best way is to use LabVIEW Real-time, but this option would probably a bit of review to implement.  I recommend just using a timed in LabVIEW for Windows hardware output operation.  Because the jitter occurs in the operating system, you can write your data to the physical buffer of your NOR-9265, where the sample clock will have no interference of Windows.  "To see the difference in hardware and software timed operation, launch the Finder for example OR by browsing in LabVIEW for Help" find examples.  "" "Then select hardware entry and exit" DAQmx "analog generation ' current.  You can see two examples, Gen Mult current updates-Int clock VI and Gen Mult current updates-SW Timed VI.  The main difference between these two screws is the use of the VI DAQmx Timing for timing of setting material being controlled.  More information on the implementation of operations of timed material are available here: http://www.ni.com/white-paper/2835/en#toc5

    I hope you find this information useful.  If you are concerned with the jig in your system and need an easy way to measure and control, you might also look at using the NI LabVIEW Jitter analysis tools.  Good luck with your application.

    Concerning

  • Last time I updated my iOS (in El Capitan) it completely wipe my computer. Which will happen again if I switch to the Sierra?

    When I updated my computer last time, it wipe completely all of my files. Which happen if I update to Sierra?

    It didn't wipe my Macbook Air, the upgrade of El Capitan in Sierra. Also, just a note, iOS is the mobile operating system for iPhone and iPad, OS X is for Mac.

  • That's why every time you update firefox move you around?

    I am visually blind, is not easy for me to see the icons and exactly what the designated person. I have been using Firefox for several years and am satisfied with it most of the time. However, I noticed a pretty boring thing that occurs periodically when you make a major change in the browser.

    You change where it must look to find things that were easily found before.

    An excellent example of what has happened with the move to 29.1 I believe.

    Now, the back button, which was in the upper left corner of the page is perfectly nestled at the edge of the window when the URL is selected.

    I think that you have just added new icons to the left of the back button, but I don't know if they were there before, but in a different place. In any case, as someone who has trouble seeing exactly what each icon represents and therefore depends on memorize what they do and where they are on a page, I find it very annoying to have to relearn the browser whenever you make a major update.

    I also find that with each new 'improvement' different browsers get more complicated and inflated. Firefox has been my browser of choice for quite awhile, but frankly, I lean towards the use of Chrome, as I now have to learn a whole new way to use Firefox, I thought that I might as well get used to Chrome up to pull the same thing you just did people, and I have to start all over again.

    I just watched the add on that your suggested here and this page tells me nothing I could put the user interface to the way it was before you "improved" my experience. Honestly, I don't understand the reason to arbitrarily change the way something of a user is used to treat when new updates are sent.
    Thank you for allowing me to vent.
    Radiorancher

    Thanks for the reply.

    I actually found a way to work around the problem, and I'll it set out here for anyone who might have the problem.
    Open the menu at the top right and then at the bottom of the menu open customize.
    Once using customize, you can drag the icons that are clinging to the left of the back button and place it everywhere where you want. I'm sorry that I didn't try it before I get all upset and denounced.

    Thanks for your help.

    It might be a good idea to inform your customers what changes are made and the possible ways to help them get used to the new line up, so it's not just thrust upon us unawares. Microsoft and many others don't, "we have improved your experience" and doesn't give us any warning whatsoever.

    RadioRancher

  • How many times will update Firefox?

    I'm not online every day or even every week. I seems to me that my Firefox is updated quite frequently. Is this normal? Must my Firefox be updated more than once or twice a year? I confess that I did not keep a record of the number of times or dates, it had to be updated. It just seems this is quite common, and I have not noticed any differences. This isn't a problem, it's just a question.

    Every SIX weeks, firefox release the new version.

    To learn more

  • Pages crashing all the time after updating the OS 10.11.3

    Hello, I have problems with Pages crashing since I received the update OS X El Capitan (10.11.3). Common problems are:

    • Pages could open documents with considerable delays: when I double click on a file, it may take up to 20 seconds before opening the document (at the same time, the only thing running is 2 tabs in Safari with non-intensive websites like Wikipedia);
    • Pages would not open to all documents: sometimes it refuses to open my documents either. When I choose for example a document on the 'Recent' via dock icon Pages list it will not launch it. If I wait for awhile and just click the Pages icon, hoping that it will be launched the document in the background, he brings just to the top of the window with the models as if I wanted to open a new document.
    • 'Missing font"all the time: I did not the latest changes to my fonts, but when I opened a document originally created in Pages (and not a converted copy of an old Word document) it always gives an error message "missing fonts" - particularly associated with Microsoft fonts. I downloaded and installed Cambria and Calibri manually and it fixed the problem... for about 8 hours, then he started again.
    • Beach ball rotation of death during the execution of simple operations: it's exasperating, but every now and then when trying to type or text in bold (and similar), the beach of death ball will appear, making the Pages does not.
    • Crashing before loading the same: when I force quit the app because it did not and then I try to run again, often they no longer again before loading the same. What the...?
    • Impossible to duplicate documents: at one time I thought that it is a certain file at the origin of all evil, so I tried it duplicate several times - which of course caused Pages to plant again and again. Same thing happened when I tried with other files.

    I had a similar problem before and it was fixed to restore the default fonts and removing duplicates in the FontBook app, but unfortunately it did not this time.

    I don't know what is wrong or why. It was working OK just a couple of days. Anyone else have similar experiences with it? Looks like Apple may not come out with an update that doesn't break the workflow of the people. But yay, more emoticons and pictures Live Webcam on the way!

    Because my Pages on El Capitan 10.11.3 v5.6.1 works very well with any of your questions, I believe that it is not Pages, but something out of Pages in your environment operating system as a cache of corrupt police, duplicate fonts, or damaged preferences file. Perhaps it is that you are too many applications running for your memory availability and Pages of hunger. All in due time.

    Let's start with a secure boot that will clear the system and local caches, rebuild the database of the police and then see if it stabilizes your use of the Pages.

    Secure boot

    1. Shut down your Mac.
    2. Press the power button and immediately press on and hold down the SHIFT key until you see the horizontal progress bar. I usually wait until it's an inch along before I release the SHIFT key. Personal touch.
    3. You will arrive at a login window. In the upper right screen, you'll see Safe Boot in red letters.
      1. After you type your password, stop, then press and hold the SHIFT key again once, before you click on the right arrow to open a session.
      2. Continue to hold the SHIFT key until your painting of icons on the desktop.
      3. Because many drivers are not loaded, graphics performance is not optimal, and may feel morose.
    4. Test Pages in startup mode to see if the problems have disappeared.
    5. Restart normally.
    6. Start Pages and open a document.

    Previous post the results of step 4 and 6. Have what improvements (if any) you noticed?

Maybe you are looking for