Using and configurin​g the BNC 2121

Hi,
We have recently bought a BNC 2121 from National Instruments. We would like to set-up and use the eight plugs on the board as counters and in order to do measures in a test. We have tried to use the example code included in the NI-DAQ directory, the file "TIOEventCountwithPrescaling.C", but when we run this program it only enables the counting if the port corresponds to a source (in other words, it only works for the PIF 39 or 35, which are both of type SRC). On the other hand, we know that we should be able to do what we pretend because we have done the test with the Measurement & Automation software. It's only that we need to do the same with a C code on Lab/Windows CVI. We have checked the help files and the rest of the examples, but we
simply can't make the functions to change the behaviour of the board's plugs (apparently it is all set by default).
Thank you very much for your help.

Hi m.alcocer,
First of all the BNC-2121 is a terminal bloc that works with E,M,S series DataAcquisition boards. The number of counter Task that you can implement depends on the type of board you are using. Know that you can find examples in direct relationship with your hardware. Since the search for examples in the hardware section, select your hardware and after this select an example in "Hardware input and output - DAQmx - Counter Measurements"; these examples are very helpfull to understand counters measurement.
What kind of DAQ boards do you use, M, E, S series, which reference?
Best regards,
Rémi D.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> Les rencontres techniques de NI - Mesures et acquisition de données : de la théorie à la mise en ...

Similar Messages

  • HT1296 My I-Phone has music on it that was synced from an I-Tunes library from a previous computer (which is no longer in use) AND purchases from the I-Tunes store.  I would now like to transfer ALL of that music (not just the purchases from the I-Tunes s

    My I-Phone has music on it that was synced from an I-Tunes library from a previous computer (which is no longer in use) AND purchases from the I-Tunes store.  I would now like to transfer ALL of that music (not just the purchases from the I-Tunes store) into the I-Tunes library that I've established on a new computer.
    Can that be done, and how (I've attempted without any success)?
    Any assistance would be GREATLY appreciated!!

    Contact iTunes support and explain your situation to them.  They may let you redownload it at no cost.
    http://www.apple.com/support/itunes/contact.html
    If they don't, I'm afraid you'll have to purchase it again.  Sorry.
    B-rock

  • HT4108 I have an iPhone4, used and locked to the UK network. I need to pay for the phone to be officially Unlocked. In the meantime we used it as a device to check emails and games etc.. We put a pass lock and after many failed attempts we forgot what it

    I have an iPhone4, used and locked to the UK network. I need to pay for the phone to be officially unlocked.
    In the meantime we used it as a device to check emails and games etc.. We put a pass lock and after many failed attempts we forgot what it is. Now the phone is Disabled and iTunes can not fix it since it can not update the Software without the phone being officially unlocked..
    any idea how to do this?
    Please advice

    gencml wrote:
    We put a pass lock and after many failed attempts we forgot what it is. Now the phone is Disabled and iTunes can not fix it since it can not update the Software without the phone being officially unlocked..
    any idea how to do this?
    Please advice
    You need to visit Apple Store, and show ownership proof in case of forgotton pass code.

  • [svn] 3687: Add some messaging tests for scenarios that involve subscribing to a destination , disconnecting from the channel currently being used and resubscribing to the destination .

    Revision: 3687
    Author: [email protected]
    Date: 2008-10-16 11:23:39 -0700 (Thu, 16 Oct 2008)
    Log Message:
    Add some messaging tests for scenarios that involve subscribing to a destination, disconnecting from the channel currently being used and resubscribing to the destination. There is an issue that is causing the streaming/multipleDisconnectsResubscribesTest.mxml test to fail that I will log a bug for.
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/multipleDisconnectsResubscribesTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/multipleDisconnectsResubscribesTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/multipleDisconnectsResubscribesTest.mxml

    Revision: 3687
    Author: [email protected]
    Date: 2008-10-16 11:23:39 -0700 (Thu, 16 Oct 2008)
    Log Message:
    Add some messaging tests for scenarios that involve subscribing to a destination, disconnecting from the channel currently being used and resubscribing to the destination. There is an issue that is causing the streaming/multipleDisconnectsResubscribesTest.mxml test to fail that I will log a bug for.
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/multipleDisconnectsResubscribesTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/multipleDisconnectsResubscribesTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/multipleDisconnectsResubscribesTest.mxml

  • Use and impact of the logical system (SCC4)

    An error has been made in our SAP system (production environment), transaction SCC4. The field «Logicial system» has been changed from «PRD460» to «QAS460». It has been left this way for few weeks and when we realized the mistake, we changed it back from «QAS460» to «PRD460».
    For few hours, the document numbers in MM (t-code MIGO) were generated, but were not found in t-code MB03. We were able to generate them manually in t-code SM13 and the problem was solved.
    What is the use of the «Logicial system» ? What could have been the impact on our database and on the integrity of our system of having the wrong logical system set to our production environment for few weeks ?
    Thanks.

    Hi,
    Logical System Names
    When data is distributed between different systems, each system within a network has to be clearly identifiable. The u201Clogical systemu201D deals with this issue.                               
    A logical system is an application system in which the applications work together on a common data basis. In SAP terms, the logical system is a client.
    Since the logical system name is used to identify a system uniquely within the network, two systems cannot have the same name if they are connected to each other as BW systems or as source systems, or if there are plans to connect them in any way.
    Although SAP does not recommend that you connect test systems to production systems, a test system can have the same name as a production system. This makes copying production systems to test systems a lot simpler.
    You are only allowed to change the logical system name of a system if the system is not connected to any other systems, because changing the logical system name would render all the connections to other systems useless.
    Anil

  • My mbp can't use.and i turn the power button it's not power on.i don't know the reason,please help me,thanks a lot~

    yesterday when I insert the USB my mbp suddenly turn off.now I can't  open to use.:'(

    Nope - I just went here - https://locate.apple.com/country - and found the stores in China.
    I'm in the US.
    Good luck,
    Clinton

  • What FTP servers can I use and what is the URL of it. Help me! Due on Wed.

    I want to up load my website but I do not know what FTP server to use. I find a FTP server but not know what's the URL.

    You need a webhosting package. With or without a domainname.
    So you have to find one first.
    To find webhosting type the word in the search field of your browser.
    If you have internet access you can check with your ISP too.
    And with a domainname it's very easy to determine the URL : http://www.yourdomainname.com

  • Apps wanting to access my location when not in use (and not giving the option to turn it off)

    For most apps, I can choose to share my location 1) not at all; 2) when the app is in use (my favourite); 3) always (even when not in use).
    Why do some apps not offer the second option?
    For instance, I want to use an app that locates the nearest automatic external defibrillator (if someone has a cardiac arrest) but I can only use the app when I allow the app to access my location all the time. Given the fact that I will use this app perhaps only once every 15 years, I see no point in giving them my location for the next 15 years! That's just a waste of battery power and also a breach of my privacy.
    Second example: Apple's own weather app. I check the weather maybe once every month. I do not want the app to locate me all the time. But I can only choose between option 1) and 3) above.
    Is there a technical reason apps work like this? Or are they just sneakily trying to get as much information about me as possible?
    Thanks for your thoughts.
    PS: I am using iphone 6, iOS8.3

    everything rudegar said is right on.  Still, 10% overnight is more than you would expect - so something is still running.  try-
    double click the home button, and see what apps are listed as recent.  one or more of them might be still churning away.  it is a good idea to close those out fully every night.  Any of those apps with notifications or location services may be checking in every now and then and using your power.
    you mentioned airplane mode is 'off'.  this may be a terminolgy thing - but having airplane mode 'off', means that the radios are on.  WiFi, and 3 G if you have it.    turning airplane mode "on" turns off the radios.
    with everything off on mine - (except I leave the wifi on) -  i use 2 or 3% overnight. 
    But if you really want it off - do what rudegar says.

  • How do i use and iphone with the ios7 if the phone is completely locked and i dont know the previous owner?

    how do i fix a phone that is completly locked bc of the ios7? i dont know the previous ower? and i dont know if the phone is stollen.

    You don't get it to work. You can not bypass the activation lock. Do you not know who you bought it from? Talk to them. If they can't give you the credentials to unlock it, get your money back. The phone is useless.

  • What dll do I use and where are the .h include files?

    I recently downloaded the wavetek 271 drivers and have found that when imported (Lab View 6.0) that they need to be linked to a dll. But which one? And the includes call for the glib.h and other libraries where are they at. Are they compressed?
    thanks

    Hello-
    There are two versions of this driver one for LabVIEW (NI's graphical language) and one for LabWindows-CVI (NI's text-based language). Be sure to download the proper type of driver.
    In LabVIEW, the driver should be placed in LabVIEW\instr.lib.
    In LabWindows-CVI, it's necessary to Load the driver from the Instrument>>Load... menu. The files should be placed in cvi\instr.
    Randy Solomonson
    Applications Engineer
    National Instruments

  • I have an old emac I want to use and have forgotten the master password. Is there anyway to reset it?

    How to reset master password for an OLD emac.

    Thanks. I wish I had that info earlier. Unfortunately I got a set of OS emac installation disks and tried to install and start over  which basically erased everything. There were 16 disks and when I got to disk twelve it "failed" and asked to try again. I went through the whole process again and same message again.
    Now I am stuck with the installer which wants me to install disc 2 to continue installation. It won't let me do anything else.
    I know there must be a way to erase and start over but I'm not sure where to start.  Any ideas?

  • Use and purpose of the 'noalign' kernel parameter

    Does anyone know what this does? It apparently exists, but as far as I can tell from Googling, its function is not documented.

    It seems to be something ARM-specific, to avoid alignment faults.
    http://lists.debian.org/debian-arm/2011 … 00057.html

  • Ipod nano (5th generation) - want to use headphones and charge at the same time

    I have an ipod nano (5th generation).  Do I need a special set of headphones to use the headphone jack and charge the ipod at the same time?

    The iPod nanos have a 30 pin dock connector and a headphone jack. When you charge the iPod you use the dock connector therefore you can use and charge at the same time. You cannot use and charge the iPod shuffle at the same time. You might have the two mixed up.

  • PXI 6602 +BNC-2121 +LabView 7.0

    Hello,
    I am using a PXI 6602 with BNC-2121 Connector Accessory and LabView 7.1 to measure a time in a cams programmer (it is composed by a motor, cams, microswitches. The cams rotate and commutate the microswitch state). I need to use all eight counter but for the moment I set up the program with only one counter ( only one cam). When the measure start I need to count the seconds until the microswitch commutate. In a complete rotation of the cam the microswitch can commutate more times and I need to measure every operation (see Figure 1) and I want to save every time (ti) in a matrix because in a second time I would create a output plot. There is a difficult in this measure: when the microswitch commutate there are a rebound problem. The rebound time (Tr in Figure 2) in negligible respect the cams programmer tolerance and I want eliminate it from my measure. Can Somebody help me to write the program, I am new in LabView world.
    Thank you
    Luca
    Attachments:
    Figure.jpg ‏26 KB

    Hi AlessioD,
    I understand that this is an old post, but I'm also interested in using
    buffered event counting with all the 8 counters of PXI-6624. Is it
    possible to do this and will there be any DMA issues. Do I need to use
    some sort of interrupt for counting? Also the link that you send no
    longer seems to be valid. I would love to read the document that you
    are referring to.
    Actually i'm more concerned because my application requires me to sync
    all the 8 counters of 6624 with 4472( I will be sharing the
    oversampling clock of 4472 with the counters).
    Thanks
    Kallis
    Have a nice day!!!
    LabVIEW | LabWindows/CVI | TestStand
    Certified LabVIEW Architect

  • Periodic spikes - BNC 2121

    Hi, I'm using a BNC 2121 to do event counting.
    I used the example for counting provided by NI. The only difference is that I plot the difference between current count and previous count as the loop updates.
    By varying the loop update speed (the wait for next millisecond multiple) I vary the noise and this will also depend on the source I am counting which is fine.
    My problem is that as the millisecond multiple goes small (2ms) I start to get periodic spikes which are much larger than the noise. If I go to 1ms the average completely moves to the top of the spikes which were at 2ms.
    Does anyone know why this would happen? Is there some kind of limit in either labview or the BNC 2121 to how often a counter value can be updated? 
    This might be difficult to grasp or I am not making it clear I'll probably post some pics later. 

    Results and block diagram.
    The results show images with segments of varying update time.

Maybe you are looking for

  • Open_ssl and ssh2_connect()

    Our web developers want to use ssh2_connect() to submit user uploaded documents, via a web form, via sftp to a second server, which is already configured for sftp. I have ssl_module enabled on the web server. Has anyone used ssh2_connect() before? Wh

  • HP TouchSmart 600 PC Windows 7 64-bit TS-T633P CDDVDW Drive wil not read CD DVD Media

    Is there a firmware or driver for the TS-T633P CDDVDW drive that will allow it to read CD AND DVD discs.  Have tried troubleshooting resources from HP and Windows with no results. The CDDVDW drive make a loud huming sound  and stops trying to read. T

  • How do I retrieve documents from iCloud

    I have activated iCloud and I think saved my documents to iCloud. How do I retrieve a document from iCloud?

  • Help needed: user exit for CO02

    I have a problem with user exit. I need to display an error message when the quantity of a specific component of a material is changed in CO02 and user hits save button. I inserted my code in include program ZXCO1U01. Based on the material type if th

  • Upgrade to Itunes 6 - Nothing Happens...

    To use the itunes store my pc tells me that i need at least itunes 6, which is fine. But when i go to the apple donload page and click download, it sais "Your itunes download will start automatically" but it doesn't nothing happnes at all. I've check