Outbreak of the AO tasks with digital triggering

I'm triggering an analog using a digital triggering (PFI0) task on a NOR-6343 (USB), but don't see the behavior desired of my VI (see screenshot).

* When I shoot digital triggering (digitalTrigger = False), the AO signals appear planned (except that... they do not fire).

* When I turn on the trigger (digitalTrigger = True), however, there is no signal on the channels of the AO.

* I tried two different sources: PFI0 and the clock internal (set both rising edge). For the PFI0 channel, I connected a function with a wave generator square 5 v (the PFI0 had a slow rise... time "I think I could solve this problem by adding a small circuit of buffering). However, I expect it should work correctly using the internal clock as a trigger.

What's wrong with my code / setup?

A few follow-up questions:

* This will trigger the installation program not start indicator AO once? Or the trigger will cause the task to start whenever the finished AO signal and the trigger goes high? (I wish that it behaves like the latter)
* Just to check: the response rate of the AO task to the digital trigger should be of the order of 1 MHz?

Hello kllurie,

What do you use the trigger for? The way you have the task to put in place now, it will run continuously until you press the STOP button and ignore any input trigger. If you want to be able to have the task to complete and start over with a digital triggering, you make the task two finishes and Retriggerable. You can configure the task to be finished by replacing the constant continuous samples on the Timing.vi with finished samples and giving him a number of samples to be taken before stopping. Then you can do the task Retriggerable using the property trigger DAQmx node and choosing Start > more > Retriggerable sometime before the Start.vi.

As to what it should be used as your relaxation, you'll want something with a fast rise time (so that it is detected as a numerical advantage) and is not as fast as the sample clock. If you use the sample as your trigger clock, there would be essentially no difference between your redeclenchables task and a continuous. It would end the collection of samples and then immediately redeclenchee.

Let me know if that answers your questions!

Tags: NI Software

Similar Questions

  • the analog inputs with digital edge trigger

    I am currently triggering a readout with a digital trigger using a 0 - 5v as the digital source encoder.  I am running LV 8.2.1 DAQmx 9.0 and a PCI-6259.  I use a VI I wrote and which is very similar to 'Acq & chart voltage-Ext Clk.vi', and using the one-pulse encoder connected to PFI8 as the clock source for the sample clock vi.  The only major difference is using the channel of the Z-trigger as a software reset inside the While loop with the DAQmx reading.  Currently, the sample clock doesn't allow that either read the lower edge or an increase of PFI8, so I get a sample by one-pulse.

    I need to double the rate of analog playback for a given tree rpm and encode them, so I need to read on the fronts and edges of the one-pulse encoder.  The sample clock can be reconfigured for the detection of changes and still read the PFI8 port to increase and decrease as inputs of physical channel, or do I have to configure detection of modification of the task/digital input for a single line and use the "ChangeDetectionEvent" as the source for the sample clock HAVE? Detection of Timing/change DAQmx can still use the signal in PFI8, or should I use DI ports, and which ports are DI should I use?

    Thanks in advance!

    In fact P0.8 is.  I was looking at the pinout for the 6251, no 6259.  Sorry about that.

  • Generate the AO with digital triggering

    Hello, I have a problem, generate a continuous waveform (custom channels multlisample) when a TTL - as 5V 0V trigger is applied to PFI0. The problem is that synchronization source is running continuously, when the digital voltage line is connected I don't have to keep a single waveform sent, as opposed to a regeneration of the same waveform.

    I have worked with some conditional loops, but nothing works, is there a solution that can provide two triggers (one for a pulse train) and then for the digital falling edge (on 0V) which can allow the regeneration of the writing of the AO?

    Thank you

    DB.

    Hey DB,.

    I recommend using a pause trigger.  This will allow you to exit when a certain level of TTL is high (or low) and not when the opposite is true.  Here is an example that illustrates the break trigger using property DAQmx nodes.

    You need to change the time by continuous for this example sample clock, but also to change the data to be written to fit your application.

    You can leave the writing of the initial value in the analog output channel if you wish, or you can delete the original entry, start and stop functions DAQmx.  Either will work.

    Best,

  • Triggers the analogue output with PCI-4461

    Hello

    I'm trying to generate a signal of analog output triggered with a card PCI-4461. First I tried to use the feature OR DAQmx 'start analog edge' with the way analog input AI0 as the source and the channel analog output AO0 as task. After it gave an error that I tried to use the NI DAQmx 'start digital dashboard' function with PCI0 as source and channel of analog output AO0 as task. It ran, but did not produce any output. Now I wonder if I can use the trigger analog or digital of the PCI-4461 to all of the output.

    Thanks for support you,

    Pribislav

    Pribislav salvation,

    you still have this problem? I did exactly the same configuration (power play) and it works fine on my system. The PCI-4461 does not support analog triggering, that's why this error occurs.

    Kind regards

    Michaud

  • generate a digital triggering out CH1 (low and high) for the USB-5133

    Hello

    I would like to generate a digital triggering on the USB 5133 CH1, is this possible?  I tried with the PFI 1 successfully but the output is only 3.5 v and I need to 5V, because this trigger signal goes to a box of pulse generates a signal, which is received by the CH0 on the USB-5133. This configuration works on the 5102 OR but because of the treatment, I am obliged to try a new device.

    Channel 0 and 1 are only entries then you will not be able to use them to generate a signal.  All of our products current digitizer that are recommended for new designs use 3.3V CMOS logic levels for PFI lines in output mode.  Your best bet to generate a digital triggering 5V would be to use an external buffer that can accept 3.3V CMOS levels as an input, but is under voltage of 5V.  Here are some that might work for you, but there are many others: http://www.onsemi.com/PowerSolutions/product.do?id=M74VHC1GT126DT1G adding a buffer in line with the trigger signal will add delay, so you will need to ensure that it is acceptable for your application.

    Hope this helps,

    -Matt

  • Acquisition of data & MDI - Exception after the closure of the MDI child with execution of the task-Daq

    Hello

    while I make my first steps with Measurement Studio and c# in Visual Studio 2008, I tried to close an MDI child with a running task Daq breast. This throws an exception because the task has already been deleted. So, how can I avoid this?

    THX, Peter

    Hi Peter,.

    Sorry for the delay.

    It is normal behavior when the DAQmx task is still running.

    You must stop/clear the task before closing the window. It's especially good style to work with only one user interface / window.

    I hope this helps.

    Kind regards

    N. Ralf

    BTW:

    A good starting point are the DAQmx-examples:

    Where can I find examples of NOR-DAQmx?
    http://digital.NI.com/public.nsf/allkb/E3BAF6FC4017960B8625755A00525D37?OpenDocument

    Measurement Studio installed NOR-DAQmx examples
    http://digital.NI.com/public.nsf/allkb/52F5F5EF78AF084286256E0B007FE793?OpenDocument

  • Several channels with the launch of unique digital dashboard

    I have a simple vi where the two analog channels is read in and stored simultaneously in a file of lvm and plotted on a graph of a waveform. I need a numerical advantage to post trigger data for both channels.

    I can get this vi to work with one analog channel and the onset of digital edge very well.

    When I remove the digital edge trigger, I can get the vi to work with two analog channels. The two signals of ground on a waveform graph and record nicely in the file of lvm.

    The question is how do I set up the digital triggering (see table).  The program never enters the while loop. Where I'm going wrong?

    Chassis: cDAQ-9172

    Analog card: NI 9205 (Source PFI0 the shutter button)

    LabView: 8.6

    OS: Windows XP


  • Programming of the event with digital I/o

    A Structure of the event can be used with digital I/o?  All the examples I've seen show the Structure of the event used with the keyboard or the mouse.  But have not found many examples showing the Structure of event used with digital input.  I'm mainly looking for a link to an example. But you can provide any help will be appreciated.

    Howard.

    Yes, you can register events DAQmx.  Look in the IO position-> data DAQmx-> Advanced-> palette of events acquisition DAQmx to start, or search for events DAQmx.  All DAQmx devices support events of change detection, which is probably what you want if you have the digital I/o, in order to verify that it is supported by your device.

  • Will be performing tasks VISA with a data acquisition (Dev1) in a VI block tasks with the second DAQ (Dev2) VISA in a second VI?

    Hi all

    I have two functional screw a loop a set of read and write tasks with device 1 (NI USB-6008).  The second loop a set of writing with device 2 (another NI USB-6008) tasks.  2 VI has a massively slower than VI 1 time scale, which means that it must run in a separate loop.  Otherwise, VI 2 was created by copying and modifying 1 VI and variable names actions with him (though not, for example, global variables).  The two screws are meant to run at the same time on the same PC.

    However, if VI 1 is running at the same time as VI 2, any read operations or in writing to 1 VI 1 device are executed - but the VISA read and write operations to a serial device work.  When VI 2, all VI 1 functions work fine.

    Although I configured channels for tasks using the GUI DAQmx, I execute tasks using reading DAQmx write commands and have correctly defined the task 'create' and 'stop the task' live out the beginning and the end of my loop, respectively.

    Does anyone have suggestions for what could be the cause?  My thoughts so far:

    a. maybe it's some conflicts in the names of variables in memory between the two screws?

    b. LabVIEW for some reason any cannot read and write two devices on two separate screws?

    should c. I avoid to use DAQmx to configure these tasks (a sort of memory)?

    I know I can make it work if I have all together in a single massive VI, but for my application, it is much easier and better to do them in two separate screws.

    Thank you in advance for your help!

    In case anyone wondered, I found the solution:

    When I copied the original code for a new VI, it turns out that the structures of loop timed in the new VI had the same object name in the delivery structure of LabVIEW as timed in the original VI loop structures.  This prevents effectively regardless of the VI was executed the second execution of the timed loop.  (The serial number read/write suite to work because he was in a different timed loop.)

    I found this error when I ran the VI in execution of highlight mode and noticed that the output of 'error' on the timed loop flashed.  When I plugged it on my error stream, I found error-808, which explains the above problem.

    I have it set by right-clicking on the timed loop, change to a while loop, then change to a timed loop and plug the broken wires.  LabVIEW gave the new timed loop object a new name, and all was well in the universe.

  • Exception on the creation of a second task with Analog channels?

    I'm getting an exception '{error =-50103 = "is reserved for the resource specified. The operation could not be performed as specified.\n\nTask name: _unnamedTask<5>\n\nStatus Code:-50103 "} ' when I call Control(..Commit) on a task with Analog channels, I just created."

    At the time of creation, I have another task set and running in the "we demand" move that uses another set of analogue channels in the same card to acquisition of data (NI6229).

    Is there a limitation on the number of tasks that can use analog in the channels of a single card?

    Thank you

    Go Paul

    Because the analog inputs share a unique clock, you can have only one task running. You can have as many channels as you want in a single analog input task, however.

  • Redeclenchables waveforms with the outbreak of the external stop

    This is my first question on the forum, please bear with me...

    I have a crate PXI with three cards Series DAQ NI X SMU-6341. I have searched the forums and the standard examples of Labview, trying to learn how to do the following, but I'm a little hard. We have a controller of programmable engine which will continuously sweep a rotation axis and emit a TTL of pulses each degrees X to synchronize data acquisition. I need samples from several channels simultaneously Records: encoders quadrature, counters for a couple of external V2Fs, some simple tension. I am using Labview-13, 0 to do the following:

    (1) start a life-long that samples across channels in a frequency (say 100-1000 Hz). The samples must be synchronized, changes in the calendar because of multiplexing are not a concern.

    (2) receives the signal TTL of motion control causes the series of data for each channel to be stored in memory or file, starts the next continuous acquisition

    (3) repeat (2) until data sets have been acquired, or acquisition is interrupted

    Could someone please offer advice? Y at - it I can provide additional information?

    Thank you

    Darren

    I think that the behavior you're seeing can be attributed to the implicit Instance of Timing.vi DAQmx for your special frequency pulse output counter. Leaving the sample entry empty Mode you have left in the default configuration for a generation finished that work generate 1000 impulses. Also good grip on the DAQmx Task.vi start, in my haste, I forgot to include this feature.

    Kind regards

    Izzy O.

  • When you use Excel or my Peachtree Accounting program, entered digital as "$152(32 in the accounting package or the same number with a square symbol as the decimal point in Excel.)". No idea what I should check first?

    When you use Excel or my Peachtree Accounting program, entered digital as "$152(32 in the accounting package or the same number with a square symbol as the decimal point in Excel.)".  No idea what I should check first?

    Thank you for visiting the website of Microsoft Windows Vista Community. The question you have posted is related to Office Excel and would be better suited to the office community. Please visit the link below to find a community that will support what ask you

    http://www.Microsoft.com/Office/Community/en-us/default.mspx?d=1

    Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Can I run a service at regular intervals with the Windows Task Scheduler?

    Hai...

    I want to run a service on a regular basis. I was thinking about tasks windows schedular system. I want to know if it is possible to define the intervals of time explicitly windows Task Scheduler. I also want to know if we can choose a custom event if selected the option "when an event is logged. Your help will be very appreciated. Thanks in advance

    Hi SreedeviB,

    You can run a service at regular intervals with the Windows Task Scheduler.

    For more information, you can consult the following articles:

    Windows Vista Task Scheduler

    Schedule a task

    Automate tasks with Task Scheduler

    Hope this information is useful.

  • How can I access MSN with digital images and records of the captain.

    How can I downloan on vist MSA workikng with digital camera

    I HAVE VISTA PACK 2... How DO to DOWNLOAD or ACCESS MSN WORKS WITH DIGITAL PHOTOS AND WORKING WITH PIX FILES? JMCULPEPPER

    Hello

    For the different Forums for Windows Live Applications, select the link below

    Welcome to Windows Live Solution Center

    http://windowslivehelp.com/

  • Periodically remove the registry keys with the Task Scheduler?

    I wonder if it is possible to create a batch script or similar small program to periodically delete the registry keys, specifically:

    [HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify]
    "PastIconsStream".

    [HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify]
    "IconStreams".

    A little history on why I want to do this:

    My computer is configured to dual boot (Vista and Fedora Linux), with a score of shared data.  I also use Dropbox for a group of records.  It complicates things with a system dual boot because the folder name is different in each system (vs My Dropbox Dropbox).  I worked around this by creating hubs and symbolic links in each operating system of 'real' folders to default Dropbox folders as appropriate.

    This works as expected. The only problem is that Windows Dropbox does not monitor files for changes and checks only when the program starts.  To work around this problem, I created a small script that kills Dropbox and scheduled to run every half hour using the Scheduler of tasks, followed by a task to start Dropbox.

    The only problem with this is that over time I find myself with hundreds of copies of the Dropbox icon in the status bar Notification area.  I found some instructions to reset the cache of the icon, which is to remove the two above mentioned registry keys and restart the Explorer.  So my question (finally!) is really about if there is a way to automatically reset it one or twice a day, rather than manually deleting the key each time that I remember.

    Of course, if there is a better/more way to deal with this, I'm happy to hear about it!

    Hi Mander,.

    Editing the registry, especially using a batch file and the Planner is, in my opinion, a little dangerous. After all, a bad move a your system registry key could easily be paralyzed.

    I don't really know if my suggestion would be to use or not, but it's worth a try. There is a (free) third-party application called CCleanerwww.ccleaner.com it effectively removes temporary internet files, history, cookies, index.dat file and a host of other things too. An option available in the "Advanced" tab Windows section is to clear the "tray notification cache. Do you think that this is likely to help solve your problem without needing to run a batch file? It's only a suggestion like the registry rated - is not my field, but, like I said the app will costs you nothing and it is certainly worth giving it a try. It can do what you want it to do. Just a suggestion!

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Desktop Experience: www.winuser.co.uk | vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com

Maybe you are looking for