Generate a single pulse on several channels of an external trigger high-speed DIO

Hello

I'm trying to implement a system using a PCIe-6535 b connected to a high speed of SMB-2163 DIO.  The system must be configured to work with a camera send a trigger (at the beginning of each show) to the PFI4 which in turn sends a single pulse on three digital output channels to lasers.  Each output has its own specific deadline and the width.  There is no counter on the SMB-2163, so I think I need to use Pulse Width Modulation (PWM).  I saw this example and adapted to my system:

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

However, when the source to enter the DAQmx VI of sample clock is set to PFI4 (instead of the on-board clock) to receive input from the camera, changes in behaviour.  The rate of sampling in the sample clock VI is ignored, and each element of the digital waveform is triggered.  I need the sequence to complete each after trigger.

I am attaching a quick diagram of the sequence.  Any suggestions on how I can get this kind of events triggered? (With the help of LabVIEW 2013)

Thank you

Mike

PLATES

The external signal must be configured as a trigger for digital startup rather than the sample clock.  I do not think the 6535 redeclenchables supports digital output, so you don't have to restart the task after receipt of each trigger (something like this, however you can improve performance by committing to the task by using the task of control DAQmx before entering the loop).

Best regards

Tags: NI Hardware

Similar Questions

  • How to generate a single pulse with DAQmx

    I need to generate a single pulse using DAQmx.  Many of the example of the AO screw blood generation using waveform (multi) .vi buffer generation.  This VI generates a + / amplitude.  I want that my pulse to go from zero to a positive amplitude.  How to achieve this?

    Thanks in advance.

    What amplitude and what pulse width?

    If you have found an example with regeneration, to get a unique waveform, you can disable the regeneration and just do a single entry.

  • How to generate a single pulse using PXI-4461 in Labview

    I need to generate a single positive pulse is 100ms using an OD on the PXI-4461 with DAQmx Labview

    I have trouble getting the exact time of the pulse.

    Help, please.

    Thank you.

    He works, see attached pattern obtained.

    Thanks to NI Applications Engineer ally Finney for example.

  • Generate trains of pulses overlap several

    I need to generate signals up to 8 TTL pulse, train up to 500 Hz with heavy duty from 0 to 100% open and close the valves with an accuracy of timing of 5 microseconds.  The pulse trains will be spread with equal delays and begin with a single trigger.

    i.e.: If you have a period of 40ms and 8 valves, there will be a 5ms delay between each pulse train early. Each will have the same duty cycle and the period.

    Trains of pulses must be performed simultaneously and stop when certain data criteria is met (the balance of the system state).

    My Questions:

    1 would be classified these as continuous or finite pulse trains?

    2 do I need to use a counter/timer (or 2) for each train of pulses or can it be coupled with digital output?

    3. what DAQ will have sufficient resources (counters/timers, DIO, etc.) to enable this work?

    Thank you

    1 continues.  The idea of pulse trains finished is to predefine * precisely * how many cycles to generate.  You will make assessments based on the software to decide whether to stop the pulse trains, but you will not be able to predict when this will happen in advance.

    2. all things being equal (and it's not often), I could certainly do that with counters.  You can easily reach the accuracy of your calendar and let the data acq hw do all the work.  DIO can be an option, but it could prove to be a pain in the neck to set the output buffer to handle delays including and precision, you need.

    3. I'd go with an oldie but goodie, the PCI-6602.   It has 8 available counters, as well as a little extra DIO.

    -Kevin P

  • Generate a single pulse in response to an external trigger

    Hello

    I have a PXI-5412 arbitrary signal generator, a simultaneous sampler PXI-6115 and PXI-6652 synchronization module. I would like to the PXI-5412 to produce a square pulse and PXI-6115 to acquire a set of data in response to a digital triggering module. (In the future I might want to generate a slightly more complex Wavelet, but for now a square pulse will do).

    I used This example as my reference. So far, I used successfully OR Sync to initiate through DAQmx data acquisition when arrives the trigger. However, I can't do the same thing with the generation of pulses. I've been able to get NOR-FGEN to produce continuous square waves, no simple impulses.

    The-OR-FGEN Arbitrary Waveform Generator VI Express lets me select finishes generation Mode. How can I configure the same screws no express?

    While we are at it, is there a better way to accomplish my synchronization the procedure I described (DAQmx, NOR-Sync + NI - FGEN)?

    Thank you!

    You can get this set as a single trigger mode. You could also learn how to express VI which make a right click on it > open Frontpanel.

  • How to parse the input data of several channels simultaneously via an NI USB-6251 box by use of a single DAQ Assistant?

    I did separate VI for reading signals from several channels on a map of NI USB-6251.  I would like to combine these in a VI VI alone so that they can run that at the same time, however, there is an error if there is more that a single DAQ Assistant in the same--> error-50103 VI was held at DAQmx controls Task.vi:32 (the specified resource is reserved. The operation could not be performed as indicated.)

    All the inputs of channel must then be read in with a single DAQ Assistant, but all of the data on different channels are not separated.  Can save this data in a matrix or otherwise manageable which allow to facilitate the analysis of the data from the separate channel entries?

    I tried to view the data in a file of measures, but then when I tried InPort data, I could all the data I wanted.

    Hi AggieGirl,

    Good afternoon and I hope that your well today.

    First of all, you will not be able to have more than one DAQ Assistant by input analog or analog output task because the device has only one of each. So, you must have a DAQ task to HAVE and AO. (This is not the case for DIO static).

    There is far from split signals using the express VI - signal splitter.

    When you say you saved this file and it does not work, how it did not work? The Express VI - save a file of measures needed to manage multiple waveforms. Can send you your code & explain more about what was not OK on the file?

    Thank you

  • DAQmx create several channels of

    I downloaded the program entry OR bridge-continues and tries to modify it slightly to allow several Wheatstone bridges to connect. Currently, it has the ability to connect to a single channel but don't not to acquire information from several channels simultaneously. All information regarding the shunt calibration, bridge information and waveform graphic output remains the same. Ideally, the program displays the greatest value in the final waveform graph, but it is fine if it shows separate graphs for each of the two entrances. I was playing with it without much luck though if I start from scratch and you use the DAQ assistant, I'm able to get information without penalty. Any help would be appreciated.

    In fact you are 99.99% of the way.

    You just need to 4 characters

    The name filtering on this control is even properly defined to allow multiple selections and just shift click on the second channel

  • Single pulse TTL

    Hi all

    I'm going through the phase of my small vi debugging and found an inconsistency that makes no sense. My goal is to generate a single TTL pulse as soon as I discovered a passage by zero of a sine wave. So, I generate a simple sine wave and send a logic true to the block which supposedly should initiate a TTL pulse generation. I first tested at 1 Hz sinusoidal and pulse TTL of ecu 1 Hz. I then put my sine funnction at 5 Hz, but I always only TTL signal of 1 Hz, instead of 5 Hz (1 pulse each time by resetting a sinusoid at 5 Hz).

    Can anyone suggest where the problem is maybe?

    Thank you in advance!

    I think that your problem is easily explained by a single sentence in the help for the VI of passage to zero: "If wire you a waveform value or a dynamic data type value at the point of data entry, this VI evaluates only the first value of the input data."

  • Use several channels in the order of RT

    Following this post, and based on a simple sequence of RT that monitors a single channel, now I want to control multiple channels with setting specific time and level. The logic of this was to pass an array of strings that you want to monitor in the .vi create sequence parameter assignment (channel) and use arrays to manage all the time and level settings.

    However it seems that the sequence of RT cannot manage this type of object... so, how do I extend this functionality to several channels... Maybe that's the wrong avenue to use rt sequences?

    L.

    ... well, I look at one of the approaches is to create several calls sequence on a given sequence, each with different settings, then start them all in parallel. It seems to work for the moment.

    A simple question as opposed to events is used (for now) to detect when each called sequence stops and returns its result.

    Laurent

  • Can PCI 6602:How I use digital lines of the Board of Directors and at the same time to generate trains of pulses by using a meter?

    Hello!

    My problem appeared when I tried to update my traditional NOR-DAQ legacy code to DAQmx.

    I use 2 meter (meter 5 and 7 meter) on PCI-6602, to generate trains of pulses, as well as the lines of e/s digital port 0 (the form lines from 0 to 7). What I do in my request, it's that I'm starting to generate the pulse train on the output of 2 meters and after that I play with the State of digital lines.

    Traditional, it was no problem to use the meters and digital lines at the same time, everything went perfectly, but in DAQmx, is not possible.

    What's happening: I start generating train of pulses on the output of counters, no errors, but when I try to change the State of a line of digital port the generation of the pulse train is stopped. What happens when I start the task associated with the digital way.

    My question is: is it possible to create a channel on digital lines without changing the channels created for meters?

    Another thing that I managed to do with the panels 'Measurement and Automation Explorer' and Test for PCI-6602, is basically the same thing, I generate trains of pulses on the output of the 7 meter and try to start a job on the digital line, but I get an error:

    "Error-200022 occurred in test Panel.
    Possible reasons:
    Measurements: Resource requested by this task has already been reserved by another task.
    Device: Dev4
    "Terminal: PFI8.

    On the contrary if I use the counter 0 or a counter 1 to generate trains of pulses I encounter the same problem.

    What resources are used by 2 to 7 of the PCI-6602 card counters and the counters to 0 and 1 do not use?

    Thanks in advance for any answer!

    Ciprian

    After doing some real tests on this device, I found that it is a normal behavior for the jury of 6602.  This is because when you start a task digital all 32 lines are configured for digital i/o, so it replaces your meter operation.  The article below the link explains a little more on this subject.  You must start the digital task before the task of counter to use the features of both in your program.

    2 meter and above will not work correctly when you perform digital i/o on NI 6601 or 6602

    http://digital.NI.com/public.nsf/allkb/43F71527765EEC3886256E93006CD00C?OpenDocument

  • At the same time Record several channels in DAQ

    I'm currently configured to play two channels in data acquisition using DAQ Assistant. I wonder what would be the best way to go on the sampling of these channels at the same time, or as close as possible. The vi that I currently use is attached.

    Thank you

    Sawyer

    DAQmx manages the calendar under the hood and does it quite well.  If you want to change advanced sync settings you can, but of course, you will have to abandon the DAQ ASSistant and write a LabVIEW code.

    I assume you are using a multiplexing card right?  The only real solution for true simultaneous sampling is to buy a card that has several a/d converters like the S series cards.

    For the second poster: you do not have the same problem as the op.  It can be implemented in multiple channels.  If you want to help, you must provide further information that "it gives an error.

    EDIT: I bet you are trying to use separate tasks for each entry, aren't you.  If you do, you'll get a resource conflict error.  You must use a SINGLE task and set up several channels in this task to collect more than one signal.

  • A tutorial / sample to create a single PDF of several source files using assembler PDF in a process of control folder.

    A tutorial / sample to create a single PDF of several source files using assembler PDF in a process of control folder. I have a client application that will prepare the number of source files and metadata information (in. (XML) that will be used in the header/footer. Is it possible to set a run time generated shows the DDX file in the folder and use it in the process. If possible how can I pass the file names in the DDX. Any sample process will be very useful.

    If possible, make use of the API of the assembler in your client application instead of doing this using watched folder. Here are examples of the assembler: LiveCycle ES2.5 * programming with LiveCycle ES2.5

    The record can accept zip files (example: configuration of a control folder to manage several input files and write the results to a single folder |) Adobe LiveCycle Blog ). You can also use run the script to create the DDX when executing: LiveCycle ES2 * Application Development using LiveCycle Workbench ES2

    Thank you

    Wasil

  • Single PDF for several operations

    Hello

    From now on, we receive several PDF files for several transactions in the single extracted file. But is it possible to generate the single pdf file with all transactions. I'm not sure when to change in the FSISYS. INI file. Can anyone help on this. Is there an option like that?
    We use environmental 11.4 and admission is an extracted file. Please let me know if all of the necessary details.

    Thank you very much
    Deborah Vandenplas.


    SpoolBatches = Yes

  • single pulse width measurement

    Hello

    I'm trying to measure the duration of a single pulse using ctr0 on an SMU-6361.

    The signal in the attachment Capture7.jpg, goes PFI 9, ctr0 door.

    The problem is that the counter see ' s the front up and stops. The pulse width is not given as can be seen in the output (Capture8.jpg).

    I get the same results by using Meas_Pulse_Width.vi example.

    Is something wrong with my SMU-6361?

    Oh, I think I know what it is.

    Change the task "pulse width" (a single pulse of height) instead of "Pulse" (the high and low time of a pulse repetition measures).  Change the DAQmx Read to use Ctr > single sample > DBL (instead of pulse).  Change the property filter node digital to use the corresponding properties of the "pulse width" (the filter is still necessary):

    The task of the pulse was not period initially because you receive a series of noise pulse repetition (and so it was a very low period).  With the filter, this time since the noise disappears now and the single pulse did not finish measuring the pulse (which requires a high and some time):

    For the record, I agree that it is confusing that there is the "pulse" and "Pulse" measure and they do different things.

    Best regards

  • How to generate a single Point (On-Demand) edge counting with relaxing break

    I have problem when creating a Labview program to generate a single Point (On-Demand) edge counting with relaxing break illustrated in FIGURE 1 below. I only know how to build counter edge without relaxing break and my program is illustrated in FIG. 2 and gaskets also. Should what changes I make on my program? The DAQ card that I use is 6259 PCI/USB.

    FIG1. Single edge counting with break Point (on request)

    Fig.2 my program to generate the edge without relaxing break

    It is resolved

Maybe you are looking for

  • Satellite L670 - 14M - 'Install Bluetooth Drivers' freezes

    I recently bought a satellite Pro L670 - 14 M (W7 64 bit) registration bluetooth watch and even lists of site Toshiba in the specifications, but when I click on bluetooth settings, it loads a dialog saying "Install Bluetooth Drivers" but the movement

  • Labview 2010 8.1 Windows executables

    Greetings, My development computer is a Windows 8.1 with LabView 2010 Professional machine. I created a project and published an executable with success. Obviously this works on my development system. However, I have another machine Windows 8.1 (new

  • Download scan applications list

    The reference Guide said, "If the printer is connected only on a local computer, then the printer automatically downloads a list of applications analysis."  When I push Scan, and scan to the computer, the message is "Cannot retrieve a list of applica

  • Cannot run my installation of Win Xp Pro Cd

    Cannot run Setup from the cd that ORIGINALLY installed win xp pro on my machine because it says that the version on my computer is newer than the Conference on disarmament, well well the only reason I can think of, is that the updates have made the m

  • Linksys WUSB100 V2 does work with 5 GHz N?

    I wanted to know if this adapter works with 5 GHz N? Or does it support only 2.4 ghz N?