Implementation road NOR cDAQ-9172 with NI9477 and NI9426

I calm down fees on labview and I just get a NI9172 with a NI9477 and NI9426. I really need an example to start learning the use of these devices. Is there any file .vi who showed me how to read and write these devices?

Thank you

Olivier

Hi Oliver,.

Two of these modules use the DAQmx driver and are programmed as the rest of the DAQmx devices.  There are examples that are installed with the driver located in LabVIEW.  In LabVIEW select help > find examples of open OR example Finder, then expand material input and output > DAQmx > digital generation or digital measures

I hope this helps!

Tags: NI Hardware

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

  • Get samples of the clock machine (NEITHER with NOR cDAQ-9172-9422)

    Hey guys

    I'm trying to produce data for the position of a 1000 Hz all about stamping press with an absolute encoder which is connected to the NOR-DAQ.

    Two not that I am trying to program, but can not understand:

    (1) use a hardware clock to trigger the acquisition of the data at the selected speed

    (2) synchronize the three data acquisition modules I have to ensure that all data are received at the same time

    the material I have does not seem to have any counters. A few examples that I read would not go because of this.

    Any thoughts? If there is some examples/tutorials about this problem that I have missed please let me know.

    Thank you

    Hey, Rohan,.

    Thanks a lot for your help. I was talking to a National Instruments process engineer yesterday and it me that the problem was the vi calendar clock source option - instead of using AI/SampleClock, I had to use the time base of 100 kHz clock that did not appear in the list until I checked the option "ListAdvanced Terminal" in the name of e/s filtering dialog box. You must right-click the constant/control of the source of the clock and select I/O name filtering to open this dialog box.

    Thanks for all your suggestions, I'll try to apply it and check the performance.

    Nik

  • I overload with cDAQ-9172 and the NI 9234

    The DAQmx Read property for ' overloaded channels exist "is not supported by my hardware (cDAQ-9172 with NI 9234). What can I use to stop the vi if the tension in the analog input is overloaded?

  • Bad analog output help Every_N_Samples-NI-9263 cDAQ-9172 chassis (works with cDAQ-9178 chassis)

    Hello

    The NOR-9263 analog output voltage geberation works correctly with the cDAQ-9178 chassis but gives wrong result using the chassis NOR cDAQ-9172.

    In the attached code example, a single cycle of a sine wave is composed of 40000 samples and came out in the background using Every_N_Samples at a rate of production of 5000 samples per second.

    The output buffer size is set to 10000 samples.

    Prepare us the buffer writing 10000 samples 1, then write the remaining data in the background using the Every_N_Samples callback.
     
    Bug: Using the cDAQ-9172 chassis, to the 5000 s/s sampling rate with the help of an external field (or through closure to another HAVE), we observed that 1 10000 samples came out twice, followed by the rest of the waveform. The last 10000 samples are never exits. If you are working properly, we would expect to see 1 full cycle of a sine wave.

    The bug does not occur with the chassis NOR cDAQ-9178. I use the driver NIDAQmx v9.2.1f0 on Windows XP
    The bug does not happen with simulation devices, so you will need to use harwdare real to reproduce.

    Please find attached an example of code C based on the example program OR "ContGen - IntClk.c" to reproduce this bug.

    Thank you

    whemdan,

    The MathWorks

    Hi whemdan,

    By default, DAQmx regenerate old samples if no new data is available.  To give the correct behavior, you can:

    Use DAQmxSetWriteRegenMode to disable the regeneration (DAQmx_Val_DoNotAllowRegen).  In most cases, this is recommended if new data are written continuously in the buffer as the build is in progress.

    If you just need to generate 40 k samples, you can write them just all at once, rather than in 10 pieces of k (the code you attached probably is just an example, so I'll assume that you have a reason to write the data into segments in your actual code).

    I think the difference in behavior between 9172 and 9178 can if explained by the different way, buffering is set up on each product.  The 9172 uses a buffer of 8 k (on the STC2) in all cases (source).  The 9178 uses an 8 k of memory buffer (on the STC3) If you use regeneration shipped, but uses the 127 samples FIFO cartridge, if you use no on-board regeneration (source).

    Then... on the 9172 8191 samples are immediately transferred to the FIFO.  By default, the hardware is going to request new data when the FIFO is less to fill (this is configurable with DAQmxSetAODataXferReqCond).  I'm not sure what the transfer data request size is in your case (you can set the maximum value with DAQmxSetAOUsbXferReqSize), but obviously it is bigger than the other 1809 samples that you have not yet sent to the Board of Directors of your first entry.  At this point, the pilot will regenerate 10 existing k samples so that sufficient data will be available to meet the demand of data transfer.

    The 9178 however use the FIFO of 127 smaller samples so you will not have the same behavior in your case.

    In summary, the behavior is explainable by the difference of material.  If you want to avoid to regenerate old samples, you should ban the regeneration using DAQmxSetWriteRegenMode.

    Best regards

  • How to use an internal counter of the cDAQ-9172 for measure PWM and generate the frequency?

    Hello

    Requirement of my project is to measure 6-channel PWM and generate 5 frequency channels.

    Suggestion of engineer OR bought cDAQ-9172 chassis and NI 9423 (8 DI correlated) and NI 9474 (8 correlated DO) for this requirement. I have a few questions

    Article:

    1 > what should I know to customize my CompactDaq 9172 chassis

    http://zone.NI.com/DevZone/CDA/tut/p/ID/9367

    I know that this way to synchronize the physical support 32 correlation system pin o for housing 1-4.

    => I'm not really sure how to use these channels synchronization support.

    2 > using internal counters on one NOR cDAQ-9172 as a sample for other tasks clock

    http://digital.NI.com/public.nsf/allkb/ADFC4DD8C9690232862575B70079FBD4

    I know that I can change the ownership of the physical channel so I can get 2 meter outside the frame 6 and 7.

    => I do not think that this solution will be me because I can use only 2 counters with this method.

    Could someone tell me please how to fix my project requirement? How to choose the setting for DAQmx screws?

    I have experience with measure the PWM and generate the frequency, but with separated against only.

    Best regards

    Thang Nguyen

    Hey Thang.

    AHA... for this, you can use the channel property node.

    See you soon

    Lab

  • Run an application of LabVIEW 8.6 in win 7 (using the cDAQ-9172, 9219, 9422)

    Hello.

    I did a LabVIEW application for a few years. At that time, I used windows XP and labview 8.6. The material used is the cDAQ-9172, with NEITHER-9219 (reading of four strain gage sensors) and a NOR-9422 (using only a single input frequency).

    First of all, can I install my old version of labview 8.6 in my 64-bit computer to windows 7? I got an error message when I tried...

    Second, how much should I install? My old computer was slower after you install labview with its pilots. Perhaps I installed too much? Do I have to install 1, 5 GB DAQmx drivers?

    If I need a new version of labview for win 7, how much is an update?

    Thank you!

    Hello

    First version of LabVIEW which is supported on Windows 7 is LabVIEW 2009 SP1.

    Regarding the drivers, if you want to develop or run VI:s in LabVIEW with the DAQmx API, then you must install the full DAQmx driver.

    If you only meet built executable in the LabVIEW environment to run, then you just DAQmx Base Runtime.

    If you also want to be able to configure the data acquisition equipment (to the MAX) in a runtime environment, you should also Configuration DAQmx execution.

    For upgrades of licenses if please contact the local office of National Instruments or follow this link:

    http://ohm.NI.com/advisors/UA/pages/UA/intro.XHTML

    Best regards

    Klas Andersson

    OR Sweden

  • Sampling frequency for digital sampling (cDAQ-9172 & NI 9401)

    Hello!

    I have a cDAQ-9172 with NI 9401 C-series (digital) module. I would like to taste the digital inputs with a sampling frequency of e.g. 400 or 200 kHz. My problem is that I can only choose a clock 100kHzTimebase and therefore only get a sampling rate of 100 kHz. The 20MHzTimebase clock is too fast, as it gives me a sampling rate of 20 MHz). Is it possible to get a defined user e.g. 200 kHz sampling frequency, dividing for example down the clock of 20MHzTimebase?

    Thank you! Last post and this article using the internal one or cDAQ chassis counters has solved my problem.

  • samples cdaq-9172

    The following vi allows the user to choose 1-8 global data channels and record is a record for a certain time or number of samples. A file is written to the location selected users. Any channel can be separately filtered through an IIR filter, and the user can select the rate and sample size. There is a graphical display of each channel and a digital display for each. The problem is that I get a time-out of samples. If I put the high sample rate (say 2500) I start missing samples. I use 9172 cDAQ chassis. The error is 200279, tried to read samples is no longer available. In the recording of samples or when you save a timed record, the number of samples are not correct at higher rates. Can I have a problem with my logic of vi?

    The time base of 80 MHz can be used for the counter / timer source contributions.  Generally, the 20 MHz or 100 kHz is used to generate the synchronization signals HAVE and AO.  This information and more, are in NEITHER cDAQ-9172 User Guide and Specifications.  Therefore, the question with the x-axis is probably because he is trying to use a basis of time which is too high.  In order to read faster, we can increase the number of samples per channel to read with the lu DAQmx vi, as suggested by this article in the knowledge base .  In addition, you may want to move the part of the acquisition of data from your application to a producer / architecture of consumer, who may also increase the rate of reading.  There is an example of the producer / consumer at the bottom of the knowledge base article linked above architecture.  In addition, this Tutorial DeveloperZone has a good explanation of the design model.

    David

    Technical sales engineer

    National Instruments

  • cDAQ-9172

    Hello

    I am using a cdaq-9172 with a NI 9421 pass. I want to watch the first 4 bits as an integer and see in the shared variable engine. Any thoghts on how I could do this? I have tried to make a new global virtual channel but can select entry or entries of port. Entrance to the port is a bool value and not integer.

    Problem solved... Do not put everything inside the while loop.

    Thanks for your help!

    Kevin

  • Impossible to get more than 1 channel to read with DAQmx cDAQ-9172 under Windows 7

    I have the cell load, voltage, and input thermocouple connected to a cDAQ-9172. My sensors entries have been scaled and verified in MAX, and all of them work.  DASYLab 13, the driver is "dcDASY.dll" and the hardware configuration is "NI MAX.

    When I add a task NEITHER-DAQmx Analog Input (that is, a set of scales) it appears correctly. If I add a second channel of the task and select it, I get this message:
    'Channel of task name saved with the module is not available. DASYLab resets the module parameters for usable first channel name task. »
    The name of the task remains the same for each new channel I have Add. If I change the name of the task by using the tab to the drop down menu, it says:
    "You have configured several ways out for the module. If you modify the task, you lose the settings. You want to change the task? »
    Both display the same data channels, and I can't work simultaneously several channels. It seems I missed something obvious, but I can't.

    The parameters are:

    Measurement and Automation Explorer 4.6.1
    NOR-DAQmx 9.0

    Material:-cDAQ-9172
    Slot 1 - NOR 9215 (0-10 Vdc analog voltage)
    Slot 2 - NEITHER 9211 (thermocouple)
    slot 3 - NI 9481 (relay)
    slot 4 - NI 9237 (entry deck w / excitement)
    housing 5 - OR 9402 (DIO)
    slot 6 - NI 9263 (0-10 Vdc output analog)

    Thank you

    You can't perform different tasks (continuous) HERE on a single chassis. The first tasks that starts will be 'the resource booking '.

    Combine the AIs of the various modules in a single task (see photo): start by creating the task of thermocouple. Then add AIs 9237 (e.g. Kraft) and 9215 (volts) using the button with the blue, symbol. Set the mode of synchronization of the task of "continue". Save the task, start DASYLab (second photo).

    Change a task (adding channels, etc.) to the MAX while DASYLab works always, will result in unexpected behavior. To synchronize the configuration of MAX with DASYLab, you will need to close/restart DASYLab or use the 'sync' of the function (see photo 3 "syncmax.jpg"). You can set this function as a shortcut by right-clicking on one of the eight green or grey circle things.

    You should think about an update of the MAX/DAqmx drivers. 9.x is a little outdated.

    Updated at least DAQmx 9.9, better 14.x or 15. 0 (stay far 15 1.x).

  • cDAQ-9172 error message 200485 in Labview and 88705 Max

    My company has had this machine for awhile not operational.  I decided it was time to get this thing running but continue to flock to the top with a 200485 error when I try to run Labview and 88705-error when I try to change anything in the cDAQ-9172 runs at MAX.  I'll try to update the software and reinstall the drivers in the hope that it is a mistake to simple communication from the device to the computer, but in case it's something more serious that I am not seeing that I wanted to post this in the hope that someone might have an answer.  Thank you

    I would start by checking the device loader OR. Error 88705 in MAX is caused because the Windows Service OR device charger has not been loaded. Below is an article about starting the service knowledge base.

    http://digital.NI.com/public.nsf/webPreview/89A6279147AA994A862572DF00491BCA?OpenDocument

    Thank you

    Steven Koo

  • Encoder speed and orientation on the NI 9401 in cDAQ-9172

    Hello, I have a module or 9401 for my cDAQ-9172 and she is now installed in five slot to connect a dual channel encoder. Channel A is connected to pin 14 and channel B to pin 17 and the encoder is powered by 5v dc.

    I want to measure the speed and if possible rotation orientation.

    Fix for this that I started the VI, who can count total impulses in the encoder.

    My question is, how do I change the DAQmx create frequency channel and DAQmx Read of impulse 1 Chan 1 Samp Freq counter, calculate the speed real encoder and orientation?

    Quintino Hi and sorry for not having answered quickly.

    Your VI works perfectly well for low frequencies with me. If you want to measure fairly high frequency (> 1 kHz), you may need to check how a measure of 2 meters. You will find an example attached (lv2009). Just plug the signal at the source of one of the meter (ctr0 for example), then set it to the value of the counter on the VI ctr0 control. Use a splitter too high (4 is fine). I was able to compete with the signals of 1 MHz on my Board.

    If the problem of failover is still happening after that, try to make a measurement with a low frequency generator and 1 meter to check if the problem is the system (it takes).

  • my Apple Watch does not record the data of my activity on my iPhone. The application of the activity is implemented on my watch and twinned with phone and not yet to record data.

    my Apple Watch does not record the data of my activity on my iPhone. The application of the activity is implemented on my watch and twinned with phone and not yet to record data.

    HI - try the following steps:

    On your iPhone close application of activity and also, if it runs in the background, the health app (you can close open apps, including the app shows):

    -Double-click the Home button, and then drag upward on each of the app previews to close.

    It can help to restart your iPhone and your watch. Turn on both devices off the power together first, and then restart your iPhone before restarting your watch:

    -To switch off your watch: press and hold the button side until you see the cursor off the power; slide it to turn off;

    -To switch on: press and hold the side button until you see the Apple logo.

    If this does not resolve the problem, try next disconnect and rematching of your watch:

    -L'app shows on your iPhone shows backups automatically, including a new when the unpairing via the application.

    -Choose to restore the watch (backup restore) when provided the opportunity during the whole.

    -Most of the data and settings will be restored, with a few exceptions (for example cards Pay Apple, access code).

    - Pairing your Apple Watch and Support Apple - iPhone

    - Set up your Apple Watch - Apple Support

  • cDAQ-9174 with modules 9225 and 9239 for issue of power measurements...

    Hello to one and all.

    I do turn a cDAQ-9174 with modules 9225 and 9239 to measure the voltage (120, 208-240, 277 VAC) and current (via the clamp amp i400, Fluke - 10mA/exit A) respectively.

    I have the set scale scale Differential No. (1:1 I guess) for 100: 1 for current and voltage.  With the acquisition mode set to "N samples", 10 samples to read, at the rate of 500 m.  This feeds into 'EPM_Power.vi' (polymorphic VI of the palette of EMP... can be downloaded here, http://sine.ni.com/nips/cds/view/p/lang/en/nid/209826)

    I try to check my numbers with an Analyzer of power quality of 435 Fluke and supporting that upward is a Fluke 179 True RMS DMM with clamp amp i200 (for current playback)

    Now, I'm running is my numbers I take data look like they're following a curve of fishing... the averages are on the right, but when my blood pressure is expected to be relatively stable, it's over the map... same story with my current readings.  I tried several different filters without success.  I would like to have relatively stable values for voltage and current so my other values are correct.  Is there a signal conditioner or filter that will help with this?

    As always, a point in the right direction would be greatly appreciated!

    Thank you!

    Chad

    Hi, Will,

    Your request for a screenshot actuall lead me to the solution.  Not enough samples!  I took little data too slowly and only seeing part of the wave of fishing AC each iteration.  .. that became glaring when I tried to this graph.  So I increased my sampling of 100 to 5 Hz and things seem to have settled things down a bit.  Thank you for the good question!

    SH?

    C

Maybe you are looking for

  • Integrated video makes to small size

    I use embedded video of VK http://VK.com/Matthew.Klimek on my Google Blogger pages: http://Matthew-Klimek.blogspot.com/ http://newtonfamilyreunion.blogspot.com/ The size of the video was reduced considerably, this problem only occurs through the Fire

  • How can I recover the OS on my Satellite L40 (PSL48E)?

    I ve recently received this laptop with the data and configs of previous users. And I have an urgent need to get Vista back to the original. When I'm trying to use the recovery on the HARD drive partition, the program asks me to use the RecoverDVD. B

  • N7J89EA #ABU: upgrading Windows 10 home

    I have a new x 360 convertible N7J89EA #ABU running Windows Home 10. I have an MSDN subscription, I want to upgrade to Pro 10 Windows so that I be supported in the field. Is it possible to do this upgrade of the home installed Windows 10, or do I hav

  • 6.4.2 - Creating RN-314-OS user accounts

    Stupid question time. NAS initially set up with me as single user - so just used the name 'admin' - without adding an "account"... Now the addition of two other users - is - it necessary or useful now also create a username for me the administrator?

  • The analysis of the data of a string in an array

    I'm trying to analyze data from this series, which are continually being added to a string. How can I do this in a table that is added to each pass through the loop? The data looks like this: 20/08/2015-04:31:39, 0,242 4.382 0.219, 22.97, 8.211, 381,