I2C Bus and PCI-DIO-96

i want to use PCI-DIO-96 to communicate with one i2c instrument by i2c bus. Anybody has sameple vi for that? Or give me some concept that how to programm with LV or CVI? Thanks a lot !

Duplicate Link:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=506500000005000000345A0100&HTHREAD=000088628&UCATEGORY_0=_31_%24_12_&UCATEGORY_S=0

Similar Messages

  • Anybody has the exprience in programming I2C BUS and Jtag test with Labview? Pls give some suggestion !Thanks

    See the title !

    The following link may solve half your problem.
    http://www.calbay.com/I2C_driver.htm

  • Stepper motor /Labwindow​s 5.5 /PCI DIO 96

    Hi all,
    How can I make a software with LabWibdows 5.5 and PCI-DIO-96 to command stepper motor (360step/360°, with 4 rotation/s) ?, the second part driver and a choice of the motor is not up to me.
    the choice of the signals is up to me :
    1. cw and ccw
    2. pulse and direction.
    wich method is best ?
    Any exemple with CVI is welcome ?
    Thanks

    Hi, I'm not sure whether this is the right place for asking this question or not and if not, then please guide me to the right place for asking such question. Thanks.
    I have a stepper motor with the Vector Network Analyzer Anritsu MS4623B. I got it up and running with the LabWindows/CVI. I need to sync the motion of the stepper motor with my data acquisition. Basically, I have to acquire the data in a way that in the start the motor will come back to home position wherever it was on the ball-screw linear positioning system and then I want to move it to the specific position to do the measurements (For Example, I want to measure the 40 GHz channel between 1m to 3m movement of a stepper motor on a linear positioning system (ball-screw)). I've interfaced the VNA with the PC using LabWindows/CVI and I've controlled the clockwise and anti-clockwise movements of the stepper motor using LabWindows/CVI but I'm unable to sync the system in a way that whenever I run the code, the motor will run back to the home position and then move to a specific measurement start position and move till the end position and in between do the increment and stop and acquire the data. Is there any one to help me please? It's really urgent please and I'm doing this thing first time so please guide me in a proper way. I shall really apprecaite that and will be highly obliged with you. Thanks for your time and concern.
    Thanks and Regards.

  • 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 bus and memory ranges in Device Manager.

    Hello,
    I looked in device manager on my netbook that has no dedicated graphics card (so no dedicated VRAM) and uses shared system RAM as
    it’s video buffer, the following memory ranges have been assigned to the on board card -
    If I then change the view in device manager to ‘Resources by type’, Windows shows the following memory ranges to be on the PCI bus
    Basically all the memory ranges that have been assigned to the card are shown to be also on the PCI bus. I would understand this with
    a dedicated graphics card where data needs to be forwarded onto the PCI bus but I know my netbook is using system memory as the frame buffer which then I assume the card reads from there.
    Do you know why these addresses are shown to be on the PCI bus, is it just because the card is a PCI device so it’s easier for Windows
    just to display them as if they were on that bus, and anything written to these address will still go into system memory?
    I know it’s a bit of a random question but I’ve been trying to find an answer online and can’t seem to find anything.
    Any help would be appreciated,
    Thanks.

    Hi,
    For your question: Do you know why these addresses are shown to be on the PCI bus, is it just because the card is a PCI device so it’s easier
    for Windows just to display them as if they were on that bus, and anything written to these address will still go into system memory?
    Yes.
    You can check the hardware memory usage via Resource Monitor.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • 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.

  • Missing pci bus 2 and PCI/VEN_10EC&DEV_5209& SUBSYS_3577 103C&REV

    missing pci bus 2 and PCI/VEN_10EC&DEV_5209& SUBSYS_3577 103C&REV.             Can someone please help me and tell me how to get these drivers downloaded to my pc.Id really appreciate it and thanks in advance...

    Hi, It is the card reader. Please try the first one for Windows:    http://www.realtek.com.tw/Downloads/downloadsView.aspx?Langid=1&PNid=15&PFid=25&Level=4&Conn=3&DownTypeID=3&GetDown=false Regards.

  • Missing Drivers for USB Controllers (2), SM Bus Controller, and PCI Device

    Just got this laptop from my grandparents, and they whiped the OS off if it and did a reinstall with windows 7 64 bit. When it reinstalled it was missing many of the drives, most of which I've been able to find, but I still have four left that I can't find anywhere. Device: Hardware ID PC Device: PCI\VEN_10EC&DEV_5209&SUBSYS_1805103C&REV_01
                          PCI\VEN_10EC&DEV_5209&SUBSYS_1805103C
                          PCI\VEN_10EC&DEV_5209&CC_FF0000
                          PCI\VEN_10EC&DEV_5209&CC_FF00 SM Bus Controller: PCI\VEN_1022&DEV_780B&SUBSYS_358B103C&REV_13
                                          PCI\VEN_1022&DEV_780B&SUBSYS_358B103C
                                          PCI\VEN_1022&DEV_780B&CC_0C0500
                                          PCI\VEN_1022&DEV_780B&CC_0C05 Universal Serial Bus (USB) Controller: PCI\VEN_1022&DEV_7812&SUBSYS_358B103C&REV_03
                                                                                PCI\VEN_1022&DEV_7812&SUBSYS_358B103C
                                                                                PCI\VEN_1022&DEV_7812&CC_0C0330
                                                                                PCI\VEN_1022&DEV_7812&CC_0C03 Universal Serial Bus (USB) Controller: PCI\VEN_1022&DEV_7812&SUBSYS_358B103C&REV_03
                                                                                PCI\VEN_1022&DEV_7812&SUBSYS_358B103C
                                                                                PCI\VEN_1022&DEV_7812&CC_0C0330
                                                                                PCI\VEN_1022&DEV_7812&CC_0C03 I have tried uninstalling the devices and rebooting the laptop, and updating the drivers using this site (suggested for someone else having the same issue) http://support.amd.com/en-us/download. When I looked on hp's site there is no driver that I saw for any of these.

     Are you using drivers from your Support page? The AMD graphics driver usually has sm bus and usb drivers. The PCI device is Realtek Card Reader, also in the list. You can also order Recovery Media which reinstalls Windows and all drivers & software. http://support.hp.com/us-en/drivers/selfservice/HP-Pavilion-dv6-6c00-Entertainment-Notebook-PC-series/5191856/model/5210864#Z7_3054ICK0KGTE30AQO5O3KA30R1  Too bad your grandparents didn't use HP Recovery Manager installed on the laptop to reinstall Windows. That would have prevented this. 

  • 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

  • Who has had a PCI-DIO-32HS card fail, ever?

    I've looked through the forum somewhat and I've found little concerning the card itself failing.  For instance, I found something about the card failing due to driving it with a TTL high before it was powered, but that was about it as far as actual death of the card.  Hence, I'm wondering if others besides myself, and therefore my design using the PCI-DIO-32HS, have killed or had the death of a PCI-DIO-32HS DAQ card and what was determined to be the root cause in your case(s).
    Also, by chance, did your card's death also take down the PC such that it wouldn't POST (Power On Self Test) until the card was removed?
    Thank you all.

    First, the issue has not been resolved yet. I still have boards dying. At $1500 a pop, this issue needs to be resolved.
    I was mistaken about two things said earlier: 1) The G card has now failed; therefore, the recovery was a fluke, and 2) I thought 8.x was installed in the design's PC, but as it turns out it has been 9.x. (The version numbers are tough to remember. Sorry. I think it's 9.1.7.) Is there a known issue with that one also?
    What I really want to know is why the original board I returned to NI failed. I want to know specifically what slot contacts are holding up the PC, keeping it from performing its POST? I don't want to hear any more suggestions for installing version x.y.z. without also having a specific reason for why it should work. These cards are too expensive. There's something very wrong with this design such that I can't keep the DAQ card alive using Traditional DAQ software that has run for years. The system works until (it seems) you think the problem's been resolved, and then whammo! An esoteric error number in a window is thrown up. (It's not just one error. The error can change as you try in vain to avoid cycling power as the only way out of the now dead software.) You can't run the software past a button click due to the error window, but yet the PC itself works fine...unless you cycle the power: NO POST.
    What on earth in this design could be killing these cards? The PCI slot was tested via substitution with a video card and there was no issue found. I just can't keep the DAQ card alive. Help! Trying version x.y.z of the driver is not a good enough solution. Running software should not just out of the blue blow up a DAQ card and cripple the PC only at power-up. Rather, there should be an error, some incompatibility indication before the card is dead. Frying a $1.5K card...eventually...is not how you find the source of an incompatibility issue. Like I said, HELP!
    I'm suspecting the software is creating a bus contention somehow which doesn't end in an error but, rather, an internally shorted IC, where I'm guessing it's the large NI ASIC just above the card edge due to the considerably noticeable heat generated while the PC tries to POST, a short that is undetectable except that the software stops working, but nevertheless a short that won't let the PC continue its POST if power is removed and then reapplied to the PC. It's like the software has had a "sacrifice(PCI-DIO-32HS, legacy_sw);" function embedded into it that only gets called under certain circumstances, circumstances that involve the power-up sequence of a PC. Help!

  • 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 (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

  • G555. Need drivers for SM Bus and another Unknown device for Windows XP.

    I try to install Windows XP on my G555. I got all other drivers, but cannot find drivers for SM Bus and an Unknown device. And what's this device?
    The second problem is that after I installed all the drivers, the card reader disappeared. It was there after I installed Windows XP, before I install drivers.
    Thanks a lot.
    A Simpleguy
    Solved!
    Go to Solution.

    Hi Simpleguy,
    Welcome to the forum!
    In thinkpads, it's usually intel chipset driver. For AMD based G555, I wouldn't be surprised if this is the driver you need:- http://consumersupport.lenovo.com/us/en/DriversDownloads/drivers_show_2476.html
    As for other unknown device, find it's PCI ID with any other known information and paste here.
    Hope it helps.
    Maliha (I don't work for lenovo)
    ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
    IdeaPad: U350
    Apple:- Macbook Air [Snow Leopard]
    Did someone help you today? Compliment them with a Kudos!
    Was your question answered today? Mark it as an Accepted Solution! 
      Lenovo Deutsche Community     Lenovo Comunidad en Español 
    Visit my YouTube Channel

  • 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

Maybe you are looking for