Permentant PCI-DIO-96 Configuration

I want to permenantly configure DIO-96 ports as (Ports 0 to 9 Digital O/P) (Ports 10 and 11 Digital I/P) How to do it?

Hello Tito,
Thank you for your inquiry regarding problems configuring NI-DIO-96 ports. It sounds like you would like to permanently configure the I/O ports on your DIO-96. I assume that the reason that you want to do this is because the ports are being reset automatically. However, National Instruments digital I/O (DIO) boards which use the 8255 chip will reset all ports when reconfiguring. One possible solution is to configure all of the I/O ports at the beginning of your VI (if you�re using LabVIEW). Then perform your read and write operations. You may also want to consider using one of our 6533 series DIO boards (such as the PCI-DIO-32HS), which uses the more forgiving DAQ-DIO ASIC instead. The following links are great resources when dealing with this issue.
Why Do All My Digital I/O Ports Reset When I Configure One Port?
Why Do I Lose the Data on Ports 2, 3, and 4 of a PCI-6025E When Reconfiguring Port 0 in Visual Basic...
Other resources similar to this can be found on the ni.com website by clicking the support tab at the top of the home page. Then search for �Configure DIO-96 Ports� from Technical Resources at the top of the page or topics similar to this. I hope these resources help. Let me know if I can further assist you.
Shea C.
Applications Engineering

Similar Messages

  • Can Group1 and Group2 of the PCI-DIO-32HS 6533 card be configured at the same time?

    Can the PClk1 and PClk2 run simultaneously when both groups 1 and 2 are configured?

    Tmax,
    Yes, both Group 1 and Group 2 of the PCI-DIO-32HS can be configured at the same time. Furthermore, both PCLK1 and PCLK2 can run simultaneously.
    Good luck with your application.
    Spencer S.

  • PCI-DIO-32HS (PCI-6533) setup problem

    Hello
    I am in the process of setting up a Windows XP-based Labview 7.1 system and I am encountering a frustrating problem. Just to make sure I provide enough details, I'll describe what I've done so far, step-by-step (sorry if this gets tedious):
    First, I installed Labview and the NI-DAQ 7.3 drivers. I powered down the system and installed two PCI cards: a PCI-6031E and a PCI-DIO-32HS (PCI-6533) in PCI slots 1 and 2, respectively. I powered the system back up, went into MAX and configured the cards as follows:
    PCI-6031E: Device 1; AI: Polarity/Range=-10.0V - +10.0V, Referenced Single Ended; AO: Polarity=Bipolar; Accessory=SCB-100
    PCI-DIO-32HS: Device 2; Accessory=SCB-68
    I then started up Labview and ran my VI. This VI has been in use for 2 years now on the same NI hardware, so it's been well-tested and works great on other systems. However, when I run it on this system, the PCI-DIO-32HS spits out an error, with "Digital Buffer Write" as the source, and with a code of -10843 (buffer underflow).
    What's interesting is that I had this exact same problem when I was setting this system up in Mac OS 9. That time, I realized that the problem could have been due to the fact that I installed the hardware before I installed the software, so there may have been problems communicating with the device. By uninstalling everything and then re-installing it in the proper order, I solved the problem and was able to run the VI flawlessly. I'm assuming that these two problems are related in their nature, but this time around I was very careful to make sure that I did all of the setting up properly (I did it twice just to make sure. It did not work either time), so I'm not sure what could be the exact source of this one.
    Please let me know if you have any ideas as to what the source of this problem might be. Like I said before, I think there's probably a resource problem that's causing a communication failure which results in no data being sent to the DIO card (hence the buffer underflow error), but I can't figure out where to look for such a problem or how to fix it. Obviously, I'm rather new to Labview and everything about it, so the help is greatly appreciated.
    Thanks!

    Hi,
    Thanks for the reply. I have run the test panels, and I have not generated any errors in them. I've verified that I can definitely do output, because LEDs on my equipment turn on when turn on output on certain channels.
    So, I agree that the problem lies in the VI. I was not the author of the VI, however, so I'm not sure where to look. The author was also kind enough to have not provided any documentation. What would be a good example VI to run? I've never looked at any of them.
    As for how the program works, I don't believe there's any actual input coming back into the DIO-32HS. The system is used for electrophysiology. The DIO sends a signal to flash LEDs at given intervals. Electrodes then pick up an electrical signal from the retina of a mouse, which is sent to the DAQ card and written to a file. I have run complete tests, and proper data files were generated and contained expected voltage values. The only part that's not working right now is that the LEDs aren't flashing due to this error.
    I did some digging around in the program, but I couldn't come up with much. I verified that the program expects the DIO card to be Device 2, so there's no problem there. Aside from that, I couldn't find anything that seemed like it would apply.
    Thanks for your help! I have no experience with Labview, yet I've found myself placed in the "Labview expert" position over here, so I've kind of been forced into a sink-or-swim type crash course where I learn as I go.

  • How do I create an interrupt on the PCI-DIO-96 from an external signal connected to the lines PC0 or PC3 of a port?

    Hi everybody,
    we are currently using the PCI-DIO-96 for data acquisition from an old AT-DIO-32F card. All PPIs and ports work in mode 0 (standard input/output). The manual mentions the possibility to create an interrupt from an external signal connected to the lines PC0 and PC3 of port C from a PPI. To get the interrupt I have connected my interrupt service routine to the PCI-DIO-96, enabled the master interrupt enable bit in the interrupt configuration register 2 and enabled interrupt enable bits of every PPI chip in the interrupt configuration register 1. The interrupt should be generated if a signal low-to-high transition occurs on th
    e lines PC0 or PC3 of a PPI. We've simulated the signal low-to-high transition with an external voltage source connected to the line PC0. We actually saw in the memory that the line toggled from state low to state high, but no interrupt was generated. I don't have a guess what I am doing wrong. Perhaps anybody knows the solution of this problems.
    Thanks and best regards.
    Sven Jungnickel

    You may want to try disabling your USB or IEEE-1394 host controller. It's possible that one of these devices could be on the same interrupt as you DIO-96 and causing the interrupt to not be serviced.
    Regards,
    Erin

  • Basic questions about PCI-DIO-96

    Hi
    I am trying to write code to control a digital I/O board for the first time.
    I have a legacy board, PCI-DIO-96, as the code implies, it is a PCI digital I/O boiard with 96 I/O channels
    My first question is, what would be the drivers and development platform I should download for this board?
    I am planning to write my code in C++.
    The second question is, I am trying to write a very simple application to drive 96 solenoid valves through the board.
    Basically I need to use the board in output mode only.  No data gathering here.
    The application basically needs to open and close these valves  for a specified number of milliseconds.  So basically,
    I would be sending either 0 or 1 through the output channels, that's
    it.    If I send a "1" signal through the board, does
    that
    "toggle" the channel, meaning the channel will keep sending "1" through the ouput until I send another signal, or do I need
    to send the "1" signal every few milliseconds to simulate a constant "1" signal?
    Does anyone have code samples or know where I can find code samples illustrating this simple case?
    It would be greatly appreciated.
    I realize these are very basic questions, but I am new to hardware programming and I am on a deadline.
    Thank  you
    Kiko

    Hi Kiko,
    Great to see that you are asking questions here first, you definitely came to the right place.
    Since you are starting with a clean slate as far as knowing how to use this board we can start off on the right foot. 
    Download the latest version of the drivers for your board.  You can find the drivers here: NI-DAQmx Version 7.5 for Windows 2000/NT/XP
    After you have downloaded the drivers, power down the computer,
    insert your board, and power it back up.  The board should now be
    recognized and the drivers will install similarly to any new hardware
    would in Windows.
    Now it's just a matter of learning how to use the commands that you need to get started.
    I would recommend starting in the example files.  You can find
    some excellent examples that should do almost exactly what you are
    trying to do by looking in this path:
    C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Digital\Generate Values
    Look for the example that best represents what it is you are trying to
    do.  You will notice that all of the examples have a general flow
    to how they call the board.
    Create a Task and Define what that task is meant to do
    Set the configuration for how exactly that task will operate
    Read/Write various values until a condition is met
    Close the Task
    Error Check all operations to assure that everything is working properly
    It's really not all that difficult and should you run into any problems or errors don't forget to search ni.com or the forums to see if others have run into similar issues to what you are facing.
    Regarding how the states for digital lines work.  The short answer
    is that if you set a digital line to high it will stay high until you
    set it back to low and vice versa.  For more details on everything
    digital check out our Digital Fundamentals page.
    Best of luck!
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • Digital Handshaking with two PCI-DIO-32HS Cards

    Hardware: two PCI-DIO-32HS Cards
    Software: LabVIEW 5.1, NI DAQ 6.6
    Problem:
    I'd like to do burst digital handshaking with two PCI-DIO-32HS cards.
    One being used for sending bit stream while the other receive.
    Suppose I want to use burst handshake mode.
    How should I wire the connections?
    Where should I wire the REQ, and ACK line from the sending card?
    Should I wire REQ from card one to REQ of the other card?
    Also, how do I configure labVIEW VI to do burst handshaking mode.
    Can anyone send me a VI that can do this.
    Thanks a lot.

    Matt,
    I would recomend using the DIdoubleBufPatternGen.C examples that ships with NI-DAQ. You can find it in your \NI-DAQ\Examples\VisualC\Di folder. If you don't have this example on your machine, you can get it by running NI-DAQ Setup and selecting support for C/C++.
    This example does double buffering to allow you to continuously acquire data from your card. Data is transfered only when a full 1/2 buffer is ready. You can set how long to acquire data by setting the number of half buffers to read, or by modifying the read loop conditional parameters to fit you needs. See the NI-DAQ help on how to set you REQ pulse rate to 100kS/s.
    Nick W.
    www.ni.com/ask

  • How to use the PCI-DIO-32HS counter

    I have to create a SPI, I'd like to use counter, but the card doesn't answer, so Labview bug. Do you if there is programmable/configurable counter on this Card?

    Hello,
    The PCI-DIO-32HS does have a counter onboard. However the counter is only used for generating an internal clock in order to do pattern generation. You cannot program this counter in LabVIEW. If you need a counter, I would look at using an M Series Board, or a 660X board.
    Best regards,
    Justin T.

  • MAX 2.2 refuses to see PCI-DIO-96

    I am trying to install and configure PCI DIO-96. MAX 2.2 refuses to see it. I have uninstalled NI-DAQ (ver 6.9.2) with several times, both with and without the board in the computer. The device manager can see it and reports that it seems to be functioning normally. I
    have also tried reinstalling MAX. Is MAX broken? Does NI-DAQ continue to stay around inspite of being removed (de-installed)? is there any other way to configure and test the DIO-96?

    I have finally convinced MAX that there is a DIO-96 board in my system. However it is not by what I would call "normal" means. In MAX, I went to Tools>>NI-VISA>>VISA Options... and selected "Show all PXI/PCI devices accessable to VISA"
    Now after refreshing MAX, I can see the board but only through a VISA or PXI as an intermediary.
    PXI System
    PXI Bus 0
    PXI0::16::INSTR (PCI-DIO-96)
    I would rather NOT operate the board through this rather complicated looking VISA style interface
    if I can avoid it.
    Have I done something wrong by installing something I don't need (like VISA)? Can I get rid of it? How?

  • PCI DIO 32HS

        Hi,
        I have a legacy VI that I am troubleshooting. It involves configuring input & output digital ports on our PCI-DIO-32HS.
    Two ports (Port B & C) are configured as outputs. I have a suspicion that Port C is not operating correctly (or at least some of the lines on Port C are not operational).
    Is there a way of verifying the output operation of Port C ? (I have checked out the Test Panels in MAX - maybe there is a more direct test ?)
    Earlier, our computer crashed when I tried to reboot. Immediately before that the VI & NI488.2 Communicator were running at the same time - perhaps there was a hardware conflict that caused the crash ? Besides this incident, the program has been running fine for several years...
    Finally, is the PCI-DIO-32HS available for sale ? If not, what is the closest substitute ?
      Any help would be greatly appreciated !
        Regards,
             ak

    Hello ak,
    What is it about port C that you believe is not working anymore? You could try generating on those lines, and then test the correct pins with a multimeter or scope.
    Please also do a device Reset from MAX and verify that the device passes a Self-Test.
    We no longer sell the PCI-DIO-32HS, but we do have a wealth of other cards that are HSDIO. I don't know what kind of specs you want, but this is a great starting spot: http://www.ni.com/highspeeddigitalio/
    Any card that starts with 65xx is a HSDIO card. I believe the PCIe-5635 will be the closest replacement spec-wise, but you will need DAQmx or NI HSDIO for the programming, I do not believe you can use Traditional DAQ.
    Thanks,
    Joel C
    National Instruments

  • Pci-Dio-96 and Max

    I'm using a PCI-DIO-96 and am aware that the default power up state is high and can't be changed. When I open up NI-Max, the application sets all ports to high,
    even after I have set them low in my own app. Is there a way to prevent Max from doing this?
    Curt

    Hello;
    Please refer to Chapter 3 of your hardware's product manual in the section titled "Digital I/O State Selection" for any jumper locations and configurations.
    PC-DIO-96 -- Inputs (high-Z) pulled up through 100k
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • Does PCI-DIO-96 have DMA?

    Does the the National Instruments PCI-DIO-96 have Dynamic Memory
    Allocation? I was hoping to be able to have digital input be sampled by
    the card asynchronously rather than have to force the computer to use
    processing time to look for new inputs on the card.
    Thanks.
    -Tony

    Tony,
    Your PCI-DIO-96 Board does not has DMA. This board doesn't has any FIFO component on it so its not capable of configuring an on board buffer for later transfer to the computer buffer. The 653x family does have DMA, but the 650x family in which your PCI-DIO-96 board belongs to does not has DMA. You can find more information on each products catalog webpage in the datasheet link. (www.ni.com).
    Your best approach with this board is performing handshaking I/O.
    Good luck!...
    Nestor Sanchez
    Applications Engineer
    National Instruments
    Nestor
    National Instruments

  • PCI-DIO-96 Port to hardware pinout

    I'm configuring a PCI-DIO-96 (PN: 777387-01) using the DAQmx Assistant. The DAQ assistant allows me to program by port, ports 0 through 11. Could someone point me to link that shows DIO hardware connector pin numbers with respect to port numbers programmed?

    Jim77215 wrote:
    Why the ridicule? Yes I did search out the manuals and saw nothing with respect to Ports0-11 as they are programmed in the
    DAQmx assistant.
    It wasn't ridicule. There's a fine line between sarcasm and ridicule. 99% of the time when we see questions such as yours it's from people who simply don't bother opening the manual or performing a simple search. For those of us who have provided more than a few thousand posts this can get quite grating. Dennis has seen his fair share, I suspect. 
    Your initial question did not provide any information that you actually (a) had the manual, and (b) looked in it, which is way more than a lot of people who post questions on this board bother doing. So, kudos to you for actually doing that. In the future, though, please mention what you've done to prevent misunderstandings and/or people jumping to incorrect conclusions. It is, after all, a 2-way street. Thanks.

  • Problem with the error at DIO port configuration

    I am working on the design of a model of a computer controlled Fuel Injection system using Gasoline Direct Igniton technology. I am using PCI-6025E as my data card and SCB-100 Connector block. My application is to get the digital input from the shaft encoder and the solenoids[acting as Inlet and exhaust valves]get actuated according to the VI. When I am trying to run the program theres an error 10001 occured at DIO port configuration. The statement is as" The error occured at the input string, the arrangement or ordering of the characters in the string is not consistent with the expected ordering". I checked the shaft encoder[S5S-50]pin out connections using an oscillograph and the voltages are as expected. Please let me
    know the possible areas where I can figure out the error.

    Maruthi;
    You are probably using VIs that are not supported by that DAQ device. That DAQ device of yours only allow unstrobed digital updates, meaning that the digital lines will be updated by Software calls.
    Since you probably need high speed/accuracy on your digital updates, you would be better served by using the PCI-6534 instead.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • PCI DIO 32HS (6533) Suddenly giving "The device is not responding to the first IRQ level" error, and no longer functioning.

    Greetings NI folks,
      I'm an oceanographer, and have an sidescan sonar data aquasition computer running Windows XP SP2, and NiDAQ 7.0 (Legacy). For several years, this machine has worked flawlessly, but today, I booted it up to test the system for an upcoming job, and I got some strange errors in our sonar program. I tranced the problem to our NI-6533 PCI-DIO-32HS card. I launched NI Automation Explorer to test that the card was responsive, and when I click the "test panel", I get an error: "The device is not responding to the first IRQ level." Continue (yes/no). If I click yes, I can test the digital i/o's, but nothing happens, and all the tests fail (nonresponsive). I tried moving the card to another PCI slot, tried forcing it to have a specific IRQ that was unused by anything else, and finally tried moving it to another computer that had never been used with the DIO card. I'm still getting the error, and the card is nonresponsive. I'm at the limit of my abilities, and would like to know if there's anything else I can do, or should we send the card back to NI for repair/diagnosis.
    Thanks.

    Duplicate Post
    Best Regards
    Hani R.
    Applications Engineer
    National Instruments

  • PCI-DIO-96 on Windows 7 64 bit

    I was running Labview 8.5.1 with a PCI DIO-96 card on a PC using Windows XP Professional. The PCI DIO-96 driver was a Traditional DAQ Legacy 7.4.4. The PC died and was replaced with a PC using Windows 7 64 bit. I loaded Labview ok, the PCI GPIB card seems communicates ok. I tried loading TDAQ750 but it appears it only supports Windows 7 32 bit. I also tried NIDAQ951F2 with no luck. Any suggestions to getting the PCI DIO-96 going before i ask our IT to load Windows 7 32 bit? At this point i don't know if Windows 7 32 bit will work.

    Try using the DAQmx drivers instead of the Traditional DAQ.  It is a much better API anyways.  If DAQmx doesn't support that card, go with the PCI-6509.  It is a very good card and I'm pretty sure it can be a drop-in replacement.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for

  • Memory Leak Issue

    Has anyone else noticed the Adobe Connect add-in using up large amounts of RAM ? In a 40 minute Connect meeting this morning , checking task manager the ram being used by Connectaddin.exe was 1,0035,016k , so almost 1 gig of ram. I noticed that the C

  • BPM Scenario: Message has error status on outbound side

    Hi All,         I am doing one BPM scenario. In my scenario i am collecting 12 different type of idocs in BPM and bundling these idocs and sending these to the 12 different files.         If i send 12 idocs from the R/3 then my scenario is working pe

  • How to read and write from XL file

    HI , I wanted to read a data from XL file and write a data in XL file by generating a report .Can any body help me out.Many examples are available on discussion forums but when I try to save and run those Vi .I am not able to run Showing error .Pleas

  • Alerts in CRM 2007

    I'm wondering if anyone has worked with the alerts much in CRM 2007.  I was able to successfully set up an alert and rule policy assigned to a business role so as to see the alert in ic web client upon confirming a business partner. 1).  We have a mu

  • Automatic Login in ActiveDirectory Environment

    Hi, is it possible to retrieve the current user (active directory / nt domain) via ume and automaticly authenticate them via ldap. i don't want to display the default webas (java) login page. ms internet explorer has the ability to submit all current