Driver development for custom PCI card

Hi friends,
I've a PCI card developed in-house. How to prepare a driver for the same in LabVIEW? Can I develop drivers in VISA? I don't have a manufacture id. Is there any other method to develop a driver for PCI card? Once developed, can I use them for other platforms like VC++? My OS is Windows 9X/NT & 2000. I need a driver to use for all these. Lot of querries! hope I made it clear.

THE ANSWER IS THAT YES YOU CAN DO THIS IN NI-VISA!
Some have said that you need a kernel driver. This is partially true in that a PXI or PCI card (they are the same as viewed by the OS) must have a kernel driver. NI-VISA provides one for you.
You said that you do not have a manufacturer ID. This is a requirement of all PCI cards and no kind of driver will work until the card has one. Once you have this ID, run the VISA PXI Driver Development Wizard and it will generate an INF for you for all supported NI-VISA environments that support PXI/PCI. Read the instructions in the appropriate INF file for how to install it into the system so that the OS will attach NI-VISA to your device. It's really simple. NI-VISA supports PXI/PCI on Windows 95, 98, ME, NT
4, 2000, XP, and LabVIEW RT.
Some have said that MAX will just show you all PXI/PCI devices in your system. Your device will not show up until NI-VISA can see it, and that won't happen until you generate an INF as described above.
Since the INF file associates NI-VISA itself to your card, the ADE you use does not matter. NI-VISA supports PXI/PCI in LabVIEW, CVI, MSVC, Visual Basic, or any other ADE that normally works with VISA.
NI-VISA works well even with more advanced devices because we support all types of register accesses (config, I/O, memory) as well as interrupt handling. Just look at the visa.h that NI ships in the VXIpnp directory. If you are using C/C++, make sure you define NIVISA_PXI before including visa.h. If you use LabVIEW, you need to use the address space numbers as defined in visa.h.
Good luck.
Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments

Similar Messages

  • Develop a LabWindows/Cvi Driver(fp) for custom pci card(dll).

    How to do it?

    You can go to following web page and get some help from there. You might be interested in Driver Development Kit (DDK) Software Reference Manual. Here is the link:
    http://www.ni.com/support/gpib/reg_prog.htm

  • Driver development for TI device

    Hello Microsoft support team,
    I am currently developing WDK driver for PCI device. I am beginner in driver development and I found a KMDF WDK driver project for generic PCI device (PLX9x5x PCI Driver) from your website. However, in my attempt to adapt this driver for my PCI device, which
    is a TI TMS320c6657 DSP evaluation board, I get stuck into some problems. My objective is to send data from PC (Root complex) via DMA transfer on PCIe interface to the the DSP evaluation board (End Point) for signal processing. And I am not able to match the
    sample PCI driver with my device. I am seeking a starting guide on how I modify the the generic driver to suit my specific PCI device.
    Thanks.
    With regards,
    Alemayehu

    I know of no guide to do this.  What I recommend is you walk the driver, starting with DriverEntry.  By walk the driver, I mean for each function, review its purpose in the WDK documentation, and look at what the sample does.  Cleanup the
    function to reflect the needs of your device, then go on to the functions that call references.
    Besides the PCI driver sample, take a look at the minimum Toaster function driver, this is a good sample with most functions empty that you can use to get going.  As you cleanup run the compiler with /W4 and Code Analysis on the code to catch mistakes. 
    For the code analysis change the options to enable all the rules.
    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com

  • Driver development for 6221 card in RTX & VC++

    Hello All,
    For my application, I need to use NI-6221 card in RTX (Adrence/Venturcom) and VC++ environment. Since NI provides RTX support only in LabVIEW environment, It was informed that we need to write a register level program.
    I have got some examples (for register level program) from NI website (MHDDK) which when I try to compile, it throws an error looking for some RTX functions.
    1. I am using RTX v6.0 for development. Is there something else i need to install to get those RTX functions. What is the procedure that i should follow to compile the examples?
    2. In my application, I have the register level program for NI-6013 (E-Series) card in RTX environment. Is the acquiring procedure same for both E-series and M-series cards?
    3. I also need the base address for accessing the cards memory. Is there any document that gives the details of the base address and other offset addresses?
    Any information on this regard will be of great help to me.
    Thanks,
    Ashok kumar A.

    THE ANSWER IS THAT YES YOU CAN DO THIS IN NI-VISA!
    Some have said that you need a kernel driver. This is partially true in that a PXI or PCI card (they are the same as viewed by the OS) must have a kernel driver. NI-VISA provides one for you.
    You said that you do not have a manufacturer ID. This is a requirement of all PCI cards and no kind of driver will work until the card has one. Once you have this ID, run the VISA PXI Driver Development Wizard and it will generate an INF for you for all supported NI-VISA environments that support PXI/PCI. Read the instructions in the appropriate INF file for how to install it into the system so that the OS will attach NI-VISA to your device. It's really simple. NI-VISA supports PXI/PCI on Windows 95, 98, ME, NT
    4, 2000, XP, and LabVIEW RT.
    Some have said that MAX will just show you all PXI/PCI devices in your system. Your device will not show up until NI-VISA can see it, and that won't happen until you generate an INF as described above.
    Since the INF file associates NI-VISA itself to your card, the ADE you use does not matter. NI-VISA supports PXI/PCI in LabVIEW, CVI, MSVC, Visual Basic, or any other ADE that normally works with VISA.
    NI-VISA works well even with more advanced devices because we support all types of register accesses (config, I/O, memory) as well as interrupt handling. Just look at the visa.h that NI ships in the VXIpnp directory. If you are using C/C++, make sure you define NIVISA_PXI before including visa.h. If you use LabVIEW, you need to use the address space numbers as defined in visa.h.
    Good luck.
    Dan Mondrik
    Senior Software Engineer, NI-VISA
    National Instruments

  • New drives help for APPLE RAID Card RAID Redo

    Hi,
    I've been happily using an Apple 3,1 MacPro with Apple RAID Card installed and connected to 4-500 GB Apple OEM drives. I'd like to redo my setup and replace the Apple drives with bigger drives. Someone said I could only use up to 2 TB drives - is this correct?
    Has anyone done this or anything like it using Seagate Drives that are not Apple OEM. Will that work OK or will the Apple RAID Card want to see Apple OEM drives? Apple sells 2TB Seagates, but they cost a lot compared to non-OEM drives, but will cheaper generic Seagate Barracuddas work OK in every way?
    Also, after accomplishing this upgrade, I'd like to upgrade this machine to the latest Lion and possibly even Moutain Lion System Software. Any issues perceived?
    To reiterate, I'd like to increase my storage to the max in my Early 2008 MacPro3,1 which has the Apple RAID Card utilizing a RAID5. This is spec'd at  "4 - 3.0 Gbps Serial ATA (SATA) controllers" but no mention is made of what the MAX Size drives that will be addressed by the RAID Card.
    Thanks, and so long for now, TOM

    I thought it was an oxymoron to be using Apple RAID card, and to be happy.
    It does not support drives larger than 2.2TB
    Seagate's just seem to be more trouble. Any enterprise drive should do.
    If you really really need RAID5 then maybe this card is useful, otherwise, no.,
    There is much less than 300MB/sec x 4 in bandwith, they are shared and not independent, but the total is more like 800MB/sec maximum. Less overhead and other factors comes in more like 700MB/sec total max. \
    SSDs have come a long way.
    Use a PCIe cards to manage 2 x SSDs of 500GB up to 1TB
    Use Disk Utility or SoftRAID 4 to manage 2-4 drive mirror or stripe arrays
    10.8.4 has a bug that interferes with using 3TB and larger drives, just introduced bug.
    This is the FIRST time there have been limits on drive size. And Apple RAID card. Seems the card is not getting updated firmware to address the need for larger drives. For those using SAS it is also a viable candidate.
    SSD on its own to hold the system. 4 x 2TB WD Black for data and media storage. 4 x SSDs for scratch and graphic catalogues and media... all depends what your goal and use and type of programs.
    No you do not need to use Apple's.
    I cannot vouche for or seen someone doing so but I would hope that WD RED series would be suitable.

  • Searching for a PCI card that has RCA OUT for 3D goggles

    Hi All, I have a Quad-Core Intel Xeon 3.0Ghz Mac Pro with the ATI Radeon X1900 XT, and I’m wondering if anyone has knowledge of a PCI card that has RCA out. I ask b/c I’m using dual monitors and I need to hook up 3D Stereoscopy goggles that require RCA connection. I’ve read other posts about RCA adapters for audio uses, but I need the RCA out for both audio and video. If anyone knows of anything like this that is guaranteed to work on a Mac I’ll be so grateful.
    Thanks in advance,
    DA

    The quadro 4500FX card is expensive and does not use RCA jack(s) for the stereo glasses. Compatible glasses for the quadro run $200.00+.

  • Automatic updating for customer equipment card

    Hi!
    I am using SAP 8.8 PL12.  How can I set the Customer Equipment Card to update automatically once there is changes on the DR or AR?

    For Example: I have created a DR and cancelled it, I want my CEC to be updated based on this. Or if I change I cancelled the Invoice connected to it then created a new one, I want it to reflect on the CEC.
    Is there a way to do that?
    Thanks!

  • MSI 76.45 driver update for 6 series cards?

    After checking the MSI site for updated drivers, it looks like the 7645's are the latest for the 6 series cards. Yet, in the readme file under compatible cards for this driver version, there are no 6 series cards listed. What's up with that?
    I was just wondering if MSI has something wrong here. Is this, in fact, the latest driver for the 6600GT??
    (My apologies if this subject was already covered)

    Clark,
    Just go to nVidia for your nVidia Drivers
    Depending on who wrote the readme file, you're right, there could be something wrong, and it's just a readme. Nvidia usually claims all drivers are backwards compatable, however, as you may know, nVidia's drivers correspond with the genre of card currently on the market, ie GF4=4X.XX GF5 (FX)=5X.XX GF6=6X.XX and so on, so nVidia currently focuses on optimizations for the current card on the market and sometimes support suffers for older cards. Having said ALL that, more times than I care to count, MSI seems behind the times, this is the norm, as documentation and consistency is not a strong point on any the website, hence my recommendation to go directly to nVidia. If it is the latest and greatest from MSI that you want becasue of the DOT feature, then I believe that is the latest from MSI.
    Now I'm wondering how you are looking for drivers. Are you looking for drivers via the MSI Live Update Utility, or on the Taiwan website? In any case whatever is there from MSI is there. It you want the latest and greatest then you can take your chances and start expirimenting with the latest from nVidia ftp://download.nvidia.com/windows The whole shebang is there for your convenience.
    Finally, if everything is working fine, then there should be no reason to update. Recomendations to keep your system loaded with all the latest drivers is not always the best advice...
    Does that help?

  • How do I get driver software for PCMCIA-GPIB card?

    I have purchased a used card that has Windows/DOS software. How do I get driver software for Windows ME or Windows 2000?

    That would depend on what you bought. Check with the manufacturer and see if they have the drivers you need.
    We have some PCMCIA GPIB cards here from a manufacturer that does not support that card anymore. The only GPIB commands that I could get to work in LabVIEW were the old direct GPIB commands and even then, we had to rebuild a laptop with windoze 95.
    Rob

  • How to program for two PCI cards with identical device ID?

    I have 2 PCI-6713 cards, and they have identical device ID. I'm trying to program in Linux using C++. I got some examples from NI, but non of them seems considering this problem. Where can I get help for this?
    Thanks.
    flofish

    The short answer is that you should read out the EEPROM on each of the two cards you find to determine which one is which.
    I don't have specific examples for the 6713 on how to do this, but here are the necessary pieces.
    EEPROM Read Example - this example is for the E series MIO card, but will be similar for the 6713.
    E Series RLPM - in chapter 5 it describes how to read the EEPROM, which corresponds to the example. The 6713 may have a different EEPROM on it than the example uses and you may have to adjust the code accordingly. Look on the 6713 to find the EEPROM and then look up its manual online. Most likely it is one of the following chips: MB88341, DAC8043, 8800.
    EEPROM Map for the 6713 - this is the roug
    h allocation of information within the 6713. I don't see the serial number listed, but it should be stored on there somewhere. You may want to read out the complete EEPROM and compare the values to the known serial numbers of your boards.
    Christian L
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense
    Attachments:
    eepromread.cpp ‏5 KB
    6713_eeprom_map.doc ‏125 KB
    341079b_MIO_E_RLPM.pdf ‏1094 KB

  • X11 driver development for Solaris 8/9

    Hello,
    is there a way to develop a X11 graphic driver for the Solaris 8 or 9 OP.
    The SUNWxwddk package is for Solaris 2.6 and some possible features
    are missing (64Bit/GL/...). Will the SUNWxwddk package be updated? Or
    do I have to use the sources from X.org and build my own X11 server?
    Thanks for your help.
    Regards, Thomas Thorberger

    >
    Hello,
    is there a way to develop a X11 graphic driver for the
    Solaris 8 or 9 OP.
    The SUNWxwddk package is for Solaris 2.6 and some
    possible features
    are missing (64Bit/GL/...). Will the SUNWxwddk package
    be updated? Or
    do I have to use the sources from X.org and build my
    own X11 server?
    Thanks for your help.
    Regards, Thomas ThorbergerI'm interested in the answer to this as well. There is a porting kit for XFree86 devices,
    but it is only for Solaris x86. I'm interested in building framebuffers that will work on
    SPARC as well. The only samples I could find harken back to 2.6.
    -- Garrett

  • PCI IRQ=9 for multiple PCI cards.

    With NI's HPIB488 interface, third party ethernet, and acrnet cards installed, all plug and play, all PCI devices, IRQ=9 is always set. We have tried several PC's, Pentium Pro, Pentium II, etc. with Win2000. We must communicate between several different devices. I have seen other comments about IRQ=9 being set, but no final fixes. Has anyone information on how to overcome this problem.

    What motherboard and BIOS are you using?
    I think IRQ 9 is used for ACPI on some motherboards. Check
    to see if "Plug and Play OS" is enabled in your BIOS. If you
    are using Window NT, then it should be set to OFF.
    Aidan Grey
    On Mon, 2 Jun 2003 15:37:07 -0500 (CDT), terry wrote:
    >With NI's HPIB488 interface, third party ethernet, and acrnet cards
    >installed, all plug and play, all PCI devices, IRQ=9 is always set.
    >We have tried several PC's, Pentium Pro, Pentium II, etc. with
    >Win2000. We must communicate between several different devices. I
    >have seen other comments about IRQ=9 being set, but no final fixes.
    >Has anyone information on how to overcome this problem.

  • Identifying SATA drives connected through Seritek PCI card

    Does anyone who has a Seritek or other PCI expansion card to add external SATA drives know of a way to identify which ports are connected to which drives?
    I have a 4-bay external SATA enclosure, and there's no good way to identify which drives are in which bays (short of writing the drive name on the outside of the bay, which I don't want to do since I may well swap out drives). I have the bays numbered, and if I can get those numbers to correspond with the numbers of the 4 ports on the card, I'll have an organised system...
    Will anything in the /dev directory help me?
    Many thanks!
    Matt

    If your card is SiliconImage based (Vendor ID 0x1095) then you'll need to update the drivers.  If you don't know the brand of the card, it doesn't really matter as pretty much any SI based card will work with any brand drivers.Download and install the Sonnet E2P Driver from here http://www.sonnettech.com/support/downloads/software/DSKCD-E2PE342PE_NEW.dmg which should update the SI3132 kext
    Bob's your uncle.  Hope this helps.
    PS otherwise, what vendor ID do you see in the System Profiler?

  • DRIVER needed for SB PCI

    Someone please help.
    Thanks in advance.

    http://us.creative.com/support/downloads/download2.asp?Product=864&dlcentric=843&Product_Na me=Sound+Blaster+PCI+28&OSName=Windows+2000
    Here you are, sir. You have to look for them at www.creative.com next time, as that's what I did! :P

  • Longer antenna for PC60G pci card

    My first post here. I've searched the forum but didn't find an answer.
    I bought this card about 4 months ago and it works great, but I've since had to move the cpu to a room that's farther away on a higher level of my house. The signal from my router is now very weak and my connection often drops out. The cpu is under a desk, next to a solid, chest high balcony railing. When I move the cpu onto the top of the desk and place the antenna on top of the railing, the reception improves quite a bit. I should also mention that I have a Buffalo router which is supposed to have a very good range as far as wifi routers go. I could buy a 2nd one and use it as an access point to extend the signal but I'd rather try the antenna option first since it would be less expensive.
    So my question is, what are the specs of the antenna jack on the card if I wanted to buy an aftermarket antenna? is it 1/4"? I tried looking up the specs of the card but it just says "Dipole". Has anyone with this card upgraded their antenna and which one did you buy?
    Thanks in advance for any advice.

    Sorry to say, but an antenna change won't do much.
    Wireless has enormous trouble to pass walls....it dampens the signal a lot.
    However the dampening is that much that replacing an antenna won't help you here.
    I have tried this, but the results are poor.
    Best way to get better signal is:
    1 Go wired, always the best
    2 Install repeaters, so the signal stays fast, will cost a bit of speed.
    3 Remove all blockings blocking the view between the router and the machine, anything blocking the view will case the signal to go worse.
    http://www.wi-fiplanet.com/tutorials/article.php/1431101
    Quote
    Plasterboard wall 3dB
    Glass wall with metal frame 6dB
    Cinder block wall 4dB
    Office window 3dB
    Metal door 6dB
    Metal door in brick wall 12.4dB
    Beware, 3dB less is HALVE the signal strength!!
    10dB is about no signal at all....
    Decibel scale goes fast! And Wifi is far from the same a FM-radio, Wifi is easily blocked.

Maybe you are looking for

  • Insert data into table from JSP page using Entity Beans(EJB 3.0)

    I want to insert data into a database table from JSP page using Entity Beans(EJB 3.0). 1. I have a table 'FRIENDS', (in Oracle 10g database). 2. It has two columns, 'NAME' and 'CITY'. Both have datatype strings(varchar2). 3. Now from a JSP page, havi

  • Can't send or receive email on e72

    Hi all. For a few weeks now my e72 hasnt been receiving any emails. It's set to do so automatically. Originally I just thought it was just a small delay but almost a month later and still nothing. I have tried to receive manually, send a test email a

  • How do you get your photos in to different photo albums?

    How do you get your photos into different photo albums on a i phone 4

  • Arabic text not displaying correctly in Win Server 2008 R2

    Hi, We have an .mdb database stored on our Windows Server 2008 R2 server but when we view the contents some of the text has strange characters. When we view the same db in Windows Server 2003 we do not have these characters. I'm not sure what exactly

  • Question on repairing permissions

    I have a current problem where every time I restart my MBP (2.6ghz, early 08) the desktop picture goes to a picture I used a few months back. I tried deleting a couple of the preference panes that relate to desktop to no avail. I ended up moving that