PWM por USB-6008 en Labview 7.1

Saludos a todos, mi problema es que necesito controlar 5 servos de un brazo robot que ya tengo armado y quiero sacar las señales PWM por medio de la USB-6008, solo dispongo de Lavbiew 7.1, ya genere las señales pero no tengo la menor idea de como enviarlos, por favor si tienen algun ejemplo les agradecería que me lo colocaran como imágen pues no puedo ver los ejemplos de versiones mas recientes de Labview, gracias por su pronta respuesta ya que debo entregar el proyecto antes del 15 de noviembre  y es requisito para mi graduación de Ingeniería Electrónica.

Hola Coky aquí el problema es en sí que estás trabajando fuera de las especificaciones de la tarjeta 6008. Esta no cuenta con un reloj interno por software por lo que tanto las salidas y entradas digitales como las analógicas están controladas por software. El control por software lo mas que te puede dar es un loop de 1ms, por lo que en el periodo de 1ms que quieres madamas podrías actualizar la señal 1 vez. La velocidad que puedes alcanzar por software es de 1khz.
Mas que utilizar dos tarjetas 6008, te recomendaría utilizar una tarjeta más completa por ejemplo una que utilice contadores, o una tarjeta mas rápida como la NI USB 6211, que además cuenta con contadores y te permite trabajar a 250kS/s, y el timing interno es por hardware.
Otra opción es que a través de tus salidas digitales controles componentes como un 555 y que con este controles tu servo.
Saludos
 

Similar Messages

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

    I want to create another counter for usb-6008 using Labview 8.5 as it is needed to calculate two speeds simultaneously.
    Solved!
    Go to Solution.

    The best way to do this is to use the counter.  The counter counts
    signals without having to interrupt the system or use the USB bus. 
    When you request the number of ticks that the counter has seen, a
    request is thrown from the CPU to the USB line to the 6008, which then
    asks the counter "How many ticks have you seen?"  That number is
    returned over the USB bus, goes to the CPU, and then displays on your
    screen.  Since the DIO lines on the 6008 are software timed, there is
    no way to guarantee that the data returning to the CPU is
    deterministic.  The conceptual difference between software-controlled
    DIO (which nondeterministically returns an entire data stream) and a
    software-tick-request-controlled counter (which returns a single number
    with the number of ticks) prevents us from using the DIO lines on the
    6008.  The cheapest way to count more edges is to purchase more 6008s. 
    Another possibility would be to purchase a PCI counter board such as
    the PCI-6602, which has 8 counters. The most counters we offer in the
    USB form factor is 2 per device.
    -John Sullivan
    Analog Engineer

  • PWM on USB 6008

    I want to generate 50 Hz PWM wave on USB 6008.
    How can i do it?
    Elad

    To create a pulse train output with the USB-6008/9, you will have to write a series of high and low values to one of the digital lines.  The digital lines on the USB-6008/9 are all software timed, so you will have to control the timing in software (LabVIEW presumably) in a loop with a wait function.  Take a look at the digital output examples in LabVIEW.  Go to Help>>Find Examples, then navigate to Hardware Input and Output>>DAQmx>>Digital Generation, then perhaps an example like "Write Dig Chan.vi".
    Hope this helps.
    -Alan A.

  • Can I use USB 6008 with LabVIEW 6.1 RT?

    Hi there,
    I've been using LabVIEW 6.1 RT for my applications and so far I haven't felt the need to upgrade.
    However, I decided to try the USB 6008 and I'm learning the hard way that this device will only work with NI-DAQmx and apparently not with the latest NI-DAQ 7.4.2 (legacy)  In fact, I can't see the device in MAX 4.1
    Is there any way I can use the USB 6008 with my 6.1 RT version of LabVIEW ?  or should I send the thing back to NI ?
    I will appreciate your guidance on this issue.
    Thanks a lot,
    at

    Hi at -
    Allisso is right.  There is no way to use the USB-6008 with LV 6.1, because neither of its drivers (DAQmx and DAQmxBase) support that version of LV.  You'll have to either upgrade to a current version of LV or work with another device.  I recommend contacting your sales rep at NI for help.
    David Staab, CLA
    Staff Systems Engineer
    National Instruments

  • I have LabView Student Edition, how can I make work a USB 6008?

    The Student edition it doesnot have many Vi's that there are necesary to work with a USB 6008, I would like to know how can I make work the Usb 6008 with LabView Student Edition

    Hello Jorge,
    When you say "NI-DAQmx configuration" do you mean the NI-DAQmx Base Configuration Utility?  Are you using NI-DAQmx or NI-DAQmx Base to communicate with the 6008?
    NI-DAQmx 7.5 added support for the USB-6008.  Therefore, you can use either NI-DAQmx or NI-DAQmx Base to control this device.  Make sure that you are setting the USB-6008 to NI-DAQmx before trying to use the NI-DAQmx VIs in LabVIEW.  To do this, Open Measurement and Automation Explorer (MAX) and select Tools >> NI-DAQmx Configuration >> NI-DAQmx USB Driver Selector.  Your USB-6008 should appear in this window, indicating which driver your device is configured for.  Make sure it is set to NI-DAQmx before trying to use the NI-DAQmx VIs.
    When your 6008 is set to NI-DAQmx, you cannot use NI-DAQmx Base or any of the DAQmx Base examples.  Likewise, when the 6008 is set to NI-DAQmx Base, you cannot use any NI-DAQmx VIs.
    If you would like to use NI-DAQmx with your USB-6008, please set the driver by following the steps above and verify that "USB-6008" is listed under "Devices and Interfaces >> NI-DAQmx Devices" in MAX.
    I hope this helps.  Please let me know if you continue having trouble with your USB-6008.
    Regards,
    Sean C.

  • Does USB-6008 student kit come with a LabVIEW 2009 textbook?

    Hello.
    I'm taking a LabVIEW class that requires the "LabVIEW 2009 Student Edition" textbook and software on DVD. I want to also get the USB-6008 Module, too.
    Browsing the NI Academic Starter Kits, I came across the USB-6008 Student Kit, which says comes with the USB-6008 Module, LabVIEW Student Edition software, and SignalExpress LE. This Kit seems like the best package for me to purchase, but the website is not clear as to whether the textbook is included. Does anyone know if the book is included with the USB-6008 Student Kit?
    Thanks,

    Hi YTrunner,
    Thank you for contacting National Instruments. I can confirmthat the 6008 starter kit does not come with the textbook. You would need to purchase these products separately.
    Many  thanks,
    Andrew McLennan
    Applications Engineer
    National Instruments

  • PWM control through USB 6008/09

    Hello all
    I have already read a thread regarding the topic but i am not satisfied with the replies.
    I have discovered few programs that can run PWM in LabView, but they all are for DAQmx. So, will those programs run through USB 6008? and i also read that the output will be a sort of slow response output?
    I am aiming to power a micro-pump rated at 12VDC. So, i want to run the program in LabView, use the USB 6008 to connect to a the DC motor. I know that some amplification will be required because the output of the USB 6008 is rated as 0-5V.
    But, my question is can i successfully control the speed of the DC micro-pump ( motor) using the USB 6008??
    Regards
    Nikhil
    Many more kudos to give  
    Many more Kudos to give

    Thanks for the reply.
    If you just need to output voltages(not PWM) then you can use the Analog outputs of the 6008,
    Analog Output
    Analog outputs........................................2
    Output resolution ....................................12 bits
    Maximum update rate .............................150 Hz, software-timed
    Output range ...........................................0 to +5 V
    Output impedance...................................50 Ω
    Output current drive................................5 mA
    Power-on state ........................................0 V
    Slew rate .................................................1 V/μs
    Short circuit current ................................50 mA
    Absolute accuracy (no load) ...................7 mV typical,
    36.4 mV maximum at full scale
    So yes you could output a voltage between 0 and 5 Volts. You could only change the voltage level every 10ms or so. 
    In answer to what your device (pump) requires I don't know. 
    "So, this got me thinking, do i really need PWM control for the micro-pump (DC motor)?"
    Have you got a specification datasheet (website) of the pump? - I dont mind taking a look. 
    Have you looked in the NI Example Finder to VIs that generate PWM and AnalogOutput (AO?). In the example finder (help>>Find Example) it gives you information on what devices can use the examples - simply look for the ones which say usb6008. 
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • DC motor closed loop control through labview using usb 6008

    Hello
    i am doing a project in which i want to control the speed of a DC motor (PID control) through labVIEW 2010. I am having a DC motor, a drive unit that regulates the voltage to the motor by getting analog voltage from 0 to 3.3V ( it can be used for both directions) and i also have a NI usb 6008 board. The problem is that i can't feed the usb 6008 with the digital signal from my hall effect speed sensor. Is it posible with this setup to control the motor?? I can also try to use the pulse as analog input and trasform the frequency into rpm's. Then i am thinking of generating an analog signal to feed the motor drive. If you have any further suggestion of a probably better hardware setup would be more than helpfull to me.
    Sincerely
    Jason Chaloulos

    Hello Michael
    Thanks for the reply. I came across those topics before and all of them are trying to generate a PWM signal as output i want to use just an analog signal output so timing on the output is not that important i guess. i am struggling on getting the frequency from the digital input signal that my hall effect sensor generates. Since the maximum speed of the motor is 3000 rpm and with my tooth wheel the maximum  output frequency of the sensor will be 300Hz which i see its way less than the limitation of my ni board. Is there any tutorial documentation that might help me with this one ? Thank you in advance.
    Kind regards
    Jason

  • How can I make LabView 6.1to detect DAQ NI-USB 6008

    I have a LabView version 6.1, recently I bought a new DAQ model NI-USB 6008, I could not use it with my Labview version. Please, how can I adapt my DAQ for version 6.1 or update my LabView to detect my DAQ? Please advise me to a free applicable solutions. Thanks very much

    The USB 6008 requires DAQmx which requires LabVIEW 7.0 or greater. The upgrade to 7.x (or the just released 8.0) is not free. The only other solution I've heard of is to use the Call Library Function Node to make your own calls to the DAQmx dll. This would not be for the faint of heart or anyone wishing to come up with a quick solution.

  • Are USB-6008 drivers available that make it compatible with LabVIEW 6.1?

    I'm using a USB-6008 Multifunction DAQ, but it is not compatable with teh version of LabVIEW I'm using, 6.1. I may be able to upgrade to LabVIEW 7.1 to solve the problem, but I wanted to know what alternatives I have. Are there any available drivers or patches that allow the USB-6008 to be recognized by LabVIEW 6.1?

    Unfortunately, no. The driver for the USB-6008, DAQmx Base 1.5 is only compatible with LabVIEW 7.0 or newer.
    -Alan A.

  • Error -200220 LabView 7.1 USB 6008

    I have two PC one with LabView 7.0 another one with LabView 7.1 and NI-DAQmx Base 1.4 installed for USB 6008.
    If I run example VI for LabView 7.0 on first PC it works OK, but  on second one I get Error -200220 occurred at an unidentified location Possible reason(s):
    Device identifier is invalid.
    Can someone explain me what to do with this error.
    I already tried to update LabView to 7.1.1. and drivers to 7.5 but things are getting even worse with it so I reinstalled all back.
    Can somebody give me simple VI example for this device (for examle AI monitoring) and may be you can help me with this error.
    Sergey.

    Sergey,
    If i'm being totally honest, I would ditch DAQmx Base and move to DAQmx 7.5, in the long run this will make things ALOT easier.
    From your previous post, I'm guessing you already have 7.5 downloaded or on disc somewhere. Install this driver instead. The following guide may help you out:
    http://digital.ni.com/manuals.nsf/websearch/5F6EEBAF2522C98B862570120052F35F
    As soon as you run into any problems, let me know by posting here and I will work through them with you.
    One other thing I would mention is that you may be experiencing problems that have arisen due to multiple install/uninstalls, and the registry may have been mixed and that's why you are having the trouble.
    Let me know how your getting on and we can progress together!

  • ConexiOn microcontrolador labVIEW por usb

    Buenas tardes, estoy realizando una aplicación en la cual debo comunicar un microcontrolador (jm 60 de freescale) con labview por USB. Quice hacer primero un programa sencillo que permitiera enviar y recibir un byte, pero cuando lo corro me aparece un error. Este error está numerado como -1073807302, del cual no encuentro solución. Anexo mi programa y agradezco mucho la ayuda que me puedan brindad. Muchísimas gracias.
    Adjuntos:
    ComunicacionUSB.vi ‏14 KB

    Hola  AndresAGA77,
    Efectivamente como te comenta pcortes, este error se debe a una mala inicialización del puerto USB, sería cuestión solamente de realizar la configuración adecuada.
    Otra opción, dado que por lo que comentas deseas hacer pruebas iniciales, puedes utilizar el ejemplos de USB Raw - Interrupt.vi, este VI lo puedes encontrar abriendo: Help >> Find Examples (se abrirá una ventana llamada NI Example Finder) >> Seleccionamos la pesta Search >> Esbribimos "USB" en dónde dice "Enter keyword(s)".
    A la derecha encontrarás los ejemplos de USB, te recomiendo pruebes con USB Raw - Interrupt.vi y más a la derecha encontrarás información adicional del ejemplo.
    Sin embargo, es necesario que configuremos nuestro dispositivo USB, te dejo el siguiente link que explica cómo hacerlo:
    http://www.ni.com/white-paper/4478/es/
    David P.
    National Instruments
    Ingeniería de Aplicaciones
    www.ni.com/soporte
    David P.
    National Instruments
    Applications Engineer
    www.ni.com/soporte

  • ¿Puedo acondicionar una señal generada por un sensor de humeda capacitvo para medirse con un USB 6008?

    ¿Puedo acondicionar una señal generada por un sensor de humedad capacitivo para medirla con una USB 6008?

    Hola;
    La respuesta corta es sí; pero debes agregar acondicionamiento externo.
    Una tarjeta USB 6008 tiene entradas digitales y entradas analógicas de voltaje; por lo que si quieres conectar algún sensor que entregue corriente o una resistencia variable, requieres realizar acondicionamiento externo que te permita la conversión de estas señales a un voltaje; así como filtrarlas y amplificarlas.
    Dependiendo del tipo de salida del sensor capacitivo; puedes tener una señal AC que puedes convertir a una señal de voltaje que puede leer la USB 6008 usando una resistencia. V=IR.
    Si el sensor usa una configuración de puente de capacitancia (similar a la de un puente de wheatstone); entonces tendrías que construir el puente para realizar la compensación adecuada y leer entonces un voltaje.
    Si tienes un diagrama o especificaciones del sensor te podríamos ayudar a determinar que tipo de acondicionamiento necesitas.
    Exito en tu aplicación... 
    Saludos

  • Controling heating/cooling element with labview and usb 6008 DAQ card

    Greetings All
    I'm looking for a heating/cooling type of element that I can control with labview and my usb-6008 card. Heating/Cooling will just be for clean water and the temperture range will be from 0 C to 100 degree C.
    Thanks
    The heating and cooling elements can be seperate products. Any recommendations

    A simple kettle element will of course be sufficient for upto 100°C
    To get the temperature down you need a cooling system, what springs readily to mind of course is a refrigerator.
    Just a note of warning, water and electricity are dangerous bed fellows.
    On that note perhaps one of those vortex air units would be safer - they blow hot in one direction and cold in the other, nominally to 100°C
    see: -
    http://www.airtxinternational.com/how_vortex_tubes_work.php

  • Labview 6.0 Vs USB 6008

    I have labview 6.0 software and I was wondering if it is compatible with the new USB 6008 data acquisition boards.
    Thanks.

    No. The minimum version that you can use is 7.0.

Maybe you are looking for

  • 13" rMBP (Mid 2014) Freezing/Crashing with Yosemite

    I've been having these issues non-stop since this morning - I thought I had the problem fixed but things have become a lot worse! Here are the steps that (caused?) the issue - and what I've done about it so far: Woke up this morning and used MBP for

  • Using DBMS_XSLPROCESSOR.Please Guide.

    I have written a procedure to return back a formatted XML using XSL STYLE SHEETS. When I say: Begin create_sdixml_xsl(); End; ERROR at line 1: ORA-20100: Error occurred while parsing: PI with the name 'xml' can occur only in the beginning of the docu

  • Contract create screen

    We have a requirement to create a contract with reference to another contract. But we have a custom tab in the contract create screen. This information is stored in a custom table. So when I want to create the contract with reference to another contr

  • Multilanguage JRE6 still inserts non-locale specific .msi

    If I run (locallly) the multi-language jre-6-windows-i586.exe against a French (France) Windows OS, the resultant .msi (Docs & Settings\App data....) is still English (1033). I need the locale specific .msi for GP deployment. Any help??

  • Which document outlines the new .jsp's for v7?

    In looking at the new object folder files, I noticed that some of them are gone and replaced with new ones, like "leafWrapper" is replaced with channel (I think). I've downloaded all of the available documents, ut cannot find one that outlines the sc