outbreak of PCIe-6361

I am trying to acquire data using a PCIe-6361 with LabWindows/CVI 8.1.0 (with DAQmx) on a Windows XP computer.

It is analog, sync data with a digital trigger signal, and I have the data entering ai0, with the trigger going into PFI0. Right now, the trigger is configured as the trigger for the start, with the unused reference trigger.

First question is: what exactly is pretriggering? I tried to read the various messages, and the help section is less useful. It seems to be data acquired before the outbreak of departure.

I need to configure the system behaves like an oscilloscope, with a delay of release after. That said, the trigger pulse comes and then the system wait x milliseconds and then acquires the data.

Before trigger samples are unique to reference triggers.  Essentially a reference trigger is a trigger of 'stop', where you have X samples to acquire before the trigger occurs and after purchase.

If you want a delay from when the trigger occurs to when you start to get data, I recommend using a trigger to start.  There's a Start Trigger Delay property that will allow you to wait X time elapsed of the trigger in when you start getting data.  The delay is derived by counting the graduations of the time base clock of sample I (100 MHz base time by default, which gives a resolution of 10 ns).

The relevant functions in the C API to delay the start of the acquisition are:

-DAQmxSetStartTrigDelayUnits(taskHandle, DAQmx_Val_Seconds);

-DAQmxSetStartTrigDelay(taskHandle, data float64);

Best regards

Tags: NI Hardware

Similar Questions

  • How to trigger an analog input to analog output

    Hello

    We have two signals, one of which is a glow that we generate via a PCIe-6361 and a BNC-2110 to my experimental system, and another who is directly related (like an echo) I want to acquire every time that send us one.

    What I tried:

    -Generating a signal pulse and the bond of an output channel for the PFI0 one.

    -Using the pulse generator virtual daqmx (pulse CO-tiques).

    I'm sure there is an easier way to do it, but I can't find it, could you help me?

    Additional info: attached the two signals (blue, yellow emissions receive), I want to talk.

    Thanks in advance!

    Assuming you are using the same card for AO and AI, you should be able to use a trigger to start the task of AI with pulse to start the task of the AO.

  • My DAQ PCIe6361 cannot be programmed through my labview8.0

    Hello

    I just bought a new DAQ PCIe-6361. Its pilot, OR-DAQmx 9.0, does not seem to match my labview v.8.0.

    I can't program my card. How could I make it work? Is there a solution?

    Thank you!

    As shown here, DAQmx requires LabVIEW 8.2 or higher. See also this post yesterday.

  • Outbreak of similar PCI-6251 reference edge does not work with two channels?

    I use this card PCI-6251 to acquire data from two channles of entry. I need to use reference similar edge trigger. the trigger for the chan signal 1 and acquire data from chan 1 and 2 chan. However, the error is that this card can't take two channels with similar trigger edge reference. Please check if it's the PCI-6251 limilation. If so, can you suggest any other card can do this work? The normal extent can trigger from one channel and acquire data from many other channels.

    Thank you

    Liming


  • Outbreak of several digital lines of a single window using PCI 6353

    Hello

    I use a PCI 6353 to control a laser for a PIV system. The laser requires 4 pulses (F1, F2, T1, T2) on different channels. It would be easy using 4 counters on the Board, but I also need to trigger the camera. The card has a lot of output digital, so I thought I could use 2 meters and four digital outputs.

    I thought that, by setting the pulse counter from 0 at a time duration between F1 and T1 and triggering a rising edge and T1 F1 a front down using output internal), I would be able to solve the problem. However, the system I cannot trigger the two lines of the same internal output. I don't know why. I have attached two vi, one for a single channel that works very well and the other with two channels. I am also attaching a diagram of approximate time of my proposed solution.

    I am not absolutely put on this format, so if this is not possible and you have another solution, please let me know. Accuracy is the key here, the widths of pulse being about 1 microsecond and the intervals between F1 and Q1 being approximately 10 microseconds, so I think the hardware timing is essential. However, I'm not quite clear on interact it with the digital pulses and counters.

    Kind regards

    Joe

    Hey Joe,

    All the lines that you want to use for quick time ARE on the 6353 must be in the same spot.  Unfortunately, you can't start or clock several lines independently.

    That said, I think that the simplest solution would be to simply create a waveform suitable for generating all 6 signals with.  You should be able to clock up to 10 MHz, which gives you 100 ns resolution.  If you need 1 us resolution, then you could get by synchronizing the c to 1 Mhz.  While you could technically use a combination of counters and to get what you need, it should not be necessary in your case.  All you need is a single task with the waveform appropriate to generate your desired signals.

    Best regards

  • The NI PCI-5124 scope with 2 triggers

    Hello

    I would like to ask about the trigger for starting and reference with PCI-5124.

    I found a sample VI on the following link, but it does not work as I expected.

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/2998

    VI 'start_and_reference_trigger.vi' can detect the outbreak starting and reference in my system, and they begin data acquisition.

    He starts data acquisition when both start and reference triggers are entered.

    However, what I would do is:

    1. sampling at 200 MHz with a 1500 with a single channel record length.

    2. receive the signal to start (i.e. 50 Hz)

    3 receive the reference signal (i.e. 50 kHz)

    4. for each trigger reference, I would like to acquire the data, i.e. data of 1500 for each 100 trigger acquisition reference (not with the combination with the shutter release to start)

    Start trigger: _|^|_________________________________________

    Ref   trigger:______|__|__|__|__|__|__|__|__|__|__|__|__|__|__|____

    ^    ^    ^    ^   ^   ^   ^   ^    ^    ^   ^    ^    ^   ^

    hours of relaxing I want to acquire

    Trigger channels I use are:

    Start the trigger: PFI 0

    Trigger for Ref: PFI 1

    With the sample VI 'start_and... '. ", I found that it acquires when the two begin and trigger reference comes and data collection was only after the release of a single reference.

    I hope my explanation is understandable and I can have a solution soon.

    Hi Tom,

    This example configures a trigger starting and reference, but only for a single record. It is inside a loop, so it will continue to require a trigger start and each record. According to your description of the problem, you want to make an acquisition standard multi-record of 100 records, but you want to implement a trigger to start at the beginning of the acquisition. "' To do this, you can simply open the example of shipping"niScope EX Multi Record.vi"found in the example Finder LabVIEW or by browsing in your Start menu programs" National Instruments "NOR-SCOPE ' example. You need to add the property node to define your Trigger source begin to be PFI 0, but other than that, it should work fine. I have advanced and created a simplified with the trigger Start implemented, attached below. I hope this helps!

  • Error 200452 with break triggered DI on PCI-6251

    Hey guys,.

    I am writing a program to snoop on SPI communication between a microcontroller and two MAX-7221 display drivers. Essentially, I want to read the PIN Din of both fleas and convert the data stream in the numbers that are displayed on the front panel of devices (each chip controls two 3 figures, 6 total). The data is 16-bit and contains a 4-bit address and a 4-bit code representing the number b. I recognize these two values in the vi, convert code B in decimal and use the address to combine each digit in the corresponding 3-digit numbers that I can view and save to a file.

    Each chip has a Din row that contains data, a clock and a load signal (called CS). In my vi I acquire the data using the remote clock signal and use a trigger break to acquire only when CS is low. It worked perfectly to collect data of a single chip MAX-7221, but I started to run into problems when you try to acquire data of these two channels at the same time.

    Since I am on two different trigger and clock signals, I couldn't use a single data acquisition. I got a PCI-6251 card laying around and decided to use it to develop a single chip and my original USB-6361 to acquire the other. Acquisition data from as chips with the USB-6361 works perfectly, but when I try to acquire two Renault at the same time I get error 200452 associated with the trigger break PCI-6251.

    I did a ton of digging, but I can't seem to understand what the problem is. The Web site OR said that the PCI-6251 supports triggering of break, and any channel I use, I still get the same error. I even tried to use other types of triggers, but no matter what I do error 200452.

    Thoughts?

    Thanks in advance!

    Colin

    It seems that the PCI-6251 card only supports digital break triggering on a similar task. You use it on a digital input task. 6361 USB supports triggering of break on the two types of tasks. That's why you get an error.

  • Iteration of a loop at the outbreak of an external analog source

    Hi, first I apalogize if it's a question of trival, but I'm relatively new to LabView programming and I can't seem to understand.

    I'm setting up a VI which records data on the outbreak. My setup of data acquisition is a BNC-2090 connected to a PCI MIO 16th-4. I can say that I am able to set up my tasks in DAQmx to read data on the outbreak, but I can't seem to get the labview VI to record these data with the right timing.

    What I would like is a loop run whenever he sees the analog edge of relaxation, I'm sure that labview is capable of that. Can anyone help? Thanks in advance!

    Thank you both for the replies. I got a work around for now.

  • How to trigger the camera and light pulsed with PCIe-1427

    Hello

    We recently bought an acquisition card NI PCIe-1024 and the NI Vision Builder.

    I am new to imaging applications and need support to get started.

    Application:

    We have a camera viewing a scene which is illuminated by a pulsed light source (e.g., a strobe).

    We want to use the PCIe-1427 as the master for the outbreak of the camera and strobe light.

    The first trigger (Ch 0) transmitting signals TTL to camera to 30 Hz (30 fps).

    The second trigger (Ch 1) send bursts of pulses to the strobe light to e.g. 10 kHz. This trigger must only send impulses all other images, so that we can save alternating light and dark images in order to perform background subtraction.

    I tried to set up the channels of the trigger and create virtual channels in the measurement and Applications Explorer, but apparently this is not possible.

    Since it is an application critical time, I'd appreciate an example vi that sets up the channels two trigger and download managers in the camera to get started on this application. Thank you.

    Software of NEITHER: LabVIEW version 10

    Materials: Device for the Acquisition of Image (IMAQ) PCIe-1427 driver Version: NOR-IMAQ 4.4 OS: Windows 7

    Thank you, Justin.

    I'll copy this request to the machine Vision Group as you suggested. I looked at the link sent you me and made progress (limited). I can see on an oscilloscope trigger signals, and the camera acquires images. However, I only managed to do work for pulse trains continuous, not a shots or bursts of pulses.

    No need to answer that. Thanks for your help.

    Peter

  • Switch boot SSD on PCI slot

    Crucial startup 2006 Mac Pro Tower 2.1 with a 525 GB SSD drive I replaced my HARD drive. Can I move the Crucial SSD on the PCI slot and get the same results or better?

    Yes, you can with a PCIe card that accepts drives 2 1/2 inches.

    However by

    https://eShop.MacSales.com/item/OWC/SSDACL6G.S/

    You can't win anything since the

    • 2006-2007 mac Pro. These models use slot PCIe 1.0 which cannot be configured (even with the utility Expansion under OS X) Accelsior S address as something but as a path of first generation card. Thus, Accelsior S performance will be limited to 190-200 MB/s of throughput. If the data rate maximum speedis you want, we recommend the installation of a 2.5 "OWC Mercury SSD in an open Mac Pro drive Bay.
  • Mac Pro 5 1-PCIe Configuration

    Hello

    I have upgraded my Mac Pro 5, 1 (model mid-2010) with a few changes/additions PCIe and need some advice. Frankly, I was surprised by the fact that the Expansion Slot utility was not usable here and the old interface to help me refine the best configuration. Reading about the possible configuration options started his contradictory between reseources. Anyway, this is what I have:

    Slot 1 (x 16) - ATI Radeon 5770 graphics card

    Slot 2 (x 16) - ATI Radeon 5770 graphics card

    Location 3 (4 x) - empty (no physical space due to above)

    Unit 4 (x 4) - card Sonnet PCI Tempo SSD Pro Plus

    So, is this look of effective configuration for the priority of the data read/write verses performance graphics performance?

    Peace,

    Dr. Z.

    The utility of PCI slot is not usable on the 2009 to 2012 Mac pro.

    The allocation of housing-gears the 2009 Mac Pro 2012 is fixed, not configurable and is exactly as you say: the two 16 x slots, the two upper slots lower slots are 4 x speed, but of "provide support for up to 16 x cards" (in other words, they use the biggest connectors, but everything beyond 4 x is not connected).

    Your installation seems fine. Some users prefer to leave the top slot open for a better circulation of air above all the cards. But as you say, you do not have this option.

    4 x is fast enough for this SSD card. Which is about as fast they do these cards so far. Extra speed as a 16 slot x could not possibly serve in the drafting of this article.

  • MacBook pro 13 inch 2012 pcie ssd upgrade

    Is my mid-2012 13 "MacBook Pro compatible with PCIe SSD upgrade? I want to remove the internal optical disk and edit it in the PCIe SSD, so that I have 2 internal storage. Going to do?

    Your mention of an optical drive tells me you have a MBP non-retine.  PCI and PCIe SSDS are NOT compatible with your MBP.  You can install a card standard 2.5 "SSD in your MBP and still experience a significant increase in performance.  I suggest OWC SSD and Crucial.

    Ciao.

  • Update of El Capitan 10.11.5 does card PCI does not work

    When I upgraded to 10.11.5 my PCI-424 card (it's a MOTU audio interface card) has stopped working. Rather than appearing as 'PCI-424 In' it appears now as "optical / digital» Ditto for out when I go to System - Sound preferences.

    I took the card and rebooted and it still showed the "digital optical". I put the card in another location and the same.

    Clearly El Capitan is not to recognize the PCI card correctly but I don't know how to do this.

    Also, I spent in El Capitan 10.11.5 10.8.5 Cougar.

    Help, please...

    Thank you!!!

    It's what MOTU has to say about it. You have the right driver?

    http://motu.com/NewsItems/motu-and-OS-x-El-Capitan/

  • PCIe crush on Mac Pro 2008

    Hi all

    Looking for a PCIe card compatible thunderbolt 2 thunderbolt drives put in my Mac Pro 2008 Tower. Possible? Recommend?

    Thank you

    BB

    There is no such cards and until Intel control tokens required to implement love at first sight, it will never be. You do not miss anything. They do not exist.

    Love at first sight, a computer to use leaving the factory "shot of lightning-ready". There is little this computer manufactured by Acer - but they're just computers of ThunderBolt where sight of material has been placed on an optional daughter card, and then were made optional save money.

  • PCI card does not work

    Greetings,

    I just bought a PCI Express card to add USB 3.0 to my Mac Pro (2008 model), but it seems to be recognized; Information system called "driver installed: no ' on this card, which is at least in the list of cards.

    The accompanying CD has several folders (unknown which is the one I want) but I couldn't find a good.

    It's a PCI Express "Delock" card, but there is no product name, except the description.

    What can be done to correct the problem?

    Is specific USB what card?

    Most require drivers provided by the manufacturer?

Maybe you are looking for