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

Similar Messages

  • Can i flash dead 3110 using usb in software update...

    can i flash dead 3110 using usb in software update?
    if yes need procedure

    Such things can not be discussed here on this Manufacturer sponsered forum....

  • What amplifier will recomended for my k-type theromocoupler using usb 6008

    I recently do a project about temperature control system using usb 6008, according to the spec, the minimum AI range is +/- 1V and the thermocouple giv the voltages in jz a mV, so what kind of amplifier will be recomamded? is there any amplifier chip set that available ?

    Analog Devices AD594/AD595 Monolithic Thermocouple Amplifiers (Type J / Type K)
    This would give you a conversion of 10mv per degree C using a single +5v supply you could get to a couple of hundred C
    I get 11 bits of resolution available for the +/- 4v range (11 because I can't see a negative supply available so we are only using one side of the differential range).
    That's a resolution of 2048 bits over 4v giving 0.001953 v per bit
    The devices above give 10 mv per degree C so you would have about 0.2 C resolution and a maximum temperature of around 450 degrees C an minimum temperature of 0 degrees C.
    The device draws about 1mW so you should have no problems with power consumption. (Hint Earth / Ground loops might be a problem).
    I should add that whilst I have used this device many hundreds of times, I have never applied it to the USB 6008.
    http://www.analog.com/en/prod/0%2C2877%2CAD594%2C00.html
    Message Edited by Conseils on 05-08-2007 08:51 PM
    Message Edited by Conseils on 05-08-2007 08:52 PM
    Attachments:
    46185785AD594_fbs.gif ‏17 KB

  • Why not use USB 6008?

    Hi,
    I have an application that requires me to sample 6 AI channels at 1 kHz.
    Processing every 20 ms.
    I also need to output a PWM on 3 channels.
    Normally I'd use PCI-DAQ cards.
    e.g. a PCI-6023E and a PCI 6601 (timer/counter).
    This costs about 700€.
    Why shouldn't I use a NI USB 6008 (145€)
    and two NI 6501 (99€).
    Is there a big difference in programming and performance?
    Are those devices all USB-2?
    Because If I sample at 10Khz, I do not suppose that all that
    data can go over a USB1-bus.
    Thx !

    Hi!
    My observation is that a 6008 will work for you if you only need to acquire 6 channels at 1 kHz and you can handle 11 bits of resolution (to use six channels you must be in single ended mode, which losses one bit of resolution on this board). The other possible disadvantage of the 6008 is that you will have to learn to use DAQmx Base, if you haven't done so yet. However, if you are familiar with DAQmx, this should not be too difficult.
    As for digital output, using two 6501's may not work for you. They will be software timed digital outputs, where it seems that you were looking for hardware timed outputs before (6601).
    Both of these devices are USB 2.0 Full-Speed, which can handle this amount of data.
    Good Luck with your project!
    Justin

  • Audio sampling rate issue using USB 6008

    Hello,
             I'm trying to input audio into the analog ports of my DAQ 6008. I'm using labview 8.5, and generated the DAQ assistant (express), used array index to output the 4 microphone channels into the waveform chart IV (i.e. I'm display 4 charts for the four analog microphone inputs). 
    when I run it, the charts, on the screen, update every 1 sec it seems, which is MUCH slower than I would like to sample at (I perfer the max, of around 10K/s).   does anyone know why it's sampling so slow, and how I can improve this?
    thank you,
    dave

    i cannot use waveform graph instead of chart, becuase i'm gathering scalars, and waveform graph requires at least 1D array data.  Also, in DAQ assistant, how do I set these blocks your refering too?  The only sampling options i see are sampling type (i.e. continuous), samples (which doesn't matter for continuous sampling), and rate (which I've maxed out at 2.5k).
    In the DAQ assistant, the rate of data is being displayed at the correct rate, but in the front panel, and in the file I'm writing too, I'm see only about 1-2 data poins per sec....
    below is a copy of my VI  (note, the system automatically insets a dynamic to array converted.
    thank you!
    dave
    Attachments:
    audiosensory.JPG ‏209 KB

  • 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

  • Rpm sensor diagram using usb-6008

    Hi All,
    Attached is my block diagram for the RPM sensor that I wan to create. What I'm trying to do is to get the analog input and do a pulse calculation within 60 seconds, and my RPM would be how many pulse * 60. I don't know whether I'm doing it right or not, but I have a feeling that I need to use the digital input rather than analog input. Any comment?
    Thanks
    Attachments:
    rpm sensor design.vi ‏70 KB

    Hello Dadsf,
    Welcome to the NI Discussion Forums!  From your post, you would like to be able to count the number of pulses from your sensor that occur during a period of time and convert this to RPM.  Let me know if I have interpreted this incorrectly.  Your USB-6008 manual indicates that the device has a built in counter that can be used to count falling edge signals.  If your sensor outputs digital signal this would be a good way to go.  You can take the number of pulses that occur over a certain period of time (perhaps between two loop iterations) to find the number of pulses per second.  The longer the period of time you acquire pulses for, the more accurate your average RPM will be.  This will be at an expense of how often the user is updated with a new RPM value.  Check out the links in my signature for some great information on how to get started with DAQmx and what all of the different terms in the DAQ Assistant mean. 
    I noticed that your DAQ Assistant was set to 1 sample on demand.  What this does is causes the USB-6008 to read a single sample from the analog input during each iteration of the loop.  I am not sure if that is the behavior you are looking for.  Another option would be to setup the task as continuous hardware timed analog input (change the Acquisition mode to Continuous Samples with you desired sample rate and the desired number of samples you would like to read at a time).  This will give you a waveform of data that should show the pulses over a period of time.  You could then count the number of pulses that occur over the length of the waveform.  This would be the equivalent of the number of pulses per second that could be converted to RPM.  This method requires a little more processing than the first method, but could give you a little better accuracy.  Post back if you need more info. 
    Regards,
    Browning G
    FlexRIO R&D

  • 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

  • Cannot use USB 6008 in Lab VIEW... is in Devices on Comp however

    I was in class the other night, and was running a VI.  We went to lab, and without shutting down labView, my partner plugged in my USB-6008 DAQ.  SInce that time, the 6008 will not show up.  I have a message about having no supported devices.  I am using DAQmx 8.0 that came with my student version, and have reinstalled the LabVIEW 8.0 and the DAQmx 8.0  I still cannot get LabVIEW to recognize the DAQ.  When I plug it in my hardware profiles recognize that it is hooked up, but LabVIEW will not.  Also I have uninstalled it, and plugged it in, reinstalled it using the auto hardware install wizard, and still nothing on LabVIEW.  The DAQ has the flickering green LED, and works on other laptops.  Also my flash drive works correctly in all of the USBs, so I do not think that could be the problem.  I just really would like to get this to work again, but as I said the DAQ is not recognized by MAX or DAQmx inside of LabVIEW.  Any help would be greatly appreciated...
    Thanks

    Hi,
    You might want to try MSI-Blast.
    Have a look at this thread.
    http://forums.ni.com/ni/board/message?board.id=170&message.id=108288&query.id=113978#M108288
    Patrick Allen

  • 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

  • Switching pneumatic solenoid valves using USB 6008

    Hi, 
    I am a student working on a project in which I need to built a program to control/switch  pneumatic solenoid valves to oporate on a pneumatic cylinder using the USB 6008 I am very new to LabView and DAQ.
    The solenoid has two ports, one for extending the stroke arm of the pneumatic cylinder and the other for collapsing the stroke arm.as the solenoids works off of a 12V supply I have bulilt a darlington pair as a firing circuit for it.
    I have had built different programs but I'm only able to  send a signal to extend the stroke arm  and then manually switch the wiring to collaps the stroke arm. So I have problem building a program that sends a signal to my circuit in such a way that ports of the solenoids go ON and OFF after a certain time.
    I really appreciate your help
    Elmira
    Elmira

    Dear Lynn,
    Thanks for the replay.
    I'm gonna try to best describe my system this time;
    I'm trying to creat pitch motion  using a pneumatic system including an air compressor, a solenoid valve and a cylinder.
    The compressor is made by PowerFist and is capable of storing 5 gallons of air under a rated pressure of 125psi and can deliver 2.5cfm (cubic foot per meter) at 90 psi. The compressed air is sent directly to the solenoid valve. It operates using an electrical motor operating from a standard 110V power outlet.The cylinder has a stoke length of 19.7” and a bore size of 1.6” capable of operating under 130psi.
    The solenoid valve used is  5-way 3-position. This means that there are five different ways the air flows inside the solenoid and the solenoid can set in three positions depending on the movement of the mechanical core inside. When air is transferred into the valve the mechanical core moves directing the air to the appropriate ports of the solenoid. The two outputs of the solenoid are sent directly to the pneumatic cylinder where extension and collapsing movements can be performed. the solenoid works off of a 12V supply so I'm using darlington pair transistor as the firing circuit .
    Please see the attach for the pneumatic diagram.
    Thank you
    Elmira
    Attachments:
    pneumatic diagram.jpg ‏33 KB

  • Using USB-6008 to light up LED array(hardware)

    I've created the coding to light up an array of LEDs at random, can someone teach me how to light up my hardware using the NI-USB6008 exactly as it lights up in the VI? thanks.
    p.s: I've attached my VI and LED array schematic
    Attachments:
    LED array.vi ‏21 KB
    led array.jpg ‏13 KB

    You can also get LEDs that only draw 2mA. They are not so bright, but then you do not have to use a driver only a resistor
    Which country do live in. I you live in Europe I might give you a vendor
    I know Agilent has such a series of LED
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Counting TTL pulses using USB 6008

    Hi Folks,
    I am trying to setup a performance monitoring VI for a manufacturing line.
    I am going to use a sensor at the end of the line to count the number/rate of boxes that come of the line and perform a calculation to give us the productivity.
    The problem I have is that I would like to be able to scroll back over time to view historical productivity. Also I would like to be able to insert reason codes for downtime and print off a report at the end of the week showing a productivity graph and downtime associated with the line.
    I am new to Labview and I am not sure if this can be done, any help would be appreciated.
    Thanks
    Tony.
    Attachments:
    K2 Productivity-s.vi ‏60 KB

    Search 'count'.  Count Digital Events.vi is the most basic one of interest.
    Of course you won't find an example of counting pulses, analyzing the data and creating a report.  You'll have to put all the pieces together yourself.  This is just a start.  The good news is that LabVIEW is designed to do just the type of thing you're needing and your app will be quite simple to contrive once you get the hang of LabVIEW.  I suggest going through the many tutorials to get the basics down before you try to architect your program.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

  • Using USB NI-6008 on LV7.1 the results data has to be in Excel. It looks as cluster data format that i can not insert into excel VI

    I am Using USB 6008 with LV 7.1. The application is voltage logger and i would like to use excel and upload the data . The Columns will be the channels and the rows will be the data.
    The data comes from the DAQmx vi not like a simple string or an number it is kind of cluster data
    which contains strings and numbers and more for each measurement.
    I tryed to work with spraedshit and it goes ok but it is not conveniant to convert later to excel.
    Do you have a solution for that please?
    (How to extract the data from the cluster type format that is used with USB6008).
    TX arik
    Attachments:
    USB-6008-r3.vi ‏80 KB

    Arik:
    I hope all is well. If you are trying to write data to a text file along with the header information, you could do the following:
    1. Open a reference to a file and write the header information right away.
    2. Do your continuous acquisition (in a loop) using the 6008 and write the data to a file everytime.
    3. With the proper formatting, your colums will represent channels and your rows data.
    Please take a look at the attached example and let me know if you have any other questions.
    Regards,
    Rudi N.
    Attachments:
    WriteFilewHeaders.vi ‏64 KB

  • 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

Maybe you are looking for

  • Runtime Server Error in '/' Application and a 'create root file to fix' dunno how to do this.

    For several weeks Firefox crashes when I close it down for the day. Firefox error message box sends crash report. Today I got I think from Firefox: please create a <customErrors> tag within a "web.config" configuration file located in the root direct

  • How to call a AS/400 Stored Procedure with a BigDecimal Value?

    Hi, Could you pls tell me how to call a stored procedure on the AS/400 which request an input value of packed decimal(10P 4) value. I have tried to convert it to a BigDecimal in Java and call the stored procedure as follows but it gave me a decimal p

  • Less Frequent Daily Backups with Time Machine

    I was not happy with Time Machine hogging up so much system time and seriously slowing down the server and network. So I turned Time Machine off in System Preferences and added the following to the sudo crontab: 25 20 * * * /System/Library/CoreServic

  • Help, why am i getting an error?

    i have the following code, trying to find the smallest of 3 integers that i will input, keep getting an error message, says that "scanner" is not a reconized symbol?? import static java.lang.Math.*; public class dr {      static Scanner console = new

  • Safari 3.1 Update and Shift key problem in Gmail

    The problem of the new 3.1 Safari update and its affect on the shift key in Gmail is all over this forum and the Gmail forum. Is anyone from Apple seeing this? This seems a very convoluted way to let Apple/Gmail know about it. It would be good if one