NI USB-6008による高速トリガ生成

NI USB-6008による高速トリガの生成を目標とするプログラムを作成しています
現在、Lab View の「DAQアシスタントとForループ」を使用してトリガ自体の生成は可能になったのですが
パルス幅制御に「待機時間」を使用しているのですが
Forループの影響でパルス幅のばらつき(1~2μS変動)や
一定以上パルスの幅が小さくならないという問題が生じています
目的としては「100nSのパルス幅が生成可能」なのですが可能なのでしょうか?
添付:
Trigger edit.vi ‏158 KB

miura様
お世話になっております。
日本ナショナルインスツルメンツ 技術部 天沼と申します。
100μSのパルス幅が生成可能とは5KHzのパルス列を生成すると受け取ってよろしいでしょうか?
まずUSB-6008はデジタル出力がソフトウェアタイミングのみの対応となっておりますので1ms以下の制御をすることができません。
これはOSに依存しているためです。
ですのでそのほかの方法で実現する必要があるのですが、選択肢として下記があげられるかと思います。
①アナログ出力で0-5Vのパルス(方形波)を生成する方法
②カウンタ出力でパルス列を生成する方法
しかしながら6008では①の場合、使用上アナログ出力アップデートレートが150Hzのため5KHzの信号の生成は難しいと思われます。
また②の場合、6008自身、カウンタの機能は持ち合わせているのですがパルス出力ができない仕様になっております。
恐縮ではございますが、ご希望の動作を実現させるためには別途使用デバイスをご検討いただく必要があるかと思います。
たとえばhttp://sine.ni.com/nips/cds/view/p/lang/ja/nid/202597こちらの製品であれば十分にお客様の使用を満たすと思われます。
他にもご予算等に応じて製品をご紹介できるかと思いますので、ご検討の際は一度、弊社営業部までお問い合わせいただければと思います。
日本NI 技術部 天沼

Similar Messages

  • Error -10401 occurred at AI Group Config - in relation to USB-6008

    I'm attempting to run a simple vi that uses AI Aquire Waveforms.vi to input voltage data that I have coming in from the USB-6008 DAQ.  However, when I try running the program, I receive the error:
    Error -10401 occurred at AI Group Config
    Possible reason(s):
    NI-DAQ LV:  The specified device is not a National Instruments product, the driver does not support the device (for example, the driver was released before the device was supported), or the device has not been configured using the Measurement & Automation Explorer.
    And I'm not sure how to fix it.  In MAX, the device seems to be working properly and everyhting seems to work fine in the test panel, so I'm slightly at a loss.  I'm running Labview 7.1, and installed NI-DAQmx 7.5 which came with the USB-6008.

    Never mind.  I'm new to Labview, and didn't realize that I could not use the traditonal Data Aquisition components with the USB-5008 (I didn't even realize that NI-Daqmx was different).

  • Can I use more than one USB 6008 in the same program?

    I am working on a project that may require up to six USB-6008 modules.  Before I purchase more I need to know if I can use all six at a time in the same Lab View program.  Can anyone help?
    Solved!
    Go to Solution.

    Hello Nick,
    LabVIEW is able to handel that number of DAQ tasks quite easily, however you must remember that USB has a maximum bandwidth. Therefore you would have to ensure that you have enough USB hubs on your PC. Typically there are between two to four USB slots per hub and each of these will have a maximum throughput rate which will divided between all devices attached to that hub. Therefore although you may have four USB DAQ devices attached to four USB ports if they are on the same hub you may notice greatly reduced rates of data transfer. What I would suggest rather than purchasing six or more USB 6008, why not purchase one PCI card which is able to handel many more inputs with a larger bandwidth.
    Regards
    Andrew George @ NI UK

  • Will USB-6008 DAQ be able to power and record voltage for UMS T5 tensiometer at the same time?

    I would like to use my NI USB-6008 to provide power to my UMS T5 tensiometer  (http://www.ums-muc.de/en/products/tensiometer/t5.html) as well as take readings from it, but I don't know if this is possible to do properly. The supply voltage for the instrument can be as low as 5V, which I can easily get from the dedicated +5V channel. I am able to power the instrument and connect it to an analog input on the 6008 and measure a voltage in differential mode. However, while reading the support literature for the instrument, I find the following:
    "Potential data acquisition pitfalls: Because the pressure transducer is configured in a Wheatstone full bridge, the input voltage and signal mV output cannot be connected to the same reference (ground). Hence, the signal mV output can only be measured using a differential voltage measurement. Therefore, do not attempt to make a single-ended measurement of the pressure transducer mV output."  (http://www.decagon.com/assets/Uploads/MeasuringUMSTensiometerswithnon-UMSControlandDataAcquisitionSystems.pdf)
    My understanding is that the 6008 can take a differential measurement if I attach the signal "+" and signal "-" to the positive and negative analog input terminals. However, it seems that all of the Ground ports on the 6008 are grounded to the same reference, which would make my voltage measurement invalid according to the paragraph above. So my real questions is: if I attempt to record the voltage using one of the analog inputs on the 6008 in this way, is the measurement valid? Or do I need to find a separate power supply with a different reference ground to ensure that the measurement is accurate?

    The specification sheet for that device is very poor. The manual is not much better. Companies which want to sell scientific equipment should publish decent data sheets or get out of business.
    In section 3.4.3 General requirements the device is described as a "non-amplified bridge circuit."  This information along with the bridge impedance should be in the specifications because it is essential to applying the device under any circumstances other than the nominal behavior at 10.6 V.
    The answer to your question is this:
    You can use it with the USB-6008.  The 5 V power supply will result in output voltages slightly less than half (5/10.6) the voltages specified under nominal conditions. You can use the differential input mode on the USB-6008.  The absolute input voltages will be about 2.5 V with the 5 V supply. That voltage is within the working range of the device. The differences will probably be less than 100 mV. The resolution of the USB-6008 on the +/-1 V range is about 0.5 mV so your pressure resolution will be around 1 % of full scale. The input impedance and termination voltage of the USB-6008 will introduce some errors.  These may be on the order of 5-10%. I cannot predict much better without the missing bridge impedance specification.  Those errors should be systematic and relatively constant. A calibration of the whole system - sensor and DAQ device together should allow you to compensate for much of that error.
    Lynn

  • How can i connect 24VDC to digital input (usb 6008)

    hello,
    how can i connect 24VDC to digital input (usb 6008), is it possible with some optocoupler?
    thanks

    The 6008 is a static DIO, so speed shouldn't be an issue.  Therefore an optocoupler should work.  Just make sure you get one the meets your specs.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • NI-DAQmx 8.3.0f0 installed but Found New Hardware Wizard shows up when plugging in a USB-6008

    I have NI-DAQmx Device Driver 8.3.0f0 installed with LabVIEW 8.2 but when I plug in a NI USB-6008 I see the "Found New Hardware Wizard" in Windows XP.  Since the DAQmx driver is installed shouldn't Windows recognize the device immediately?
    I cancel the driver and I get the taskbar message "A problem occurred during hardware installation.  Your device may not work properly."
    The USB-6008 does not appear under Devices and Interfaces in MAX. 
    Help would be appreciated.
    Thanks,
    Dave

    Ahh, I thought Windows performed an automatic search after cancel is clicked. 
    I clicked next and allowed Windows to search and it says:
    "Cannot Start this Hardware"
    There was a problem installing this hardware: USB-6008
    The device cannot start.  (Code 10)
    I tried uninstalling and reinstalling the device but the results were the same.
    Any ideas?

  • NI USB 6008: expected constant expression

    I am using NI USB 6008 device. Looking at NI-DAQ\Examples\DAQmx ANSI C\Analog In\Measure Voltage\Acq-Int Clk\
    So I want to modify the line that has
    DAQmxErrChk (DAQmxReadAnalogF64(taskHandle,1000,10.0,DAQmx_Val_GroupByChannel,data,1000,&read,NULL));
    as
        DAQmxErrChk (DAQmxReadAnalogF64(taskHandle,numsamps,TimeouT,DAQmx_Val_GroupByChannel,data,numsamps,&read,NULL));
    where the corresponding variables have been defined before like:
      Int_t xx=2;
      const Int_t numsamps = const_cast<Int_t&>(xx);
        int32       error=0;
        TaskHandle  taskHandle=0;
        int32       read;
        float64     data[numsamps];
        float64 RatE = float64(raTE);
        float64 TimeouT = float64(numsamps)/RatE;
    But when I try to compile I get this error message:
    $ nmake -f makefile.mak
    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation.  All rights reserved.
            cl  -D_MT -D_DLL -MDd -EHsc  -nologo -G5 -GR -MD -DWIN32  -DVISUAL_CPLUS
    PLUS -D_WINDOWS -IC:\ROOT/include -O2 -c SNatInDAQ.cpp
    cl : Command line warning D9025 : overriding '/MDd' with '/MD'
    cl : Command line warning D9002 : ignoring unknown option '-G5'
    SNatInDAQ.cpp
    SNatInDAQ.cpp(261) : error C2057: expected constant expression
    SNatInDAQ.cpp(261) : error C2466: cannot allocate an array of constant size 0
    SNatInDAQ.cpp(261) : error C2133: 'data' : unknown size
    NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
    l.EXE"' : return code '0x2'
    Stop.
    What does it mean 'expected constant expression'? How can I get around this?
    What I want to do is pass the size of that data array from another function.

    Hi novaiscool,
    I think the issue is that you are declaring numsamps as a constant and the DAQmxReadAnalogF64 function wnats a non constant parameter.  Have you tried calling the function with a regular int or a value?  Give that a try and see if you get the same error. 
    You will also need to initialize numsamps to something since you are allocating an array using that variable. 
    Give those things a try and let me know how it works.
    Thank You,
    Nick F.
    Applications Engineer

  • Como controlar velocidad con un PID con USB 6008 ?????

    Buenas tardes.
    Acabo de adquirir mi placa USB 6008 y estoy comenzando a trabajar para poder controlar la velocidad de un motor trifásico asincrónico estandar.
    Para esto contruí con un microcontrolador y una etapa de potencia la parte del variador. Y logré con esto que mi variador reciba una entrada de 0 a 5 Vcc y con ello varía la Frecuenci-Tensión de salida. Es decir solo necesito entregarle 0 a 5 V para que este actúe sobre todo el rango de frecuencias de salida.
    También contruí una placa de aislación galvánica que separa absolutamente la salida analógica de mi USB 6008 con la placa del variador que construí, como para separar las masas y la señal y evitar inconvenientes en mi Notebook y placa de adquisición.
    El feedback de velociodad lo hago con un sensor óptico y un disco dentado acoplado al eje del motor que me puede dar según mi necesidad 1 , 2 , 4 , 6 , 8 ó 10  pulsos por vuelta de acuedo a como lo ubique ó a mi necesidad.
    Entiendo que la placa USB 6008 no es la mejor alternativa para trabajar a tiempo real, y mi sistema operativo ( windows vista x64) tampoco. Pero mi sistema es bastante inercial desde el punto de vista mecánico, y también lo es por la placa del variador que no tiene una respuesta instantanea por cuestiones de constantes de tiempo que le di al firmware del micro. Es decir que no necesito velocidad en el sistema ni en el VI que necesito desarrollar.
    Resumiendo, necesito entrar a mi placa USB 6008 con pulsos ( los que se necesiten por cada vuelta del motor) y luego salir por una salida analógica ( de 0 a 5 V) con la información de velocidad que va al variador.
    Tengo a mi disposición Labview 8.5 con el Control design & simulation que tiene incluidos subVI con PID's listos para usar.
    En medio de este sitema, necesito generar un VI con el que pueda dar una referencia de velocidad desde un potenciómetro virtual en mi panel frontal, y que el PID en el programa de Labview corrija errores de velocidad por alguna pequeña variación de la carga, etc.
    La verdad que estuve probando hacer un VI con un PID bastante simple, pero a la hora de simularlo, fuí modificando los parámetros del PID y no vi que se haga "mas inercial"cuando aumento el tiempo integral. Tambien probé salir de mi placa con una tensión analógica, y dar una referencia con un potenciómetro como para probar si el PID se hace mas "rápido ó lento" al modificar las variables Integrales ó derivativas y no vi variaciones en la respuesta.
    Por eso es que pido ayuda en este foro, ya que probablemente alguien ya hizo alguna prueba, o me puede indicar como arrancar con este tema.
    Este proyecto es solo con fines académicos, para mi tesis de Ing. Electrónica. Por ello el motor no tiene carga, solo el disco dentado y el sensor óptico, solo lo puedo frenar un poco para ver la corrección.
    He comprobado que saliendo de mi placa 6008 con una señal analógica, pasandola por una placa que simula un retardo en el tiempo de esta señal, y reingresandola a una entrada de mi placa 6008 para luego con un VI generar el PID y tratar de que esta señal de entrada a la placa 6008 sea igual a la de setpoint, solo logro oscilaciones con una media que está lejos del valor del setpoint.
    Espero que alguien me pueda indicar como empezar, ó darme algún ejemplo que me pueda ayudar, ya que no soy experto el Labview, solo acabo de empezar a usarlo.
    Reitero que no necesito velocidad ya que mi sistema es lento, y solo debo variar mi salida analógica con velocidades muy bajas. Es decir no necesito respuesta inmediata.
    La idea es hacer una demostración del uso de un PID en un sistema real con Labview.
    Saludos...!!!!

    Hola.
          Sigue unos links para su consulta.
         http://forums.ni.com/ni/board/message?board.id=240​&message.id=8027&requireLogin=False
         http://zone.ni.com/devzone/cda/tut/p/id/3782
         http://zone.ni.com/devzone/cda/tut/p/id/6951
    Saludos
    Diogo.
    Diogo Aparecido
    Engenheiro de Aplicação
    National Instruments Brasil

  • Using USB-6008 on LIS331 Accelerome​ter

    Hi, I am looking to monitor my project with a LIS331 using the USB-6008 dac. Would this dac unit be acceptable with this accelerometer? 

    swong46,
    I would recommend using a USB 63xx series DAQ device. You might also be interested in the USB 8452, which is a dedicated I2C and SPI device. 
    I can also put you in touch with some of our sales engineers, who would be the most knowledable about your options. Shoot me a PM if you're interested, and I can give you a number to call.
    Kyle T.
    Applications Engineering
    National Instruments

  • Using USB-6008 software timimg Generate waveform

    I am using USB-6008 device. Base on it's User Guide, this device on support software-timed and maximum update rate is 150 Hz.
    By place a time delay VI for 1ms, I have a 1.660Hz sine signal. Is this wrong for place a time delay VI for software timing?
    I would like to generate a 60 Hz signal by using software-timed VI on USB-6008 device. How should I do?
    Thanks a lot.

    DephinTW,
    The update speed of the USB-6008 is largely dependent on the speed of
    you computer as well as anything else on your USB bus. If you are using
    an older computer or have other USB devices on the bus, you may not
    achieve this rate. In order to output a 60Hz signal, the minimum output
    sampling rate is 120Hz. This corresponds to an 8.3 msec. delay between
    samples. Instead of using the "Wait" VI, you should try using the "Wait
    Until Next ms Multiple" VI. Place this in parallel with your
    generation. This will synchronize the output with multiples of the PC
    clock, rather than waiting for a fixed amount of time, irrespective of
    code and USB overhead.
    Hope this helps,
    Ryan V.
    National Instruments
    Ryan Verret
    Product Marketing Engineer
    Signal Generators
    National Instruments

  • Reading an encoder with a USB 6008

    Hello DAQmx users,
    I have a USB 6008 and it doesn't work the way I want it to.  I have done no troubleshooting or research and I refuse to give you any more information.  You have 30 seconds to answer my question.   i kid, i kid...
    So here is my real question:
    I have a USB 6008 that we use to do simple analog output.  I'm looking for a way to use the USB 6008 to also get encoder information.  I know that the USB 6008 cannot read an encoder directly, but I was wondering if anyone knew of or had any ideas of external hardware that could be used inbetween the 6008 and the encoder.  I think it would be something like 1) the encoder generates pulses 2) external hardware takes encoder pulses, translates them into a digital value representing the angle and outputs this digital value 3) use the digital lines on the 6008 to read in the digital angle value from the external hardware 4) I don't lose my job.
    I realize that this isn't an easy, optimal, or preferred solution, but I want to look into it before being forced to replace the USB 6008 with another piece of hardware.
    Eric
    DE For Life!

    Oops..  Just realized that this got posted in the Motion Control Forums... Meant for it to go in the MIO forums.  Sorry!
    New thread is here, feel free to respond!
    Message Edited by e-Cash-Money on 03-17-2006 04:30 PM
    Eric
    DE For Life!

  • How to connect lvdt and loadcell to usb 6008

    please help me iam dont know  how to choose a daq card. searched a lt but iam lost.
    i want to measure force and displacement simultaneously of a suspension test rig and i wanted to use ni usb6008 because of my project budget.
    can i use this daq card to measure these parameters ??
    please reply.. thanks in advance.
    Solved!
    Go to Solution.

    Hi touheed,
    To be able to determine whether or not using a NI USB-6008 would be suitable for your application it would be useful to get a little more information about the measurements you want to take. If possible would you be able to provide the voltage range you intend to measure with your instruments, and the sampling rate you require? 
    Also I noticed in the subject line that you're going to be using an LVDT, will you also be generating the voltage for this with the 6008, or will this be done seperately?
    To give you some context, the NI USB-6008 does not take truly simultaneous readings at each instant, but will rapdily alternate between channels, giving effectively simultaneous samples. As this device has a sampling rate of 10 Ks/s, and you will be using 2 channels, the effective sampling rate for each input would be 5 Ks/s.
    Matt H
    Applications Engineer
    National Instruments UK

  • How to connect a USB-6008 with lookout6.0?

    hi >>>
    I am a student in electrical and computer department, i want to ask about
    How to connect a USB-6008 with lookout6.0 if thats possible?Could you
    provide some help?
    Regards
    Manal

    Hi Manal there is a way to do this, DAQ or DAQmx drivers have an OPC server, you can find the detailed information in the next link
    http://digital.ni.com/public.nsf/websearch/13BBC10CCC1FECBA8625720B00823140?OpenDocument
    Best Regards
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • Does the voltage to temperature conversation require in usb 6008 using daqmx 8.5??

    Another question need u all guy help.I currently using K-type thermocoupler for my project using usb 6008.Does the voltage to temperature conversation require in usb 6008 using daqmx 8.5? what is DAQ TEDS function use ? is it help us to convert?

    You will need to factor the voltage per degrees C to get to reading in degrees, this is 10mv per degree V for the device mentioned in the post you previously made
    http://forums.ni.com/ni/board/message?board.id=170&message.id=246200#M246200
    TEDS - Transducer Electronic Data Sheet
    A video about TEDS
    http://digital.ni.com/demo.nsf/websearch/8e55de8fe6b5702686256e7c007a47b4?opendocument

  • Drive higer load with the usb 6008

    Hi all,
    I need to drive a small motor with the analog output of the usb6008 device ... connecting it directly doesn't seem to work.
    Any suggestions how get it working??? what does the 6008 output?
    My motor works on a AAA battery dricetly.
    Thanks a lot

    On Apr 23, 12:40 am, lav21 <[email protected]> wrote:
    > Hi all,
    > &nbsp;
    > I need to drive a small motor with the analog output of the usb6008 device ... connecting it directly doesn't seem to work.
    > &nbsp;
    > Any suggestions how get it working??? what does the 6008 output?
    > &nbsp;
    > My motor works on a AAA battery dricetly.
    > &nbsp;
    > Thanks a lot
    The analog outputs of the USB-6008 are only rated at 5 Milliamps per
    channel. One suggestion for getting it to work is to use an emitter
    follower to get more current to drive your motor.
    Howard

  • Low sample rate with NI USB-6008

    Hello,
    We are working on a project collecting data from a hybrid rocket motor for
    University research. We are using a NI USB-6008, which has a sample rate of
    10kHz. We are using 3 channels and getting a sample rate of ~60 samples per
    second. I have attached the VI. Is this slowed by software, or physical
    computer computation speed? This sample rate needs to be much higher. Any help
    is greatly appreciated.
    - Theo
    Attachments:
    Hybrid DAQ_10.vi ‏73 KB

    Hi Rocket 154,
    You’ve already had some
    great responses, but I just wanted to add a little bit. A great starting point
    to writing good code would be the Getting Started with NI-DAQmx: Main Page,
    as well as the shipping examples (In LabVIEW, Help » Find Examples) already
    mentioned.
    If you navigate a bit
    through the links (Basic Programming with NI-DAQmx » Getting Started with NI-DAQmx
    Programming in LabVIEW) you’ll end up with some great resources. I recommend Learn
    10 Functions in NI-DAQmx and Handle 80% of your Data Acquisition Applications.
    It will detail many of the functions you can use and give you a feel for proper
    code style in LabVIEW.
    I hope that helps.
    Mark E.
    Precision DC Product Support Engineer
    National Instruments
    Digital Multimeters (DMMs) and LCR Meters
    Programmable Power Supplies and Source Measure Units

Maybe you are looking for

  • HT3737 How do i add multiple desktops on my laptop?

    I can't figure out how to open more than one desktop of my macbook air.

  • How do I determine whether the current page in Forms is the last page.

    I have a requirement of printing amount in words using SPELL_AMOUNT Funtion Module, in SAP Scripts. When I have only one Item Line, I am able to successfully, print the amount. The moment i have line items pouring to the next page, I see that the I a

  • Customer Ageing - Report Painter

    Hi,    Can any tell whether we can achieve the customized reports for the customer ageing (Txn: S_ALR_870121276) through report painter. If so can i get any help for the steps to be followed /material regarding this. Regards, Nagendra Prasad.J

  • Acrobat XI (Mac) always scaling print

    This just started a couple of days ago. Any time I print anything from Acrobat XI (11.0.0), the print is scaled to fit the size of the stock I'm printing on. So, when I print something letter size with crop marks on a 12x18 press sheet, the print is

  • ESS Business Package

    Hi SDN, I have deployed Business package for ESS. But when I navigate to Content Admin--> WebDynpro>Deployed Contents>sap.com/essinps(for ESS), I could not find any components under it. Moreover if I select the object for editing, the object status i