Trigger for USB-6251analog

Hello

Generate a rectangular signal of AO on AO0 (white) while playing a Sin on AO1 (red) signal. I want to record on AIx, while the tension of the rectangular signal is max.

Currently I physically route AO0 to PFI0 and use it as a trigger for the analog input:

But the VI fails because AIx does not detect the edge of the PFI0 of the trigger. How to fix the VI to work proberly?

Thank you

VI can be found here: http://forums.ni.com/t5/Discussions-au-sujet-de-NI/USB-6251-router-Analog-output-pour-trigger-Analog...

Hafiz asean.support solution:

I looked at your code and there was a problem with the installation of the acquisition of the chain to HAVE.

Acquisition of analog input has been configured incorrectly
In your code, you set the program to use calendar settings based on a waveform. However, when you build the waveform, I believe you accidentally used the frequency instead of the dt of the waveform to build. Removal of the inverse function ensures that the correct values are passed in. Originally, the AI sampling period was put at about 4000 seconds, which in turn causes the trigger to expire.

Take note that the production and the acquisition is not exactly at the same time. You can see the following diagram:

Thank you haha!

Tags: NI Hardware

Similar Questions

  • Satellite T135D-S1324 - no support for USB boot

    Hello.

    I buy this model (TOSHIBA SATELLITE T135D-S1324), I am a linux user, this model comes with ligthscribe player, I want install ubuntu on USB but to my surprise I discovered that there is no option for USB boot in the BIOS config.

    Anyone know of a solution for this problem?

    There's a kind of an UPDATE of the BIOS to activate the USB BOOT?

    Thank you.

    Post edited by: idposada

    Hello

    Usb drive before plug to turn your laptop and the Bios must recognize.

  • Equium - Windows cannot load the device driver for USB dongle

    I've been using a dongle for about a month without problems, but now it is said (in Device Manager) "Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) »

    -what it means and how can I solve this problem?

    Hi Ozcat,

    What USB dongle is that exactly?
    What cell phone do you have?
    What operating system is installed?
    Have you already tried to reinstall the driver for USB dongle?

  • HP Compaq DC7900 SFF - no support BIOS for USB keyboard/mouse

    I recently bought a lease out vintage 2009 DC7900-Windows 7 Home Premium running. It has connectors from the motherboard and BIOS support for a PS2 Keyboard and mouse. There also card mother support for USB but apparently BIOS does not support a USB keyboard and a mouse. Y at - it a BIOS update that adds support for USB keyboard and a mouse?

    Thank you

    Well, I found what seems to be the problem. My USB keyboard and mouse are connected to a KVM switch that in turn connects to the HP PC. The KVM cable provides keyboard and mouse via a simple USB connection. I have connected a second USB keyboard directly to another USB port, and as you say, the BIOS it supported. I then connected the USB keyboard and mouse for a simple USB hub and then to the HP PC, and BIOS does not recognize the keyboard once more. It would seem that the problem is that the BIOS of the PC HP does not support keyboard behind a USB hub connectivity. I have no detailed knowledge of USB connectivity but could guess that there must be a difference Protocol when I hub is in the Middle – obviously the PC must focus on a specific device behind the hub.

    In the end, I think I'm stuck just keep a separate keyboard (PS/2 or USB) around for those times when I need to communicate to the BIOS.

    I have another PC of the same vintage - a custom platform - and it handles the keyboard behind the hub very well. I wonder if all new PC BIOS handle this.

    Thanks again for your responses - very useful.

  • Satellite Pro A120 and WXP - need drivers for USB and SD slot

    Hi guys,.

    I have a Satellite PRO A120 PSAC1E XP, I need to find the drivers for the USB port and SD memory card port.
    After reinstalling the operating system won't work.

    For USB, you need to install driver chipset and SD card, you must install SD Secure module and later the two SD utilities.
    Please download the Instructions of facilities and install all the stuff following this order of installations.

    If you have, so nothing can be wrong.

  • Satellite L750 - Support for USB 3.0

    Does anyone know how to determine if my new Toshiba Satellite L750-03C044 takes care of the increased speed of USB 3.0?

    It has three USB Sockets - two on the right of the case and the left itself. All three taken are black, not blue that I could possibly expect for USB 3.0 support.

    The three of us taken are marked with the trident USB logo. The one on the left is also equipped with a bolt of lighting journal.

    Can someone please advise. Thank you very much.

    Hello

    I ve checked specification and it is written that your laptop is 3 x Hi-Speed USB 2.0 ports, so I fear there is no support for USB 3.0 m.

  • Love at first sight for usb cable will work for migration?

    Love at first sight for usb cable will work for migration?

    Migration from what to what?

  • Can not find the drivers for USB

    I'm trying to update my USB drivers and although I have loacted the list of available drivers, there don't seem to be any USB ones.

    Hello

    Why do you want to update your USB drivers? If you don t have win95/98/me you don t update anything it either because the only drivers for USB are integrated into windows.

    You can only update the latest chipset drivers that could improve the performance of USB and fixed a few bugs. But it depends on what chipset you have and if the manufacturer of the chipset offers the chipset drivers.

    See you soon

  • Best way to generate the software clock for USB-6501 of Measurement Studio for c# VS2008

    Hi all

    I wonder if there is a better way to generate a clock software for USB-6501 of Measurement Studio for VS2008 in C Sharp?

    I have developed a clock using C Sharp "Thread.Sleep (msecPauseTime)"; and statements to switch digital output high and low. There are a few things I noticed in creating a software clock in this way:

    1. The smallest delay by the Thread.Sleep command time is 1 millisecond (which means higher clock period is 2 msec-500 Hz, not holding not ball account no. 2 below).
    2. Sometimes the delay I see on an oscilloscope is considerably longer than the delay that I specified in the sleep command.

    In my application, I create signals (a clock, a latch enable and data series) to control what an attenuator step through the USB-6501 RF connected to a USB 2.0 on my computer. This particular step RF attenuator can accept clocks with frequencies up to 10 MHz, so I would like to generate a software clock (without having to connect to an external clock to a line of input on the USB-6501) which is closest to this maximum frequency, and I think that the USB2.0 line could handle clock speeds over 500 Hz. Also, I would like to know why the delays that I see on the scope are sometimes longer than the time specified by the Thread.Sleep command. Is it caused by the suspension of the execution of my program processor for something else, as I suspect? Of course, this isn't a big deal, because it does not affect the time as my serial data and pieces change compared to my clock. However, I would like to know why it does this.

    I appreciate your help.

    Thank you

    Jonathan Becker

    Doctoral research engineer

    Carnegie Mellon Silicon Valley

    Jonathan,

    Since the USB-6501 DIO is software programmed, you are at the mercy of the planning of the operating system and won't be able to work reliably with an external clock in the software.

    You can try to set the priority of your thread 'generation of clock' to improve performance, however, because Windows is not a deterministic operating system, there are still no guarantees.  Operating systems are not required to honor the priority of threads.  You can find examples and information on the definition of the priorities of the threads in c# here:

    http://msdn.Microsoft.com/en-us/library/system.Threading.thread.priority.aspx

    Kind regards

  • driver for USB - 6221 LabView 6.0 XP

    I'm trying to connect an old laptop with Windows XP and Labview 6.0.2 for USB-6221. I can't find the drivers on the site of NOR. Can someone point me at home or another source? Thank you.

    Support for the USB-6221 was added in the NOR-DAQmx 8.6.1, driver that only supports back to LabVIEW 7.1.  Unfortunately, there is not a version of NOR-DAQmx driver that supports the USB-6221 and LabVIEW 6.0.2.

  • Do another counter for usb-6008 VI using Labview 8.5

    I want to create another counter for usb-6008 using Labview 8.5, it is necessary to calculate the two gears simultaneously.

    The best way to proceed is to use the meter.  The counter counts
    signals without having to interrupt the system or use the USB bus.
    When you ask the number of ticks that saw the meter, one
    request is thrown from the CPU to the USB line to the 6008, which then
    request counter "ticks how have you seen?  This number is
    returned on the USB bus, goes to the CPU and display on your
    screen.  Given that the DIO lines on the 6008 are software timed, it is
    no way to guarantee that the data back to the central unit is
    deterministic.  The conceptual difference between software-controlled
    DIO (that nondeterministically returns an entire stream) and a
    meter software-tick-application-controlled (which returns a unique number
    with the number of ticks) prevents us from using the DIO lines on the
    6008. the best way to count more edges is buying more 6008 s.
    Another possibility would be to buy a PCI card to counter such as
    the PCI-6602, who owns 8 counters. Most of the counters we offer in the
    USB form factor is 2 per device.

  • several webcams in for usb or imaq vision Builder

    Hello

    I have a question about imaq nor for usb or vision builder AI 3.6 (I did a vi with imaq and I run in the constructor of the vision) and I want to know how can I connect multiple webcams to the computer, and how many of them can be connected. can they all be of a make and model and can they be executed with a driver installed on the computer?

    Thank you

    Hello

    In general NOR-IMAQ for USB can support only one camera at a time. You can acquire multiple cameras (not simultaneously) using USB IMAQ list VI cameras to identify each device plugged into your system and access it via the other IMAQ live to USB.

    I would also like to point out that Vision Builder AI does not support the NO-IMAQ for cameras USB driver. It is designed to solve machine vision applications, but USB cameras provide in general or advanced necessary for machine vision triggering modes.  Because the machine vision and USB cameras will usually together, we do support USB cameras in Vision Builder AI.

  • Update firmware for USB-6501 with 3.4.0 driver?

    Hello

    I am wanting to use the 3.4.0 NI DAQ driver with a USB-6501 and finds that the firmware is incompatible with the driver. The most recent driver that I used was the basic driver 2.1, unfortunately, the software that I use to send signals to the USB-6501 requires libraries to the 3.4.0 pilot.

    Y at - it a firmware available that is compatible with the 3.4.0 driver DAQ for USB-6501 device?

    I see that, after you have improved your DAQmx Base 2.1 to 3.4.0 drivers he said that the firmware on the USB-6501 is incompatible.

    If you go through this knowledge base, it will show you exactly how to get the firmware compatible with DAQmx Base 3.4.0. In particular, near the bottom, it shows how to perform this update.

  • looking for usb driver for handycam DRC-trv16e

    looking for usb driver for model handycam sony dcr-trv16e

    Hi antmel,

    What is the operating system installed on your computer?

    The Sony DCR-TRV16E camcorder USB streaming feature is compatible only with Windows XP and earlier versions of Windows operating systems. For computers with Windows Vista and Windows 7 operating systems, an A / V or i.Link connection is necessary to transfer the videos from the camcorder. The i.Link connection may be used to transfer videos on Mac computers too.

  • Help design a trigger for an analog voltage signal

    Hello guys,.

    I have a real problem one design trigger for an application, what I do is to power a motor and measure consumption current and voltage during each operation. What I would do is to begin to acquire the signal once the voltage rises to a certain value and finish when it falls to a certain value. The equipment I use is a cDAQ 9178 with a NI9205 and 9221 modules.

    Any help / samples / detailed explanation will be really appreciated. I have no idea on how to work with the outbreak of the vi in Labview.

    Concerning

    SergeArmz

    Finally after a lot of research, tests and many developments, this is a VI that I developed and who is able to do what I was looking for. Thanks to the guys who helped me out to understand how solve my problem.

    For all those who may have the same problem I had, I enclose the VI.

    And of course if you can improve on what I did will be great, I think it's the purpose of this forum

    See you soon!

    SergeArmz

Maybe you are looking for