Tri-state pin

Hi! I'm working with a PCI-MIO-16E-1 DAQ and i want to know if a PFI pin as an output is set to tri-state and to use their corresponding special function signal i have to make a routing, or it's set automaticaly to output the corresponding special function.
For example, if i connect an encoder to the PFI7/STARTSCAN pin and set the STARTSCAN signal to be internal, i have the STARSCAN as an output in that pin?
That could damage the encoder?
Tanks!

Hello;
When you have a PFI line working as an Output, the signal which is being generated internally on the board will be output on that pin. So, using the StartScan signal as example, if you set that one to be internal, the pin will output that signal, and if you connect that to an encoder, keep in mind that the signal will be output to the encoder.
Hope this helps.
Filipe

Similar Messages

  • ERROR:MapLib:973 - Tri-state buffers are not supported in this architecture.

    Hi,
    I face a ERROR:MapLib:973 problem with inout port in a pcore component.
    I need ton instantiate an inout port at the top level to communicate wih my peripherical.
    This inout port is driven by an XPS IP core (pcore).
    The .mpd is  :
    PORT fdata = "", DIR = INOUT , VEC = [31:0], ENABLE=SINGLE, THREE_STATE = TRUE,TRI_I = fdata_I, TRI_O = fdata_O, TRI_T = fdata_T
    PORT fdata_I = "", DIR = I , VEC = [31:0]
    PORT fdata_O = "", DIR = O , VEC = [31:0]
    PORT fdata_T = "", DIR = O
    The .vhd is :
    fdata_o : out std_logic_vector(31 downto 0);
    fdata_i : in std_logic_vector(31 downto 0);
    fdata_t : out std_logic ;
    I got ERROR:MapLib:973 - Tri-state buffers are not supported in this architecture messages for each
    signals of my fdata PORT, while mapping !
    Thanks for you help.

    What device are you targeting, and what version of the software are you using?
    I target a xc7k325t-fbg676-2.
    I use ISE 14.3 form platgen to xst and 14.7 from map to bitgen.
    What does your top level HDL (verilog or VHDL) file look like (where the IO must be instantiated)?
    It is a .vhd in whitch i wrapp my top XPS core, described by .mhs
    The problematic IO port is instantiated into the mb_core.vhd (generated by XPS).
    If i open it, i could see that the tool correctly infer the corresponding IOBUF's :
    component mapping :
    fdata_I => FX3_DQ_I,
    fdata_O => FX3_DQ_O,
    fdata_T => FX3_DQ_T,
    One IOBUF infered:
    iobuf_1 : IOBUF
    port map (
    I => FX3_DQ_O(31),
    IO => FX3_DQ(31),
    O => FX3_DQ_I(31),
    T => FX3_DQ_T
    Top level port :
    FX3_DQ : inout std_logic_vector(31 downto 0);
    THEN FX3_DQ  signal is dirrectly branched in my upper level (top level) vhd file, with the same name.
    What do your constraints file look like (where the pin number and names get declared)?
    The port is only constrained in .ucf, like that:
    NET FX3_DQ[0] LOC = "B24"| IOSTANDARD = LVCMOS33 ;
    NET FX3_DQ[31] LOC = "G26"| IOSTANDARD = LVCMOS33 ;#Bank 14
     

  • Tri - State Checkbox in pdf form

    Hi all,
    I'm using Adobe Acrobat 9 Standard to create forms. I want to include a tri state checkbox (Checked / Un-Unchecked / Crossed) in my form. There is an option to add checkboxes but they are only bi state ( Checked & Un Checked). Do you have any idea how to solve this?
    Best Regards,
    Sameer

    I don't think it can be done, but why not ask in the Acrobat forum. This is the Reader forum. Acrobat users are more likely to come up with a method that might work than Reader users that do not use Acrobat.

  • Tri - State Checkbox in a pdf form

    Hi all,
    I'm using Adobe Acrobat 9 Standard to create forms. I want to include a tri state checkbox (Checked / Un-Unchecked / Crossed) in my form. There is an option to add checkboxes but they are only bi state ( Checked & Un Checked). Do you have any idea how to solve this?
    Best Regards,
    Sameer

    It doesn't meet your 'design spec' Sameer, but I think many of us would just include two (Y,N) or three (Y,N,N/a) checkboxes against each question and assign them all the same name (eg 'Q1'), but ticks to the Y and N/a, and a cross to the 'N', and different export values so that only one of them can be checked.
    I usually include the boxes in the original file and add a slightly bigger 'no border' checkbox in Acrobat, as I think they look better if the 'tick' is bigger than the box rather than just filling it (much like it would if done in pen and ink), but that's just a personal preference.

  • Trying to pin background music with no luck.  Any suggestions?  Thanks

    Trying to pin background music with no luck.  Following instructions, I click on name of background audio bubble and drag horizontally.  The whole bubble moves and does not pin, ie, does not turn purple and no pushpin shows up.  Any suggestions?  Everything is updated on computer.  Thanks.  Larry

    does not pin the music to frame of video.  I followed directions from book, IMovie'11, the Missing Manual.  Will not pin.

  • Tri-State checkbox in ADF

    Something similar to this
    http://shamsmi.blogspot.com/2008/12/tri-state-checkbox-using-javascript.html
    values: true, false, null
    Jdev 11.1.2.3
    Thanks

    Any plans?
    It is part of javafx, available on OpenFaces http://openfaces.org/demo/selectbooleancheckbox/SelectBooleanCheckbox_general.jsf
    and primafaces http://code.google.com/p/primefaces-extensions/source/browse/primefaces-extensions/trunk/src/main/java/org/primefaces/extensions/component/tristatemanycheckbox/TriStateManyCheckboxRenderer.java?r=1355

  • Tri-state check boxes

    I have a requirement to create tri-state check boxes. The check-box is supposed to show an aggregate value from multiple sources, so it may show "entirely on", "entirely off" or "mixed". The appearance for "mixed" (as seen in many word-processors when formatting large section of text, or when installing only some sub-components of a component of Windows,) should be a check on a gray background.
    Currently my best effort has been to create a JPanel containing two JCheckBox objects stacked with an OverlayLayout. One has no text and is transparent to the mouse, it is just the check part. The other is partically obscured by the first, but provides the label and response to clicks. The latter updates the former with its state, but the former may be set to "mixed", which is simulated by disabling it.
    This is a very ugly way of acheiving what I want. It does give consistently correct results across PLAFs, but it has a tendency to flicker because the functional JCheckBox doesn't like being obscured. It also doesn't show shading in the box while the mouse button is held down over it, because this occurs in the obscured component, not the puppet component shown. Is there an existing component with the functionality I desire? Alternatively is there some way to create a new component without having to extend every PLAF that I want to use with it? Trying to figure out how to add new components in the same look and feel is quite intimidating.
    Many thanks,
    Andrew Wilson.

    The Follwoing code will work out for you i have read in an article
    import javax.swing.*;
    import javax.swing.event.ChangeListener;
    import javax.swing.plaf.ActionMapUIResource;
    import java.awt.event.*;
    * Maintenance tip - There were some tricks to getting this code
    * working:
    * 1. You have to overwite addMouseListener() to do nothing
    * 2. You have to add a mouse event on mousePressed by calling
    * super.addMouseListener()
    * 3. You have to replace the UIActionMap for the keyboard event
    * "pressed" with your own one.
    * 4. You have to remove the UIActionMap for the keyboard event
    * "released".
    * 5. You have to grab focus when the next state is entered,
    * otherwise clicking on the component won't get the focus.
    * 6. You have to make a TristateDecorator as a button model that
    * wraps the original button model and does state management.
    public class TristateCheckBox extends JCheckBox {
    /** This is a type-safe enumerated type */
    public static class State { private State() { } }
    public static final State NOT_SELECTED = new State();
    public static final State SELECTED = new State();
    public static final State DONT_CARE = new State();
    private final TristateDecorator model;
    public TristateCheckBox(String text, Icon icon, State initial){
    super(text, icon);
    // Add a listener for when the mouse is pressed
    super.addMouseListener(new MouseAdapter() {
    public void mousePressed(MouseEvent e) {
    grabFocus();
    model.nextState();
    // Reset the keyboard action map
    ActionMap map = new ActionMapUIResource();
    map.put("pressed", new AbstractAction() {
    public void actionPerformed(ActionEvent e) {
    grabFocus();
    model.nextState();
    map.put("released", null);
    SwingUtilities.replaceUIActionMap(this, map);
    // set the model to the adapted model
    model = new TristateDecorator(getModel());
    setModel(model);
    setState(initial);
    public TristateCheckBox(String text, State initial) {
    this(text, null, initial);
    public TristateCheckBox(String text) {
    this(text, DONT_CARE);
    public TristateCheckBox() {
    this(null);
    /** No one may add mouse listeners, not even Swing! */
    public void addMouseListener(MouseListener l) { }
    * Set the new state to either SELECTED, NOT_SELECTED or
    * DONT_CARE. If state == null, it is treated as DONT_CARE.
    public void setState(State state) { model.setState(state); }
    /** Return the current state, which is determined by the
    * selection status of the model. */
    public State getState() { return model.getState(); }
    * Exactly which Design Pattern is this? Is it an Adapter,
    * a Proxy or a Decorator? In this case, my vote lies with the
    * Decorator, because we are extending functionality and
    * "decorating" the original model with a more powerful model.
    private class TristateDecorator implements ButtonModel {
    private final ButtonModel other;
    private TristateDecorator(ButtonModel other) {
    this.other = other;
    private void setState(State state) {
    if (state == NOT_SELECTED) {
    other.setArmed(false);
    setPressed(false);
    setSelected(false);
    } else if (state == SELECTED) {
    other.setArmed(false);
    setPressed(false);
    setSelected(true);
    } else { // either "null" or DONT_CARE
    other.setArmed(true);
    setPressed(true);
    setSelected(true);
    * The current state is embedded in the selection / armed
    * state of the model.
    * We return the SELECTED state when the checkbox is selected
    * but not armed, DONT_CARE state when the checkbox is
    * selected and armed (grey) and NOT_SELECTED when the
    * checkbox is deselected.
    private State getState() {
    if (isSelected() && !isArmed()) {
    // normal black tick
    return SELECTED;
    } else if (isSelected() && isArmed()) {
    // don't care grey tick
    return DONT_CARE;
    } else {
    // normal deselected
    return NOT_SELECTED;
    /** We rotate between NOT_SELECTED, SELECTED and DONT_CARE.*/
    private void nextState() {
    State current = getState();
    if (current == NOT_SELECTED) {
    setState(SELECTED);
    } else if (current == SELECTED) {
    setState(DONT_CARE);
    } else if (current == DONT_CARE) {
    setState(NOT_SELECTED);
    /** Filter: No one may change the armed status except us. */
    public void setArmed(boolean b) {
    /** We disable focusing on the component when it is not
    * enabled. */
    public void setEnabled(boolean b) {
    setFocusable(b);
    other.setEnabled(b);
    /** All these methods simply delegate to the "other" model
    * that is being decorated. */
    public boolean isArmed() { return other.isArmed(); }
    public boolean isSelected() { return other.isSelected(); }
    public boolean isEnabled() { return other.isEnabled(); }
    public boolean isPressed() { return other.isPressed(); }
    public boolean isRollover() { return other.isRollover(); }
    public void setSelected(boolean b) { other.setSelected(b); }
    public void setPressed(boolean b) { other.setPressed(b); }
    public void setRollover(boolean b) { other.setRollover(b); }
    public void setMnemonic(int key) { other.setMnemonic(key); }
    public int getMnemonic() { return other.getMnemonic(); }
    public void setActionCommand(String s) {
    other.setActionCommand(s);
    public String getActionCommand() {
    return other.getActionCommand();
    public void setGroup(ButtonGroup group) {
    other.setGroup(group);
    public void addActionListener(ActionListener l) {
    other.addActionListener(l);
    public void removeActionListener(ActionListener l) {
    other.removeActionListener(l);
    public void addItemListener(ItemListener l) {
    other.addItemListener(l);
    public void removeItemListener(ItemListener l) {
    other.removeItemListener(l);
    public void addChangeListener(ChangeListener l) {
    other.addChangeListener(l);
    public void removeChangeListener(ChangeListener l) {
    other.removeChangeListener(l);
    public Object[] getSelectedObjects() {
    return other.getSelectedObjects();
    then compile this code
    in another class file
    import javax.swing.*;
    import java.awt.*;
    public class TristateCheckBoxTest {
    public static void main(String args[]) throws Exception {
    JFrame frame = new JFrame("TristateCheckBoxTest");
    frame.getContentPane().setLayout(new GridLayout(0, 1, 5, 5));
    final TristateCheckBox swingBox = new TristateCheckBox(
    "Testing the tristate checkbox");
    swingBox.setMnemonic('T');
    frame.getContentPane().add(swingBox);
    frame.getContentPane().add(new JCheckBox(
    "The normal checkbox"));
    UIManager.setLookAndFeel(
    UIManager.getSystemLookAndFeelClassName());
    final TristateCheckBox winBox = new TristateCheckBox(
    "Testing the tristate checkbox",
    TristateCheckBox.SELECTED);
    frame.getContentPane().add(winBox);
    final JCheckBox winNormal = new JCheckBox(
    "The normal checkbox");
    frame.getContentPane().add(winNormal);
    // wait for 3 seconds, then enable all check boxes
    new Thread() { {start();}
    public void run() {
    try {
    winBox.setEnabled(false);
    winNormal.setEnabled(false);
    Thread.sleep(3000);
    winBox.setEnabled(true);
    winNormal.setEnabled(true);
    } catch (InterruptedException ex) { }
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.pack();
    frame.show();
    this will give you all the check boxes...
    All The Best

  • NY Tri-State Area Users: Does Q104.3 work

    I am thinking of buying a radio remote for my iPod 5G or nano, but I only listen to one station: Q104.3 and I was playing with one of the horrendous Zunes at gamestop in my local mall and it didn't seem like it could connect to Q104.3
    I was wondering if, there is any iPod Radio Remote in the New York tri-state area users (preferably central jersey) on this forum who can tell me if 104.3 works with the accessory.
    MBP 17" 2.33GHz 2GB, iMac Core Duo 17" 1.83GHz 1GB   Mac OS X (10.4.8)   iPod Nano 2G 4GB, iPod Shuffle 2G 1GB, iPod 5.5g 30GB

    Just wanted to give an update. The menlo park apple store was out of stock of the radio remote for over 2 days and as I suspected, they added the new earphones to them. I was told that I could buy it and try it outside since inside there's apparently a steel ceiling and if it didn't work I could get my money back, but it did work (though 105.5 which is a New Jersey station, did not play, interestingly, but i'm not worried cause I love Q104.3).
    BTW there is a $5 student discount on this at the apple store (dunno about online) for students who want to buy this fine product.
    MBP 17" 2.33GHz 2GB, iMac Core Duo 17" 1.83GHz 1GB   Mac OS X (10.4.8)   iPod Nano 2G 4GB, iPod Shuffle 2G 1GB, iPod 5.5g 30GB

  • Can labview digital waveform editor provide tri state option

    hi
    Could anybody who have used labview digital waveform editor
    would let me know whether, the package supports the
    tri state opertaion also.
    rags

    Currently the LabVIEW Digital Waveform Editor does not provide tri state functionality. 
    Minh Tran
    Applications Engineer
    National Instruments

  • I am trying to "pin" to pinterest through a dialogue box and nothing happens when I hit "pin" and I also tried to send a message through linked in dialogue box and nothing happens when I hit "send"

    Why does nothing happen when I'm trying to perform an action/command through a pop-up dialogue box, such as sending a message on linkedin or attempting to pin on pinterest?

    All future installs/updates of Muse (and most other Adobe apps) are through the Creative Cloud desktop app. Thus you do need to have it installed.
    Are you on Windows or Mac? What OS version?

  • Generating a tri state waveform pattern and writing into DAQ card

    Hi,
    I am using LV8.0 and NI-6259 DAQ card.
    I want to generate a waveform pattern which initially goes to +5v and goes to 0v and then again goes to -5v
    and finally goes to 0v. 
    I have used the waveform pattern generator and have generated 4 kinds of waveform with some particular samples
    and I will be appending all the 4 waveform patterns(+5, 0, -5, 0) and the appended waveform will be written into DAQ card.
    The problem is:
        When I probe CRO at the Analog output pin of the DAQ card, the pin level will be always at +5v and sometimes
        it goes to 0 and back to +5v. But I am expecting a waveform with 3 voltage levels i.e.., +5( some 100 samples), 0v(for some 1000 samples.
        -5v(same as +5v) and 0v( 2000 samples). 
    How to get this kind of waveforms in NI-6259 DAQ(M Series) card.
    Please find the attached VI which I have created.
    Letme know the loophole in the VI and correct way of generating a tristate waveform.
    Thanx in advance, 
     Yogesh
    Attachments:
    PWM_sample.vi ‏43 KB

    Hello YogeshaYS,
    Thanks for your post!
    I see that you are wanting to output a waveform that goes from 5 to 0 to -5 and then back to 0. It looks like from your code that you want to do this in a continuous fashion? If this is so you will need a while loop to output the waveform. Take a look at one of our shipping examples that shows how to do analog output waveform. Go to Help >> Find Examples. When here go to Hardware Input and Output >>  DAQmx >> Voltage >> Cont Gen Voltage Wfm-Int Clk.vi. Your VI works great but it only does the output once so that may be why you see some interesting results on your output. Let me know if any of this information helps you with your program. I was able to run it in a continuous mode and see the voltage levels go from 5 to 0 to -5 just like you were wanting. Have a great day YogeshaYS and please reply if you have any other questions on this. 
    Cheers!
    Corby_B
    http://www.ni.com/support 

  • Firefox crashes when trying to pin a website to the start page

    Hi.
    Whenever I try to pin a website to the start page, Firefox crashes. Looking in the logs I see:
    E/GeckoCrashHandler(11176): android.database.sqlite.SQLiteConstraintException: foreign key constraint failed (code 19)
    I'm running CyanogenMod 10.2.1.3 (Android 4.3.1) on a Samsung S4 Mini (GT-I9195).
    Does anybody have any ideas on how to fix this?

    Hi Roland.
    These are all of my crash reports:
    bp-86d9b092-9210-4c52-81a2-4fa792150408
    bp-f5f67989-8361-49ca-a3a5-16bfd2150325
    bp-3a85f76d-6736-4c4b-8d4e-aaf212150302
    bp-df00da96-70fd-4f16-9523-8be292150212
    bp-d06cab32-b375-4f3b-8625-778832150206
    bp-0cf20d75-25ce-47a7-a811-312352150121
    bp-3b2309ff-9021-4e6d-a663-e347d2141223
    bp-1f0eed7e-fc47-4cb3-975e-939652141221
    bp-ab9bbc21-b919-42b6-8717-70bab2141202
    bp-4b5c124b-c55f-49a9-ad29-aed632141128
    bp-4d5a3bdc-634f-4ef8-8677-077b22141123
    bp-ee77f68f-d290-4166-8e0b-c75a62141119
    bp-f1082f0b-4e26-4c0d-ac79-1a77f2141119
    bp-7474296d-a745-4e2c-b4c1-c8bc62141117
    bp-1b926f16-4b39-4a77-bb81-5ea142141117
    bp-bb9dff73-9b59-41fb-9900-e857e2141107
    bp-5745238c-c997-4067-8053-5c0a22141107

  • System locking up - trying to pin down why.

    Recently my Lenovo SL 500 has been locking up completely using Arch x86_64 running kernel 2.6.31-ARCH. Its complete system hang, not just X. In fact, the laptop actually flashes the capslock LED when it happens.
    So far, I have not been able to pin it down to anything, it doesnt seem to happen while running any program in particular.
    #cat /var/log/*.log.* | panic or segfault or segmentation doest return anything.
    Any ideas of how I can try and narrow the culprit down? Or could it be hardware?
    Should I run a memtest?
    Thanks for you help.

    Please run memtest. Also post system log somewhere on pastebin.

  • Trying to pin down cause of crash...

    I can't seem to figure out why iMovie 6.0.2 HD keeps crashing on my G5 Dual 2.5 machine running 10.4.7.
    It mostly crashes when I am trying to apply the Fast/Slow/Reverse Video FX. Usually, I'll shift-select a few clips, apply the FX, then it'll get through one or two then suddenly the app will just disappear.
    Should I be concentrating on iMovie itself or the actual clips? The clips were imported from a Canon Elura 80 DV camera, so nothing weird there.
    How does one go about trapping these types of errors? God, do I miss the OS 9 days when you at least got a "Type -90" error or something that could help you. Now it's "I'm shutting down for no reason."

    I couldn't tell you the answer to that, but the people at Roland might. If the same incompatible extension is involved then it would not solve the problem. It might simply be easier to pester Roland for an updated extension.
    If there are no panics in safe mode use, then I would uninstall all the third-party extensions listed in your panic log:
    jp.co.roland.RDUSB00DEDev(1.0.0)
    de.access-music.virus_ti.driver.audio 2.0.3
    com.caiaq.driver.NIUSBMaschineControllerDriver 2.3.9
    com.paceap.kext.pacesupport.snowleopard 5.7.2
    com.Cycling74.driver.Soundflower 1.5.1
    com.Apogee.driver.EnsembleFWOverideDriver 1.4.4
    com.caiaq.driver.NIUSBAudioDriver 2.2.15
    Now I have no idea to what hardware or software the above are associated, but I would uninstall both the software and hardware involved to be sure the extensions are removed. Then reinstall one at a time testing thoroughly after each installation. This will help you track down which particular extension is causing the problem.

  • I had locked my iPad with a pin but then I forgot my password.i tried the pin many times and now my iPad is disabled.

    It displays that I hav to connect to iTunes

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

Maybe you are looking for