cDAQ HAVE task using external clock

Hi, I am trying to use a clock signal on a line of PFI in order to generate a clock, but at a lower rate, for a task to HAVE.  I run into many issues that I can't explain.

I have a cDAQ-9172 with an entrance module analog (9225) in the Groove 3 and a digital input module (9411 - 2 MHz DI) into the slot 6 (where the PFI lines are accessible).  I want to use an external signal on et0/PFI0 to act as the clock for an analog input on the 9225 task.  This signal comes from the cDAQ anothr chassis and is too fast for the task to HAVE it, so I intend to use the time base entrance and the divider to clock (as shown on page 31 of the cDAQ-9172 manual).  See picture attached for a graphical representation of my problem.

If I have the wiring from the signal "/ cDAQ2Mod6/PFI0" in the DAQmx timing VI, get the error 200414 saying that "required sample clock source is not valid."  It is strange because it is listed as "Direct route" in Max (the VI of polymorphic DAQmx Timing is configured as 'Sample clock') Q: why this route is not suitable for the task?

If I use DAQmx Timing property node and change the Source 'Sample clock Timebase' to ' / cDAQ2Mod6/PFI0 ", the task starts without error, but the separation seems to be forced to 256.  If I try to change the properties of the separation of the time base, I get error-201100.  Try to change the 'sample clock rate"doesn't have any impact on the task and the remains of divider"256 ".  Q: why the 'Programmable clock divider"locked to 256 when using the PFI line or can you just not program directly?

I came across another error is the minimum speed on the PFI line.  If I have the wiring (for the SamplClock Timebase) lower at 1 MHz, LabVIEW returns error-200077.  The error message indicates that the minimum value is 1 MHz.  9172 manual shows the clock 100 kHz is an option for the time base, certainly less than 1 MHz.  Q: What are the limits of upper and lower frequency for a clock signal on the line PFI for the ' Timebase AI/SampleClock "?

I looked on the site and in the DAQmx documentation for further explanation, but I have been unable to explain these strange behaviors.  What are the barriers to entry of Timebase PFI and the time base "Programmable clock divider" preventing me to reach my goal here?  If I can't do it directly, can I use the PFIn signal to feed an internal counter (to act as the clock divider) which could then generate the clock WAS at the rate I want?  This method would allow me to perform a division arbitrary clock (unlike the ' 256', which seems to be forced on the PFI as a Timebase SampleClock.)

Finally, something seems odd that I can make an acquisition to 10Sa/s max but when I start a task using an internal timers of the cDAQ9172 and ask a 10Sa/s rate, the task really gives me a rate of 1612.9 sample/s while using the 12.8 MHz clock and a divider 7936 timebase.  Q: Why can't the task to 10Sa/s?

I use DAQmx 9.7.0 and LV2012 SP1 (and I tried with 9.7.5 but I got the same results)

Thank you

Olivier

Advertisement

I got additional help Friday in another engineer at NEITHER and the solution to my original problem is actually very simple to get the clock from an external source path:

The idea of picking a PFI line for the basis of 'time' and the 'Programmable clock divider"(in fact, DAQmx calculate this number based on"HAVE sample time clock"and"Sample clock HAVE") works by using the node property below:

(SampleClock.Source cannot be resolved until the task is clerks/reserved, but the default option seems to be the time base that works well in this case.)

The question that I described earlier with the 9225 comes the module properties and the fact that it is a "Module of Sigma - Delta".  That the module usually generates its own time of 12.8 MHz base clock (page 14 of the document 9225 # 374707) and the clock divisor is much less possible values than the other modules (must be a multiple of 256). It may use a different time basis from a PFI line, but it must be between 1 MHz and 13.15 MHz.

So a main clock between two chassis and tasks running at different rates of sharing should be easy and simple with most of the modules.  With AI modules with Sigma-Delta converters add additional limitations and the master clock for the time base frequency must be selected to accommodate these module as well.

Another good news is that the Simulator seems to bear all these details and DAQmx (9.7.0 in my case) generates the same errors when you use a simulated chassis if you use real body.  Play well!

Tags: NI Software

Similar Questions

  • find the computer again ceded LR LR catalog I have Mac using external drive

    I downloaded the Lr 5 new version 5.7 to my new computer and IMac.  I had an older 5.5 version on my old computer also and I have Mac. I plugged my external hard drive which has all my photos on it.

    I do not have want to put photos on my hard drive to the new computers.  I want to stay on my external hard drive.  If the backup drive Seagate appears on the desktop after I have put in the USB port and I think I've been responsible for a person to import all the photos on my hard drive-thr in the Lrprogram I just downloaded.  Top of the window, there are choices for DNG, copy, move, and then add and add is stressed.  To import all the photos taking into account what I said above?  I want them be added.     I can't locate the Lightroom Catalog with library, Navigator, develop etc...  This will appear after that I imported?  Please notify.  Thank you.  [email protected]

    Please see:

    Lightroom FAQ catalog

    I hope this helps.

    Concerning

    Megha Rawat

  • NI6602 pulse width measurement: do I have to use an external sample clock?

    Hello

    In the example .NET 4 "MeasPulseWidthBuf_SmplClk_Cont", it is said in the comments that:

    An external sample clock should be used.

    Hi mola.

    This specific example measures of sample-clocked pulse width.  This type of measure is supported only on new hardware such as the X series cards and will not run on the 6602.

    Your application that you have linked uses Implicit timing, which means that the signal is using the sample clock.  In other words, at the end of each pulse duration which can be measured, the sample is deterministic locked in.  So you end up with a table in the buffer of each pulse width which is seen by the meter.

    Best regards

  • Reading and samples the sampling frequency using a fast external clock

    Hello

    I use an NI USB-6212 box to launch a search engine for combustion. I have a pressure sensor in the head and a wheel on the crankshaft. I use the beats A Quad channel of the rotary encoder as a sample external to the pressure with the sample clock. The idea is that I want almost the same number of points in each trace of pressure so that it is easy to average together. I seem to be able to do this at low speed, but I'm having issues at high speed.

    Can someone tell me what I should have my sampling rate and samples to read together and how it effects my sampling when using an external clock? Samples per channel will affect the size of buffer and that matters? When I was high (10-100 kHz and about 1/10 * rate for samples to read) it barely read but as I put the lowest and lowest he read faster. Play with the settings a bit seem to affect how well it samples at different speeds. The engine is running at 3600 rpm and my encoder puts out 2500 pulses per turn on one channel, I'm looking at a frequency of 150 kHz effective sampling. However I didn't sample program with the engine operating at full throttle. I hung on the output of the encoder up to a scope and reads very well.

    Are there opportunities the filter counter that I see in the manual of 621 x is enabled inadvertently?

    Thank you

    Xander

    Xander18,

    I suggest you move your screws initialization outside the while loop, as well as your narrow DAQmx VI.  On my side, it looks like a new task is performed for each loop, which takes time.  That a try and let me know how it goes.

  • 'Resources in use' error during the acquisition of the analog data on AI0 with external clock on PFI0 and beginning of slope trigger analog on AI1

    Hello

    I use the card PCI-6111.

    I am trying to acquire analog data on channels dev1/ai0 ai1/dev1 using pulses of external clock connected to the PFI0 channel. I also want to trigger the acquisition, when the channel dev1/ai1 signal reaches certain level. I send a triangle wave channel dev1/ai1, and I need the data only for the front.

    I have configured the task in the following ways:

    However, I get the error-89137 after function DAQmx Start Task:

    Specified route can not be satisfied, because it requires resources that are currently in use by another route.

    Source device: Dev1
    Terminal of source: PFI0InputLockOut
    Target unit: Dev1
    Destination terminal: AnalogComparisonEvent

    Resources in use by
    Task name: _unnamedTask
    Source device: Dev1
    Terminal of source: PFI0
    Target unit: Dev1
    Destination terminal: AI/SampleClock

    Task name: _unnamedTask

    If I change the internal clock external clock - switch works. If I pull the trigger, the external clock works, too. But these two tasks do not work together.

    Help? Advice? Thank you!

  • To use the external clock for SCTL myRIO

    Hi people,

    I'm trying to find a way to get a 2.5 PSM 16-bit ADC, TI ADS1602, to send data to the device myRIO. Ideally, I'd like to bit Records at 40 MHz in order to obtain the benefit of the PSM full 2.5. I know that I can create an 80 MHz SCTL on the FPGA to create a clock of 40 MHz, but when I checked the clock on an oscilloscope signal, it was obviously greatly degraded by bunch speed limits, so he looked more like a sine wave to a square wave. I doubt it would work for use as a clock signal to drive the ADC since ADC specifications say that eligible jitter is around 100ps.

    I can use an external oscillator to drive the ADC, but then I have to find a way to sync the clock with clock FPGA 40 MHz. is there any kind of PLL structure that would allow me to sync the clock FPGA myRIO to an external clock? Is there a way to do a loop simple timed cycle driven by an external clock? Or if I was able to customize the FPGA personality to accept a SPI signal up to 40 MHz (ten times her supported limit...), he would be allowed to use an FPGA to ~ 160 MHz and tell him to taste the SPI line each loop and proceed from there?

    Thank you!

    Hi 3.14159... ,

    The myRIO doesn't have the ability to import a clock to use on the FPGA block diagram for clock loops timed cycle unique (SCTLs). The sbRIO-9651 new coming out week OR (not shipping yet) is the only sbRIO who has the ability to import an external clock in LabVIEW. Many of our products FlexRIO also have this ability.

    Like you we have it, you can taste the signal at twice the frequency (or maybe more) to and wait an edge trigger to run a certain element of logic. "" "If you open the example Finder and navigate to hardware input and output" R series "FPGA Fundamentals ' triggers and guard dog" trigger detection, this gives a simple example to do this. Once again, since you are eager to taste 10 times the frequency of support, all bets are off, but it may be worth trying.

  • Hanging Windows desktop and does not, online or off the power. I have to use the task mgr constantly to "shake" the windows to startin

    Original title: Hello I have an xp pro sp3 dell dimension 2400. Hanging of Windows desktop and does not, online and off.

    Hello I have an xp pro, sp3, the dell dimension 2400. IE 8 for the internet.  I use McAfee through my SP which is AT & T. Windows Office suspended and does not, online or off the power. I have to use the task mgr constantly to "shake up" windows start and sometimes, it doesn't work anymore and I have to restart.

    I have used all sorts of anti-virus programs and can ensure that it is NOT a virus. It is not my regestry, all updates are current. I keep a clean machine.

    I have xp of the process and have nothing wrong.

    Sometimes my icons will disappear out of my office, but always come right away. Other times, I get a message that says stop running this script. a script on this page slows down IE run slowly. It is for the most part on Face Book, BUT sometimes also on other sites, like google mail. Yahoo mail, groups and news.

    Any suggestions would be greatly appreciated.

    Thank you! :>)

    Hello I have an xp pro, sp3, the dell dimension 2400. IE 8 for the internet.  I use McAfee through my SP which is AT & T. Windows Office suspended and does not, online or off the power. I have to use the task mgr constantly to "shake up" windows start and sometimes, it doesn't work anymore and I have to restart.

    I have used all sorts of anti-virus programs and can ensure that it is NOT a virus. It is not my regestry, all updates are current. I keep a clean machine.

    I have xp of the process and have nothing wrong.

    Sometimes my icons will disappear out of my office, but always come right away. Other times, I get a message that says stop running this script. a script on this page slows down IE run slowly. It is for the most part on Face Book, BUT sometimes also on other sites, like google mail. Yahoo mail, groups and news.

    Any suggestions would be greatly appreciated.

    Thank you! :>)

    The image (it back up to an external drive as full image) and reinstall Windows XP, update, drivers and everything.  Install any plugins that you NEED to do all that you see here that the bat hurt.  If the problem no longer exists, something has gone wrong with your system from before (corrupt files or your cleaning is not as complete as you think) and if the problem persists - probably something to do with the material. In all cases, you can return to the image if you wish.

    To the extent wherever it is the registry, I must ask, * how * you have come to this conclusion?  Not that I'm defending something - I was wondering what you did to decide who is not your registry database?  (Side: I agree with you.)

    That's what * I * would call cleaning and optimization of a Windows XP machine:

    Search for malware:

    Download, install, execute, update and perform analyses complete system with the two following applications:

    Remove anything they find. Reboot when necessary. (You can uninstall one or both when finished.)

    Search online with eSet Online Scanner.

    The less you have to run all the time, most things you want to run will perform:

    Use Autoruns to understand this all starts when your computer's / when you log in. Look for whatever it is you do not know using Google (or ask here.) You can hopefully figure out if there are things from when your computer does (or connect) you don't not need and then configure them (through their own built-in mechanisms is the preferred method) so they do not - start using your resources without reason.

    You can download and use Process Explorer to see exactly what is taking your time processor/CPU and memory. This can help you to identify applications that you might want to consider alternatives for and get rid of all together.

    Do a house cleaning and the dust of this hard drive:

    You can free up disk space (will also help get rid of the things that you do not use) through the following steps:

    Windows XP should take between 4.5 and 9 GB * with * an Office suite, editing Photo software, alternative Internet browser (s), various Internet plugins and a host of other things installed.

    If you are comfortable with the stability of your system, you can delete the uninstall of patches which has installed Windows XP...
    http://www3.TELUS.NET/dandemar/spack.htm
    (Especially of interest here - #4)
    (Variant: http://www.dougknox.com/xp/utils/xp_hotfix_backup.htm )

    You can run disk - integrated into Windows XP - cleanup to erase everything except your last restore point and yet more 'free '... files cleaning

    How to use disk cleanup
    http://support.Microsoft.com/kb/310312

    You can disable hibernation if it is enabled and you do not...

    When you Hibernate your computer, Windows saves the contents of the system memory in the hiberfil.sys file. As a result, the size of the hiberfil.sys file will always be equal to the amount of physical memory in your system. If you don't use the Hibernate feature and want to reclaim the space used by Windows for the hiberfil.sys file, perform the following steps:

    -Start the Control Panel Power Options applet (go to start, settings, Control Panel, and then click Power Options).
    -Select the Hibernate tab, uncheck "Activate the hibernation", and then click OK. Although you might think otherwise, selecting never under "Hibernate" option on the power management tab does not delete the hiberfil.sys file.
    -Windows remove the "Hibernate" option on the power management tab and delete the hiberfil.sys file.

    You can control the amount of space your system restore can use...

    1. Click Start, right click my computer and then click Properties.
    2. click on the System Restore tab.
    3. highlight one of your readers (or C: If you only) and click on the button "settings".
    4 change the percentage of disk space you want to allow... I suggest moving the slider until you have about 1 GB (1024 MB or close to that...)
    5. click on OK. Then click OK again.

    You can control the amount of space used may or may not temporary Internet files...

    Empty the temporary Internet files and reduce the size, that it stores a size between 64 MB and 128 MB...

    -Open a copy of Microsoft Internet Explorer.
    -Select TOOLS - Internet Options.
    -On the general tab in the section 'Temporary Internet files', follow these steps:
    -Click on 'Delete the Cookies' (click OK)
    -Click on "Settings" and change the "amount of disk space to use: ' something between 64 MB and 128 MB. (There may be many more now.)
    -Click OK.
    -Click on 'Delete files', then select "Delete all offline content" (the box), and then click OK. (If you had a LOT, it can take 2 to 10 minutes or more).
    -Once it's done, click OK, close Internet Explorer, open Internet Explorer.

    You can use an application that scans your system for the log files and temporary files and use it to get rid of those who:

    CCleaner (free!)
    http://www.CCleaner.com/
    (just disk cleanup - do not play with the part of the registry for the moment)

    Other ways to free up space...

    SequoiaView
    http://www.win.Tue.nl/SequoiaView/

    JDiskReport
    http://www.jgoodies.com/freeware/JDiskReport/index.html

    Those who can help you discover visually where all space is used. Then, you can determine what to do.

    After that - you want to check any physical errors and fix everything for efficient access"

    CHKDSK
    How to scan your disks for errors* will take time and a reboot.

    Defragment
    How to defragment your hard drives* will take time

    Cleaning the components of update on your Windows XP computer

    While probably not 100% necessary-, it is probably a good idea at this time to ensure that you continue to get the updates you need. This will help you ensure that your system update is ready to do it for you.

    Download and run the MSRT tool manually:
    http://www.Microsoft.com/security/malwareremove/default.mspx
    (Ignore the details and download the tool to download and save to your desktop, run it.)

    Reset.

    Download/install the latest program Windows installation (for your operating system):
    (Windows XP 32-bit: WindowsXP-KB942288-v3 - x 86 .exe )
    (Download and save it to your desktop, run it.)

    Reset.

    and...

    Download the latest version of Windows Update (x 86) agent here:
    http://go.Microsoft.com/fwlink/?LinkId=91237
    ... and save it to the root of your C:\ drive. After you register on theroot of the C:\ drive, follow these steps:

    Close all Internet Explorer Windows and other applications.

    AutoScan--> RUN and type:
    %SystemDrive%\windowsupdateagent30-x86.exe /WUFORCE
    --> Click OK.

    (If asked, select 'Run'). --> Click on NEXT--> select 'I agree' and click NEXT--> where he completed the installation, click "Finish"...

    Reset.

    Now reset your Windows with this FixIt components update:
    How to reset the Windows Update components?

    Reset.

    Now that your system is generally free of malicious software (assuming you have an AntiVirus application), you've cleaned the "additional applications" that could be running and picking up your precious memory and the processor, you have authorized out of valuable and makes disk space as there are no problems with the drive itself and your Windows Update components are updates and should work fine - it is only only one other thing youpouvez wish to make:

    Get and install the hardware device last drivers for your system hardware/system manufacturers support and/or download web site.

    If you want, come back and let us know a bit more information on your system - particularly the brand / model of the system, you have - and maybe someone here can guide you to the place s x of law to this end. This isn't 100% necessary - but I'd be willing to bet that you would gain some performance and features in making this part.

  • I have an Iomega external HD model MDHD320-T. It has been used on an older Mac OX9 Office running. Can I access data on this disc hard by downloading a software compatible with my current Mac OS Yosemite? Thank you! George

    I have an Iomega external HD model MDHD320-T.

    It has been used on an older Mac OX9 Office running.

    Can I access data on this disc hard by downloading a software compatible with my current Mac OS Yosemite?

    Also, I find no other than ads Iomega site.

    Are they still in business?

    Thank you!

    George

    Search Wikipedia for LenovaEMC.

    The chances of finding software are slim to none.

  • My Lightroom is not opening. Not at all. Period. It acts like it's going to g then never does, and then I have to use the Task Manager to close. Any ideas?

    My Lightroom is not opening. Not at all. Period. It acts like it's going to g then never does, and then I have to use the Task Manager to close. Any ideas?

    Hi ellync,

    You must disable the graphic processor of Lightroom preferences, but since the opening of its not, you can either method below.

    Please follow the Solution below

    1. Go to edit > preference > Performance > uncheck "processor chart use" If this does not solves the problem then,
    2. With Lightroom closed
    • Access

    C:\Users\YourUserName\AppData\Roaming\Adobe\Lightroom\Preferences    (Where AppData is a system folder / hidden so you may need to enter the name of the folder directly into your browser's address bar or activate hidden folders / system in the Internet Explorer view folder options.)

    • Open the file LightroomPreferences.agprefs
    • Locate the line use = True autobahn (press CTRL + F)
    • Take Autobahn use = False


    After save the file

    Restart Lightroom

    3. also refer to that link and update GPU if you use AMD map

    Adobe Photoshop Lightroom Help | Problems with graphics cards 6 CC/Lightroom Lightroom and AMD | Win

    Let us know if this helps

    Concerning

    Mohit

  • My pdf files that I am editing keeps "freezing" and I have to use the Task Manager to end the program. I have the latest version of Adobe Acrobat Reader DC and I have 10 windows? Is there any solution for this?

    My pdf files that I am editing keeps "freezing" and I have to use the Task Manager to end the program. I have the latest version of Adobe Acrobat Reader DC and I have 10 windows? Is there any solution for this?

    Hi gregs5153218,

    You can't the PDF files to be changed with Acrobat Reader DC.

    You must have the Acrobat application to edit PDF files using Acrobat. Edit PDF files.

    Kind regards
    Nicos

  • In the 14 elements - everything works fine until I hit theTEXT tool of "T". Then the program hangs and I have to use the TASK MANAGER to close it. I have 7 previous elements that goes back to the beginning of the 2000s and am very familiar with the elemen

    In the 14 elements - everything works fine until I hit the TEXT tool "T". Then the program hangs and I have to use the TASK MANAGER to close it. I have 7 programs above, which dates back to the early 2000s and am very familiar with the elements. I did the update - but still the same. Anyone got any suggestions?

    A simple reset will often do the trick. Go to this link:

    Difficulty of tool

  • Cannot close Adobe Premiere cs 6.  I have to use the Task Manager.  I have 10 windows and uninstalled and reinstalled several times.

    Cannot close Adobe Premiere cs 6 I have to use the Task Manager.  I have 10 windows and uninstalled and reinstalled several times. Anyone know how to solve? 

    Hello world

    I "solved" the problem, or at least found a work around.  The program must be open as administrator.  Right click and open as administrator.

    If we don't do that all the time, set manually as open as administrator every time will strive do - follow the directions on the following link...

    Always run a program in administrator mode in Windows 10 - CNET

  • When you use the brush in the development module and I have a lot less brushes to create an image, the program hangs up to what I sometimes have to use windows to complete the task.  I have ICC Intel i7 3.4 and 16 GB of RAM to operate Windows 7.  Why hang

    When you use the brush in the development module and I have a lot less brushes to create an image, the program hangs up to what I sometimes have to use windows to complete the task.  I have ICC Intel i7 3.4 and 16 GB of RAM to operate Windows 7.  Why hang up LR

    Doing a lot of brushing up on an image using Lightroom is known to have this problem. The first thing to try is to turn off the graphics acceleration (go to Preferences/Performance tab and then uncheck the box here). IF this does not help, then you can consider doing your brush in Photoshop Elements or Photoshop, instead of brushing in Lightroom.

  • I changed from a PC to a MAC and have reformatted my external hard drive with my photos.  Originally LR pointing the reader as reader J but now I can not use a letter.  Y at - it anyway to solve this problem.  My catalogue works fine?

    I changed from a PC to a MAC and have reformatted my external hard drive with my photos.  Originally LR pointing the reader as reader J but now I can not use a letter.  Y at - it anyway to solve this problem.  My catalogue works fine?

    In the library, go to the folders Panel, right-click on each folder of upper level and "updated to the folder location".

  • When I add images in MUSE, do photos resize for web quality (and therefore the page will load pretty quickly) or what I have to do using external software such as photoshop, etc. ? Thank you

    When I add images in MUSE, do photos resize for web quality (and therefore the page will load pretty quickly) or what I have to do using external software such as photoshop, etc. ?

    Also is there a way I can change the email of the contact form for my contact at the same time form a whole.

    I have over 100 contact forms and I want them to send the same email anyway I can do without going one by one?

    Yes, the new image is physically reduced (interpolated/oversampled) to the dimensions of the original image once that replace you it through the portal of IBE.

    Thank you

    Vikas

Maybe you are looking for

  • Passcode lock

    I have a problem! My iPhone 4S is the locked access code and must be restored. I would like to know if it is possible to keep all the data, it is too important to me. Thank you!

  • Firefox displays my website poorly; other browsers work fine.

    I recently bought a new computer, and now my website (www.tree.org) shows italic! It is probably not the fault of the computer (ASUS 1215 B), because the problem appears only on Firefox. I've upgraded to the latest version (6.0), and it shows always

  • Satellite A200 - replacement of the CPU

    Hello I have a Satellite A200-130 with CPU CoreDuo 1.86 and I think to replace to Core2Duo 2.0 mainly for better performance and virtualization options of ot.Anyone done this?

  • Delete multiple text Messages?

    Search here and elsewhere but do not find an answer to my question. On previous Motorola phones, I could delete multiple text messages in just long-pressing the specific text message in a thread... then tapping each additional I wanted to delete... a

  • Problem DAQmx Base Examples

    Who what to compile the Mac DAQmx Base examples? I get a lot of errors. See annex.