AT-MIO-16E-10 Gate signal,how can i configure it as in input or as an output ?

Hi there ! I have AT-MIO-16E-10 board and i want to control a counter (the GPCTR0 counter of the bord) to count up depending on the gate signal.Now i have the following missunderstanding.I've read in the AT-MIO-16E-10 manual that the gate signal can be treated eather as an input or as an output.So i want to control my counter (to count up) until a signal that comes on my gate counter's entry changes his states from 1 to 0 (to reset the counter) and then when it changes his states back to 1 form 0 i.e a transition from 0 to 1 to start counting again from zero.Now here i have 2 questions : 1. How can i config the gate signal as an input signal (in the AT-MIO-16E-10 manual it sais that the signa
l can be treated as an input or output and it's known if i configure the port as an output and if i came with an external signal to the gate i can damage the board if the signal it's set to zero ) 2. What it's the default state of the gate signal ?
Any vi files would be very usefully,Thank you very much for reading this and i'll be waiting for your answers as quick as possible.

Antonios,
The shipping example VI Count Edges does what you describe.
>Quoted from VI Description
Count Edges (DAQ-STC).vi
DESCRIPTION:
This VI counts rising edges, using an STC based device (e.g.: E-series). The counter increments its event count everytime a pulse comes into its source input. A gate signal can be added such that if a low signal occurs on the gate, then the counter will pause (scroll the front panel left to access the gate settings). The current value of the counter is read continuously in the while loop, until the Stop button is clicked or an error occurs.
I/O CONNECTIONS:
Connect the gating signal, if any, to the gate input of the selected counter.
If you selected the Source Selection to be "PFI line", connect your event count base signal to the PFI line indicated by "Source PFI line number used". (If you selected "Internal Timebase", no source connection is necessary.)
NOTE: For actual I/O pin numbers, please refer to your hardware user manual.
INSTRUCTIONS:
1. Enter the device and counter you want use.
2. Make your Source selections, as desired.
3. Optional controls are located on the left side of the front panel. You will have to use your scroll bar to reach these.
4. Connect your signals as described below in I/O CONNECTIONS.
5. Run the VI.
>End quote
If you look inside the Diagram of the Count Edges VI you will see a subVI, Group Config CTR, that has a constant set to "simple event counting." This configures the gate in the correct manner. You have 17 or so options to choose from (right-click to see the other choices). Each choice configures the counters as needed. No special effort is needed on your part.
If you really must know more details double-click on the Group Config CTR icon. On the Diagram of that VI is a Call Library function. Right-Click that and see more ugly details that you don't need to know. The functions of the counters are fully implemented by the options already available, so you don't need to know how the details, but it is intersting.
Hints:
Keep in mind that the counters require TTL level signals. 0V to 5V. Limit the current to the level the DAQ board can handle. You will false trip the counter if your low is higher than 0.8V. I have had problems with this when using noisy signals.
Also make sure you debounce any switches you wire to the counters. It is instructive to hook up an unbounced switch to the counter inputs and see just how many false trips they can generate!
Mike

Similar Messages

  • How can I configure my new Mac Pro to output the timeline via HDMI

    How can I configure my new Mac Pro to output the timeline in FCP 7 (yes, I have X, but I'm using 7 right now). I have two monitors running from TB2, but want to have the third for a client monitor.
    If I use all three via TB2, it's literally three monitors, and I want to edit on my CineDisplay. I only want the client to see the timeline video on the third monitor. When I hook up HDMI I get no signal, in fact, I can't have the HDMI cable hooked up for TB2 to work with the third.
    Thanks,
    GEvans
    DarthPro
    3.7 QCIntelXeonE5
    12 GB
    AMD FirePro dual D300 2048MB
    OSX 10.9.2

    If you use all ThunderBolt displays, or stick with DisplayPort and Mini DisplayPort (free conversion between the two with only a cheap cable) you can have up to six displays.
    If you attach "legacy" displays with "any-old adapter", you can have up to two, and the built-in HDMI counts as one if you use it.
    Any more requires ACTIVE Adapters.
    The US$100 Apple ACTIVE Mini DisplayPort to Dual-Link DVI adapter works in every case, even displays over 1920 wide.
    StarTech and Accell make US$35 ACTIVE adpters that work for displays up to 1920 wide.

  • How can I configure NI PCI 6221 and DAQ SCB-68 for pressure sensors?

    Hello
    everybody,
    I am using the measuring board (NI PCI 6221) and DAQ
    SCB-68 for the data acquisition.
    With the DAQ-Assistant I created AI for the voltage of
    pressure sensors. In a big indicator panel from this DAQ-Assistant I see the
    voltage for both sensors in the correct size. But if I set sensors in the
    blockdiagramm to control the signals for sensor one I get a wrong voltage size
    and for sensor 2 nothing.
    How can I configure this data acquisition equipment to
    get the correct signals?
    Thanks a lot for your help.

    I do not know the type of sensor you are using. But pressure transducers may have a very low output voltage(in the mVolt range). They also need an excitation voltage. Here is an introduction. http://focus.ti.com.cn/cn/lit/an/sloa034/sloa034.pdfThen working with pressure sensors I always use 3 stages in the circuit.
    1 Instrumentation Amplifier as a preamp
    2 filterstage
    3 Final amp and output buffer
    (you may combine stage 2 and 3)
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How can I configure a larger vertical range of 5622

    I'm generating RF signal using RFSG 5673 at IQ rate of 20 MS/s. Whenever I feed RF signal to 5663 to get RFSA response, a "Warning" message displays on RFSA Soft Front Panel with Status code: 213401 & 223532.
    So, please let me know the procedure of configuring the vertical range of Digitizer(5622) of 5663. 

    Hi all,
    I want to boot up with a USB key to install a new VM on Windows 7. I heared that Microsoft Virtual PC begins to support USB device on Windows 7. How can i configure it? I don't find any virtual USB device in VM settings on my Windows 7 box.
    Thanks for any help.
    Scorprio
    TechNet Software Assurance Managed Newsgroup MCTS: Windows Vista | Exchange Server 2007 MCITP: Enterprise Support Technician | Server & Enterprise Admin
    Virtual PC does not support USB.  Windows 7 XP Mode Virtual Machine supports the use of USB devices.  Virtual PC and Windows 7 XP Mode VM are not the same thing!

  • HT4623 please help!! how can i configure my iphone 3gs because i've been updated a new version i did it but it's hard to activate it again.

    please help!! how can i configure my iphone 3gs because i've been updated a new version, i did it but it's hard to activate it again. this message i always recieved in my iphone
    "We're sorry, we are unable to continue with your activation at this time."

    You phone was hacked. You can not get help with it here. Hacking / Jailbreaking voids any warraty and forfeits your right to support. Discussing jailbroken / hacked devices is forbidden by the terms of service here.

  • How can I configure iCloud so it doesn't restore deleted or moved emails on my Mac?

    I moved to iCloud, and so far it looks like everything is where it's supposed to be. My question is about syncing. When I delete an email on my Mac, iCloud restores it. How can I configure iCloud so that changes I make on my Mac and my iPhone stay changed?

    On the Mac in System Preferences > iCloud
    Make sure Mail & Notes is selected.
    ON the iPhone tap Settings > iCloud
    Make sure Mail is switched on.
    And try restarting your Mac and iPhone.

  • How can I enter data in an input schedule on a member in the EPM Add-On that is not a base member?

    Hello, all,
    how can I enter data in an input schedule on a member in the EPM Add-On that is not a base member?
    E.g. I want to implement a top-down-planning scenario and I have the following hierarchy:
    Europe
         Germany
         France
         UK
         Spain
         Italy
    How can I enter a value on Europe in an input schedule in order to allocate this value afterwards?
    Thanks in advance and best regards
    Gerd

    Gerd,
    It should be something like below -
    EuropeInput
    Europe
         Germany
         France
         UK
         Spain
         Italy
    EuropeInput shall be kept out of hierarchy and should be a base level member. Users will enter the numbers in this member. In your script logic, you will make use of this member to allocate the data in Bas(Europe) i.e. Germany, France, etc.
    Effectively, after allocation the same data will be rolled up to Europe.
    Many top-down planning would use such work-around as BPC doesn't allow writing to parent node.
    Regards,
    Ashish

  • How can i connect 24VDC to digital input (usb 6008)

    hello,
    how can i connect 24VDC to digital input (usb 6008), is it possible with some optocoupler?
    thanks

    The 6008 is a static DIO, so speed shouldn't be an issue.  Therefore an optocoupler should work.  Just make sure you get one the meets your specs.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • HT4356 How can I configure the printer to print only grey tones from my iPad 2? Printer=Hp6520

    How can I configure printer with iPad to print only grey tones? This works fine from my laptop - not air printing from that one though.  I can't find anywhere on the iPad how to do printer settings and this also seems not to be available as an option when doing a printout.  In fact, no options seem to be available.  Thanks in advance for reacting!
    Hermi

    There is currently no option for this. You can give Apple feedback here:
    http://www.apple.com/feedback/ipad.html

  • How can I configure ReFS to NOT fail read operations when a checksum error is detected (on non-Storage-Spaces volumes where data integrity streams are enabled)?

    According to William Stanek, in his Windows Server 2012 R2 Inside Out: Configuration, Storage & Essentials book, this is apparently possible: (pg. 615 - here it is on Google Books: https://books.google.ca/books?id=0IyfBAAAQBAJ&pg=PT819&lpg=PT819&dq=read+operation )
        Integrity can be enabled when the system is not running on Storage Spaces. When
        integrity is enabled and ReFS detects a checksum mismatch, ReFS logs an event and
        fails the read operation by default. If you don’t want the read operation to fail, you
        can configure ReFS to continue with the read operation. A related event will be logged
        regardless.
    So then how do I configure it to do that???
    (And just to make it super-clear, I'm NOT using Storage Spaces, so there is no redundancy via mirroring/parity, and I'm not expecting any file repair - just detection of corruption. It's just a basic volume formatted with ReFS and
    with integrity streams enabled, via format E: /fs:ReFS /i:enabled
    For those who want more details, here's the situation: 
    I try to perform a read operation on a file with corrupted data (purposely done for testing using a low-level disk editor), I get a the following error message:
    And an event ID 133 from ReFSv1 gets logged in the System log:
    Clicking "Try Again" just brings up the same message, and clicking "Skip" skips the operation entirely.
    This is indeed the correct default behaviour.
    What I want instead is for the read operation to be allowed to complete, with corrupt data and all, and ONLY for the event to be logged. And according to William Stanek, this is supposed to be configurable somewhere - and after hours of searching, I haven't
    been able to find anything.

    Hi Tommy,
    >>How can I configure ReFS to NOT fail read operations when a checksum error is detected
    We can use PowerShell command Set-FileIntegrity to configure this. The specific parameter for controlling this behavior is
    -Enforce <Boolean>which indicates whether to enable blocking access to a file if integrity streams do not match the data.  
    Regarding this point, the following article can be referred to as reference.
    Set-FileIntegrity
    https://technet.microsoft.com/en-us/library/jj218351.aspx
    Best regards,
    Frank Shen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How can I configure a VM to boot from USB key in Virtual PC of Windows 7?

    Hi all,
    I want to boot up with a USB key to install a new VM on Windows 7. I heared that Microsoft Virtual PC begins to support USB device on Windows 7. How can i configure it? I don't find any virtual USB device in VM settings on my Windows 7 box.
    Thanks for any help.
    Scorprio
    TechNet Software Assurance Managed Newsgroup MCTS: Windows Vista | Exchange Server 2007 MCITP: Enterprise Support Technician | Server & Enterprise Admin

    Hi all,
    I want to boot up with a USB key to install a new VM on Windows 7. I heared that Microsoft Virtual PC begins to support USB device on Windows 7. How can i configure it? I don't find any virtual USB device in VM settings on my Windows 7 box.
    Thanks for any help.
    Scorprio
    TechNet Software Assurance Managed Newsgroup MCTS: Windows Vista | Exchange Server 2007 MCITP: Enterprise Support Technician | Server & Enterprise Admin
    Virtual PC does not support USB.  Windows 7 XP Mode Virtual Machine supports the use of USB devices.  Virtual PC and Windows 7 XP Mode VM are not the same thing!

  • How can i configure advance payment to vendors through cash jounal

    how can i configure advance payment to vendors through cash jounal pls its urgent for me kindly help me out

    HI,
    I think u need not configure anyting new for this, you can use the existing Business Tran. Type K and rename it as Vendor Advance for separate identity. You can do the normal FBCJ posting.
    But doing this you will not have separate identity for the Advances paid.
    Thanks
    VK

  • How can i configure STMS with out physical systems

    Dear Experts ,
    please solve my doubts
    here i installed one system in AIX and named it as DEV system in that system i need to perform post-installaion Activities
    and i started some activities also
    presently my doubt is in STMS configuration
    here i have only one system (DOMINE CONTROLLER) and we need to other systems while configuration but we dont have other systems like quality and production how can i configure that systems in my landscape
    this is my first implementation Experience please suggest me with some valuable suggestions
    my doubts:
    while creating systems we need to take for virtual systems or Extended systems
    which transport routes can i prefer for Dev to Qly systemand also Qly to Prd
    please reply me
    Regards

    Hi,
    If you have decided the SID's of the QUA and PRD systems then you can configure TMS with the virtual systems. Here are the steps to do so.
    Login to the domain controller
    Execute tcode STMS
    Goto the menu overvie --> systems (Shift+F6)
    SAP SYStems --> Create --> Virtual system
    Enter the SID and description and then save ur entries.
    Now the new virtual system will be created. Do the above for the others systems in the landscape.
    Again execute STMS and then click SHIFT+F7. You will goto the transport route window. Now you can configure TMS for the systems in the list as usual.
    Hope this helps.
    Regards,
    Varadharajan M

  • HT3887 how can i configure my wireless keyword so i can use the Function F keys to control volume etc...? I am using 10.5.8 OS

    how can i configure my wireless keyword so i can use the Function <F> keys to control volume etc...? I am using 10.5.8 OS

    little wireless cameras would not have the ability to send back to the base, even thought the base can reach it.
    Now if you take regular cameras and wire them into a Cisco switch that was attached to a wireless bridge that could shine back to the base...now you might have something, but your still going to have to do a survey/path analysis to determine if it is feasible.
    Coverage isnt throughput. I see one base station with 3 or 4 sectoral antennas depending on direction, pointing two several distribution bridges to bridge the gaps that go out again to the cameras...something like that. And all of it should be higher in the air than your construction.

  • How can I configure MA to display "speaking" OpCode and Task names

    If you have a custom ETW Eventsource definition: PerfView reads and Displays from the etl files the OpCode and Task values not as integer but as defined in EventSource inner classe for Task and in the
    System.Diagnostics.Tracing.EventOpCode. My question is, how can I configure the MA to display the values not as "magic numbers" or can MA get this feature?
    Regards,
    Alexander
    Kind regards, Alexander

    Hi Paul,
    please take a look to the attached picture. I've tried to make a comparison between automatically behavior of PerfView and Message Analyzer by displaying of the same performance log. The Message Analyzer got metadata, generated with wevtutil. The related
    part of the manifest is here:
    <tasks>
    <task name="ReadingFromGdb" value="1"/>
    <task name="LogReadPreInvoke" value="65532"/>
    </tasks>
    <opcodes>
    </opcodes>
    <keywords>
    <keyword name="Perf" message="$(string.keyword_Perf)" mask="0x8"/>
    <keyword name="Gdb" message="$(string.keyword_Gdb)" mask="0x10"/>
    </keywords>
    <events>
    <event value="8" version="0" level="win:Verbose" message="$(string.event_LogGdbReadPreInvoke)" keywords="Perf Gdb" opcode="win:Start" task="ReadingFromGdb" template="LogGdbReadPreInvokeArgs"/>
    </events>
    <templates>
    <template tid="LogGdbReadPreInvokeArgs">
    <data name="fullName" inType="win:UnicodeString"/>
    <data name="methodName" inType="win:UnicodeString"/>
    </template>
    I hope, it helps you to understand details of my questions.
    Regards,
    Alexander
    Kind regards, Alexander

Maybe you are looking for

  • Mail going to Trash Folder?

    Almost all my mail is going straight to the trash folder on my iPad? Please Help?

  • How to allocate the processes to various drives?

    I am ready to render my movie project come hell or high water! Could you please descirbe specifically which processes you would allocate to which drives on a quad core PC during the rendering process & what names you would give them. I have a brand n

  • My Macbook pro retina battery is not working

    Hello everybody, I kinda need help, maybe somebody here can give me an advice. I kinda destroyed my Macbook pro retina with coffé My father spilled the coffé on the table and the coffé went exactly inside the laptop. It didnt work but after complete

  • How to retrive my security question?

    How can i retrive my security answer when i forgot my resuce email?

  • ITunes library consolidation

    hello, i have consolidated my library hundreds of times. i do it after everytime i add a song. today, however, after i added a bunch more, i clicked <consolidate library>, and the response was "there is not enough room on "C:\" to copy all of the req