Can I measure frequency with a SCXI-1120 module and SCXI-1320 terminal block?

I am attempting to measure a square wave from a directional encoder to display RPM of a dynamometer. The waveform will have a frequency of 0-4KHz, with 3.6KHz being nominal, at about 5volts RMS. How can I measure the frequency of this waveform with the hardware I am currently using? In addition to what is listed above, I am using a PCI6034E GPIB card and LabView software.

In order to measure frequency, I would not recommend to use the SCXI-1120, but the SCXI 1126, which is a programmable isolated F-to-V module.
If by any reason you do not want to use SCXI-1126, then I would suggest to use the counter/timers of your board. The counter/timers are TTL compatible, and are the devices that we mostly recommend for doing precise frequency measurements.
In order to have access to the counter/timers of your board through your SCXI chassis, you will need SCXI-1180, which is basically a feedtrhough panel for your DAQ board.
Once we have access to the counter/timers through the SCXI chassis, we can proceed with the coding.
I found a pretty good webpage that clearly explains how to perform frequency measurement with the DAQ-S
TC counter/timers (DAQ-STC is the type of counter/timer chip that you DAQ device has). Here is the link to it:
Pulse Width & Frequency Measurements
As you will see, this link contains tutorials, application notes and example programs. I would recommend to pay special attention to the example program called: DAQ-STC: Measuring frequency.
Good luck with your application!

Similar Messages

  • Can I measure pulswidths with daqmx base and NI-USB6501

    Can I measure pulswidths with daqmx base 1.4 and NI-USB6501? I can measure edges width this function: DAQmxBaseCreateCICountEdgesChan. But, when using DAQmxBaseCreateCIPulseWidthChan I always get an error message back (DAQmxBase Error: <err>Value passed to the Task/Channels In control is invalid).
    I also cannot find any examples about this topic in the software on CD nor on the internet.
    I also don't know what values to use for the float64 minVal and float64 maxVal arguments when using the pulse width function of above (see the NI-DAQ™mx Base 1.x C Function Reference Help).
    Maybe my device (NI USB6501) cannot measure pulse width's and when it does measure pulse width's, what value will it give back? Seconds or ticks and what is the accuracy?
    Ok, enough questions for now. Thank you in avance for answering.
    D. Stollman

    The USB-6501 counter is capable of falling edge edge counting
    measurements only, so the type of measurement you wish to do is not
    possible with that device.  The data sheet for the USB-6501 can be
    found at the following link:
    http://www.ni.com/pdf/products/us/20054920301101dlr.pdf
    I believe the DAQPad-6015 and DAQPad-6016 USB devices are capable of
    measuring pulse width, as well as many of NI's PCI data acquisition
    devices.

  • During continuous scanning thermocouples with a SCXI 1120 module is the cjc reference read each scan?

    Did the developers of the DAQmx drivers improve the temperature scan capability of the SXCI 1120 module over the methods used in the traditional drivers?
    When using the SCXI 1120 module for temperature measurement and in the continuous scan mode with traditional drivers the cold junction reference was only checked on the initial start of the scan. In order to maintain accuracy it was necessary to restart the scan.
    For the most part I have switched to the 1125 module for thermocouple measurement but I need to use some 1120 modules on a test stand now and I will be using the DAQmx drivers on these. I was in hopes that with the DAQmx drivers this behavior was corrected.
    I can conduct testing to determine this but would like to know ahead of time if this is still an issue.
    Thanks

    Thank you Ben for the answer.
    I checked the article you referenced appears to me that I will be adding the physical address in the channel strings then do the voltage to temperature conversion and then correct the appropriate channels associated with the cjc in question. I will also need to adjust some on board jumpers for the SCXI 1120.  If I am wrong please correct me.
    If scanning the physical channel is possible as suggested in this article, would it not be possible to create the channel as a virtual global channel and reference it as the cold junction in Max? Then the temperature adjustment could be done at this level of acquisition rather than having to sort this out in the LabVIEW program. This takes me back to the days with LabVIEW 4.0 before we had the virtual channels and when we had to handle the temperature conversions and other scaling ourselves. Again if I am incorrect please let me know, for I would like to use the method recommended in the article if I don't have to perform all the calculations in the application.
    Just wondering if anybody reading this has actually used this method. If so, how did it work for you?
    I may end up building a start up routine testing for 1120 modules being used for thermocouple measurement then if found run a stop and restart scan every 5 minutes to prevent large errors from being introduced.

  • How can I measure RPM with CTR-500 module?

    I have used  the CTR-500 module for mesurement of  motor RPM. But it doesn't have direct option to measure  RPM ,
    so i have count pulses for  1sec (then reset the counter) and  by calculation show the result for 1min. But it varies every time ,cant give me fix RPM.
    I want reliable solution for this.

    min
    You have not said how much the RPM actually varies from reading to reading and what the range of measured RPM is for the process.  This variation can be caused by a couple of things.  One would be actual variations in RPM due to changes in motor loading.  What is this motor driving?  Most RPM readouts use some form of sample averaging to smooth out the readings.
    A second cause could be your vi.  Suggest you post a copy of your vi. 
    In case you have not seen it, here is a link to a KB about measuring frequency with cFP.  It also links to several other docs on the same subject .  http://digital.ni.com/public.nsf/allkb/D8DB42F9FDC3607E862568640047F144?OpenDocument 

  • How to measure frequency with PCI-4474 card

    Hi,
    I'm trying to measure frequency with PCI-4474 card.
    Any sample code available?
    Thanks.

    Hi,
    Thank you for posting the the NI forums.  There aren’t any example programs that ship with the DSA drivers.  Will you be using this with the Sound and Vibration Toolkit?  If so, there are numerous examples that install with this software package.  Check out the LabVIEW Example Finder >> Toolkits and Modules >> Sound and Vibration Toolkit. 
    In addition to this, you could also use the signal processing VIs that ship with LabVIEW.  There are also examples that ship with LabVIEW that use these VI in Example Finder >> Analyzing and Processing Signals FFT and Frequency Analysis.  There is an entire Signal Processing palette that should contain the functionality that you need.
    I hope this helps.  Post back if you have further questions. 
    Ed W.
    Applications Engineer
    National Instruments

  • SCXI-1120 module

    I am working a project where we want to measure temperature and pressure with LabVIEW. The pressure transducers put out a 4-20mA signal. My customer already has the following equipment. SCXI 1001 chassis, (2) 1120 modules, a 1320 terminal block and a 1328 terminal block. I am fairly new to the hardware side of this but it appears to me that I can use the 1328 with an 1120 module for the temps and the 1320 with the other 1120 module for the transducers with the 4-20mA signal. Are my assumptions correct? Also is the SCXI-1001 chassis powered by battery?
    Thanks for any help.

    Any DAQ card you choose will (as a rule) only use 1 input channel (channel 0) for data transfer between the SCXI chassis and the DAQ card. All of the data is multiplexed through channel 0 of the onboard DAQ card. So, you only NEED 1 analog input channel on your DAQ card. The 6011E is not the best choice for SCXI since you can not use the inherent (pseudo) SSH capability. In addition, the SCXI bus is band limited to a maximum aggregate sampling rate of 333 ksamples per second. So, the DAQ board would be limited to the 333 ks limit with SCXI. My personal favorite is the PCI (or PXI) 6052E board. It is rated at 333 ksamples per second at 16-bit accuracy - it is a superb match with the SCXI line.
    As for the question about single-ended or differential
    , well.., that is an entire DAQ lesson in itself. Simply put ... Single-ended means you connect the positive inputs to the designated channel and all of the ground are tied together. Differential means you attach the positive and ground inputs from each sensor to individual channels (see the appropriate users manual). Differential gives superior signal-to-noise ratio and commom mode noise rejection - at the expense of twice the channel count. The "gross rule-of-thumb" is: If your signal source is grounded (by means of a three-prong plug - say a stand-alone Vischay Amplifier) and the signal is greater than 1 V, and, the input wire is shielded and properly grounded, and, the wire length is less than 10 feet -- you can use single-ended: Otherwise, use differential.

  • I have 10.6.8 with Safari 5.1.10 and am getting a "blocked plug-in" error message, how can I rectify this situation?

    I have OS X 10.6.8 with Safari 5.1.10 and am getting a "blocked plug-in" error message. I have already gone into the Safari/preferences/securtiy and the allow all plug-ins has been checked. What can I do to rectify this situation?

    Niel, I clicked on the message and tried to download an updated flash player but it would not let me do it! The same error message - blocked plu-in - came up again when I went to step 3 in the download process. My iMac ia an older model 4,1 with power PC could this be causing the problem?

  • How many iPhone I can install my application with my apple ID? and is it legal or not??

    how many iPhone I can install my application with my apple ID? and is it legal or not??

    I believe the limit on how any times an application can be installed has been removed, but, as it stands, there is no limit to the number of installations you can have... just the number of activated installations.  For what it sounds like you are doing, there is should not be an issue of hitting a limit even if there is one.
    If you are reinstalling on new machines then you probably want to deactivate the current installations before you attempt to activate on the new machines.

  • Can anyone help me with the commands to import and restore  backup from  another administrative server

    Dear all.
                         Can anyone help me with the commands to import and restore  backup from  another administrative server

    I tried, even with code tags it looks the same since the 2500 character limit is exceeded.
    Please post just the relevant parts inside tags as mentioned, and choose a descriptive subject line.
    I'm locking this thread.
    Thomas

  • Is "sp_purge_data" available only to datawarehouses or can it be used with both a normal database and Azure storage as well ?

    Is "sp_purge_data" available only to datawarehouses or can it be used with both a normal database  and Azure storage as well ?

    Thank you for the reply Qiuyun , the article was really helpful!
    I do have couple of other questions for you :
    How do we execute our SQL queries on Windows Azure tables and create horizontal partitions ? (I know that we have our SQL Server management Studio to execute normal queries on a SQL database , do we have a similar platform for Azure or do we have to get a local
    copy of the database to execute our queries and the  publish everything back to Azure)? I am looking to partition data on one of our databases and would like to know if it can be done in Azure directly or if we have to bring a local copy down ,write the
    partition function and
    and partition scheme or create a partition key and a row key - do the needful and publish it back to Azure?
    Also, how do I create a partition key and row key in Windows Azure?
    I am in the process of designing data archiving strategy for my team and would like to know more about the questions I just mentioned.
    Hoping to hear back from you soon.
    Thanks in advance for all the help!
    -Lalitha.

  • HT5622 I own three Apple devices, but my iPad remained associated with my old email address and password. How can I register it with the same new email and password?

    I own three Apple devices, but my iPad remained associated with my old email address and password. How can I register it with the same new email and password?

    If you updated your existing account then try logging out of it on the iPad by tapping on the id in Settings > Store and then log back in and see if that 'refreshes' the account on the iPad. If you created a new account then any content that you purchased/downloaded via the old account will remain tied to that old account, and only that old account can download updates to its apps.

  • My wall charger is showing sign of charge but it's not charging, last three days I charged my iphon to mac book pro, what can do for charge with my wall charger. And I tarted also 3 deferent chargers wich is working with other iPhones but my iphon is not.

    My wall charger is showing sign of charge but it's not charging, last three days I charged my iphon to mac book pro, what can do for charge with my wall charger. And I tarted also 3 deferent chargers wich is working with other iPhones but my iphon is not charging it's only showing the sign of charge.

    Hi there Zeeshan Saeed Al Barvi,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iPhone and iPod touch: Charging the battery
    http://support.apple.com/kb/HT1476
    -Griff W.

  • Today I've bought a Mac Book Pro laptop from Florida Mall. Can I change it with a Mac Book Air and pay the difference?

    Today I've bought a Mac Book Pro laptop from Florida Mall. Can I change it with a Mac Book Air and pay the difference?

    Yes, you have 14 days to return it.
    Cheers,
    GB

  • Measuring frequency with counter or analog input?

    I have some frequencies which I need to measure. Some signals are digital and some are analog.
    I have a PXI-6040E DAQ which has both counters and analog inputs. 
    I heard that you can measure higher frequencies with the counters than with analog inputs.
    What is the range of frequencies an analog input can determine versus a digital counter? 
    Where is the cutoff that you must absolutely use a digital counter to determine the frequency?
    Is the cutoff different for different DAQ cards? Or is generally the same.

    Have you looked at the specs for the device? The max sample rate and the max counter input will be listed there. The max frequency for an analog input is based on nyquist sampling theory. Are you at all familiar with? It states your sampling frequency has to be at least twice the frequency you are measuring.
    Since each device might have a different max sample rate, your last question is answered.

  • Can i measure resistance with a PCI-MIO-16X-10

    good day!
    In my work we measure inflator resistance with an external ohmeter and switch selector, for now we're working in update this method of measure resistance. The program used to activate the inflators was built in labview 7.0 and use a GPIB and PCI-MIO-16X-10 boards only.
    The question is if we can measure resistance with this board (PCI-MIO-16X-10), we can do it?
    thanks for all...

    Cordero,
    Not directly but with some auxiliary circuit elements you can.  To measure a resistance you need to know both the voltage and current associated with the resistor.
    One way you can do this with a DAQ device is to create a voltage divider using a known external resistor. By measuring the voltage drops across both the known and unknown resistances, you can calculate the value of the unknown resistance.  You can use the analog output or the board power supply as excitation voltage for the voltage divider. Use two analog input channels to measure the voltages across the resistors. As long as the values of the resistors are much lower than the input resistance of the analog input channels, you can get good results.  The accuracy is limited by how well you know the value of the "known" resistor, the resistance of the inputs, and the accuracy of the A/D converter.  The accuracy of the known resistor is probably the largest contributor to the overall error.
    Lynn

Maybe you are looking for