Example of Calendar Type USB 6216

I use a USB-6216; I want to synchronize an output stream digital clocked by material with an analog output clocked by the material stream.  I understand that there is no clock of digital I/O on the USB-6216, but this page (very helpful!) suggests that on a device of the M series, I can use one of the analog clocks - for example ' ao/SampleClock"- at the digital clock of data :

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

However, when I try to configure a digital clock and task of "ao/SampleClock" (or "Dev4/ao/SampleClock", or "/ Dev4/ao/SampleClock") using DAQmxCfgSampClkTiming, I get an error saying that I can't use a sample clock for the tasks of the digital output on this device:

DAQmx error: the 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: DAQmx_SampTimingType
Required value: DAQmx_Val_SampClk
You can select: DAQmx_Val_OnDemand

I'm trying specifically to synchronize the digital and analog output, but the links above for a very similar example, do the same for the entry:

http://zone.NI.com/DevZone/CDA/EPD/p/ID/4488

This example uses the same approach:

DAQmxErrChk (DAQmxCfgSampClkTiming (taskHandleDig, "/ Dev4/AI/SampleClock", note, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, sampsPerChanToAcquire));

When I run the present with my USB-6216 (code not changed other than to change the device name), I get exactly the same error.

The page above that talks about the use of this approach for devices of the series M apply not to the USB-6216?  If so, what conditions should I I search in the specifications to understand if this is taken in charge or not?

Thank you!

-Dan

As far as timing goes, digital I/o on the multifunction data acquisition devices of NOR fall into three categories:

I. clocked by the software only

  • MFDS "Legacy" (series E, series B)
  • USB M Series (621 x) bus-powered.
  • 6008/6009

II. NI hardware without internal synchronization engine (you will see this referred to as "correlation" in some places on the Web site of OR).

  • Series M (622 x, x 625 x 628)
  • CDAQ "Legacy" (9172)

III. clocked by a synchronization engine equipped material internal.

  • X series
  • current-gen cDAQ

I have no explanation for the inconsistent terminology through various OR marketing pages, "NI by material" and "clocked" are synonymous in my book.

It would have been nice to have more than one distinction of product name between 621 and 622 x x / x 625 / 628 x material of the M series.  I imagine that much of the documentation has been written referring to devices'M Series' General before the x 621 has emerged and is now misleading and needs an update (they released for years even if it's not exactly an excuse...).

Best regards

Tags: NI Hardware

Similar Questions

  • type of digital output USB-6216

    Hello

    I am wanting to use the outputs digital on the USB-6216.

    Are the open collector output?  I couldn't find this information explicitly in the user manual.  According to 6.4 Figure in the user manual, showing the connection LED to channel 1, it seems that the output must be open collector (to get off the power, turn on the LED).  Is this correct?

    Thank you.

    A push-pull output can drive an LED very well.  Look at the specifications, page 8. It shows low and high current drive for outputs levels.  This device has no collector lines opened.

    Lynn

  • How to use ANSI C / C++ to control a device USB - 6216 BNC

    Dear Sir or Madam,

    I want to use Visual C/C++ (but not the .NET language) to contorl a device USB - 6216 BNC and write a simple app for a small project in my lab. What I want to do is very simple. I want just to provide a signal to exit through a channle AO and saving an AI channel input signal. I do not want to LabVIEW, LabWindows/CVI, and Measurement Studio, so that this simple application can be autonomous and does not depend on LabVIEW, LabWindows/CVI, and Measurement Studio. Can anyone advise me on what I need to do to get there?

    My naïve thought is that I will follow the following steps:

    1. install the DAQmx drivers on acomputer,
    2. Connect the device USB - 6216 BNC to this computer,
    3. Make sure that the device is recognized by the computer, via the Windows Device Manager
    4. write a Visual C/C++ program to register the NIDAQmx.h and use the NIDAQmx.lib library. By the way. I found the files NIDAQmx.h and NIDAQmx.lib in the C:\Program Files x 86) \National Instruments\NI - folder DAQ\DAQmx ANSI C Dev\ that was automatically created for me when I installed LabVIEW on another computer in the lab m a few years ago.

    Please let me know if I missed something. In addition, if there is a code example for a simple task like this, it will be extremely useful.

    Moreover, the computer on which I am working on a Windows 7 and 9.3 DAQmx installed.

    Thank you!

    Fuh


  • Basic usb-6216 trigger DAQmx fails with the error

    Hi people,

    I have here a puzzle game.  I'm trying to implement a very simple trigger for analog acquisition on my new USB-6216 BNC Board.  I use it with a Mac, so I'm limited by pilots Daqmx Base (what documentation and implementation is terrible).  Everything works well when the trigger is disabled, but when I turn it on, the program generates error-200428 'value passed to the control task/channels is not valid.  I've essentially implemented this word for word in the examples that I could find online of OR, so why he does not?

    I spoke at length with Technical Support OR (just enjoy to this day) and wonder if someone in the community has faced this problem.  I put a subset of my code in a VI and have attatched to this message... the ideas, advice, etc. would be greatly welcomed!

    Best,
    Jason Gallant

    According to the specs on the product page, there will be only a digital triggering. You ask an analog trigger.

  • Why can I not make a continuous sampling of port 0 on USB 6216?

    I have a USB-6216 of NOR. I try to capture digital signals using port 0. However, the only way that I can function is samples on request. If I select N samples or continuous sampling, I get the following in the DAQ SignalExpress Wizard error message both Labview 2011. What I'm not doing correctly?

    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
    Requested value: sample clock
    You can select: on request


    The 6216 not having a sample for the e/s digital clock as you can see from reading the specification, every time you try to use one, you will get this error message. Thus, in LabVIEW, whenever you want to do a reading, you must call a single value DAQmx Read mode single sample (or the DAQ Assistant, configured the same way). How many samples per second you take is going to be highly variable due to windows being nondeterministic.

  • Why the following code causes a time-out when you try to read a finite number of samples of the USB-6216?

    I do not have Measurement Studio, but I use the 4 available with DAQmx .NET support.

    The following code throws a timeout when calling ReadMultiSample(). Can someone please tell me what I'm doing wrong? I would get 40 000 samples with a sampling rate of 20 kHz. I've renamed by device USB-6216 of 'Meas1' by using MAX.

    [edit] I want to emphasize that I use AnalogMultiChannelReader because I intend to grab more than one channel once I understand that.

    Thanks in advance!

                using (task task = new Task()) {}
    task. AIChannels.CreateVoltageChannel ("Meas1/ai1", "", AITerminalConfiguration.Differential, -0.2, 0.2, AIVoltageUnits.Volts);
    task. Timing.SampleQuantityMode = SampleQuantityMode.FiniteSamples;
    task. Timing.SampleClockRate = 20000;
    task. Timing.SamplesPerChannel = 40000;
    AnalogMultiChannelReader reader = new AnalogMultiChannelReader (task. Stream);
    task. Start();
    samples is reader. ReadMultiSample (40000); // <-- timeout="" occurs="" during="" this="">
    task. Stop();
    }

    I forgot to put the SampleTimingType:

    task. Timing.SampleTimingType = SampleTimingType.SampleClock;

  • Two pulse trains with delay of fixed phase using USB-6216

    I need to generate two pulse trains of continuous with the 2nd train of pulses at a set for the first time. Is this possible with the USB-6216?

    Yes it can.

    You will need to set up a dummy analog input task and set the two tasks of counter to serve their trigger start of AI/StartTrigger.  Your first meter will start immediately, but your second task is to counter, specify a value for the terminal 'initial period' of the DAQmx VI create channel.

    This 'initial period' will be in a few seconds and the period after receiving the start trigger that starts the second pulse train.

  • Cannot find device USB-6216 Simulator

    I'm trying to simulate the USB-6216.  When I go to create the simulated pilot I don't see the 6216 as one of the options.  Renault USB are in the range 92xx.

    Thank you

    Mark

    Look under the M Series DAQ instead.

  • Reading data with the USB-6216 CAN?

    Hi all

    I apologize in advance if this has been discussed before. Looking for a CAN isn't very productive because each instance of "can" is as follows. Controller Area Network is the name of long form, but it does not appear to have been mentioned on this forum.

    I have an USB data acquisition card - 6216 BNC. I am interested in reading the data CAN a MoTec data logger on it. National Instruments offers a series of white papers on the CAN, but they focus on their families of NI CAN hardware, as these USB units.

    Is there a reason why I can't run CAN given in my (USB - 6216 BNC) multifunction data acquisition? It's just digital data and I believe that the sampling frequency should be enough, especially since I can run my network at different speeds CAN. I'm almost tempted to try to build a program of reading of CAN using digital DAQmx tasks just to see if it would work. But I wanted to check with this Council first to see if there was something missing because no one seems to have tried this before.

    Kind regards

    Of course, they do not work. Any other hardware and drivers.

    Your card has avoiding only if you have no "sampling rate". The best you can expect is not more than 1 kHz, with a considerable jitter of the operating system. You see not all posts on the topic because people choose the right hardware for it. It really is a simple solution.

  • Ask the synchronization of Contacts and calendar via USB while using VersaMail with Exchange ActiveSync push email

    East of the request to add a new feature in VersaMail in a future version. A Palm support Rep suggested I post this here.

    I came across Palm Article ID: 42600 which States "once you set up an Exchange ActiveSync account in VersaMail, you will be able to synchronize the calendar, Contacts or by e-mail via the USB HotSync cable. Would be nice if this was not the case when the synchronization of Contacts and calendar are turned off. A call to technical support confirmed there is no way to do it with the current version of the product.

    I found a competing product, RoadSync from DataViz allows me to synchronize ONLY e-mail with ActiveSync, so it would appear to be technically possible.  The problem with RoadSync is is not a true push email on the Treo 680 and it seems a bit expensive with less features than VersaMail.

    Please consider publishes a new version or a patch to allow synchronization of Contacts and calendar via USB when you use Exchange ActiveSync push email.

    I can certainly present this as a feature request.

    Message relates to: None

  • Simple examples of analog output USB-6343

    I've tried passing by 'find' examples and does not know how to find what I want.

    I'm doing a simple analog output on a USB-6343.  Examples of waveforms say they work with the USB-6343, but I really don't want a waveform, just analog of output does not exceed 10 Hz speed of renewal.  Some of the more simple examples show that they work with the pcie-6343 but do not list USB-6343.

    I worked with USB-6009 in the past, but when I try to use an analog output task that uses 1 sample on request, I get the error "not buffered operations clocked by the hardware are not supported for device and channel type.»  Set the size of greater than 0 buffer, do not set up the timing of the sample clock or the value Type of sample On Demand time"

    I tried samples N, 100 samples to write to 10 Hz - the same error.  Samples of continuous - same error.  1-sample - timed HW - same error.

    There is a series of examples of I/O for the X series?  Is it possible to search the device examples rather than go through all the examples and by checking the list of devices individually?

    Is 'size of the buffer' the 'writing samples"in MAX?

    After contacting the support I was provided with the names of the more simple examples for analog i/o:

    Analog output-Gen power Update.vi

    Analog Input-Acq & chart voltage-Int Clk.vi

    They are found in the getting started screen of

    Click 'Find examples' near the lower right corner

    Filter the results to material by clicking on the menu drop down for the material in the lower left corner and selecting USB-6343 (only connected equipment will be displayed)

    Don't forget to check the box "limit results to material" below.

    In the center pane, double-click 'Material Input and Output'

    Double-click DAQmx

    Path for the analog input - double-click Acq & chart analog measures - double click on tension - tension-Int Clk.vi

    Double click on analog generation - double click on Power - Gen Update.vi of analog channel output voltage

    The examples are for the single data point.  Samples and exit multiples are produced by putting the writing or reading VI inside a loop.  The beginning and the clear functions should be out of the loop.

    Additional information, I need technical support was how material-filter results and identification of more simple examples which were not obvious from the examples of names.

  • Calendar type to create for blackBerry Smartphones

    Hello

    I would like to know if it is possible to change the type of calendar when you add a new appointment in the default calendar application? Depending on the calendar, I mean "Default" and "Facebook"? I would like to create more, but I can't find how. And is it possible to use the 'default' one? I tried to go to Options-> advanced-> default Services Options and modify the CICAL but I can't change the value of it, only Facebook is available.

    I have the Curve 8530 and the most recent update.

    Thanks in advance!

    Stealthunter wrote:

    Oh, I was not SO clear (I can be slow too ahah)

    What I wanted to, that is. I used 3 calendars. By default, Group and Facebook. I added my appointments in 'Group' so I wouldn't add to facebook, but now this 'group' is gone. Let's say I want to add appointments in several groups as 'TV Show', 'Homework' or 'meetings '. Is it possible to create this group without a Plan of data or any email on my Blackberry?

    Hello

    Do you have manually created the calendar 'Group' or have you used Blackberry Messenger and were members of a group?

    It is difficult to discuss, as the Blackberry was designed for internet and e-mail access. The device default calendar actually serves mainly catch appointments lost of calendars associated with e-mail. What you ask, it's essentially maximum instead of what other users.

    I'm not saying that your application is not valid at all. I have an option to create a calendar using your examples of self appointed groups have never seen. I just tried it on a Blackberry 8330 and 9530 which are not connected to a data plan and my 9550 i.e. data enabled. All are on the device OS 5.0.

    It's the best answer I can provide.

    Thank you

    Bifocals

  • Text input appears backwards for example if I type in google, it appears as elgoog.

    Firefox version number 17.0 on my Samsung Galaxy Ace 2 running Android 2.3.6.
    Using Samsung keypad with XT9 predictive text.
    I can't enter text ok in the URL field, but the problem appears when I try to enter text in a field of data entry on a web page.
    When I type the first character, the cursor appears on the left of that character instead of to the right. This means that the text came back. the only way I can get to enter text correctly is if I move the cursor after you enter each character.
    Web page input field example is the field of research on my homepage www.nzcity.co.nz , but it happens on other areas.
    Thank you.
    Peter Northway

    None of this information applies to mobile phones.

    We have made several changes to the keyboard input in Firefox 19 and 20. You should be able to find 19 Firefox in the game store as Firefox beta Friday of this week.

  • Example: Pavilion 15 p077tx: USB Port damaged

    a usb key broke down inside the usb port on my laptop and after removing the part of the usb key that was inside the port, the usb port does not work.

    I would like to know: -.

    1 wheather this is covered by the policy of protection against accidental damage of HP?

    2 How many times I can claim protection against accidental damage. that is if I get my usb port repaired and anything else breaks in the future ADP will be available for that too? I mean I can get my laptop repaired several times he breaks down so his succession of the ADP period?

    Please quick reply

    any help would be appreciated.

    Present customer of peer to peer support forum. It is not a business unit of HP.

    Contact HP directly to get answers to your questions about the policy of protection against accidental damage.

  • MY OLD KEYBOARD MICROSOFT has the OLD SOCKET of TYPE PS/2 I USED AN adapter to convert the type usb plug into the computer __new... no joy

    tried loading new driver... was 'already installed' no joy

    Hello

    Could be a bad adapter.

    Panel - Manager of peripherals - keyboard - click on - uninstall - After Reboot.

    See if that gets to recognize the keyboard.

    Try other USB slots (only 2/4 are powered, so you may need to use on people).

    / Settings (BIOS/CMOS) often F2 as you start so watch the display - Legacy USB
    Devices - Enable. (Yes I know that this can't happen with a nonfunctional keyboard-
    kind of a catch 22).

    I hope this helps and happy holidays!

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

Maybe you are looking for