How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?

I want to integrate the ANSI C sample program ReadDigPort - ExtClk.c in my own big package.

I want to use the internal clock of the BNC NI USB-6259 (.. 80 kHz 120 kHz).

In the document:
High speed M: Series Multifunction DAQ for USB - 16-bit, up to 1.25 MECH built-in BNC connectivity. / s,.
is written:
Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.

How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?
With what other subsystem on the device can generate a source of the clock? How?

It is possible to set a clock on an internal counter (for example ' Dev1/ctr0"):
Creates channels to generate digital impulses that define the freq and dutyCycle and adds the channel of the task that you specify with taskHandle.
DAQmxCreateCOPulseChanFreq (taskHandle, "Dev1/ctr0" units, clockName, idleState,
initialDelay, freq, the duty cycle); works

But it is not possible to drive this internal clock to a terminal (for example "/ PFI0/Dev1"):
DAQmxErrChk (DAQmxCreateCOPulseChanFreq (taskHandle, "/ PFI0/Dev1", clockName, units, idleState, '))
initialDelay, freq, the duty cycle); does not work: error DAQmx: measurements: type I/O of the physical channel does not match the type of I/O required for the virtual channel you create. Name of the physical channel: PFI0. Name of the virtual channel: clock

The sample clock source can be derived from an external terminal (for example "/ PFI0/Dev1"):
Sets the source of the sample clock, the sample clock rate and the number of samples to acquire or generate.
DAQmxCfgSampClkTiming (taskHandle, "/ PFI0/Dev1", maximumExpectedSamplingRate, DAQmx_Val_Rising, ")
DAQmx_Val_ContSamps, bufferSize); works. Acquire or generate samples until you stop the task

But it is not possible to derive the internal counter of the clock (for example ' Dev1/ctr0"):
DAQmxCfgSampClkTiming (taskHandle, "Dev1/ctr0", maximumExpectedSamplingRate, DAQmx_Val_Rising,
DAQmx_Val_ContSamps, bufferSize); does not work. Error: Acquire or generate samples until you stop the task: make sure that the name of the terminal is valid for the specified device. See Measurement & Automation explore valid names of terminals. Property: Property of DAQmx_SampClk_Src: DAQmx_SampClk_ActiveEdgeSource device: Terminal Source Dev1: Dev1/ctr0

Hi datafriend,

using what it says is correct:

Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.

This means that if you do not use an external signal as clock you can use the sample clock to HAVE it on board or at the output of the internal counter.

There are also 2 ANSI C examples in this regard:

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

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

So in both cases you have to use a fictitious task you need only for the generation of the internal clock (HAVE or CTR)

Tags: NI Hardware

Similar Questions

  • How can I get a list of jobs that are planned for the days of the future

    How can I get a list of jobs that are planned for the days of the future?

    In a previous article, I found a query that lists the scheduled tasks that are already running. Can I get a similar request for the future days which is compiled?

    Hi sreedevir,

    SELECT jobmst.jobmst_prntname, jobmst.jobmst_name, jobrun.*

    FROM jobrun JOIN jobmst ON jobmst.jobmst_id = jobrun.jobmst_id -joining tables jobmst and jobrun

    WHERE jobrun_proddt > = dateadd (dd, 1, datediff (dd, getdate())) 0, -future dates

    AND jobmst.jobmst_type = 2 -given jobs (and not groups)

    ORDER BY 1, 2 -Sort by name of the parent, then by task name

    Feel free to make any changes to your reporting needs

    ARO

    The Derrick

  • How can I using an apple extreme get a better signal around the House?

    How can I using an old apple extreme get a better signal around the House?

    I use an old apple express and a new express from apple.

    I need to update my extreme from apple for the last device namely a time capsule.

    Can I use my apple extreme connected to my new camera add more points around the House?

    What is the model number of the old AirPort Extreme?

    What is the model number of the old AirPort Express Terminal?

    We assume that the model number of the new AirPort Express Terminal is A1392, correct?

    What connects to what now on your network?  It looks like this?

    Internet connection > Modem > new AirPort Express?   How the old Express connects to the new Express?   Cable?  Wireless?

  • How can I use two counters to capture a pulse ttl for a specified time

    Configuration: Card counting 6062 PCI w / BNC 2121 Board running under LV 9.0 PerkinElmer Avanlance Photodiode (SPCM-AQRH-13)

    I searched through the forums and fell on the theme of framing an image while collecting signals from a source for a specified time.

    The example in terms of falkpl in 2005:

    "

    Dismal Hello,

    I'll try to point you in the right
    direction to start coding the application, but do not forget my
    suggestions have to be modified to your specific request.

    For
    the task output redeclenchables finished meter you need to
    your counter seconds in this application, I suggest to take a look
    in the Finder example in LabVIEW ('Help' are examples) and less
    DAQmx hardware entry & exit"" generating digital impulses.  Here,
    you will find some Gen dig Pulse - Retriggerable.vi.  You can use this for
    Create your door 4 pulses ms it's over (not a pulse train) and
    redeclenchables (for each time you go to the next step.

    In
    regards to the configuration of the first counter, there are several things to
    consider, and I can offer initial help to get set up.  You
    in-house allows to route internal CTR1 (4ms of pulse) output for your CTR0
    Door to measure only during the time.  Here are additional
    Info
    to do this in LabVIEW.  The source of your task of edges ABOVE County
    will be the TTL signal you are measuring and counting.  It comes
    on the PFI line that corresponds with CTR0 Source.

    When
    you make a measurement finished with CTR0, you will take only heads while
    the door is high and your source has a rising edge.  You can set the
    measure over to start on a trigger, which is not clear in this
    for example, that you have identified.  Since you know that you have a finished 4ms pulse
    time to measure, you can set the duration of your measure
    as a result.

    I found this
    Forum
    which may help some, but the coding is
    textual.   I hope this can give you a good starting point for
    programming.

  • How can I use my Sony TV as a computer monitor via the Wi - Fi connection, it uses for file sharing?

    I "ve connected brand sony LED tv with WI - FI connectivity (router) connection. Currently I am able to view the media files from my shared folder. Now, I want to display my monitor on the TV. How can I do?

    Hey joshi;

    I understand what you're asking, and the answer is no. It's just not possible that the way things are right now. There are several ways to get your desktop on your TV, but unfortunately wifi isn't one of them.  Your best bet would be to just connect your laptop to your TV with vga or hdmi, and then use a wireless keyboard and mouse.

    I hope this helps.

  • How can I use a JPEG file as a background image for my vi to 8.5

    Im working on a vi that I intend to help as part of an alarm system.  I would use a JPEG file of my house as a background image for the vi, or possibly to just display in a window on the control panel.  I've seen people use their own images before, but never looked at what it was.

    Im trying to use the 'read JPEG' file vi and the flattened pixmap 'draw' vi to achieve this.  The vi works, but nothing shows up on the front panel.  If I try to create a "new image" flag out of the flattened pixmap 'draw' vi, I get a blank white window on the front panel.

    Any advice?

    Thank you

    The image could be there just not to come to the right place in the image control. What is the control relative to the image? Must be a JPEG file or can you just copy as a bitmap to the Clipboard and paste it on the front panel? Can you put a photo and the unworking VI?

  • How can you transfer photos from iPhone 6, as well as for the SD card?

    How can I transfer photos directly from my iPhone 6 Plus an SD card without using my iMac

    I don't think there is a way for Apple to export to an SD card.

    Connection kits only import.

    try...

    ARD-reader-for-your-iPad-or-iPhone.html http://www.Macworld.com/article/2362249/Kingston-MobileLite-Wireless-Review-SD-c

    or

    http://www.CNET.com/products/Patriot-Aero-wireless-mobile-drive/

  • How can I download previously purchased Photoshop elements 11 and 12 for the new laptop?

    I got a new laptop of Toshiba Satellite touch screen for Christmas and I want to download my previously purchased Photoshop items 11 and 12.  I need assistance and/or instructions on how to do it on my new Windows 8 operating system as I tried and had to uninstall programs.  Your help will be most appreciated!

    If you have downloaded to the origin of the requests, you might find links to do so again through your Adobe account online.  In addition, here is a link where you can download trial versions and use your serial number to activate to use fully.

    For the prodesigntools links be sure to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    Photoshop/Premiere Elements 11:

    l http://prodesigntools.com/Photoshop-Elements-11-Direct-Download-Links-PSE-Premiere-pre.htm
                                   
    Photoshop/Premiere Elements 12:

    http://prodesigntools.com/Photoshop-elements-12-direct-download-links-premiere.html

    http://www.Adobe.com/cfusion/TDRC/index.cfm?product=photoshop_elements&loc=us

  • Can I use my android phone as a remote control for the air to my iPad

    I have an iPad Air, can I control remotely using my phone android mobile

    N °

    About the only thing you might be able to do is to get a basic application is which is about android and iOS, as a player (do they have an android app) and then you can use it to access the documents of these two devices (upload photos from your iPad and view them on your phone and vice versa, for example)

    but your phone and your iPad literally speak two different languages.

  • How can I use ApplicationMessage to pass my application's message in the Inbox of BlackBerry?

    Hi everybpdy,

    I was told that it is possible to use the ApplicationMessage class to transfer my application's message directly to the Inbox of BlackBerry, but I've yet to find a relevant example of this use. Does anyone have an idea on how I could do this?

    Thanks in advance.

    Take a look at the messagelistdemo that is included with the JDE BlackBerry and BlackBerry Java SDK.  It shows how to do exactly that.

  • How can I configure a secondary Navigation menu expandable linear stands for the specific Web site pages?

    I'm looking to set up a secondary Navigation menu that is customized to specific pages on my site. I tried to do this using the Widgets Library > Menus > Vertical, then dragged the vertical menu on the page. I know how to add sub-pages using the + box, but I want the subpage names at shOE upward in a specific way. The problem I have is, I want the secondary navigation menu to have a specific look, with "pages" of the menu running in the vertical menu format and subpages if poster in a schema extensible sub-navigation form (see image below), so that when I click on a homepage of the sub navig. menu, all the sub pages expand underwear, slightly indented (so that the hierarchy of the pages is obvious). Then, when I click on a different home page and its subpages below expand, I want the subpages of the homepage previously clicked on to disappear. I've seen websites set up in this way and I like the simplicity, the functionality and look of this type of secondary navigation, I don't know how to do. Does anyone know how this can be done? I am ready to go the "long way" If that's what it takes. Thank you. AdobeMuse-SecondaryNavig.jpg

    You can use the widget panel tabs to achieve this. (formatting to your look)

    Just add some text in each Panel and a link to the specific page.

    The only drawback is you wouldn't be able to link the main headings (Commercial... etc)

  • How can I add my name to my outgoing emails which, for the time being, only shows my name?

    When my emails are received by the person I sent the e-mail to-only my name shows. I would like to know how to change or other so my first and the spectacle of the family name.

    Right-click on the account in the folders pane, and then select settings.
    Set your name correctly.

  • How can I get around not having an access code firefox for the stage 2 audit

    I installed 2 verification step, but did not receive an access code. I can't access my account. Solutions in 2 step just help run me in circles. I tried all, but they take back me to the login page again requesting the code that I don't have.

    upgrade your browser Firefox 8

  • How can I add a correction lens profile in LR CC for the 15-30mm Tamron f2.8?

    does anyone know?  is this an update of Adobe, or can I add it manually?  I have the latest version

    Hello

    I think that you will have to create your own. See if this link helps: work with lenses in Adobe Photoshop, Lightroom and Camera Raw profiles

    Kind regards

    Steve

  • How can I use my Office subscription on my laptop?

    How can I use my Office subscription on my laptop?

    The same way you would use on a desktop computer...

    Download/install the desktop application, connect and install applications subscription.

    https://helpx.Adobe.com/creative-cloud/help/download-install-app.html

    Creative cloud to desktop

    https://helpx.Adobe.com/creative-cloud/help/creative-cloud-desktop.html

    Sign out, sign in | Creative office cloud app

    http://helpx.Adobe.com/creative-cloud/KB/sign-in-out-creative-cloud-desktop-app.html

    Install, update, or uninstall applications

    http://helpx.Adobe.com/creative-cloud/help/install-apps.html

Maybe you are looking for

  • Firefox does not connect to any Web site, but other browsers will.

    When I get something in the URL- google.com, localhost, http://127.0.0.1/ one bar the IP address, there is a fraction of a second flash, then the bar becomes empty and nothing has changed. It seems that Firefox is not even try to connect to the inter

  • On FPGA VI

    Hello! It's running the FPGA VI. I would just ask you what is the likely cause of the FPGA VI out of different answers every time that I run it (as I'm not closing the VI or change anything in the FPGA VI, I just "re-run"). Thank you!

  • Problem installation of DSC Module 2016

    Hello I try to install LabVIEW 2016 64-bit on my 10 64-bit windows. the problem is: Although labview is installed and works perfectly, when I try to install the DSC module an error appears and indicates that LabVIEW is not installed! LabVIEW module a

  • Control the output is not the correct value

    Hello I have a producer consumer with a queue architecture to pass values. I want to push a new value in the table by using "Insert table" when a button is pressed, but when I do the previous value is read the first time and the correct value on the

  • LabVIEW: Null window... stopped to stranger on the block diagram

    Hello I have a pretty important program that has been written in Labview 6.0. Recently, we have upgraded to Labview 9.0 and this program has been exported to an executable file with the new version. When you run the executable file, I sometimes have