COMPTEUR NI BNC 2110

Bonjour à tous
Dans le cadre de mon BTS je dois réaliser un pléthysmographe. Après de nombreuses recherches je ne réussi toujours pas à trouver comment réaliser un compteur d'impulsions afin de récupérer la fréquence de mon signal sur Labview. J'utilise une NI BNC-2110.
Merci par avance
Bonne journée à vous

Bonjour,
Mathieu a raison, il te faut connaitre la carte d'acquisition (ex : PCI-6221, USB-6009...), le BNC-2110 te sert uniquement à connecter tes signaux.
Comme toujours en LabVIEW, je te conseille de partir d'un exemple. Depuis LabVIEW :
Aide >> Recherche d'exemples >> E/S Matérielles >> DAQmx >> Compteurs
Si tu utilises une carte de type USB-600x, il est possible que les exemples ci-dessus ne fonctionnent pas car elles ne possèdent pas de compteurs matériel. Auquel cas, il te faudra opter pour le solution décrite ci-dessous :
Can I Use the USB-6008/6009 for Period Measurement Using Events?
Software-Timed Frequency Measurement Using Edge Counter
Bonne journée,
M-Junior

Similar Messages

  • Precision of internal clock of BNC-2110

    Hello, I am using the BNC-2110 to get some measurement.
    I am working with the presion ot 10000 datapoints each second.
    But during a measurement of 30 seconds (external clock) I just get 299970 datapoints, insteads of 300000! So there are missing 30 datapoint. During a measurement of 5 seconds there are missing 5 datapoints.
    Could it be a inaccuracy of the internal clock of the BNC-2110?
    Thank you for your help.
    Rest regards, AlexJ

    Hello, you are right with your assumption.
    I did some more measurement and got some interesting results:
    I calculated the difference of two sinus-signals of the same frequency. The data-points of one of them I got from MatLab, the other one I measured with the BNC from NI
    I used a toolbox from NI for MatLab and used the order
          AcqNUpdates('Dev2/ai0:7', -10, 10, 100000, 10000, 2);
    Do you know this toolbox?
    The plot of the result of the difference can be seen in the atachment.
    I think the sudden changes of the difference every second (t1=0.75 t2=1.75) is the result of the missing datapoint mentioned above.
    I got this result with several measurements and with every channel.
    Did somebody else already had this problem?
    Best regards, AlexJ
    Attachments:
    Diff_Verfahren4.JPG ‏14 KB

  • Set up BNC-2110 in NRSE

    I would like to make sure on the proper physical set up I should make to enable the BNC-2110 to function like it is in NRSE mode. We will be using an executable of labview, so we can not go in and change the code to function in Diff mode like the BNC-2110 is set up for, so we must set up the hardware to function as NRSE.  If you could plese expalin this better that would be greatly appreciated. Thank you very much
    Jason

    Jason,
    Did you see the solution posted here to your previous question?
    http://forums.ni.com/t5/Multifunction-DAQ/How-to-configure-that-BNC-2110-in-NRSE/m-p/1739256?require...
    I think this AE has already provided you with what you are looking for.
    Daniel
    Applications Engineer
    National Instruments

  • Send signal out via BNC-2110

    Hi,
    I am new to Signal Express and using 2009 version.
    I want to send a rising 0-5volt step pulse analog out through NI BNC-2110 to trigger another instrument once the analog input starts i.e. to sync different recordings. It must be simple but I just could'nt figure it out. Can some one help me with step by step basis,I really don't understand ..please..
    I tried couples of ways suggested in the forum:
    1) Create Analog Signal-DC-how do I create a rising 0-5V, it just has an offset box?
    2) DAQmx Generate- Analog output-Dev1_ao0. which one should i use 1) or 2)
    3)DAQmx Generate-Digtal port output -port0-what is programmatic input?
    cheers,
    ilya
    Solved!
    Go to Solution.

    Hello ilya,
    I recommend checking out some of the analog generation examples we have in our example finder.  If you open the help menu, and select Example Finder the finder will pop up.  From there navigate to Hardware Input and Output>>DAQmx>>Analog Generation and take a look at some of the examples provided.
    When outputting a signal remember to select the correct channel you want the signal to be transmitted from.  So when it says Dev1_ao0 that means the signal will be output on ao0 of your BNC-2110.
    Let me know if you have anymore questions while developing your application.
    Regards,
    David A.
    National Instruments
    FlexRIO Product Support Engineer

  • PCI 6014 and BNC 2110 digital output

    Hi,
    I try to use PCI-6014 through BNC-2110 to giving on a digital output 5V.
    Please give advice or examples.
    Thanks

    First, there's the Getting Started with DAQmx. Then on the Measurement I/O>DAQmx palette is the DAQ Assistant. Also, open the example finder and from the main tab, go to Hardware Input & Output>DAQmx>Digital Generation. The simplest examples are Write to Digital Port and Write to Digital Line.

  • How to handle large data while acquisition? BNC 2110

    I want to acquire data using  BNC 2110, I am writing a software in VB 6. We will use 3 channels. We are supposed to scan about 10000 points before AcquiredData is triggered. in all we will need to scan 10000 * 1000 * 1000 before data is put into a binary fall. Can anybody let me know, how to hande this large number points

    Hello Vjuno,
    In order to acquire 10,000,000,000 points you are going to have to be streaming this data to your hard drive as you go.  To do this you'll need to write the data you read to a file each loop iteration.  In general it is a good practice to make your "samples to read" at least 10% of your sample rate in seconds to avoid overflowing buffers, however, depending on your computer you may be able to go faster.  I made an example program in LabVIEW and was able to read 10,000 points at a time from each of 3 analog inputs at 333MHz and write the values to file without overflowing a buffer.  However, even opening a web browser while the code was running was enough to delay the VI long enough for the buffer to overflow.
    You can use the DAQmx Configure Input Buffer call to increase the buffer size and account for spikes in CPU usage from other processes, and you should also monitor the "Available Samples Per Channel" property to make sure you aren't steadily gaining samples in your buffer.  Since you want to acquire 10 billion samples at 1MHz this acquisition will take several hours; if you're not able to keep the buffer empty then it will become apparent before the end of your acquisition.  By monitoring the samples in the buffer you can tell if you're pulling the samples out fast enough, if you find that this number is steadily increasing then you should either reduce the sample rate or increase the number of samples to read each time you call the DAQmx Read.
    In my example program I used a write to TDMS (binary) file and a PCI-6251.
    I hope this helps, and have a good night.
    Cheers,
    Brooks

  • PXI-6250 and BNC-2110 to control 5V relay ?!

    I try to use PXI-6250 through BNC-2110 to control 5V relay. Please give advice if it is possible and how.
    Thanks
    Liming
    Solved!
    Go to Solution.

    Hello Liming,
    This is definitely possible, but there are some limitations.  Are there any current requirements for the 5V relay.  If it is low current you should have no problem controlling the relay with one of your PFI lines (they are found in the screw terminal of the BNC-2110).
    Message Edited by Dan_K on 11-21-2008 10:32 AM
    Regards,
    Dan King
    Attachments:
    2008-11-21_103042.jpg ‏68 KB

  • BNC 2110 Problems/Questions

    Hi,
    I'm using a BNC 2110 Connector block with an Mseries DAQ card and Labview 7.1.  My ext. oscilloscope is telling me that the analogue outputs don't return to ground after I use Labview (for example after doing some analogue generation at 3.8V the analogue output stays at 3.8V even after I've stopped the task and exited labview).  Anyone know what's happening? 
    The other questions I have about BNC blocks are....
    Are the analogue output terminals grounded through the computer and computer power supply.  Or are the outputs ungrounded?
    If I am using a BNC cable to plug an analogue output into an analogue input will the signal be floating source or grounded?
    I have had a look in the manual but can't find any info on whether the BNC block itself is grounded through the DAQmx card/computer.
    Thanks,
    Bob

    I've not being programming back to zero volts.  I assumed that Labview Clear task would do that.  I've attached my code.
    Any help will be gratefully received.  I'm very new to Labview and I'm struggling to understand the basic concepts.  I'm trying to learn by example but there are so many methods of doing everything that it's very confusing!
    The problem I am having is with the analogue generation.... see description below.
    Thanks in advance,
    Bob
    Quick explanation to the code...
    Aim:
    To use a internal digital counter pulse to trigger a constant output voltage (ao0) and finite aquisition (ai0) of data on the rising edge.  The aquisition of data is delayed slightly with respect to the constant output voltage.  Data is acquired and generated every second for 30-50ms.
    Description of the block diagram:
    There are three rows of tasks.
    Top row is the data aquisition column.which is supposed to acquire a finite number of samples after a short delay following rising edge trigger of the internal output of counter 1.
    Middle row is the analogue output voltage which I'm trying to get to output a constant voltage (set in an array) for the same length of time that the digital counter remains high.  Haven't succeeded yet!
    Bottom row is the digital counter based on pulse time.and should count constantly for the duration.
    Attachments:
    Labview code.vi ‏160 KB

  • PCI 6120 & BNC 2110

    I downloaded this example: http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=DC9C549F7FDC1973E034080020E74861&p_node=DZ52000_US&p_source=External from this web site. I am using a BNC-2110 and have connected two sensors to it. I modified the code to show both inputs. However, I am having difficulty in figuring out how I can show both traces on the same graph, but show them as separate traces. Can anyone point me in the right direction? Is this possible or do I have to use a separate graph for each input from the BNC-2110? Any help would be appreciated!
    Many thanks in advance for any assistance.
    Charlie
    Everything is Free! Until you have to pay for it.

    It's not quite so easy as a chart where you can stack them in different windows. One way is to create a duplicate scale. this is done by clicking on the amplitude axis and selecting Duplicate Scale. If you want, you can click on either one of the axes and select swap sides. Then you have to assign each plot to the scale. In the plot legend, click on the plot name and select Y Scale. You will see listed the two different Y axes. Assign one plot to one axis and the other plot to the other axis. For both Y axes, it will help if you turn off Y scale autoscaling. Then you can change the formatting of both Y scales. When the property window opens for a specific scale, go to the scales tab. There is an entry ther for offset. You might have an offset of 1 for one plot and an offset of -1 for the other. Note that when you do this, the axis values won't match the actual values of your acquisition. You can play around and turn the axis labels off and use text controls as labels or two different vertical pointers to give the appearance of two separate graphs. Frankly, I usually find it simpler to just have two separate graphs when I want the plots spearated.

  • Synchronize waveform output from labview to bnc 2110

    Hi,
    I'm new to LabView and I would appreciate examples on how to output a waveform graph from LabView to a BNC2110.
    Eventually we would need several graphs, both analog and digital outputting to a BNC2110 synchronized with a clock.
    Thanks.  Appreciate any help.
    Grace

    You can't output anything to a BNC 2110. The BNC 2110 is a dumb terminal block. You can however, output signals (not graphs which are visual elements) from a DAQ card that you control with LabVIEW. You would then connect the DAQ card to the BNC 2110. If you have an NI DAQ card, then there are a large number of example programs that show you how it could be used.

  • Output of BNC-2110

    Hi.
    I am trying to generate an analog output to the BNC-2110 via graphical programming. How do I do it?
    Also, may I know if it is possible to convert this output into PWM before I output to the BNC-2110?
    Many thanks.

    By itself, the BNC-2110 is not capable of inputing or outputing any type of signal. It is just a dumb terminal block. You have to have it connected to an actual data acquisition board in your system. There are many shipping example for various types of data acquitisiton boards. The recomended api is something called DAQmx. Go the Hlpe>Find Examples and expand the Hardware Input and Output section.
    PWM is possible with some boards. You'll hve to find out the type in your system.

  • Inputing TTL pulses to NI-PCI-MIO​-16E-1 via BNC-2110

    I need to count TTL pulses coming from photomultiplying tube (PMT) module. Can someone tell me, please, how do I connect BNC cable from PMT module to NI PCI-MIO 16E-1 DAQ board via BNC-2110 adapter?
    thanks a lot in advance

    Hello Photon Guy,
    Thank you for contacting National Instruments.
    I have attached an image which shows how to connect the USER 1 BNC and USER 2 BNC connectors to the proper PFI pins which serve as the source of counter 0 and counter 1. You should only need to use one counter to count edges.
    Regards,
    Bill B
    Applications Engineer
    National Instruments
    Attachments:
    BNC-2110.JPG ‏105 KB

  • BNC-2110 data passing issues

    I am trying to create a digital signal so that I can test a part of my code that will read in this signal during the actual data acquisition.  I have two laptops (both Dell Latitude D430) and two BNC-2110 devices.  I am trying to pass a counter from one of the boards to a digital input on the other board.  I am using a program to generate the signal and another to recieve the signal (both attached).  When I try passing the counter from one of the boards to itself (connecting cntr1out with one of the p0.x inputs) the signal looks like I want it to (attached as "signal=pics").  However, when I try passing the data from one board to the other (cntr1out from one BNC-2110 to the p0.x of the other board) then the signal does not look correct (attached as "signal=pics").  I have checked the Measurement & Automation Explorer to ensure that all of the settings are the same for both boards.  I am also using the same version of Labview.  I have switched various compontents (wires, BNC-2110, etc.) and either board can pass the data to itself correctly but passes it incorrectly to the other board.
    I do not have any ideas of what else to try.  Can anyone tell me what I am doing wrong?  Any help would be greatly appreciated.
    Thanks.
    --Robert
    Attachments:
    signal_pics.JPG ‏41 KB
    Digital_signal_generator.vi ‏25 KB
    Digital_signal_acquisition.vi ‏56 KB

    Be aware that you can wreck your hardware if you don't know what you do!
    But a signal without a grond is an unknown signal.
    Between the two computers there should be two physical wires, Ground and Signal.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Using BNC 2110 with PCI 6229

    I am using BNC 2110 on connector 1.
    What are the terminal name equivalences for the M Series device 6229?

    On connector 0:
    EXTREF -> Not connected
    CTR0 OUT -> PFI12
    FREQOUT -> PFI14
    AI HOLD COMP -> PFI11
    EXTSTRB -> PFI10
    CTR1 OUT -> PFI13
    Rest should be as lebeled
    On connector 1:
    ACHX -> ACHX+8
    EXTREF -> Not connected
    CTR0 OUT -> digital P0.28
    CTR1 OUT -> digital P0.29
    PFI0 -> digital P0.16
    EXTSTRB -> digital P0.26
    FREQOUT -> digital P0.30
    SCANCLK -> digital P0.23
    This list may not be complete
    For details compare the connector of an E-Series device with the connector of an M-Series device:
    M-Series Help
    http://digital.ni.com/manuals.nsf/websearch/9477D6DF1FE5A72986256FAB00633DE4
    E-Series Help
    http://digital.ni.com/manuals.nsf/websearch/05A25C65C755D8DB86256FD30081687DMessage Edited by Peter Schlosser on 04-26-2005 06:32 PM
    Message Edited by Peter Schlosser on 04-26-2005 06:32 PM
    Peter Griese
    NI

  • Difficulti​es connecting 2 bnc-2110 signals to the scope

    Hi,
    maybe someone has encountered the same difficulties...
    I have a circuit with DAQmx blocks that generates a waveform and writes it to the buffer.
    The outputs channels 0,1 concide with the outputs on the bnc-2110 block.
    These outputs are wired with coax to scope channels 1 (x) and 2 (y).
    Now when I disconnect 1 cable I see a perfect waveform. But once I connect both cables to the scope
    I get only a perfect reading at channel Y. Channel X is corrupted.
    When I switch the cables at the bnc-2110 and leave the connection at the scope, still Y is perfect, X is corrupted.
    So connecting output channels 0 or 1 to scope channel 1 (x)  does not make a difference. X stays corrupted.
    The same holds for Y. It stays perfect.
    The odd thing is that when I connect scope channel 1 (x) with a waveform generator, and scope channel 2 (y) with
    channel out 0 or 1 of the bnc, I get 2 perfect readings. Only thing I can see is that the output of the generator is grounded.
    When I reverse this. I get a perfect reading from the bnc at scope channel 2 (y) and again a corrupted signal at scope channel 1 (x)?!
    So it seems that I get 2 perfect readings when x from the bnc has been replaced by the function generator.
    Both should be grounded. The switch is in position GS (instead of FS). I connected the scope and computer to the same
    electrical adapter, to be sure, but still have the impression I have grounding issues...
    Bob 

    Hi Bob,
    Sorry for the late answer.Is your problem solved?
    If no, could you be a little bit more specific when you says DAQmx blocks? Could you say us which hardware you are using and what is your program?
    So we can do the test or try to reproduce the problem.
    Regards,
    Julien Roland - District Sales Manager
    NI Belgium - Technical Support
    Don't forget to rate a good answer

Maybe you are looking for