Measure scan frequency using 2 e-series boards and an external clock.

I am setting up a data acquisition system in which the user has the ability to select between multiple sources for the scan frequency. The user can choose either hardware based and select the scan frequency or an external source, in this case, an encoder. When the user selects the external case, I would like to measure the scan frequency. I have a PXI chassis with 3 6071E DAQ boards. I have the encoder pulse train wired into the master board and would like to use one of the slave boards to count the pulses and measure the frequency. I based the code I developed on example code that shipped with LabView. However, when I drive the master board with a known frequency using its internal clock,
I measure 0 frequency on using the slave boards counter.
Attachments:
DAQ_3_Boards_-_State_Machine_-_Scaled_Array.llb ‏1525 KB

It sounds like you have your program setup to measure the frequency of the clock only when you are using an external source. The counter won't get an input if you are not using an external source, right? So, when you drive the master board with an internal clock, the counter will have nothing to count.

Similar Messages

  • How can I measure input voltages on a 7330 board and UMI 7764 with LabView?

    Hi,
    I would like to use LabView with the Motion Card 7330 card. Since both are NI products I wondered if such is possible, rather than just use the NI Motion software. I would like the ability to use some VI's that I make.
    Also, how can set up LabView and/or NI Motion to record voltages on the inputs? And how do I tell the card that the voltages I want to record are in the 0-10V range? I understand there are different configurations such as measuring -5 to 5 V or 0 - 10V, etc, and I just want to make sure I don't damage the card by putting in 8 V on the input, for example.
    Thanks for letting me know.
    Chris

    Chris--
           Basically, a limit switch or a home switch is a physical sensor that sends a signal whenever the system reaches that point.  So if there is a default position, or "home", then you would put one of these sensors there so that when the motor or stage is in this position the system software will recieve the signal and know. Limit switches are the same and are to prevent the system from going past the limits.
          You mentioned that you were looking in the installation guide.  This is a great resource to get started but only scratches the surface.  When you install the driver, NI-Motion, it will install to the programs list (Windows Start button >> Programs >> National Instruments >> NI-Motion)  a directory for documentation.  In this folder you can find the complete manual for motion; as well as, documentation for all of the boards.  This is a default, if for some reason you don't have it these manuals can also be found online.  Cross-referencing the motion and the motion controller manuals should get you most everything you need to know.  If not, then a search at NI.com is also helpful. You could use the general search and select support or there is ni.com/kb for all of the knowledgebase articals  There are lots of tutorials on Devzone about motion basics and programming.
         If you need anything though don't hesitate to ask!
    Regards,
    John H
    Applications Engineer
    National Instruments

  • Looking for NIDAQ Functions/​Examples for 'Analog I/O DMA' and 'Digital I/O DMA'. (I am using 6024,6503 boards and VC++ in my project)

    I am using 6024,6503 boards. I need to implement AnalogInputDMA /AnalogOutputDMA,DigitalInputDMA and DigitalOutputDMA blocks for another software. Why there are no NIDAQ functions used with 'DMA' ?

    Alan;
    The NI-DAQ doesn;t have any functions to specifically access the DMA transfers, because that is done automatically for you. Once you set the data transfer to use the DMA channels, all the rest is handled by the driver.
    Once you set up an Analog input task, and select the data transfer to use the DMA channels, you won't have access to the DMA channels but to the datapoints after the transfer.
    Regarding the digital side of the application, I think that what you are looking for is a pattern input/output type of application, that will use DMAs for data transfer.
    The 6503 doesn't offer that functionality. To accomplish that application, you will need one of the board of the 653x family.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National
    Instruments

  • How to find the year ago measure with out using time series functions

    hi all
    is there any way to find year ago sales with out using time series functions like ago
    Thanks
    Sreedhar

    Hello Madan,
    Thanks for the reply.
    It still doesn't consider the product into account.
    My columns are as below
    Prod Week End DATE Current Sales Prior Sales % Change
    A 12/4/2010 100 0
    A 12/11/2010 200 100
    A 12/18/2010 300 200
    B 12/4/2010 400 300(this value is not for prod B, i want this to b 0 aswell. But we get product A's last sale amount)
    Is there any way this can be done. I have tried evaluate,MSUM.
    I cannot build a time dimension as all I have is a view.
    Thanks,
    Deep

  • How do I use a quadrature encoder as an external clock (PCI 6229)

    Hello, ( a similar post has been placed on DAQ forum apologies as I did not know best place)
    I have a PCI 6229 M Series data acquisition card. I want to use a quadrature encoder to be the external clock driving the acquisition of a number of signals. I have set up reading 24 signals each time a clock pulse is received using the DAQ assistant and set my external clock to pin pfi8 (I think) this is then connected to an encoder output. This works well enough until the encoder is run too fast when it appears I am either missing pulses or getting bounce.
    How can I set up to clock using a quadrature encoder? I have seen a number of questions on this forum regarding quadrature encoders and reverse counting but not on using them as an external clock.
    Basically I want to have the stability and "bounceless" nature of using two outputs from a quadrature encoder whilst still using an external clock. Is this just a case of configuring controls to certain pfi's? If so how is it done?
    Any help or pointers would be helpful. So far I have managed very nicely by simply using the DAQ assistant and the interface it has would suggest that if configured for a certain pfi pin I could actually still use it.
    Thanks in advance.
    Kevin

    Hi,
    Well I've had alook into this for you and I'm not quite sure I understand what you are looking for.
    Is it possible for you to phone back in to support?
    The reason you are seeing bounce at high speeds, or indeed loss of points, is due to the sampling rate that you have set up.
    What you will find is that the trigger will start an aquisition of a number of points at a certain rate.  If your sampling rate is too low then you will not finish that sample batch before the next set of samples is recorded.
    It is possible to use an external clock into a trigger or digital line, however this will limit the number of samples you can take to the speed of your encoder.
    If you increase your sampling rates, and then configure a start trigger from a single input from the encoder you will be able to record a number of samples after a rising/falling edge.  (Set the clock as an internal clock)
    Hope this helps
    AdamB
    Applications Engineering Team Leader | National Instruments | UK & Ireland

  • Measuring the frequency using PCI 6221 Daq card

    Hi
    I want to find the frequency of an external signal.
    How can i do that give me some idea or example.
    Regards,
    Hari

    If you need to capture the waveform look at the aquire waveform examples and add the
    Extract Single Tone Information VI
    Owning Palette: Waveform Measurements
    VIs
    Requires: Full Development System
    Takes a signal in, finds the single tone with the highest
    amplitude or searches a specified frequency range, and returns the single tone
    frequency, amplitude, and phase. The input signal can be real or complex and
    single-channel or multichannel. Wire data to the time signal in
    input to determine the polymorphic instance to use or manually select the
    instance.
    (copied from the help)
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Analog Triggering using E-series board

    Hello. I'm very new to Labview but I'd like to trigger using either a
    change in slope or a relative voltage change. Presently, it is
    triggered using an absolute voltage value on a rising slope. Is this
    possible on an E series DAQ board? Thanks.
    Alan

    [email protected] (Alan) wrote in
    news:[email protected]​om:
    > Hello. I'm very new to Labview but I'd like to trigger using either a
    > change in slope or a relative voltage change. Presently, it is
    > triggered using an absolute voltage value on a rising slope. Is this
    > possible on an E series DAQ board? Thanks.
    >
    > Alan
    >
    My guess is what you want to do is not possible. One trick would be to
    constantly sample and throw away the data while testing for your trigger
    condition, and then start saving the data.
    Otherwise, you're probably going to need to use an analog differentiator or
    an analog high pass filter on your trigger line.
    Scott
    Reverse first field of address to reply

  • Can I watch Dish Network using Touchsmart 3.0 and an external USB TV tuner?

    I just bought a Touchsmart 300-1003 (got a great deal), and it hasn't arrived yet.  It has no internal TV tuner, and I would like to use it as "TV #2" for my Dish Network (analog signal via coax from Dish receiver located in other room). I'm wondering if I can just buy an analog USB TV tuner and still be able to use it with the Touchsmart 3.0 TV software (I think its called mediasmart?)? If not, is there any TV tuner I can buy that will be compatible with the touchsmart 3.0 software (i.e. Avermedia)?... or am I stuck using the aftermarket, non-touch-friendly, non-touchsmart 3.0 program to watch TV? 
    Thanks!  

    Thanks for the ideas and suggestions. We know the problem isn't with Flash because I was running it without huge background files or lock-up up while using IE8.
    Installing an older version of Flash isn't an option because newer versions resolve some of the memory usage and flickering problem that older Flash versions caused on the new Hulu site. Some sites also require the newest patch and return an error message if an older version is detected.
    I'm not sure what protected Flash mode does or doesn't do and hate to mess around with Flash when we already know it's been running without issues on my system using the other browser.
    What I DO know is that the problem only started occurring when I made the switch from IE8 to Firefox. This weekend I had it happen again when I only had Firefox open and the Norton AV running out of Silent Mode in the background. Only the Flash thumbnails on the Hulu home page were active, not the Flash player and I started to get slowdown and lose mouse control.
    I posted the issue over on the Norton forum also but don't expect a workaround. I think disabling that huge plugin-container file might help. By the time I've watched one video both Firefox and plug-in container are up around 200k each, much,much, much larger than anything else running on my system.
    So is disabling plugin-containter still viable? Firefox crashing is never going to happen, if plug-in container freezes up my system first. Continually closing and reopening Firefox as a workaround doesn't seem to be way it was intended to perform.

  • Can I measure the frequency from all PFI pins?

    I am using a PCI-6229 DAQmx card. I am trying to measure the frequency from pin PFI 5. I have been successful in measuring frequency from PFI0 and PFI1 but for some reason I am not able to measure on other pins. When I run the run the DAQmx Read sub VI it times out like it is not reading anything. I am using the same sub VI I created to measure 5 as I did 0 and 1 so I know that the VI is working. What is the matter? Are there only certian pins that I can measure? Would the sub VI time out because there is no signal on the pin?

    Hello Flowserve1,
    Thanks for your post!
    The basic answer to your question, "Would the sub VI time out because there is no signal on the pin?", Is yes if there is no signal coming into the pin your are bring a signal in on. It sounds like you were able to do a "frequency" measurement on PFI0 and PFI1? Usually the counter tasks are used for such a measurement. How are you performing these frequency counter tasks on your PFI lines? It looks like on the pin read out that PFI0,1 and 5 are for digital tasks and PFI routing lines. Are you internally routing your signals to other places? If you want to measure the frequency using counters, this board has two of them so use Ctr 0 and 1 gate or source to make these measurements. Let me know if any of this helps you and perhaps you could post a piece of your code that you are using to make your frequency counts.
    Cheers!
    Corby_B
    http://www.ni.com/support

  • Question about MSI Z87 boards and NVMe PCI-E SSDs

    With the release of the Intel SSD 750 PCI-E SSD and more NVMe SSDs no doubt to follow, will the older motherboards like the Z87 series get updates so that they can boot with NVMe SSDs?
    All of the Z97 and X99 boards already have compatibility:
    http://www.msi.com/news/1949.html
    What about older chipsets like Z87, Z77? Z87 in particular is very similar to Z97, so I'd imagine it'd be the most likely candidate.

    Yeah I did.
    Quote from: jkinneberg on 13-May-15, 07:04:11
    Did anyone get an answer from MSI.
    MSI is there going to be a BIOS release to support the ability to boot off of nvme PCIe cards for the M87 boards?
    MSI Tech.   05/14/2015   We unfortunately do not have any information regarding any future support for these series boards and supporting NVMe, you , you may continue to visit our news section for updates as they become available. http://us.msi.com/news/
    I think is possible though - that and it's likely these boards may support Broadwell as well.

  • How to use PXIe 5652 as external clock to the USRP

    Hi,everyone,I'm new to PXI and USRP,and there are some problems I want to ask for help.
    What I want to do is to synchronize 8 USRPs which are used as receivers. To make sure they have the same crystal oscillator, I want to use the PXIe 5652 as the external clock.However, what confuse me are that PXIe 5652 has 3 connector(RF out, REF in/out, REF out2), and USRP 2920 has REF in and PPS in, how to connect them? Wheather I need to connect the PPS in to achive my aim? And,if it is needed to write some labVIEW programs to make PXIe 5652 as the external clock? that's all,thank you!

    Hi,
    To provide a external reference frequency signal I think the following method can be used.
    Use the niRFSG or niRFSA Export Signal VI to export the "Reference Clock" signal to "RefOut" or other appropriate output terminal.
    Use the commit VI to commit these settings to the driver.
    For ease you may use one of the existing RFSA or RFSG example VIs and add the export signal and commit VIs.
    When the VI which opens a session to the RFSG or RFSA device is run the reference clock signal shall be exported to the configured terminal of the RFSA or RFSG device.
    You may then connect this terminal to the Ref In terminal of your USRP device which you would have configured to use a external reference frequency source.
    This method works for the VST which I use.
    Thanks. 

  • How do I make a VI to measure the frequency and power level of a transmitter using the NI 5660

    I am working on an RF project that requires me to measure and record the frequency and power level of a transmitted signal. I am using the NI 5660. I am quite new to Labview and the PXI, so I'm not so sure how to do this.
     I know I have to initialize the NI 5660 but I don't know what to do afterwards in terms of measuring the frequency of the acquired signal. I'm not sure what blocks to put together nor do I know where to find them. could someone please enlighten me on how I may understand what I need to do.

    Hi princess!     (it's funny writing that somehow)
    Have you considered the example finder?
    There should be examples on how to acquire and measure with the NI 5660.
    And there should be a block in LV that was delivered with the NI 5660 software, that does something like "acquire spectrum" or something like that.
    Regards,
    Pattos
    LabVIEW Gretchin

  • How do I use daqmx to get encoder direction/count on M-series board?

    I have an incremental dual channel  encoder from Rotalink. I want to take angular postion and angular speed from this encoder. My NI DAQ card is PCI 6221 which belongs to M series. First, soft-timing was used to get anuglar postion and sampling rate is set at 1Hz. The vi program works well. However, it does not produce  good results when the sampling frequency is increased to 100Hz. So I turned to hardware-timing. The example, "Find example>> Hardware Input and Output>>DAQmx>>Counter Measurements>>Position>>Meas Angular Pos-buff ext Clk.vi" gets the readings. A function generator which can produce pulses at the frequency rang from 1Hz-1Mhz was wired to PFI9 in accordance with "
    You need to find your PFI pin numbers to know what to wire A,B and Z to on your m-series board, to do this go into max right click NI-DAQmx Tasks click Create New DAQmx Task >> Counter Input >>Position>>Linear, and setup the task for your measurement. It will tell you what the PFI lines are. You then need to look at the wiring diagram and connect it to the correct pins." as an external clock. The channel A and B were wired to PFI8 and PFI10 respectively. However, it still gives errors like 200284. Comments are grealy appreciated!

    Hi Zibin
    I have been trying to work out what is not working I need some more information
    What frequency is your function generator actually generating?
    What have you set your time out value to?
    What exact errors are you getting and when do you get the error?
    What would really be helpful is if you could send me your code because by the sound of it, it should just work the card is more then capable of doing what you want so chances are it is the code.
    Regards
    Tim M
    NI UK

  • Trying to measure 2 channels of 5MHz TTL with E series board

    Using E series MIO board, LabVIEW 7, trying to measure two ~5MHz TTL signals. (sequential is OK)
    Do not (can not) use AO channel.
    Desire to use signal routing VI (I think) but, examples and description of exactly how to do this is unclear.
    An adaptation of 'measure frequency.vi' with addition of 'signal routing.vi' would probably be what I need.
    Unless of course there is something simpler.

    Using the 'measure frequency.vi' uses both counters on the MIO board, so you'll definitely have to measure the signals sequentially. By default, the example will measure frequency on the selected counter's default SOURCE pin (PFI8 for ctr0, PFI3 for ctr1). If you want to use the same example to measure on a different PFI line you can scroll to the left and change the 'Source Specification' cluster to your desired PFI line. All this said, if you have both of your signals connected to different PFI lines you shouldn't need to use the 'signal routing.vi'. After the first measurement you can just change the source selection and run again. Hope this helps.

  • How do I use daqmx to get encoder direction/count on E-series board?

    Hardware:
    PCI-6014
    Labview 7.1
    I have a linear actuator and wish to get distance/direction.  The
    motor has a quad encoder with phase A and B only.  I connected the
    lines according the the E-series, PFI-8 and PFI-6, and ground to
    digital ground. I then attempted to design a control with daqmx but
    failed.  I have tried the daqmx examples but none were attempting
    a reverse in direction.  Most examples given for direction change
    are for traditional daq control; i cant make a correlation on what to
    use to substite traditional daq with daqmx vi's. 
    2 questions:
    How do I use daqmx to get encoder direction/count on E-series board?
    Are there low pass filter vi's recommended for each phase connection to stabilize data?
    Thanks,
    Wayne Hilburn

    Hello Wayne,
    Take a look at the Count Digital Events.vi shipping example.  You can find this in LabVIEW by selecting Help >> Find Examples... then browsing to Hardware Input and Output >> DAQmx >> Counter Measurements >> Count Digital Events.
    If you set the "Count Direction" control to "Externally Controlled", you will be able to count up and down depending on which direction you rotate your encoder.  Make sure you wire Phase A to Ctr0 Source and Phase B to P0.6.  P0.6 is the up/down line for counter 0.
    I hope this helps.  Please let me know if you have any further questions.
    Regards,
    Sean C.

Maybe you are looking for

  • How to recognize a "new" iPad

    I have not seen any physical attribute that makes the third gen iPad look different than the iPad 2.  I am sure the serial number would give it away ... are there any obvious features or markings?  Like the placement of buttons or camera

  • Error with new CPU cooler

    Hello, I just put a Vantec Aeroflow AMD into my MSI K7T 266 pro2-u mboard and upno startup I get an error relating to unabling to detect CPU spinning. However it is spinning and temp was 34C. I have noticed that the three colours of wires are "yello,

  • Get rid of special characters "^@"

    hi, i used method tostring to convert a double into string and have written in a file, while i try to open the file in shell(unix), it shows some special characters as follows, ^@0^@.^@0^@4^@3^@7^@4^@0^@7^@ ^@0^@.^@0^@3^@1^@3^@1^@9^@2^@ ^@0^@.^@0^@1^

  • Settings needed

    Hi guys We have a strange request from our client in our project. They insist that they need an additional client in SRM and ECC of QAS with new data to be tested. Server is same but just a new client. What are the settings needed from XI side ?  I h

  • Can I print my purchase history

    Need to print my purchase history for tax purposes...how do I do this from my Account History??? I printed all receipts I had online, but need a few more.