Continuous output DAQmx and queue software

Hello

I'm coming out of a digital waveform on a map of data acquisition using the internal clock. Now, I also store the waveform for later processing by using the exact time at which the wave was written. So I would get a rear wave form that lets me know what state my digital output was at one point.

Y at - it an option to do this?

Or, as an alternative, could I somehow synchronize the beginning of the output waveform to the DAQ card with a timed loop? Because I know that the waveform that is written, this loop could return for example of this waveform with the good "t0" for each iteration.

The code runs on a target-RT.

Background: I'm controlling one instrument that has no indication of its current state, but I would like to save its current state on the entry of order.

After some research, I realized that there is a VI 'DAQmx create calendar Source' that returns a source calendar synchronized to the clock of the task DAQmx sampling. This source of synchronization can be used as a source of synchronization for a timed loop. There is here an example for this:

https://decibel.NI.com/content/docs/doc-25763

Unfortunately, I realized that my digital I/O hardware has no timing hardware capabilities so too, this does not work for me and I stick to a software solution that is timed.

Tags: NI Software

Similar Questions

  • DAQmx: set up a digital acquisition continues with start and stop trigger

    Hi all

    I write because I can not find a solution to my problem.

    As written in the title, I just want to do an continuous (continuous sampling) a digital line. The fact that it's a digital line instead of an analog is no big deal, I guess. I want to start the acquisition on a rising edge of digital trigger (PFI0 for example) and stop acquisition on a trigger too (forehead down on the same signal (PFI0 even then) or a new front amount). This way I could precisely control the time of acquisition or of the start or stop other devices.

    Since this is a digital acquisition, you need to do first "something": create a fictitious analog input task and get the clock back to the digital input. I setting this analogue of the task to start on a trigger. It works but I can't find a way to stop it on another trigger.

    Do u hav no idea how to implement it?

    Finally I have not found an easy way to break cautiously the VI to wait for a trigger (in case you want to start an acquisition with different settings for example). Do you use the task to Abort or is it better to set a deadline to playback digital channel VI until the outbreak occurs?

    Any help would be appreciated!

    Thank you

    Config: LV 2010, latest version Daqmx and USB card or 6251.

    Hi Chris,

    One way is to use counters as Kevin described. For me, it's usually easier to create the dummy task that has the timing engine (as I HAVE), but it depends on what resource you have on your board you will not need .

    In fact, the example is the same thing that you need to measure continues - just what you need to do is remove the counter part and replace the trigger reference to be external (your stop trigger).

    with this approach, you should be able to do the continuous measurement - I noticed that you need DI - in fact with few changes you should be able to use this example. DI does not have its own timing engine, that's why you should use the external sample clock. If we use the example to create dummy HAVE to provide the sample clock, and we start DI task until we start to HAVE fake, then we can get pretty much continuous clock which begins start trigger and stop the trigger of reference.

    Take a look in the change - once again, I have not tested, but logic seems to be OK.

    with sincere friendships.

    s9ali

  • My iPad continues the search of updated software and does

    MY iPad has not been updated to 9.3.  When I try to update, it continues the search and goes no further.  What can I do to fix this problem and update my iPad.

    Thank you for your help.

    Using a very good wifi network?

    You are connected to your Apple ID to settings > iTunes and App Store?

    You have switched countries along the way that you bought your iPad?

  • Compatibility DAQmx and NOT USB-8451

    NEITHER USB-8451 is compatible with NOR-DAQmx?

    The USB-8451 housing does not NOR-DAQmx; It uses a separate driver and API (OR-845 x; ( the latest version is 2.0).

    It is compatible in the sense that you might have OR-DAQmx and NOR-845 x installed at the same time, because they are two independent pieces of software. It is not compatible in the sense that you cannot use the USB-8451 with the API OR-DAQmx case.

  • Generate a continuous output of square wave with E Series DAQ cards

    Hello

    I use a card DAQ-AT-MIO-16XE-50 and labview 6.1 to generate the frequency divider. The first thing I want to do is to enter a continuous digital signal into the program so I can divide it. The attachment is the program I use. It's pretty simple, just read the output signal and put them all in a while loop to get a continuous pulse. But when I want to observe the waveform on the oscilloscope, I got some square waves unregular.

    I'm a freshmen in labview. It will be appreciated for all her help!

    Hello

    If you are just getting started with digital i/o with traditional DAQ, I'd take a peek at some examples to see how to structure your code for both input and output.  There is one here (http://zone.ni.com/devzone/cda/epd/p/id/1113) which should give some features similar to what you are looking for, but if you want more examples, you can navigate to the examples as a result of the article here (http://digital.ni.com/public.nsf/allkb/46D0C7360A10D25F862571B5007B4411), as long as you have installed them with traditional DAQ.

  • DAqmx and IMAQ pallets do not appear in my palettes of LabVIEW 2011

    Hello

    I use LabVIEW to my University via a Campus license since 2005. I installed it on several computers.

    My problem is related to a new LabVIEW installation on a brand new computer.

    I have the license Site LAbVIEW 2011 Academic just installed and validated (via the License Manager) in this new machine running 64-bit Windows Seven.

    [I also installed the DAQmx and the "distribution of February 2011" IMAQ drivers (downloaded from OR) as well as the NI Vision Software (version for LabVIEW 2011, the same distribution as the LabVIEW 2011).]

    I launched LabVIEW Ant checked to see if everything was there, specifically the DAQmx and IMAQ functions, since I have the cards OR to make the acquisition of data and images. Note that I have not yet installed these cards in the PC. I m going to do only when I would have ensured that all the software is ok.

    The subpalette DAQmx in measurement of i/o functions palette is missing.

    Also, if I'm looking for the NI-IMAQ subpalettes in the range of Vision and movement functions they also lack.

    Notice that all other subpalettes in the range of functions of Vision and movement are OK and there appear (utility of Vision, Image Processing, Machine Vision, and Vision Express).

    Then, I checked if the installed drivers are really there. For this I used the MAX or (measure explore), and it looks like it all everything is there.

    I mean, under NI MAX > my system > software I can see these articles:

    NEITHER Vision TERM 2011

    NOR-IMAQ 4.5

    NOR-DAQmx... several entries

    I checked if the forum or knowledge base in NOR have any clue on what to do, and I found somewhere by the idea of trying to fix the installation via the Windows 7 Control Panel > programs and resources > OR software.  I did this procedure twice, just in case...

    I also tried to remove and reinstall all software (including drivers) and NO, I did it twice. The result is always the same.

    Any suggestions?

    When you install the drivers, you include support for LabVIEW 2011?  If this isn't the case, you won't see the LabVIEW screw in your palettes even if the software is installed.  Normally I expect that the Setup program automatically adds this support, but he can't do it, especially if you have installed the drivers before installing LabVIEW.  See the image below:

  • 6009 outputs digital and analog input synchronization

    Hello

    I work in a program NI 6009. I want to leds by car with outputs digital NI 6009. For example, leads first will be on until what 200 micro seconds then second led will be on up to 200 micro seconds, and then first of all led will be on up to 200 micro seconds. I'll take led with photodedector signals and connect analog output photodedector input NI 6009. I want to synchronize the outputs digital and analog input and separate the first and second led signals the analog input for NI 6009 channel. How can you do with NI 6009? Please ADV

    You can not do with the USB-6009 case. Its outputs digital are software with a maximum speed of slightly more than 100 samples per second. The outputs can produce 200 microsecond pulses and cannot be synchronized with the analog input.

    You need a device with outputs digital hardware timed or counters that can produce a pulse outputs.

    You can synchronize a bit digital output and analog input recording signal on an additional channel to HAVE. Will allow you to see the photodetector and LED the drive with the same schedule and such resolution as described by the sampling rate I. The maximum sampling frequency of AI on the USB-6009 case is 48 kHz that is shared by all channels. If you have two lights to led and photodetector two signals maximum sampling rate would be 48 kHz/4 = 6 kHz which is barely fast enough for your 200 US signals. For more than 4 channels, it won't be fast enough.

    I suggest a simple oscillator circuit building and use it to clock a flip flop. This will give you alternating signals to drive the LEDs. You can use a line to reset the flip flop to give you control without the need for high speed.

    Lynn

  • DAQmx and PDM not always work

    Hello

    I am new to the DAQmx and PDM vi and I'm hoping someone can help me. The attached code contains several structures of matter, but only one of them has the DAQmx and PDM vi running through them. My intention is to record the output voltage of two photo-recepteurs that I scan the current in a diode laser controller.  When I run this code that it does not always record the values while I'm scanning and when I leave the TDMS files viewer program will show me no data. Sometimes, but rarely, he will show me some data. The sequence stacked within the structure of case is code that runs the laser controller and a couple of translational mounts. The DAQmx and PDM vi who must save the data are right next to that.

    Thank you!

    I have it! All I had to do was move the vi DAQmx Start Task in the Structure box.

    But, I still don't know if I should have analog 1 D wave or analog DBL 2D. Who does?

  • Is it ok to uninstall/remove the XP in 2001 and 2005 software updates?

    Is it ok to uninstall/remove the XP in 2001 and 2005 software updates? I have a whole list of updates over the years. Should I just keep piling up? Or they build with each other?

    Original title: is it ok to uninstall/remove the XP software updates from 2001 to 2005? I have a whole list of updates over the years. Should I just keep piling up? Or they build with each other?

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-files/can-i-delete-over-100-foldersfiles-with-a-name/dfa16261-f3d0-4ab7-b519-91631b44b3de

    You can create more free space in C in carrying one of the measures suggested below.

    The default allocation for the restoration of the system is 12% on your C partition is more generous.

    I have them would be reduced by 700 MB.

    Make my computer right click on your icon, and select System Restore.

    Place the cursor on your C drive select settings but this time find the slider and drag it to the left until it shows 700 MB and output.

    When you get to the settings screen, click on apply and OK and leave.

    A flaw that might be useless which is for temporary internet files, especially if you keep no copies on the disk offline.

    Setting the default value is 3% of the walk.

    Depending on your attitude to copies offline, you could bring it to 1% or 2%.

    In Internet Explorer, select Tools, Internet Options, general, temporary Internet files, settings to make the change.

    At the same time, look at the number of days, the story stands.

    The default allocation for the basket is 10% of the disk.

    Change to 5%, which should be enough.

    In Windows Explorer hover over your Recycle Bin, right click and select Properties, Global and move the slider from 10% to 5%.

    However, try to let you become so complete that if it is complete and you delete a file by mistake it will bypass the Recycle Bin and have gone forever.

    If your drive is formatted as NTFS another potential gain arises with your operating system on your C drive.

    In the Windows directory of your C partition you will some uninstall files in your Windows folder in general: $NtServicePackUninstall$ and $NtUninstallKB282010$ etc.

    These files can be compressed or not compressed.

    If compressed text the name of the folder appears in blue.

    If not compressed you can compress.

    Right-click on each folder and select Properties, general, advanced, and check the box before you compress contents to save disk space.

    On the general tab, you can see the winning amount by deducting the size on disk size. File compression is only an option on an NTFS formatted disk partition / partition.

    Select Start, all programs, accessories, System Tools, system information, Tools, Dr. Watson, and make sure the box in front of "Add to the existing rating" is NOT checked.

    This means that the next time that the log is written it will crush rather than adding to the existing file.

    The setting of maximum size by default for Event Viewer logs is too big.

    Reset the maximum value for each log from 512 KB to 128 KB and set it to crush.

    http://support.Microsoft.com/kb/308427/en-us>

    Select Start, all programs, accessories, System Tools, disk cleanup to empty your trash and delete temporary Internet files.

    Also select Start, all programs, accessories, System Tools, disk cleanup, more Options, System Restore and delete all but the last system restore point. Run Disk Defragmenter.

    --

    I quote Gerry C J Cornell - a regular contributor here

    UTC/GMT is 21:33 Tuesday, April 17, 2012

  • Vista Anti-Spyware continues to operate and has only browse to an Internet Explorer upgrade.

    We have recently installed McAfee Anti-virus on our computer.  Vista Anti-Spyware continues to operate and has only browse to an Internet Explorer upgrade.

    How can I make the default antivirus McAfee for computer and remove Vista Anti-Spyware?  It is not in my software to uninstall.

    Thank you

    Sarah

    Sarah;

    Your system is infected with a rogue security application.  Use these instructions to remove it:

    http://www.bleepingcomputer.com/virus-removal/remove-win-7-Internet-Security-2011

    If you had a legitimate anti-virus installed before McAfee, did you remove it with a removal tool specialized Publisher of this previous anti-virus before installing McAfee?  Inability to completely remove previously installed security real-time applications can cause performance problems, system instability and even reduced the new facilities of security features.

  • I accidentally uninstalled my audio output device, and now can't hear the audio.

    I acidently uninstalled my audio output device and now can not hear any audio... How can I find out how to go back and install again?

    Original title: Audio issues please help fast!

    Hello

    Going either on your computer or sound card (if you have installed a sound card) manufacturer's Web site > get a drivers and software download Section > put in your computer or sound card model number and operating system > Search Audio, etc drivers for it > download and install.

    Or do a system restore to before the problem of Audio that's happened:

    http://Windows.Microsoft.com/en-us/Windows7/products/features/system-restore

    See you soon.

  • I use a Mac 10.5.8 and your software says it must be compatible with 10.5, but he says it's not compatible with my operating system. Why?

    I use a Mac 10.5.8 and your software says it must be compatible with 10.5, but he says it's not compatible with my operating system. Why?

    10.5.8 it is compatible with firefox only with Intel see 10.0:

    http://www.Mozilla.org/en-us/Firefox/10.0/system-requirements/

    for your ppc mac, the most recent is the version that you have 3.6.26 see:

    http://www.Mozilla.org/en-us/Firefox/3.6/system-requirements/

    Thank you

    Please check 'Resolved' the answer really solve the problem, to help others with a similar problem.

  • everytime I open my macbook it asks me to "Enter your password to continue using iCloud" and even when I enter the password, it is as it badly and within 5 seconds asking me to type it in again... What do I do?

    everytime I open my macbook it asks me to "Enter your password to continue using iCloud" and even when I enter the password, it is as it badly and within 5 seconds asking me to type it in again... What do I do?

    The iCloud in system preferences pane shows that you are connected?

  • My ENVY 17-j092nr Notebook PC flicks or vibrates randomly on the log screen Windows and other software

    Im a pc user ENVY 17-j092nr Notebook PC (windows 8.1 with all the drivers) and the OS updates works very well, however sometimes im getting an annoying error that allows windows vibrates like crazy, the problem is a little weird to explain, it makes the BAR on explorer.exe folder flick and other executives 'content' of several software Firefox for example the top bar which is orange starts helpeless flick, or in vlc, it even move, and then the worst on the windows log screen, which makes my movies quick photo from the left to the centre several times per second, making it impossible to write any Password and its annoying when especilly simple pass off work (problem happens very often, but I'm not complaining here).

    The thing I've tried:

    -Change of mouse and video installation, screen, mouse and other dirvers in addition to their update.

    -With the help of build of Windows and external software trouble and repair ultilities.

    Updtading - OS (why? dk but I tried alternatives).

    -Electricity disconnection when this occurs (as sugested in other forums), did not work.

    -Clean the fan and avoiding any external particle on the laser mouse.

    Well well, not that im complaining about the laptop, which work very well over a budget, like it, it's just that the error which bug my HP to be good (if not perfect) experience, please someone help on this im looking forward to HP service work to help me fix this problem for good, is really annoying, especially when you try logging thx.

    I'm not Dunidar thank you for you time to grow another, I opened the cover of portable and yes I found a few in there, dead ants cleaned that upward I don't mind much about warranty or anything like that in any case thank you for your attention, you did a wonderful job help here , the problem has not demonstrated again the science I did it this morning so I think the ants where to do this kind of electric bridge I guess I DK much to this topic but, once again, thx for you excellent support cheers.

  • Lenovo s820 features calendar and converter software

    I can't find calendar and converter software features. They are not in the tools.

    In the tools, I have calculator, recorder, clock, flashlight and radio.

    Someone know where I can find calendar and converter? My phone has 4.2.2 android viberom.

    The converter is not available by default, you should use a 3rd party application, the calendar should be there. And the ROM you are using is old the most recent available is 1411 which is 4.3 android

Maybe you are looking for

  • HP-P7-1233W: updated GPU on a P7-1233w HP

    Ive got a HP P7-1233W that I wanted to date. So ive installed a new 500W PSU and a MSI Radeon R9 280 / 3GB GPU. The problem Im having is that whenever I install the drivers from the included disk and shut down the computer and plug the new GPU, the c

  • XP Home Edition - Remote desktop

    I know that this isn't a feature with this particular operating system, but everyone was able to make it work? Use remote to access corporate internal terminal server desktop.  Do I have any options?

  • Transfer and insertion of images in the Windows Live Mail client

    I use Windows Live Mail to manage my email.   When I want to send or forward an email containing images WLM wants to put the photos in a slide show that almost always completely destroyed the tone, intent, impact, or creates a new message that is ine

  • U2713HM high pitch noise

    Hi, I just got a U2713HM monitor, and every time open a full page of full-screen text, the monitor makes high hum ground. When I close the full page of the text, the snoring stops. The same problem seems to be documented here, but without any solutio

  • 4 x WAP4410N VLAN for guest network

    Hi there everyone, You want to have a problem of my resolved.  I am running 4 x WAP4410N access points configured with one corporate ssid with WPA2 Enterprise authentication that points to a server in network access protection.  What I'm trying to do