USB-6009 as impulse geneartor

Hello

I use a card DAQ USB-6009 to read the signal from 3 channels. at the same time, I want to read a TTL trigger and genearte a TTL trigger or a waveform square with a delay of 4 seconds.

I'm reading the trigger and then write with "wait" function in my loop. but I find that there is a bug with the writing of the matrix. I can read the writing the trigger with single channel, but not with multiple channels.

Here's the EIS. Please help me with the file of multiple channels to see why it does not work.

You have designed your application correctly; I would recommend going through the following steps:

Getting started with NO-DAQmx: Main Page

Tags: NI Hardware

Similar Questions

  • Timed software a generation of impulses - USB-6009

    Hello.

    I searched for a reliable way to produce a pulse point by point with the USB-6009. My question is whether or not it is possible to produce such a signal without hardware timing or a counter as the USB-6009 supports neither. Is the closest I've come to produce a square with a very low duty cycle wave. However, what I would ideally look for is the ability to produce a single pulse inside a loop which I can go once per minute or more. Also, I would like to know what are the parameters I would be sacrificing to produce a pulse in this way.

    I also have access to a function generator and as it seems quite difficult I will be probably triggering just its pulse function in the same way, but I'd like to explore this obstacle before moving on.

    Thank you

    Travis.

    20 ms can enter the region where you will begin to see significant amounts of timing jitter. You really need to write your program and make some careful measurements - over a long period of time - to see how much of a problem you will have. Actual performance will depend on a lot of details: the operating system, other software process running in the background, and how the LV program is implemented.  You must reduce as much as possible, everything else on the computer: no network, no antivirus, no Bluetooth or WiFi connection and so on...

    Lynn

  • Using the DAQ USB-6009 meter and an analog input voltage at the same time.

    Hello

    Currently, I'm reading the two channels of voltage with the USB-6009. It happens that one of the channels is the output of a digital coder, and it would be much easier to use it directly to the PFIO entry that is defined as a counter. The problem I am facing right now, it's that I can't use the DAQ Assistant to use the analog voltage to a channel and the digital channel counter at the same time. Once I put the DAQ Assistant to read the input from analogue voltage, I won't be able to add analog inputs. And as I put the DAQ Assistant to use the PFIO as a counter, I can add more entries to read analog voltage is.

    I wonder if it is possible to solve this problem using the lower level data blocks? Another solution would be to read two channels in analog input voltage and that the use of Matlab to process data resulting from it, since I was not able to do the counting to work simultaneously with the acquisition in Labview to impulses.

    Hope you guys can help out me.

    Thanks in advance.

    Using a simple wizard of DAQ is incorrect. You need one to acquire analog inputs and one for the meter.

  • Default settings for digital lines? USB-6009

    Hi all

    I use the digital lines on my USB-6009 to control normally open SSRs.  When I turn on the system, I would like to have the digital lines on the USB-6009 case to automatically configure themselves to be output digital lines put in position "Low", so I don't spend on my SSRs until I gave the command.  Is there a way to do this?

    Thank you.

    Cannot set default on 600 x Renault States, unfortunately.

    Do a genius on the hardware side, knowing the lines are pulled high on the acquisition of data is initialized. and if certain combinations of outputs produced a dangerous situation, you must stop to happen in hardware.  Good practice to do so anyway.

    Another option is to use an analog output, those can pump a little more power than otherwise to 1V, and do what is usually not sufficient to turn of SSRs.

  • Is it possible to install a usb-6009 Dasylab box?

    I need to install a usb-6009 case in Dasylab, but Dasylab not recogise daqmx devices, or what it looks like.

    MAX, I see I have traditional NI DAQ installed (7.4.2f3), but the usb devices are listed as daqmx devices.

    Is there a a way to deceive Dasylab seeing my device?

    I usually work in Labview, but now I need to replicate a measure of a colleague from Ethiopia and Dasylab is confusing at first.

    Wouldn't be easier to use a pci card (we pci 6220 available)?

    Max version4.3.0f0

    8.6.1f0 DAQmx

    traditional OR daq 7.4.2f3

    DASYLab 8.00.00 since 2004, old, I know)

    LabVIEW 8.2

    If you create a task OR-DAQmx with the device, DASYLab should see it.

    There is a download for the driver OR DAQmx for DASYLab 8.00.04 to www.dasylab.com

    http://DASYLab.com/content/driver.php?action=filelist&SID=33

    We can only provide active support for current versions of DASYLab (V11 and V10), therefore, it is not much of help available.

  • Simulate signals wired to the DAQ assistant for USB-6009 device

    Hello

    I'm trying to send a signal to the DAQ Assistant Express VI.  I watched the movie "Generating a Signal" on the Web site of NOR (www.ni.com/academic/students/learnlabview/generate.htm) and I have my Signal simulate connected directly on the DAQ Assistant, as shown in this film.  In my case, the DAQ Assistant sends the signal to a device USB-6009.

    However, I received this message:

    Error-200077 occurred to the DAQ Assistant
    Possible reasons:

    Requested value is not supported for this property value. The value of the property may be invalid because it is in conflict with another property.

    Property: SampTimingType
    asked the value: Sample clock
    You select: On-demand

    If I select 'On Demand' in my DAQ assistant and run the vi everything works beautifully.  However, I need my DAQ assistant to be configured to generate a waveform AC continuous, not output a single alternating current rippling.

    What happens here?  I did not have this problem before on other devices of NOR. I am using LABView 2010.

    Please answer.

    Thank you.

    double post

  • OR USB-6009 and Tek TDS2024C comparesment

    My apologies if this topic was already discussed, but I searched through the forum and manuals and can't find anything.

    I have a problem with measurements in parallel with TDS2024C NI USB-6009 and Tek.

    I measured the noise high frequency on 10 s window.

    I used the data logger with a frequency of 40 kHz connection in parallel with TDS2024C (which reached 250 Hz on 10s window) and got very different results.

    On the attachment figure, first signal comes from screenshot of scope data and the second of the NI USB-6009 islogged.

    Can someone explain to me why are these so different results?

    Different sampling frequencies could easily explain it.  Try to run the USB-6009 case at the same rate as the scope and see what you get.  I also think that the TDS2024C has fewer bits in the ADC, which could also cause differences.

  • With the help of MAX to configure digital input levels on a USB-6009

    Hello

    I use a USB-6009 box in a Windows environment. MAX allows me to configure the 8 bits in the port 0 as inputs or outputs. However, when I put the bits for all entries, their default level is high, and the "ALL LOW" button is grayed out. Is there a way I can turn this button to set the bits all low entry and therefore be configured to read a + 5V input pulse?

    Concerning

    Geoff Hammond

    When you set up the pins as inputs, you can read 0 or 5 volts. It makes no sense to set then high or low. No PIN disconnected feel of course a logic 1 because of pull-ups on the device.

  • Current output digital USB-6009

    Hi, I'm trying to increase the voltage output digital device USB-6009. I read a few topics on the use of a relay, but I couldn't get it.

    I was thinking of using power 5V on the map because there current 200mA on it, but when I use it with open-collector output, it cannot change the relay. When I measure the current between

    5V and ground: 200 ma,

    5V output, I read a value around 30-40 my.

    Why can I not use this 200mA with output? It is the Relay that I use.

    If this is not possible, can I use an external power supply 5V (with more current) and a digital output to pass the baton without damage the 6009?

    Outputs digital of the USB-6009 confined to 8.5 my. Your relay coli requires much more than that. Even if the power source can provide enough current for the relay, digital output can not put.

    The solution is to use a buffer of extermal. The ULN2003 can switch currents up to 500 my and voltage up to 50 V while being controlled by digital output.

    Lynn

  • Reduce the period of sampling of the digital inputs of NOR-USB-6009

    Hello

    I need to read a line of digital input in the NI USB-6009 using NOR Express 2013 Signal box. I selected 1 sample (upon request) as acquisition mode. I need to define a smaller sampling period as 1 MS, but it gives error too short sampling period: "the current sampling period is too short.  Please specify a longer sampling period. ».
    I do not understand the reason for it and a way to slove this.

    Any help would be greatly appreciated!

    Thank you!!

    The 6009 doesn't have a clock that you can set for a sampling period. According to the specifications, the digital I/o is software programmed - sample on request you use now. I'm not at all familiar with SignalExpress but I don't think that you can find near a reliable khz sampling frequency on Windows or any other os non-deterministic.

  • Methods of protection for NI USB-6009

    Hello

    I developed a tester to measure 8 outputs varies between 1-5 V to a power supply Board. But suddenly the meter 6009 got damaged since the problems with rectifier circuits of UUT that caused the volt of entry (230 v AC) to reach the limits of measurement.

    Could someone help me to design/introduce certain protection measures between USE and DAQ unit to avoid happening again?

    It would be really helpful for me if I can solve this problem before the transfer of the tester at the end of production.

    Thank you.

    The USB-6009 is supposed to be a bottom of the line test solution and is not really designed for quality of production systems. As you have discovered, it doesn't have its own internal protection products OR more expensive. I used it before production systems and I killed one like you did it (a week before delivery, no less).

    My only advice is to make sure that all of your grounds are connected and your system is melted, but there is not a lot you can do other than that. Maybe an EE here can provide more wisdom.

  • temperature sensor with the acquisition of data usb-6009

    Greeting

    I want to use a sensor with usb-6009 to save the variation of body temperature about 15 minutes and then use these data in labview.

    If you please you can advise me with the best low-cost use and the way/circuit sensor connect it to the usb-6009.

    Hi ba7soun,

    If you can use with USB-6009 LM35 depends on the range of output voltage of the sensor. I understand that it requires a 5V supply with respect to the ground, which you can provide to the USB-6009 (more than 200 my should not come from the USB-6009).

    The maximum range of the USB-6009 is - 10V to + 10V, while the minimum range is - 1V to + 1V, also probably the output signal of the LM35 will be in this range. What you need to do is to compare the full range of the output signal with the range of the DAQ divided by 2exp (14) (because it is a 14 bit ADC) and ensure that the first is much more than the latter.

    Kind regards

    Condette Dhruv.

  • 8-bit word per pulse output USB-6009

    I need to generate a 8-bit word and a strobe pulse in Matlab via a usb-6009. How do I do that? Any help is appreciated!

    To answer my own question:

    Connect the wires to the digital pins p0.0 - 0, 7 (each represents a bit) and an additional to p1.0 (strobe bit).

    MATLAB code:

    OID = digitalio ('nidaq', 'Dev1');
    AddLine (dio, 0:7, 0, 'Out'); %8 lines on port 0

    AddLine (dio, 0, 1, 'Out'); Strobe % on port 1

    sendthisvalue = 23;

    binvec = [dec2binvec(sendthisvalue,8), 0]; % the 8-bit word and the ILO first strobe set to 0

    putValue (Dio, binvec);

    binvec (9) = 1; bit set strobe 1%

    putValue (Dio, binvec);

    Initially, I used two separate "putvalue' instructions, set up the word of 8 bits, and then another for the bit of strobe, but the flash has not been received. That doesn't seem to work, it's if I include both the 8-bit word and the value of bit of strobe in each 'putvalue' statement, as in the code above.

  • measurement of current with usb-6009

    Hi, my name is hung and I am a student in electrical engineering... I'm doing a thesis that the project using Labview and acquisition of data NOR UBS-6009 to simulate the function generator, Oscilloscope, Digital Microsoft (DMM)... and now I'm simulating DMM. I managed to measure the voltage and resistance which i use voltage divider method, but I encountered a problem with the current measurement. The problem is the USB-6009 to measure use the current, it measures an incorrect value. I tried to use the current CQI 0-20mA Sample.vi example but it always measures an incorrect value. If NI USB-6009 supports for the measuring current? Is there a way to measure the currents using USB-6009? Please, help me. This thesis project is so important for me. Thank you.

    Hung,

    Since you are a student in electrical engineering, I'll show you how to know the answers to your questions.

    1. review the specifications for the USB-6009 case.  In particular look at the specifications of analog input.

    2. How would you measure current if you had only a voltmeter?  Use the same method with the USB-6009 case.  (Tip: apply the Ohm's law).

    General comment: when using any measuring instrument, always consider maximum permitted values at the entrances so that the instrument is not damaged

    and the measure is accurate.

    Let us know how you do.

    Lynn

  • Control of Stepper Motor with case NI USB-6009

    Hi all

    I am currently creating a movement control system with a double movement actuator

    http://www.haydonkerk.com/LinearActuatorProducts/StepperMotorLinearActuators/DualMotionLinearActuato...

    and two bipolar chopper drives (see table), which should power the motor. We already have a NI USB 6009 in our lab, so I was wondering if I could use it to send signals to the two pilots to control the speed and direction of each axis on the engine?

    Enclosed driver's manual indicates that input signals should be 0-5 V DC (TTL logic). I have been informed by the engine distributor that the 0-5 V DC TTL drivers required, the signals are analog. The NI USB-6009 manual reading, there are two 0-5 V analog outputs on the acquisition of data usb so I could provide two signals?

    There are often posted however similar problems, it is usually a digital signal NI6009/6009 sends the driver. Looking at the driver's manual, can someone tell if an analogue signals or required as I have said, I was misinformed or 0-5 v DC signal will be enough. I can get more in touch with the dealer if you have any questions you guys think I should ask him.

    Thanks in advance for any help! It is much appreciated.

    I looked in the manual and it doesn't seem to be very clear. I know that the USB-6009 case is capable of AO and DO, then you would be although it is. I could contact the Haydon Kerk support for more concrete details on the gap between what says the manual and what they told you.

Maybe you are looking for

  • Group SMS

    This has started happening recently and I can not find answers to this... I create a group text message and send a text to 3 other people... When they answer... the answer does not appear in this same thread, but never appears in my chat window that

  • CPU 1326DX Pavilion G7 error code

    I'm working on this machine for my friend.  They initially stripped on it because it gave them an error that says the fan from the cpu had to be replaced.  After I did it, I got the constant flashing error codes.  So I did some research and discovere

  • HPE-500f freezes black screen and the cursor at the top left

    My Pavilion Elite HPE-500f boots up to a white screen with the cursor in the upper left corner. He will not start in safe mode. Problem started when I left flash drive in USB that may be a coincidence. Started from CD's with the recovery disk, but wh

  • Windows XP or Windows 7

    I have Dell Dimension E310 and I replaced the card mother, hard disk and cpu. I'm trying to find out what operating system to install. I had Windows XP on the old system, but I only have the CD more. Can I install Windows 7?

  • TS-H653N SCSI Cd Rom Drive has stopped

    This seems to be a common problem in the Internet with those of us who have this drive. Here's my problem: I'm on a HP Pavilion S3320N (2007), running Vista Home Premium, service all packed, patched and up to date, with zero problems since installati