entry digital usb 6001 of nor

I am trying to simulate a signal digital 72Hz to an external circuit. Attached below is the pattern that I use. I had to initially waveform graph to view the signal, but data types are different, so I ended up using a waveform digital chart vi. Once I run the simulation, nothing in the graph. Help, please. I use a hardware DAQ USB 6001.

BTW, I tried to create a task in the DAQ Assistant, but succeeds only when the acquisition mode has been set to 1 sample (on request). When you do what I wanted, which was a continuous sampling, an error has occurred.

Error-200077

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

Property: SampTimingType

Requested value: sample clock

Possible values: on request

Basically, what I want is to see the place in the graph of the signal waveform and perform a signal processing.

Too bad. I already solved the problem. I used to analog rather than digital input

Tags: NI Hardware

Similar Questions

  • take the digital output USB-6001 always high or low in c

    Hi all

    I am new to the NI DAQ interface. I have a USB-6001 and I am trying to use this device to control some flowchart in C. What I want to do is:

    * set digital output lines with high and low intensity and change their status as needed (in C).

    I tested the device NEITHER Max--> Test panels and found that the device is capable to do that. Then I try to do in C. I have checked hace examples and function I use is one called "DAQmxWriteDigitalU32". I have problem in the understanding of its input parameters. I tried something with my own knowledge, but it does not work as I expected. Here is a test I did:

    data uInt32 = 1;

    Int32 wrote;

    TaskHandle taskHandle = 0;

    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
    DAQmxErrChk (DAQmxCreateDOChan (taskHandle, "Dev1/port0/line7", "", DAQmx_Val_ChanForAllLines));
    DAQmxErrChk (DAQmxStartTask (taskHandle));
    DAQmxErrChk (DAQmxWriteDigitalU32(taskHandle,1,1,10.0,DAQmx_Val_GroupByChannel,&data,&written,));

    taskHandle = 0;
    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
    DAQmxErrChk (DAQmxCreateDOChan (taskHandle, "Dev1/port0/$line0", "", DAQmx_Val_ChanForAllLines));
    DAQmxErrChk (DAQmxStartTask (taskHandle));
    DAQmxErrChk (DAQmxWriteDigitalU32(taskHandle,1,1,10.0,DAQmx_Val_GroupByChannel,&data,&written,));

    I just want to set ' Dev1/port0/line7' and ' Dev1/port0/$line0"at a high level, but only ' Dev1/port0/$line0' answer me. The second parameter of the DAQmxWriteDigitalU32 function is numSampsPerChan. If I replace (currently 1) with a higher value, such as 100, I see that "Dev1/port0/line7" sends a number of 1 output, then back to 0. So I guess that the problem is just that I understand not all parameters for the DAQmxWriteDigitalU32 function. Is someone can you please tell me how I can set up a line of digital output 1 or 0?

    Thank you!

    Hongkun

    Hello

    I finally find a way to do it! The feature works very well, and my problem was not set the data value to write correctly. It seems that if I want to write a 1 to the port0/line1, I put "data = 2 ^ 1" rather than "data = 1", because by default it is the second bit of the port.» Similarly, "data = 2 ^ 7 ' high level to port0/line7. I find that this setting is surprising when you want to control an individual line. It seems more reasonable when you control the whole port. In any case, is to solve the problem!

    Thanks anyway!

    Hongkun

  • More and more common digital output on USB-6001 with ULN2003A

    I am ordering an engine step by step and the current required on the digital inputs of the stepper driver is close to 11mA (at 5V).  My USB-6001 is not capable of producing this high current.  I've seen people using the ULN2003A to control relay and it looks like it should work for my application.  It will work and then I use the 5V output to go to the ULN2003A because it can produce for a 150mA.  To associate the ULN2003A I use the 5V output and put the positive on the COM?

    As you drew it should be fine. Do not connect data acquisition + 5 V because the controller inputs are opto-isolated. That circuit is also compatible with the 11 current requirement my mentioned in your first post.

    USB-6001 digital lines are software timed so your maximum stage rates will be very high.

    Lynn

  • Simultaneous to the AO and HAVE with the acquisition of data NOR USB 6001/MATLAB Toolbox

    I am very new to data acquisition and bought a NI USB 6001 to start to learn. Because I can get free MATLAB through my University, I use Matlab data acquisition Toolkit as the data acquisition software.

    My problem is that I get the following error message when I try to generate an AO (an LED voltage) signal and measure a signal I (voltage of a battery of 9V) simultaneously.

    ATTENTION: This change is caused in the dump output data queue.  Use queueOutputData for the queue data before the start of the object.
    Hardware does not support the specified connection. Check the user manual of the device for the valid device routes and pinout.

    However to measure IA or by generating the AO each by themselves works perfectly well.

    My Matlab script looks like this:

    daq.getDevices;

    s = DAQ.createSession ('or');

    s.Rate = 1000;

    s.DurationInSeconds = 10;

    addAnalogInputChannel (s, 'Dev1', 'ai0', 'Voltage');

    addAnalogOutputChannel (s, 'Dev1', 'ao0', 'Voltage');

    aoVoltage = 1.8 + 0.1 * sin (linspace (0, 2 * pi, 10000))';

    queueOutputData (s, aoVoltage);

    s

    startBackground (s);

    Note that adding the channels HAVE and AO at the session also works, however I get the error mentioned at the start of the session. This is a limitation of my data acquisition hardware (I don't see something like that mentioned in the manual) or do I have to modify the script?

    The pins connected for the LED are AO0 (+) and AO GND (-).

    The pins connected to the battery are AI0 (+) and (-) AI4. (The problem is still there if I use the reference to the ground for AI)

    6001 cannot make simultaneous tasks.  Very standard limitation of the low-end hardware... just don't have on board computing resources to handle such things.  Even the 621 x boards have only limited multitasking abilities.

    Can intensify to a high range data acquisition ($$$) or buy a 2nd a low end and synchronize tasks in software (not as precise calendar).  I've done two approaches, one is "best" really depends on demand... If low-cost or high-performance is a priority.

  • Level of measurement OR-USB-6001 nosie

    I use a NOR-USB-6001 to measure voltages @ 5V level.

    I am trying to use an entry to measure the noise level on a 5V signal. The ripple is about 200 mV ACC (when you look at a scope in coupling AC mode). I can't find a framework in the DAQmx VI to set to measure with a higher resolution (4.9V - 5.1V)

    to be able to see this ripple.

    You could try to configure the line HAVE as a differential input (AI0/AI4).  Power of your signal to AI0 entry and ground of your signal to a DGND.  Feed in the + 5V on the USB-6001 to AI4.

  • ContGenVoltageWfm_ExtClk-USB-6001

    Hi all

    I just got USB-6001 and tried to go although the demo examples. The question is about the "ContGenVoltageWfm_ExtClk". To after my understanding, there should be no signal AO while no pulse train provided the sample clock source defined (/ PFI0). However, AO signal is always generated as if it is running an internal integrated clock. I use Examples\DotNET4.5.1. Support for USB-6001 external clock example? Any help will be appreciated. Thank you.

    Hello

    The Specification 6001 OR don't mention external trigger. To compare with another product, here's the Specifications NI USB-6211. On page 9, there is an external digital triggersection. for the analog output function, PFI can be used as Trigger Start, relaxing break, sample clock or time Base clock sample.

    This let me think that the external clock for analog output is not supported by NI 6001. Check if for example there are a list of supported hardware.

    Best regards

  • USB-6001 and LabVIEW 6.1

    I'm working on a project with LabVIEW 6.1.

    They just bought a NI USB-6001.

    I installed the driver NOR-DAQmx 9.9 and the device comes in OR-MAX and I am able to use the Test panels to read and put pins.

    In LabVIEW 6.1, the device does not appear.

    What should I do to be able to program this device with LabVIEW 6.1?

    You need tasks in order to use the DAQmx Read and Write DAQmx.  You can create tasks in MAX or do it programmatically with the available in the palette DAQmx screws.

  • USB-6001 and linux

    Hi all

    I have a NI USB-6001 DAQ device that I'm doing work on linux. My distro is opensuse 13.1, and I am using nor-daqmx base 14 to talk to the device. After much bother that I have finally made was get the drivers installed, however I am not having any chance to communicate with the device. The output of dmesg shows that the device is connected and recognized, however the output of lsdaq does not list the device at all as you can see below.
    For the device user's guide suggests that it is supported by NEITHER-DAQmx 9.9 and later it is true that the doc is written from the point of view centered on mswindows, so I
    hope that this applies also for linux.

    If someone managed to get this device working under linux? If not, can anyone think why it is not detected?

    Thanks for any help

    > dmesg
    ...
    [1,605963] usb 3-14: new USB full speed number 4 from the device using xhci_hcd
    [1,617849] usb 3-14: new USB drive found, idVendor = 3923, idProduct = 76bf
    [1,617851] usb 3-14: new USB device strings: Mfr = 1, product = 2, SerialNumber = 3
    [1,617852] usb 3-14: product: USB-6001
    [1,617853] usb 3-14: manufacturer: National Instruments
    ...

    > lsdaq
    --------------------------------
    Detect of National Instruments DAQ devices
    Find the following materials:
    --------------------------------

    > uname - r
    3.11.10 - 25-Desktop

    > lsmod | grep ^ or
    663726 1 nimxdfk
    322143 1 nipxirmk
    441753 2 nipxirmk nidimk
    3 524901 nimxdfk nimdbgk, nipxirmk
    4 141747 nimxdfk niorbk, nipxirmk, nidimk, nimdbgk
    nipalk 1193476 8 NiViPciK, nimxdfk, nipxirmk, nidimk, nimdbgk, niorbk
    Nation 113161 6 nimxdfk, nipxirmk, nidimk, nimdbgk, niorbk, nipalk

    It is not listed in the Readme as being supported.

  • for control voltage can we use usb-6001?

    where can I find the usb-6001 software and driver?

    You can certainly use a 6001 to control the tension... in line with the specifications of the device.

    Driver belongs to DAQmx, available here: http://www.ni.com/download/ni-daqmx-14.1/4953/en/

  • Voltage of e/s-USB-6001

    Hello world

    The USB-6001 reference manual says on page 9 that I/O voltage is 5V.

    I think use to test a PCB where the microcontroller is powered from 3.3Vdc so the question is, first, is it possible to connect the I/O entrance to 3v3 rather 5Vdc os?

    Thank you and best regards

    The 5 v PIN is an output. The 6001 is powered by the USB interface.

  • E/s digital USB-6008 changes when the system starts

    I was intending to use the USB-6008 housing in a critical application in which the digital I/o lines are used to trigger relays.  The relay should activate when I ask them programmatically.  Otherwise, they must remain open.  The problem is that during a reboot of the operating system, the e/s digital USB-6008 go up and down several times - opening and closing my relay.  It is not acceptable for my application.

    Is it possible to prevent the lines to reach logical high except if ordered to do so?

    There is no way to set the startup on the 6008 States.

    As the system USB boot devices and turns on power to the computer and off the power to the USB ports, on the DIO lines go up and down several times.

    You will need to put a logic of material extra, just after data acquisition to ensure that potentially dangerous output combinations cannot affect the relay and the elements they control.

  • What is the first version of labview can be used with a USB-6001

    What is the first version of Labview, which can be used with a USB-6001?

    According to the user's Guide, you must DAQmx 9.9 or later version.  The oldest version of support DAQmx 9.9 is LabVIEW 2010 (DAQmx and LabVIEW version compatibility).

  • How to troubleshoot the work of e/s digital USB 6211

    My e/s digital USB 6211 suddenly stopped giving digital output. Board of directors when connected, LED flashes and passes the self-test. But refuses to give any digital output. Can someone help me please?

    Thank you for your time. Technician came and found this Terminal connector was loose. Problem is solved

  • Site / pine addresses for DAC on digital electronic circuit of NOR

    My advanced students try to build a circuit that is able to communicate with the DAC on the digital electronic circuit of NOR.

    We have things to the point where we have a solid stream, synchronized with our series clock and timed correctly compared to the pulse DAC_CS.  This resembles our oscilloscope. The only thing that lack us is on sites, the signals are supposed to correspond to the Xilinx PlanAhead software.

    For example, LED0 is C11, LED1 is D11, SW0 is J11, SW1 is J12, etc...

    The signals that we must be able to control the DAC are:

    DAC_CLR, DAC_CS, SCK, and SDI.

    Thank you

    -Bret Wood

    Oops, he found me.

    The main file is C:\Program NIUninstaller Instruments\Circuit Design Suite 11.0\pldconfig\DEFB.ucf

    The associated DAC locations are:

    SCK R4

    SDI P3

    N12 DAC_CS

    DAC_CLR P13

    Hope this helps someone else too.

    -Bret Wood

  • 610n seeing key USB - drive 1 TB Western Digital USB router plugged

    I just bought a router 610N and everything works with wireless PC and internet connections, etc. I upgraded the firmware to 1.00.03 B15 hoping that would solve my problem, but did not. I hooked a 1 TB Western Digital USB to the USB port on the router. Small bright for the USB light on the router, however, in the storage of Setup tab web to the router it shows no available drive. How can I set up and access the USB? I want to be able to share with all readers the PC connect to the router. Help, please. Thanks in advance.

    I called linksys support. They had updated me the firmware to the latest firmware version 2.0 even if my hardware version 1.0 and everything works like a charm now. Later, I'll update the firmware with version 2.0. They said the only difference between the hardware version 1.0 and 2.0 is the power switch - 1.0 is not a power switch top and 2.0 - should unplug the router for ver 1.0 to be put off.

Maybe you are looking for

  • BIOS Secury computer hp mini 1000

    cannot access bios of my HP mini 1000, asks for a password and I do not know what... I have try several until you get an error with this code: CNU9241VQ1 someone help me please.

  • HP 15-r007tx: how much RAM I can develop for computer hp laptop 15-r007tx?

    Hi all I use a laptop HP 15-R007tx. The architecture is 64-bit and I use windows 64 bit OS 10. Currently I have 4 GB of Ram. I want to develop my RAM. Is it possible to update my system of total use 12 GB of RAM. 1 slot 2 slot 8 GB and 4 GB?

  • How to locate and remove codecs of the dvd player

    can someone tell me please how to remove realplayer codecs? I already removed this program but microsoft fix it says the codecs are still in my computer, but I can't locate.

  • BlackBerry Smartphones how lock the screen during a call?

    Is it possible, a third-party application perhaps, to lock the screen on my Storm during a phone call? Sometimes I have to Secretary for a while and cradle of the phone on my shoulder. During these times, I either end up the person I'm talking inhibi

  • The value of xml type column in oracle database 11 g 2

    I have a table containing columns XMLtype as 'XML_TABLE (ID NUMBER, donnees_xml XMlTYPE).Then I insert a value such as INSERT INTO xml_table (1, XMLtype('<current>       <city id="2643743" name="London">         <coord lon="-0.13" lat="51.51"/>