How meters in cascade on NI9401 cDAQ-9174

I have a NOR-9401, installed in a cDAQ-9174 I use to count impulses of entry. I wish I could cascade to counters for having set up a 64-bit counter, but I'm having trouble finding ways to achieve this.

After searching through manuals and help files, I was able to create the following (VI attached):

For cascading counters, I suppose I must route Ctr0InternalOutput at the entrance to the second counter, but I can't find how.

Any suggestions? Maybe, I'm just looking in the wrong place. I use the manual of 9174 and DAQmx help file. None of the examples I looked at dealing with cascading counters, and while the subject is mentioned in the manual, the only other speak matched counters have to do with measures of frequency/period.

I finally understood that - right click on the constant/control that I create that is connected to the CI. CountEdged.Term property, selecting IO name filtering and checking the button include the Advanced terminals then allow me to choose/cDAQ1/Ctr0InternalOutput as the input of ctr1.

Tags: NI Software

Similar Questions

  • How to speed up loop DAQ triggered using NOR cDAQ-9174 with NOR-9215 and NOR-9402

    Hello

    I use LV2010 and NOR-DAQmx 9.2.2. I have a NOR cDAQ-9174 with a NEITHER-9215 4 channel 100 k simultaneous ADC and NOR-9402 4 channel DIO module trigger and reset.

    We run WinXP sp3 on a Dell M4400 core 2 duo @2. 26 Ghz.

    I used the code example NI DAQmx for acquisition of tension with trigger HW. My goal is to try all 4 channels on the 9215 simultaneously when a trigger is received on channel 0 of the 9402, after data is read, I use channel 1 on the 9402 to reset the trigger of the target material.  I have a version of this work, however the maximum event rate is ~ 16/second. I have the Setup 9215 for finite samples / 10 samples per channel which is ~ 400uSec of conversion time and I realize he is above in the appeal of vi, but ~ 50mSeconds worth?

    The target detector can put out up to 1 k / event triggers / seconds.  Only, I received a rate of 8 per second and I added the NOR-DAQmx control vi driver and chose "commit" this did double the rate.

    My question is what is the maximum rate of loop for these devices (trigger/conversion/reading device / reset) and start over? I noticed that just let free the 9215, carried out using the 'Acq & chart internal strain Clk' raised only the rate of events up to 20 Hz.

    Thank you

    normbo663

    Hi normbo663,

    You can get this works far better assuming you have an available counter (there are 4 on the backplane of the 9174).

    DAQ Compact supports the tasks of meter output "redeclenchables" that can be used to generate a finite pulse train.  You can set a task of finished meter redeclenchables output to be used as sample for your task of analog clock.  The task of the meter output will be re-Army (less than 12, 5-25 ns) as soon as it's finished out the last pulse.  The task of analog input would be configured to run continuously, but it would only sample based on the output of the meter triggered.  For an example, see here.

    You can reference the internal counters on the cDAQ without signals through a routing module using: cDAQ1/_ctr0 (right click on the chain counter control, then select i/o name of filtering and check channels internal to add these options to the drop down).

    Thus, with the tips above, you should be able to immediately re - arming your analog acquisition on the 9215 using one background basket counters.  It seems that the second half of the application is to use a second channel on the 9402 to reset the trigger of your DUT.  You can deterministically generate this signal so by configuring a 2nd redeclenchables meter out task (single pulse, but this time).  All you need to do is the initial delay on the appropriate value for your analog acquisition.  Trigger this counter on the same PFI line that trigger you your analog task from.

    Using counters to generate the signals you need in a deterministic way, the loop becomes is no longer a problem (as long as your input buffer does not overflow).  You may need to re-read several triggers at the same time for the loop to keep (for example to read 1000 samples each, which would correspond to 100 triggers 10 samples).

    Best regards

  • cDAQ-9174 error-89137

    I have a cDAQ-9174, I want to configure to use and DI, at the same time in two different tasks. It gives me the following-89137 error:

    Possible reasons:

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

    Source device: cDAQ1
    Terminal: / SampleClock
    Target unit: cDAQ1
    Destination terminal: Slot1/ConvertPulse

    Resources in use by
    Task name: _unnamedTask<32>
    Source device: cDAQ1
    Point source: di/SampleClock
    Target unit: cDAQ1
    Destination terminal: Slot1/ConvertPulse

    Task name: _unnamedTask<33>

    I understand that this is because some courses is in use, but I don't know what that means. I tried to reference the peripheral roads in MAX, but I don't really understand. I have attached my code. You can see that I want to read and write at the same time, which I think should be a fairly simple thing to do. I found a note on the site NOR on the definition of the clocks with the Timekeeping property node. I tried to do, but I couldn't make it work anyway.

    Can someone tell me how I can use DI and PERFORM tasks on the cDAQ even at the same time?

    I figured out that I can not do readings of equipment timed at the same time, I do timed written with this module, so that was the problem.

  • synchronization and clock cDAQ-9174

    I have a cDAQ-9174 with chassis

    HAVE - 9205 OR 9205

    HAVE - NOR 9219

    DIO - OR 9401.

    "NOR-DAQmx allows the on-board clock routing synchronize acquisition or generation of data transactions. A single sync signal or a trigger can be shared between multiple operations on the same device to ensure that the data are synchronized. These signals is shared by the simple signals routing functions that allow connections integrated hardware DAQ. " (from http://zone.ni.com/devzone/cda/tut/p/id/6829)

    When I check the itineraries device in MAX tab' for chassis and c modules individually, I found many clocks with the Green blocks (direct Route). "Once a physical connection is determined, the NOR-DAQmx driver lets the user quickly and easily use this connection to synchronize operations".

    Now my question is how do you choose among these clocks available. What is the frequency of these clocks? The highest frequency the better? What is the difference between /Ctr0SampleClock, /Ctr0InternalOutput, /Ctr0Source, /Ctr0A?

    For example, why well/Dev1/I/SampleClock or Ctr0InternalOutput or of others, especially as a source for the .vi DAQmx Timing (sample clock)?

    Thanks a lot for your help

    Bing

    Concerning

    Hello NCLbingji,

    I think you mix instructions from the manuals of different material. The link you posted refers to the synchronization of several separate devices, while your cDAQ with its modules really is like having one device almost. You will find more relevant information in your manual of cDAQ chassis. For multiple devices, you indeed have a "physical connection", but with the cDAQ is not necessary. You set up these connections in the software in any way, and this should get the routing sorting at the driver level.

    Try to identify which channel will be your a 'primary', the one driving all others and synchronization, the value then asked SampleClock of this string as the rest (DAQmx Trigger.vi) trigger ('secondary') channels, then start all 'secondary' jobs and finally start your "primary" task This will trigger all tasks at the same time. Take a look at the attached picture, which is another application that I worked on, but I think this will help.

    I hope this helps.

    Kind regards

    Michael S.
    Technical sales engineer
    NEITHER UK & Ireland

  • Synchronize the pci-6254 and cDAQ-9174

    Dear all,

    I hope you enjoy!

    I intend to synchronize two cDAQ-9174 chassis for an application where I need to acquire data of 8-Thermocouple, voltage 3, 1-Full bridge (strain gauge) and channel 2-meter at the same time. This enforcement action is based encoder (quadrature with 1024 ticks per round) and I need to acquire data very fast and synchronized in all channels!

    I bought the material and I'm going to set up 3-voltage channels in NOR-9221, Thermocouples-4-NOR-9211, 1 strain of NOR-9237 and 2-meter gauge in NOR-9401 first cDAQ-9174 chassis Modules. I will then put remaining Thermocouples-4 in the second cDAQ-9174 chassis.

    The question is whether it will work?

    If Yes! Then, kindly help me on how to have synchronized it data from these two cDAQ-9174 chassis with all such modules as mentioned above?

    I hope someone can help me with that and can guide me to do this task! I'm using Labview 2009 with NOR-DAQmx 2009

    Kind regards!

    Tajim!

    A few comments after looking at your code:

    I don't understand what you're doing with cancel in the task of counter.

    You try to use the encoder as your sample clock?  You can do it for the module 9221 and NI 9211, but it will not work with the NI 9237 as I mentioned above.  You can move the NI 9237 in a separate task and from there, you have a few options depending on how you want to synchronize.

    How many times you expect to get your clock on cDAQ2Mod3/PFI0?

  • Simultaneous release of digital waveform at different frequencies - cDAQ-9174 with two 9477 maps error-50103

    Hello

    I'm working on a project that requires two outputs digital signals at different frequencies. Frequency of the phase 1 is about 1 kHz and is modulated on and off to a pace that will change during the execution of the program. Wave 2 passes from 1 kHz to about 6 kHz while needing to be pretty accurate to the tenth of a Hertz.

    Initially, I tried to manage the simultaneous output of signals at different frequencies using a single task on a single 9477 daqmx in a cdaq-9174 chassis. As far as I know, the best way to get a specific frequency in a waveform output is to set the sampling frequency up to 2 times the frequency of the wave that is generated and generate a waveform that is given to each clock cycle. This works very well when it comes to a gesture, but I was unable to get the frequency of the modulated wave (wave 1) remains constant when the frequency of wave 2 modified or vice versa.

    I have a few other modules lying around (another 9477, 9403 and 9476) and I thought I would try another task running on a separate module. I find myself receive error-50103 message if I add these modules to my cdaq chassis and run one of the waveforms of a task set to run on the add-on. Is there a way to bypass this error? I guess it would cause by running two digital output on the cdaq-9174 tasks at the same time, but it seems to me that this wouldn't be a problem with an additional module.

    How can I have two outputs digital signals, running at the same time, maintaining their independent frequency frequency of the clock of the other sampling rate changes. In addition, because the wave 1 is enabled and disabled at a defined frequency, I use it to set the number of samples to write when you write a range of waveforms in the module (when generating these two waveforms on the same module).

    I'm sorry if the explanation was difficult to understand. I've attached an example of error 50103 lifting. This isn't really a part of my project as a whole, but it is the easiest way to reproduce the error.

    Thank you

    Hi awol.

    I have a follow up for you. You encounter the error because the cDAQ chassis has only a timing engine of. You will not be able to perform simultaneous tasks of the call by the hardware. Please see the following knowledge base: http://digital.ni.com/public.nsf/allkb/5E0B829E50ADE1BC86257AC50062B2D2

    Mike

  • Download a cDAQ-9174?

    Hi newbie here. Just bought a cDaq-9174 equipped with a card of entry and exit. I'm a little excited to try the new unit out, but I can't seem to figure out how to download anything for her. I just want to try to shoot an entry and see an exit lights. MAX found the controller software and maps. I have labview and I created a small VI which works, but after that I have run out of knowledge. Can't find something on the compilation or download. Any help would be greatly appreiciated. Yes I know the cart before the horse type stuff, but what can I say its new.

    kmay, CompactDAQ is as measure USB Board. It contains no embedded CPU, you would be able to program. Therefore, all the code you generate in LabVIEW will run on the local computer. To try some measure, use DAQ Assistant to paletter DAQmx LabVIEW or examples of example Finder (help-> find examples).

    But as I said, the code runs on the local PC and therefore not of compilation and download is necessary.

    Kind regards

    s9ali

  • Reset hardware cDAQ 9174

    I test station with two cDAQ 9174. We work without problem. But the second after a time more long every day, using problem. The second is not recognized by the MAX of NOR. When I connect it to the USB port, nothing will happen. No new hardware found... No refreshing of the hardware in the Windows Device Manager list... Nothing. :-(cDAQ power led lights, but no led lights the LOAN.

    It seems to be that the cDAQ is broken. Is no way to reset the cDAQ 9174?

    Thank you very much for your answers.

    I'm sorry to hear that this might be the case.

    Here is information on how you can begin the RMA process:

    https://www.NI.com/services/warranty_repair_policies.htm

    See you soon!

  • Increase the frequency of sampling on the cdaq 9174 with neither 9212

    Hi all!

    I am trying to increase my sampling rate on my nor 9212, that I use with a cdaq 9174 and LV 2015. Apparently, the sampling frequency depends on the time of conversion and can be changed between the high speed, the Best 60 Hz rejection, best 50 Hz rejection, and high resolution. (see http://www.ni.com/pdf/manuals/374358a_02.pdf, page 6). My maximum sampling frequency is 1.8 Hz, which indicates the use of the mode of synchronization of high resolution

    I found this documentation explaining how to change with a crio:

    http://zone.NI.com/reference/en-XX/help/373197D-01/criodevicehelp/cRIO-9212_rt/

    However, I can't change it when the module is not in my project with my cdaq. My question is: How can I change the conversion without a crio time?

    Thank you very much!

    X0N0

    Hi X0N0,

    There is a DAQmx property for this:

    You are welcome!

  • cDAQ-9174 cannot use the counters of 3 or 4

    Hello

    I try to display the entry of a potentiometer and 3 encoders of Quad.  I have a CDAQ-9174 with a 9215 OR (for the POT) in the slot 1, 9411 or in slot 2 and a NI 9401 in the Groove 3 (soon to another NOR 9411 when it happens).

    If I run the example 'Measure angular Position.vi' on each individual encoder (by selecting either modules on counter 0), I can see all three encoders work properly (exit count increments and decrements as expected)

    If I run the Test panels able and automation, I see all three encoders switch their respective 2 channels each.

    But when I change 'measurement Position.vi"to have all three separate entries (I copied the task of creating and all its entries twice, then expanded the while loop to have three different DaqMX Read vi, then 2 clearer spots on the right side (output) at all in a loop), I see only 2 encoders increment and decrement.

    I do not use Index Z entries, I changed the type of decoding to X 2 for all three.  I tried to change that, but I especially get the same result (2 encoders working, is not 1).

    I changed the encoders are the use of counters to 0, 1, and 2.  Only the assigned to counter 2 encoder does not work.

    I tried to use meter 3 - same problem.

    Is there a way to confirm that the cDAQ-9174 counters all work?  I tried all three in the test panels and they seem to be good?

    A cDAQ-9174 can manage 2 Quad encoders using 2 signals of each (A and B signals - A for metering, B for management)?

    I have something configured incorrectly?  If you use two Modules of entry at the same time, is it some additional configuration that must be done?

    Really appreciate some help here.

    Thank you

    Sam

    Yes, we use the 9.0.2 version drivers and no there is no error message.

    Turns out we had wired it incorrectly for Counter 2 use.  Being on the second module, I thought we had wire the same way the first module has been wired - not realizing that counters need a provision of the specific pins.

    Thank you for looking into this.

  • cDaq-9174 shows empty slots

    I recently bought this cDAQ-9174 with 3 modules installed: 9211-9234-9263.

    I have the latest version of Labview 8.6.1 (first quarter 2009) and NOR-DAQmx 9.0.1 drivers provided with the hardware installed in my system.

    When I opened MAX it shows the empty slots.

    How can I solve this problem?

    Hello Sergey,

    I think that the issue has to do with the chassis itself.  Because this is a very annoying problem and is also very rare, I would get your replaced chassis and defective one sent to R & D so that we can understand what is wrong with it.  Can I have your permission to have our Web support team to recover your account email address so that I can contact you directly to get this problem resolved?

    Kind regards

  • Difference between the cDAQ-9174 and cDAQ-9178

    I have several cRIO-9081.  Each cRIO-9081 running NOR-DAQmx 15.5.  On four of the cRIO-9018 we show you cDAQ - 9178 with 8 modules.  Everything just worked.  On the fifth cRIO-9018, we tried to connect a cDAQ-9174.  The aircraft appeared in the Windows Device Manager and MAX, but MAX has indicated that the aircraft was missing (error-88705) and that Windows can't find a driver for the instrument.

    We then plugged a cDAQ-9178 in the fifth cRIO and everything just worked.

    What is the difference between a cDAQ-9174 and cDAQ-9178 other than the number of the module support?

    Paul

    Hi Paul,.

    It seems it could be a driver problem! What DAQmx version you have installed on two computers? Reinstall the latest version may be worth it because it looks like there may be corruption. You can find the latest version here: http://www.ni.com/download/ni-daqmx-15.5/5901/en/

    You can manually associate the device driver, here: http://digital.ni.com/public.nsf/allkb/5B80CAAA64413B4C86256C5E0000C1A7

    There are modules connected to the cDAQ chassis?

    Also, sometimes, this can happen if you do not restart your computer after the installation of the NOR-DAQmx driver. Restart your computer after the driver installation will allow you to reserve the device successfully. Here are a few others not to try:

    • Check the charger to device OR to see if it is running

    • Reset the service OR charger

    • Reset the MAX Configuration database

    • The system power cycle

  • Generate a pulse train, NI 9402 modules in cDAQ-9174 chassis

    I have two modules NI 9402 in a cDAQ-9174 chassis.

    When I output a pulse train on a specific line of the PFI to a specific module, the pulse train is out on the right line of PFI, but on BOTH modules.

    I want that the pulse train out only one of the modules.

    for example, I select cDAQ2Mod1/ctr1 to output a pulse train on PFI3 of module one.  I hear the pulse module one PFI3 train, but I also get it on PFI3 of module 2.

    I am also a measurement of separation of two edges with a different counter, but I don't seem to have this problem.  (The measure only works when I have the signals connected to the module that I've specified.)

    -Paul

    This is the Vi I work with.

    Hmmm...  Looks like it's actually only after I exit a signal on that line.  Maybe I should try to clear the line.

    -Paul

  • DASYLab w / support NOR-DAQmx NI 9227, NI 9229 &amp; cDAQ 9174

    I am trying to use DASYLab 11 w / NOR-DAQmx 8.5 to my configuration material of NI 9227, NOR 9229 & cDAQ-9174. After decommissioning of my PC Win7 for XP that takes in charge OR-DAQmx 8.5 (the OR-DAQmx last, supported by 11 DASYLab), I discovered that NEITHER-DAQmx 8.5 does not support the cDAQ 9174. Right now, looks like I'm watered except so use LABView. Is there any other way at this time to use this hardware configuration with DASYLab or any other application?

    DASYLab V11 supports Windows 7 when you install the Service Pack (see www.dasylab.com).

    Where are we going to say that it does support NOR-DAQmx 8.5? I installed the most recent NI.com last week, and it seems to work very well. I use only simulated devices so far, but DASYLab is data collection and display correctly.

  • problem installing driver cDAQ 9174

    Hello

    I am a new user of LabVIEW and just got our first shipement material today of 2 x cDaq 9174 with analog i/o.

    I tried to install the driver for several hours without success. At the beginning of the installation, I get an error message that says:

    "This installer needs to access 'My images' However this place XXX is not available." Make sure that this directory exists and is available, and rerun Setup.

    First of all, the folder my pictures pointed to a NAS drive where all of our photos of the company are located (which was the N drive) - so I show it to the location of the normal C drive but it is still giving me an error message and try to find the folder in drive instead of C N (and Yes I tried to reboot).

    Secondly, the location was available, as I opened through Explorer without any problem.

    Thirdly, why a driver would fail to install simply because it could not access the folder my pictures?

    Any help would be appreciated.

    Hi Doug_1970,

    It may be a registry key which is always pointing to the NAS drive. Try to use the following Microsoft Fix it tool, reboot, then install DAQmx.

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

Maybe you are looking for

  • No synchronization to Firefox Android bookmarks

    Don't Synchronize bookmarks in Firefox for Android version 33.0 Can I synchronize Firefox between the computer (XP, Vista, Windows7) and a Samsung Galaxy S4(Verizon SCH-I545) on Android 4.4.2 and a Verizon Droid 2 Global Android 2.3.4using a Firefox

  • New MacBook Pro Release - 2016

    I had a PC guy since I started to use computers and a few years ago I bought an iPad and iPhone. I always wanted to buy an Apple computer, but it was too expensive. Given the quality of Apple products, and how the OSX is good, I finally want to inves

  • 9.3 IOS on iPhone 5

    I just updated my iPhone IOS 9.3 5 yesterday and as far as I know, there is absolutely nothing new in this update, but the new iPhones seem to have quite a few new features. It seems that my iPhone is exactly as before the update, so any who cares to

  • HP Pavilion n013-tx: RAM upgrade

    Hello! I plan on upgrading my laptop with 8 GB RAM (currently have 4). The question then is, CPU - Z says I have 4 GB single channel DDR3 (1600 MHz) RAM, so what 'type' of 4 GB of RAM should I add? This who should I look for? I was warned several tim

  • No video or music, play with my laptop

    Hello world I have a problem with my laptop (Toshiba Satellite) with Windows 8 built in. Since 2 days I could not play any clip or music (Youtube, Jango radio, ecc). I also noticed that Skype no longer works, still load, but I'm not really able to co