Model with USB-6221 generation?

I want to use for the generation of model 6221 in the buffer, so I wrote some code to test this feature:

* * *
DAQmxCreateTask ("", & taskHandle);
DAQmxCreateDOChan (taskHandle, "port0/Dev1", "", DAQmx_Val_ChanForAllLines);
DAQmxCfgSampClkTiming (taskHandle, NULL, 100000, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 50000);
DAQmxWriteDigitalU8 (taskHandle, 8, 0, 10, DAQmx_Val_GroupByChannel, data, NULL, NULL);
DAQmxStartTask (taskHandle);
* * *

When I start the task I get: "external sample clock source must be specified for this application."
???
I do not understand... as described in the documentation, this material supports the digital I/o.
What is the problem?

Thank you

-George-

Hello

You need a dummy analog input or output to provide the source of synchronization:

http://digital.NI.com/public.nsf/allkb/51754212AD10BDCE862573BD007BFDD2

Tags: NI Hardware

Similar Questions

  • USB-6221, replaced by USB - 6221 BNC - error-50103

    My client is reproducing a system that worked well with NI USB-6221 enclosure. Now, I get an error with the NI USB-6221 BNC. The error only occurs when I try to perform auto calibration.

    ---
    The error:

    Error-50103 occurred at DAQmx Self Calibrate.vi:1

    Platform AND Services: The specified resource is reserved.
    ---

    I've implemented the pilot as a driving force.

    What is strange to me is that I can run the engine of the autonomous action to set up the device and run the auto cal without getting an error. But when I call these routines of an another vi - the error occurres.

    To specify (and reproduce the problem) - with USB-6221 BNC is defined as 'dev1 ':
    (1) acquisition of analog data in AE.vi - select 'Configuration' as an action on vi and then run it
    (2) acquisition of analog data in AE.vi - select 'Cal' like action then don't run it - no error
    (3) place the screw DAQ in a new vi as shown - run and that's when I get the error

    This is my first experience with DAQmx, any ideas what could cause this problem would be appreciated.

    Thank you
    Steve

    LV2009 Sp1
    MAX 4.71
    NOR-DAQmx Device Driver 9.2.1

    Hi Steve,.

    "Setup" action leaves the DAQmx run task, so the 6221 AI resources are reserved to prevent other programs and live to interfere. When the top-level performance, LabVIEW VI automatically tells DAQmx to clear the task. That's why you get different behavior when you run the action as the first level VI engine when you run the engine of the action as a Subvi. Self-cleaning, you must cancel (e.g. stop or clear) all the tasks before you can calibrate the device automatic, try performing the action 'Close' before 'Cal

    Brad

  • Model generation with USB-6341?

    Hi all

    We have developed a software quasi multifunction 'device-independent '. This sw is capable of generating the sequence shot timed with the device really used. Up to now, we have used devices PCI-6025 and USB-6221, but now we bought a USB-6341 and when I try to use a message of 200565 error pops up: "specified digital channel contains more bits supported by the version 8 bits of the Port DAQmxBase write.» Use the version of DAQmxBase Port write who takes in charge the broader digital ports. Minimum size of write in bits: 32 "

    I tried to change PORT0, PORT1 and PORT2 but only PORT0 is legal for the model generation process and it requires DAQmxWriteDigitalU32 function...
    I don't understand why.

    a / 6341 contains 24 DIO lines
    b / only 8 DIO lines are clocked by material

    Then there are 24 DIO lines (i.e. 24-bit 32 no!), but only 8 lines are timed by the hardware and I want to use only this 8 lines for model generation!
    Our whole software is based on 8-bit pattern-berries (writeArray type is "uInt8"). If we cannot use this structure, we must rewrite dozens of functions...

    So, how can we use the function of DAQmxWriteDigitalU8 with USB-6341 or what can we do?

    Thank you

    -George Cs.-

    Dear George,

    It is an interesting question, which may seem a bit unintuitive at first. The main reason for the 32-bit write operation (although the USB-6341 has only 24 DIOs) is that the functions and the driver support other devices too. As you can see in the manual of the unit (http://www.ni.com/pdf/manuals/370784d.pdf) X Renault series supports digital IOs up to 32 bidirectional signals.

    To keep things consistent exploitation of 32 bits is required even if you use only a subset of the available ports.

    I hope that this helps to explain.

    Best regards

  • Satellite R630 with USB 3.0 to the Portugal?

    Does anyone know if possible to buy the Satellite R630 with s * USB * 3.0* to the Portugal?

    When it will start coming in the comercial range?

    The actual configuration is:

    x 3 * USB2.0*, 1 porta combo eSATA / USB sleep-and-Charge com, SD Card

    I'm just wayting for the feature to buy my new thoshiba.

    Oficial new Toshiba:
    http://PT.computers.Toshiba-Europe.com/innovation/JSP/news.do?service=PT &; Year = None & ID = Satellite_R630

    Thank you for your help.

    RB

    Hello

    As far as I know the Satellite R630 supports USB 2.0
    Only a few models support USB 3.0, but this should be replaced in the future.
    Of my knowledge that the Portege R700 supports a docking connector which allows you to use a USB 3.0 controller.

    Seems that you have to wait a bit if you want a laptop with a USB 3.0
    But I think it's worse to wait because a maximum of 3 USB, 0-Port flow 2.5 times the speed of a USB 2.0 Port.

    Of course, you will need to connect a USB device to USB 3.0 to get this performance

    Welcome them

  • Test capacitor does not load when DAQ USB-6221 is used as a measuring device

    Forum of NOR expensive, I have a Setup (see below) which is supposed to read the tension between a capacitor and a resistor in series.  Unfortunately, I found that the capacitor is unable to load completely with the connected acquisition of data entry.  However, if I remove AI0 connection of the circuit and the capacitor charges normally...

    I would be grateful if someone could explain to me:

    • Why this happens
    • If there is a way to change my test circuit in order to fully load the DAQ capacitor is connected

    For reference, I tried to change the position of resistance and capacitor (i.e. initially the capacitor in series), and in this case, the capacitor had no problem charging.  But for my purposes, I will need to test with first series resistance because I already have a lot of maps of test which are built this way.

    The food is set up to provide 75V (the rated voltage of the capacitor) when put on and the current limit is set at 20 Ma.  With these settings my capacitor only charge about 20 or 30 V with DAQ in the circuit.

    Let me know if I can give more details and thanks in advance to those who give thought to my question,

    You may test the limits of your USB-6221 surge.  I hope that you don't him don't have not damaged.

    You should be able to use some simple resistive voltage dividers for tensions in the acceptable range.  They will limit your ability to measure the leakage current.

    Lynn

  • driver for USB - 6221 LabView 6.0 XP

    I'm trying to connect an old laptop with Windows XP and Labview 6.0.2 for USB-6221. I can't find the drivers on the site of NOR. Can someone point me at home or another source? Thank you.

    Support for the USB-6221 was added in the NOR-DAQmx 8.6.1, driver that only supports back to LabVIEW 7.1.  Unfortunately, there is not a version of NOR-DAQmx driver that supports the USB-6221 and LabVIEW 6.0.2.

  • driver for usb-6221 XP LAbview 6.0.2

    I'm trying to connect the usb-6221 to an old laptop with XP and Labview 6.0.2. I said that's not possible with NOR-DAQmx. This old version of Labview does not NOR-DAQmx, there NEITHER-DAQ 6.8 installed. Reading me for it suggests works with USB, but I can't find the USB drivers in installation.

    Based on the response to your message here, the only USB devices supported in NOR-DAQ 6.8 are old appliances DAQPad E Series USB such as the NI DAQPad-6015 or DAQPad-6016.  All material of the M series, including variants of the USB, are no longer supported in NOR-DAQmx.

  • NEITHER USB-6221 SCB-68

    The acquisition of data USB-6221 unit is compatible with the SCB-68? I'm doing a number of analog in action<10V range="" with="" two="" of="" them="" being="" j="" type="" thermocouples="" and="" would="" like="" to="" have="" cjc="" capabilities. ="" in="" my="" quick="" glance="" at="" the="" scb-68="" page,="" and="" at="" the="" one="" for="" the="" 6221="" it="" isn't="">

    Thank you!

    Nope - you can scan through channels CSR or differential or NRSE... all in the same task (IE I 0-3 differential, CSR HAVE 4-6). The M series operating manual (/ book) shows how in the 'Earth-reference parameters in software AI configuration' section.

    see you soon,

    Andrew

  • Problems with USB 3.0

    Hello people!

    I'm here with a need for help to solve a problem that I recently got after reinstalling my windows 7.

    The problem is with USB 3.0 driver, which does not react to any device I plug on two of the ports, and they are not dead I checked that. I tried to re - install USB 3.0 drivers as well and downloaded from HP site for my model, the latest version has failed so I tried with the other older and did not work as well. Only my two USB 2.0 ports work.

    I don't know if there are any other versions or drivers that I could use, those for my model don't work for some reason, and this is the first time I did re-installation of windows for that.

    I would be very grateful if someone could help me solve this problem!

    The laptop model is HP Pavilion dv7 - 6113cl

    Kind regards

    Ed1Ross

    Hello

    Uninstall all the existing USB drivers and then try to install the drivers from this link:

    AMD Chipset drivers

    Restart and check.

  • How to create a simulator of hall sensor using NI USB-6221

    Hello.

    I am creating a hall sensor Simulator using the NI USB-6221 case.

    The idea is to have three digital outputs that generates output a digital pulse according to six different stages train.

    See the table below.

    And it's interesting to have this work in for example 5000 RPM (meaning 2 milliseconds between each stage).

    My question is, is it still possible with the NI USB-6221 housing?

    I tried to create a simple state machine, leading the outputs according to a predefined table.  But it became clear that it is far too slow.  The NI USB-6221 uses 10 to 15 ms to generate a numerical value of LabVIEW.

    Thanks for any ideas on how to do it.

    Looking at the datasheet.

    http://sine.NI.com/DS/app/doc/p/ID/DS-10/lang/en

    Under the digital I/o, you can see that the digital lines on Port 0 maximum clock frequency is 1 MHz.  This means that you can go from a Summit to a minimum once all the 1 micro second.  Your hardware is capable.

    The software side of things you should realize that to change the digital line from a high to a low that fast, you need to use certain types of calendar that does not have Windows.  Windows (and other operating systems) are not deterministic.  So instead of being in a loop from one State to the other, put in the buffer of the DAQ one card series of digital States and then specify the DAQ hardware to read at a given speed.  Then your synchronization is performed by the hardware, not by your software.

    Search for finder example for Digital - output continuous for an example on how to do this.

  • Pilot DAQmx 14.1 installed but not seen by USB-6221

    Hello

    After a week of fighting to install driver DAQmx on my 2013 Labview (Win XP), I finally got with OR DAQmx 14.1.

    All right, I can run my screws

    But, when I connect my NI USB-6221 BNC-nothing happens.

    I checked in MAX if she communicated, MAX sees the device but says that the device drivers are not installed.

    Then I checked if there was other drivers for this device on the site Web of SNA apparently no, it runs with DAQmx.

    Someone have a solution?

    Thank you

    The descriptions I see say that USB-6221 is a legacy device.  That probably means support for it in future versions of DAQmx were dropped.

    I found this http://sine.ni.com/psp/app/doc/p/id/psp-84/lang/en

    It does not say definitely what versions of DAQmx take in charge the device, but this list seems to only go up to version 9.8.

  • period measurement Semi USB 6221

    Hi guys,.

    I have a problem measuring the period of semi of a digital signal. I'm gernerating a pulse with my USB 6221 DAQ board and I use the counter 0 (9 PFI) for the period of semi. But I don't get all the values. Also, I tried to generate a signal of pluse using the 1 meter and measured the period using counter 0 and it worked perfectly fine. Take a look at the code can be I am doing something wrong.

    found the problem. I was reading more samples then I sent.

  • Neither USB-6221 thermocouple

    Anyone who has used the USB-6221 for measurement by thermocouple? I'm doing a number of analog measures with two of them being J type of transport CANADA, have not used the 6221 before, but my client is not the money to go the compact DAQ road on this project. I would like to have compensation CJ, don't know how I'd do.

    A similar position is on the page of multifunction data acquisition, know that this one gets more views.

    Thank you

    I got my answer in the multifunction, DAQ card so I guess that it really is looked at frequently! Sorry for those who are hiding on this Board! I guess my point of view, LabVIEW-centric shows!

  • Can't intall Olympus digital camera model FE4020 USB not recognized

    Original title: Help with Olympus Digital Camera Model 4020 Setup
    I'm currently developing my model Olympus FE4020 digital camera... I use the USB port that is provided with the camera, however, Windows XP won't let me make the disc (E), no matter who is.  I get a message that the computer does not recognize this and cannot do the format.  I can't use the camera to do something without the implementation through the computer first. I hope you can help with this problem.

    Hello

    1 do you have similar problems with other USB devices connected to the computer?

    You can download the Auto-connect USB driver from the link provided below and check if that helps.

    Auto-Connect USB driver

    http://www.Olympus.co.jp/en/support/IMSG/Digicamera/download/software/index_other.cfm#driver

    You can try the steps of troubleshooting provided in the link below for solving problems with USB devices not recognized Windows XP.

    A computer that is running Windows XP cannot detect a USB, an Apple iPod flash drive or an external hard disk drive

    http://support.Microsoft.com/kb/925196

    Advanced troubleshooting tips for General USB for Windows XP problems

    http://support.Microsoft.com/kb/310575

  • How can I install Windows 7 on asus x501a with usb flash

    I have an asus X501a windows 8 on it now, I would like to clean install windows 7 on it. This model with no dvd rom usb player is the only solution. Menu of boot Asus is very complicated because it is menu uefi, I'm completely confused, please help me how to clean install win 7.

    concerning

    Mr. Fadil

    Here is the solution:

    (1) place a bootable copy of Windows 7 on the USB key in question (there are several utilities to accomplish this, including PowerISO, v4.8 or superior and USB DVD Tool from Microsoft

    2) access the bios during the startup with F2

    (3) enable MSC startup and Save tab

    (4) re-boot and re - access the bios with F2

    (5) select the USB (the one without prefix of UEFI) as an option of Boot #1 and Save

    (6) re-boot and Windows 7 will launch its installation from the USB

    * Once the initial installation takes place and the machine re boots, you must re - access the bios, WSC, disable and set the internal hard drive as the Boot #1 option and save

    I have finished the taks in the order described above and have a copy of Windows 7 X 64 running on the ASUS X501A job.

Maybe you are looking for

  • Old problem - spell checker find 'panose '.

    After reading the questions and answers on this problem, I investigated further. I have a signature file that is used on all my outgoing message, replies or forwards. In the HTML source code of this file, there is an article defining what mentioned a

  • MacBook Pro crashed. Fixed. How to get Firefox?

    MacBook Pro crashed. Hard drive wiped, reinstalled (OS 10.9.4). Restored data. Several app, such as Firefox, disappeared. Must I download again and start over?

  • How can I remove an addon (open with Phoshop)?

    I know how to remove addons, but 'Open with Photoshop' is not remove itself:I installed the 1.2 version of 'Open with Photoshop', then I updated firefox, but the addon didn't work. There are several updates for firefox and 'Open with Photoshop' since

  • Satellite Pro 4280 - what is the size of the HARD drive?

    I just bought a laptop Toshiba Satellite Pro 4280. According to the manual, it should have a 6.0 GB HDD but in my computer it is shown as having only a 1.34 GB capacity. PS I formatted the disk to remove the former owner data and operating system and

  • CTO G42T-200 video card update

    Is it possible to update Intel integrated graphics of my HP G42T-200 CTO Notebook PC with a Nvidia card?