USB 6009 Signals Readings

Hello,
I'm using USB 6009 to read signals from PMT and other equipment for experiments and I have a couple of questions:
1. Is it possible to read a signal with out DAQ assist? I've looked around the forums and haven't seen any relevant material.
2. This is probably true, but I haven't checked it yet. Is it possible to read two signals in the same loop (eg, AI0 & AI2 in a while loop)?
I'd appreciate if you'll point me to the right directions.
Thank you,
A
P.S
I should probably mention that I want to read the signals with out using DAQ assist because of the  assumption that DAQ assist  is slower than a direct measurement.
Solved!
Go to Solution.

Hi Ravens Fan,
Thank you for the answers and link. This is what I'm trying to do, and I've read the post on this link (the error code page): http://digital.ni.com/public.nsf/allkb/485201B647950BF886257537006CEB89 I think my error is mostly case #4 on the page (mostly because I dont use DAQ assist).
But, I can't figure out how to terminate/clear channel to release the device for the next one. Any ideas?
Thank you.
Attachments:
error.JPG ‏55 KB

Similar Messages

  • USB-6009 activates unwanted 5V digital signal when turning on the computer

    Hello!
    This may be a known issue, but I couldn't seem to find it in the discussion forums.
    As the title describes, upon turning on the computer, the USB-6009 receives power from the USB port and automatically fires 5V from various TTL channels.
    This is problematic, as it persistently activates part of our machinery we have attached.
    This occurs even when plugging in the USB after the computer is powered up.
    The only way to ensure none of the channels are sending 5V outputs is to power up our labview software, and manually send the command to set all TTL channels to 0V.
    Is there a way to default all the outputs to 0 upon receiving power?
    Thanks,
    -Peter

    6008 is a low-cost device, not a high-performance device.
    Build some hardware protection between the DAQ and your equipment to make it fail-safe in the event that the DAQ reinits and pulls all the lines high.  Tristate buffers and inverters help a lot here.
    You can also use the analog output to "turn on" the rest of the circuit - that inits at 1V, set a comparator to trigger above 3V and slam that output to 5 when the rest of your outputs are configured.

  • USB 6009 thermocouple noise

    I'm using NI-DAQmx 7.5, Labview 7.0, and a USB-6009.
    I'm trying to get a more accurate reading from my j-type thermocouple.  It is now distorted with noise and jumps rapidly +/- 20 degrees around room temp without any heat being applied.  When heat is applied, it climbs as it should but with the same variation.  I haven't moved to the labview side of it yet, I'm still trying to get a usable reading in MAX.  I have it wired as a differential input with a floating signal source.  I've installed 10k ohm resistors for bias current return as instructed.  Installing the resistors helped but still leaves me with the readings shown in the attached pic.  I've also tried grounding my USB 6009 with no results.  Please help. john
    Attachments:
    thermocouple reading.jpg ‏41 KB

    Hi John,
    What you are running into is a problem with the actual voltage resolution of your USB-6009.  This device has 14-bits of resolution over a minimum range of +/- 1V.  That means that the voltage resolution is (1 - (-1))V / (2^14) = 2V / (16384) = 122uV.  While this is an excellent resolution for such a low cost USB device, you will still notice problems when trying to make a thermocouple measurement.  The reason for that is that Thermocouples make a very small output voltage (see image below).
    Common thermocouple types have the following response:
    K type: 41 microVolts per degree Celsius
    J type: 56 microVolts per degree Celsius
    T type: 52 microVolts per degree Celsius
    There are a few options for ways to get around this limitation.
    Good: You could read the signal in as a voltage and then manually convert that voltage into a temperature.  This would be the least accurate method, but it should allow you to average out your signal and then use the Convert Thermocouple Reading.vi to show the voltage as a temperature.
    Better: If you want to keep using the USB-6009 to measure thermocouple, what you really need to do is first amplify your signal before you connect it with your device.  This should increase your resolution of the thermocouple allowing you to get more accurate temperature specs.  This will require some more complex programming to properly scale your measurements, but it will give you more accurate readings for relatively little cost.
    Best: Opt for getting a USB device that is designed for taking temperature measurements such as the USB-9211A.  This device would give you a voltage resolution of 160mV/2^24 = 9.54 nV!  That's over 12500x the resolution of the USB-6009 that you currently have.
    Hopefully the above information helps you better understand what is going on and why.  If you have any other questions feel free to post them here.
    Message Edited by Otis [DE] on 01-13-2006 11:37 AM
    Message Edited by Otis [DE] on 01-13-2006 11:38 AM
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments
    Attachments:
    761029-Thermocouple_Voltages.GIF ‏10 KB

  • Usb 6009 digital input

    Dear All!!
    With the following vi. I'm trying to receive a 5V signal in a digital input, using a usb-6009 device.
    I would like to use the 5 VCC supply, available in pin 31 of the same device and send it to pin 17, representing line0 of port0. During execution, 'm physically connecting and disconnecting  these pins in order to see the difference in a led indicator. Unfortunatelly, the led is always on, even if both pins are disconnected.
    Could somebody help me? I would be very pleased.
    Thank you very much in advance,
    Miren
    Attachments:
    proof.vi ‏38 KB

    Hi Miren,
    "the led is always on, even if both pins are disconnected"
    RTFM?!
    They use open collector inputs with an internal pullup resistor of 4.7k, so you actively have to pull down the input to GND to see a difference...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Usb 6009 continuous analog output

    Hi
    I'm pretty new to Labview, so you may have to bear with me. I have a USB-6009 and I want to generate a continuos analog output voltage. I've got the example you have posted 'Gen Mult Volt Updates-SW Timed_LV7.1 (0 to 4).vi' working and it outputs a continuous sine wave.
    In a similar manner I need to generate:
    1. Ramp up voltage (and ramp down voltage): starting with a continuos constant voltage, which after a period of time linearly increases to another constant voltage, and which allows me to specify the 3 time intervals and the rate of increase.
    2. Pulsations: whereby I can specify the amplitude and time interval of each pulsation
    This is so that I can control voltage to a valve which regulates my pipe flow. In the example I have (one stated above), I do not understand specifically:
    i. Why I need both a 'Software Loop Time (ms)' as well as 'Timeout'
    ii. The 'Sinusoidal Pattern' input which seems to generate data for a sine wave- I can't get a description of that and there are no similar VIs for other waveforms; and what is the function of the two numbers it has?
    iv. How do I change amplitude and time period for the wave?
    iii. What does 'Index Array' do?
    thank you

    Hi there,
    I'm guessing the VI you are using is the one from this KB:
    http://digital.ni.com/public.nsf/allkb/6F2C2B49A89D685C8625711D007BDD64
    i. The software timed loop control is to control the rate at which you change the voltage output.  The timeout on the DAQmx Write VI is the maximum time in seconds the VI will wait to output a sample (eg. if the write buffer is full, the Write VI will wait for it to become available for 'timeout' seconds before outputting an error).
    ii. The sine pattern is just an array constant of doubles that make up the sine wave voltage values, and the for loop adds an offset (of two volts) to every single one of those values. You might want to replace that entire array constant and for loop with a Simulate Signal Express VI (just search for Simulate Sig or look in the Functions >> Input palette) and convert the dynamic data output to an array of doubles.  You can configure the type of waveform, amplitude, and time period from that express VI as well.
    iii.  Refer to previous answer.
    iv.  Index array returns an element of an array based on the index input.  You can turn on the context help and move your mouse over functions to get more help on them.
    I hope that helps!
    Way S.
    NI UK Applications Engineer

  • USB-6009 Temperature Acquisition

    Hi All
    I seem to have some brain fade today. I need to use the USB-6009 to with a J type thermocouple. When I hook it up the temperature is not correct and widely varies. I am getting reading from 0 to 60 C at room temperature. I need to incorporate this into another circuit for testing. I assume that I am overlooking the simple and obvious. I have tried using a DAQ Assistant and a DAQmx. Any help will be appreciated.
    Thanks
    Gerald

    Hello Gerald,
    You don't have a brain fade! I recently got in a few usb-6009's and am seeing a similar response when trying to measure temperature with thermocouples.
    I don't believe this is noise as much as resolution on the usb-6009. At this point I have added resistors to bring down noise but am seeing the same "waver" that you describe (although not quite as extreme). I am looking into building a signal amplifier or alternatively purchasing a  TAC80 thermocouple-to-analog converter for use with the usb-6009.
    Have you had any progress with your issue?
    Adzel

  • USB-6009

    I am electrical engineering student and i design a project which the sensor signals through USB-6009 to PC labview for monitoring, but i dont know this sensor and USB-6009 can do this function or not? anyone can help, Thank you!
    Attachments:
    FFP350_product.pdf ‏61 KB
    ForceSensorFFP350.pdf ‏144 KB

    johnsold wrote:
    Kchiman,
    As an electrical engineering student it is time you learned to read and interpret data sheets. You will spend much of your career doing that.  And none of your professors ever mentioned it, right?
    Data sheets are the source of much of the information which is critical to the success (or failure) of your designs.  Of course none of your professors actually knows much about design either.
    Lynn
    MSEE, P.E., and 40 years of experience
    Lynn,  YMMD
    Spoiler (Highlight to read)
    Connecting the sensor could be done via screw terminals....  no risc for ppt high performers to touch the solder iron on the wrong side
    Connecting the sensor could be done via screw terminals....  no risc for ppt high performers to touch the solder iron on the wrong side
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • USB-6009 digital input change detection

    Hi,
      I am trying to acquire digital signals from an ni usb-6009 device using daqmx on labview 8.0. I need to write the signals from a port of the device to an output file only when there is a change in the signals and I am not able to do this successfully. I created a digital task in MAX and was able to select acquisition mode as '1 sample (On Demand) ' only. Any other selection for acquisition mode would result in error 200077 with the following message -
    Measurements: Requested value is not a supported value for this property.
    Property: SampTimingType
    You Have Requested: Sample Clock
    You Can Select: On Demand
    I selected '1 Sample (On Demand)' acquisition mode and was able to see the channel values on running it in MAX as I rotated a device connected to the usb-6009 device. As expected the hex values on MAX were showing up as FF,7F,3F,BF and this pattern was repeated everytime I provided the input by rotating the device.
    Next, I created a simple vi to use the digital task I setup on MAX. I want to be able to record the signals only when there is a change in the digital pattern from the channels.That is when there is atransition from FF to 7F to 3F and so on, the vi should write to an output file and if no change happens, it should not write to file. To do this, I explored the Timing vi and tried using the 'Change detection' mode, but that produced the same error as above. 
    Can anyone please suggest a way to accomplish what I am trying to do ? Any guidance will be a hugely appreciated.
    Thanks
    ~Sej

    All of that effort with sample rates, timing, change detection, etc ciuld have been avoided if you had read the specs. As you finally found out, the device only supports sftware timed i/o and no change detection. You wll have to do your change detection in software this is done with a shift register/feedback loop.

  • USB 6009 Up/Down Counters

    Hello to everybody,
    I'm going to buy a USB 6009 for a low cost application and it fits my requirements except the counter.
    In fact, I would need an Up/Down counter while USB 6009 has an event counter type only.
    Do you know whether is possible to create the count direction by using one of the DIO bit?
    I have been thinking to design an external circuit for creating the right signal but I have no idea for a while.
    Please, let me know any suggestion.
    Thanks in advance.
    Regards 

    Hi,
    These device can be used only for simple event counting using PFI 0 as an event counter input. The counter gate is not accessible on the USB 6008/6009 devices.
    No Quadrature Encoder Capability is available: USB-6009 has counter. However, in DAQmx Base, externally controlled count direction is not supported. Notice that for a CI input task in the NI-DAQmx Base configuration utility, you can only specify count up. You cannot select "externally controlled." or "Count Down".
    I hope it helps,
    Marco

  • Usb 6009 output changes

    Hi, I'm using a NI USB 6009 device.  I am using the analog output to drive very small currents (less than 1 micro Amp) through a 1 MOhm resistor.  I find that the output often changes significantly when I begin to acquire data, or if the computer is doing something, such as fitting data, or even if I am simply opening other files or programs.  Any advice?
    Thanks!
    Micah

    Hi, thanks for the responses.
    I'm outputing a DC voltage with values typically ranging from 0.1 V to 1 V.  The signal goes through a 1 MOhm resistor in series with a coil for producing very small magnetic fields applied to an atomic magnetometer.   It appears that the output changes by tens of millivolts, as recorded by a yokogawa oscilloscope with input impedance of 1 MOhm.  The coil and scope are both grounded.  I am using only a single input channel on the USB6009, coming from an SRS voltage preamp with output impedance of 50 Ohms
    I can also infer that there are changes in the current when the computer "does something" by looking at the signal in the atomic magnetometer.   
    Perhaps it would help if I shunted the output with some smaller resistor, say 10kOhm?
    I will look at the document you mentioned.
    Thanks again.

  • USB 6009 Data Acquisitio​n noise

    When I acquire the voltage from USB 6009, It gives some fluctuation/Noise (Please check the image, green color).
    What is the reason for that?. How to overcome this noise? One way is averaging, is there any other ways to do or overcome this problem
    Could you please suggest me?
    Thank you,
    Best Regards,
    Rathan
    Attachments:
    Noise.GIF ‏16 KB

    Dear Rathan
    The correct Terminal configuration depends on if your power supply is floating or grounded. Please have a look at tabel below.
    As to the filter, which type of filter to use depends on the frequency of your signal. If your frequency (or frequencies) is low a lowpass with a cutoff frequency a bit over your frequency would be best. Conversly if your frequency is high a highpass with a lower cutoff frequency would do the job. If you are interested in only a single or small spann of frequencies a bandpass could be used.
    You can filter your signal either via a hardware filter before you acquire it via your DAQ, but that would require that you have or can build a hardware filter that fits your needs. Else you can filter the signal in software after you've aquired it. The filters in LabVIEW can be found in the functions palette under Signal Processing -> Filters. I think a butterworth filter would do nicely. You can find an example through the LV Help.
    Best Regards
    David
    Message Edited by DavidEk on 07-29-2009 05:03 AM
    Attachments:
    Connection Configs.PNG ‏66 KB

  • Usb 6009 freeze

    Hi all,
    When using the USB 6009 interface for reading out two sensors (temperature and pressure, using the Voltage they generate) and sending signals to valves, my program keeps working.
    But after a while the USB module crashes.
    Most of the time both input and output don't seem to work anymore. I don't get any error, it just doesn't work anymore. When I pull out the USB device and insert it again in the USB port, it works again perfectly
    FYI (It happened once or twice that the outputs still worked, but I got no input from the devices.)
    Does anyone have similar problems or knows how to fix this?
    Thank you in advance.
    Regards,
    Bart
    Solved!
    Go to Solution.

    Here is the code.
    Attachments:
    Leakage_test_v1.1.vi ‏355 KB

  • USB 6009 and DAQmx Base Concerns

    Hello,
    I just received a USB-6009 multifunction DAQ device along with DAQmx Base for use on Windows XP with LabWindows/CVI ver 7.1.  Both the 6009 and DAQmxBase are successfully installed however I have several questions, I hope I am missing something obvious:
    1. The Task Configuration Utility is not needed for use with LabWindows/CVI?  I believe I read this in the Getting Started Guide.
    2. There is no function panel for the DAQmxBase functions?  I even searched the installation CD and found no .fp files.  So the only way to know what functions are available with DAQmxBase is to open the NIDAQmxBase.h file and search through the function prototypes?  Then, to know what a function does it is necessary to open the C Function Reference Manual via the Windows Start button and search for the function name of interest?
    3. When creating a digital input or output channel with DAQmxBaseCreateDIChan or DOChan is it only possible to setup a "channel" as an entire port?  Is it not possible to setup a channel as a single input or output line?  Similarly, once the channel is configured is it only possible to read or write an entire port with DAQmxBaseReadDigitalU8 or WriteDigitalU8?  I was expecting something similar to the DIG_out_line function used in Traditional NI-DAQ where a board number, port number, line number and state are passed so that a signal output line can be set on or off.
    Thanks in advance for the assistance,
    - Aaron

    Aaron T. wrote:
    Hello,   I just received a USB-6009 multifunction DAQ device along with DAQmx Base for use on Windows XP with LabWindows/CVI ver 7.1.  Both the 6009 and DAQmxBase are successfully installed however I have several questions, I hope I am missing something obvious:   1. The Task Configuration Utility is not needed for use with LabWindows/CVI?  I believe I read this in the Getting Started Guide.  
    **The Task Configuration Utility is not necessary, except that there is significant functionality missing from DAQmx Base but present in the utility. That includes a lot of what DAQmx calls "proerties", and includes things like the convert rate for AI scanning.
    2. There is no function panel for the DAQmxBase functions?  I even searched the installation CD and found no .fp files.  So the only way to know what functions are available with DAQmxBase is to open the NIDAQmxBase.h file and search through the function prototypes?  Then, to know what a function does it is necessary to open the C Function Reference Manual via the Windows Start button and search for the function name of interest?  
    **I don't use CVI so I don't know anything about this. It strikes me that even if you have such a panel reading the documentation is a good idea
    3. When creating a digital input or output channel with DAQmxBaseCreateDIChan or DOChan is it only possible to setup a "channel" as an entire port?  Is it not possible to setup a channel as a single input or output line?  Similarly, once the channel is configured is it only possible to read or write an entire port with DAQmxBaseReadDigitalU8 or WriteDigitalU8?  I was expecting something similar to the DIG_out_line function used in Traditional NI-DAQ where a board number, port number, line number and state are passed so that a signal output line can be set on or off.  
    **Well, the ReadMe file says that USB-6008/9 is supported with both Line I/O and Port I/O. On the other hand, the documentation for DAQmxBaseCreateDOChan and DAQmxBaseCreateDIChan say for the lineGrouping parameter, "Always pass DAQmx_Val_ChanForAllLines." So your question is a good one! Perhaps one of the NI engineers can comment on this.
    - Aaron
    Thanks in advance for the assistance,
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com

  • USB-6009 AI and AO

    Hello,
    I have an USB-6009 DAQmx device. I would like to measure analogue input with the possible highest sampling rate (48kHz) . At the same time, I need to ramp a voltage analogue output from 0 to 5 Volts, lets say during 2 minutes. These two tasks do not require close syncing. Regarding to the spec, the highest rate of the AO is 150 Hz. It is ok for my application.
    So the AI measurement will use device internal clock, and the AO can only work with software timing. Is it possible to independently ramping the voltage output and at the same time, reading the analogue input? If not, is there a workaround for this device?
    Thanks for advice!
    Regards,
    Solved!
    Go to Solution.

    I have made a test version (the final solution will do measurement for 2 minutes, so I will need to ramp up the analogue signal from 0 to 5 Volts in 2 minutes, and I think 10 msec will give a sufficiently smooth ramp curve --> 24000 steps over the 5V range).
    In this test VI I do measurement on two analogue inputs using internal timing, and in parallel, I do the ramp signal with software timing (I guess it is not advised to go below 10 msec because Windows can slow down too much?).
    Additional question: when I use DAQ on the two input channels, I understand that, the available highest rate is half of the maximum. But when I plot the two channels, the points are at the same time on the XY graph. How does  LabView interleave data from the two channels during measurement?
    Thanks for help and advice,
    Regards,
    Attachments:
    Test1.vi ‏213 KB

  • Usb-6009 analog output voltage

    Hi,
    The usb-6009 has two 0-5 volts analog ouputs. Is it possible to connect
    them in series, in order to get a single 0-10 volts analog output
    channel ?
    Thanks,
    Nicolas

    Those are ground-referenced signals. To connect them in series, you would have to connect one of the outputs to ground. You would be shorting out (at least) one of your analog outputs, and probably damage the unit.
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com

Maybe you are looking for

  • IPod Nano(2nd) problems with Windows Vista

    I'm trying to sync music and podcasts to my Nano and I get an error message (-50) saying it wont sync. Then I get another error message saying that the disk could not be read from or written to. I have the newest version of iTunes and the newest vers

  • Youtube can not refresh

    The Youtube in my 3rd generaion Apple TV can not refresh the content of the channels I subscribed. And the Youtube shows only 5 of my favorite videos. But the situation above does not exist in my iphone and ipad. How can I solve these problems?

  • Windows XP Professional 64-bit laptop

    Just wanted to know if I can install vista 64-bit version of iTunes on a 64-bit XP machine. I read in another thread that vista 64-bit itunes installer file name is something like iTunes64setup.exe. where can I find that file because on iTunes downlo

  • Difference between open storage & Bulk storage PUTAWAY STRATEGY

    Dear all, What is main difference between open storage & Bulk storage PUTAWAY STRATEGY ? Thanks & Regards, Olet Malla

  • AXIEM IS NOT SUPPORTED

    HI THERE, I AM NEW TO AWR MICROWAVE OFFICE. I WAS TRYING TO LEARN AXIEM EXTRACTION AND TRIED ONE OF THE CIRCUIT. AT THE END I AM END UP WITH ERROR  "MY STUB - Extraction 12:52:37 PM EXTRACT.EX1: The 'AWR AXIEM - Async' feature is not supported Simula