Should I use an existing usb driver or should I create my own?

We are developing a custom piece of hardware that uses a TI6250 chip to provide an USB communication channel. I read through the web reference http://zone.ni.com/devzone/conceptd.nsf/webmain/67​92BAB18242082786256DD7006B6416?opendocument that seems to imply that I don't want to use any existing drivers but I need to create my own using the wizard.
I'm new to USB so I'm trying to get started off right so any advice for a novice would be appreciated.
Thanks,
Brad

What the wizard creates is a .inf file that contains manufacturer id, model number, etc. that defines the USB device that you want to talk to. On your custom board, you have to implement these settings in eeprom/flash. The TI chip driver tells your board pnly how to manage USB communication. You would also need to implement a means to interpret commands received into the hardware functions that are on your board. For example, if the text "RST" is received, intrepret that as a reset and set board level registers to do that. The LabVIEW driver would include a Reset VI. This VI would do a VISA Write with the text "RST". So what we're talking about is actually several different levels of drivers and code - VISA, the .inf file, the embedded code on your custom board, and LabVIEW VIs.

Similar Messages

  • How can I use a existing USB Driver in NI VISA 3.0

    Hello,
    we have an ftdi USB driver for our measurement device.
    The FTD2XX.sys is registred in C:\WINNT\system32\drivers
    Also I have a FTD2XX.dll and an FTD2XX.inf file.
    But I don´t know how can I register them in NI LabView or VISA.
    Have I to do a new *.inf file for VISA?
    Thank you
    Cedric

    You can either use the manufacturer-supplied driver or NI-VISA to control your USB device but not both. If you have installed your device, each time you plug it in the FTD2XX.inf will associate your device with FTD2XX.sys. Then, you can use FTD2XX.dll to talk to your device using the call library function node. The DLL usually contains a whole bunch of useful functions that someone else already designed to talk to your device. This is the easier route and I would recommend it if you already have the DLL and the installed driver.
    The second method would be to uninstall or disable the driver for your device and create an .inf file with NI-VISA Driver development wiazard. This .inf file will tell Windows to use VISA as your device driver. You will, however need the vendor and product ID of the device to use VISA as your driver. The details of this are outlined in the NI document "Using VISA 3.0 to control your USB device."
    The drawback of this method is that VISA is just an API to talk to your device and you have to implement the communication protocol to talk to your device. This might take some time to do.
    This is why I recommend the first method. Someone else already implemented the driver for your and you just have to use the functions from the dll to implement your application.
    Hope this helps.

  • I replaced the battery on my RAID card, when I booted my mac pro up, I get the folder with the question mark. I used a boot USB drive to boot and when I looked in the RAID utility, my RAID 5 volumes were no longer showing, advise.

    I replaced the battery on my RAID card, when I booted my mac pro up, I get the folder with the question mark. I used a boot USB drive to boot and when I looked in the RAID utility, my RAID 5 volumes were no longer showing, advise.
    Ernest

    Not sure if I'm following you. I have 4 hard drives installed on my Mac Pro. I had a RAID 5 configured and functional for about 5 months. My battery died on the RAID card. I replaced the battery, seated the RAID card back in the slot I removed it from. When I booted to the USB drive to look in the RAID utility, I could see the battery is charged but my volumes are not showing.
    The drives don't show in disk Utility. I built the RAID with the RAID Utility and they did show there. I have a early 2008 Mac Pro, Mavricks OS running Mac Server

  • "Your bootable USB drive could not be created" "Boot Camp only supports 64-bit Windows installation on this platform. Please use an ISO file for 64-bit Windows installation."

    I try to install windows7 system on my macbook air, which version is 10.8.5. When I open the bootcamp, it let me to choose a windows ISO image, which I've already downloaded from this website: http://www.w7forums.com/threads/official-windows-7-sp1-iso-image-downloads.12325 /, it also asked me to select a USB drive, which is kingston that has 8GB. Then when I clicked "continue", it said that "Your bootable USB drive could not be created" "Boot Camp only supports 64-bit Windows installation on this platform. Please use an ISO file for 64-bit Windows installation." But actually the ISO image I downloaded is 64-bit windows7. I don't know why this would happen. Could someone help me please!!

    Thanks for your feedbakc Kiranjj!
    I identified the reason to be that the W8 installation file didn't download completely from a Mac OS-device. I downloaded from another Win-device and the moved the installation file with a USB-stick and then everything worked diectly! But thanks anyway.

  • BootCamp Assistant Error : Your bootable USB drive could not be created. "An error occurred while formatting the disk."

    I have a Windows 7 Ultimate .iso file saved onto a "Mac OS Extended (Journal)" formatted USB flash drive. I am trying to install it with BootCamp Assistant and I keep getting the error message : Your bootable USB drive could not be created. "An error occurred while formatting the disk."
    I have previously installed Windows 7 on my Mac (and it worked flawlessly - same .iso file), but I uninstalled it because I didn't partition enough space on my hard drive. I have used several flash drive to try and install and none have worked.
    Some help would be greatly appreciated.

    The Boot Camp forum is located here: https://discussions.apple.com/community/windows_software/boot_camp
    The Boot Camp Guides are located here: http://www.apple.com/support/bootcamp/

  • Your bootable usb drive could not be created

    I tried to install windows 10 by using boot camp assistant. i copied window 10 iso to my usb 2 drive . during the usb formatting the error message came.
    "your bootable usb drive could not be created"- an error accrued during formatting
    How can i solve this & formatting usb
    Thanks
    Arun

    I'm on an earlier version of DU, but highlight the ISO or open it in DU & highlight it, click on the Restore tab, darag the ISO to the Source Box, & the USB drive to the Destination box.
    Occasionally you have to rename the .iso to .dmg for it to work.

  • New Firewire 800 External Hard Drive and how to use old External USB Drive

    Hi All,
    I have a new LaCie d2 Quadra Hard Disk hard drive 500 GB - FireWire / FireWire 800 / Hi-Speed USB / eSATA-300 on the way, when it arrives I plan to use it as my Time Machine Backup drive with the FireWire 800 connection. I am currently using a Seagate Free Agent USB 2.0 320 GB external drive as my Time Machine disk. The reason for upgrading is the USB drive is slow slow slow! I am not concerned about the data on my old drive and will just wipe it clean using Disk Utility. What I would like to do is use the old drive to archive iTunes 7.7.1 and Aperture 2.0 music and photographs. Can someone give me an idea how to go about doing this?
    Thanks!

    Hi, yes that will copy the whole iTunes..including everything in iTunes..BUT, as you add to your iTunes on the Main HD, with the ext HD I think you will have to manually update anything added. Or dragNdrop the whole thing again.. You could also locate you iTunes music Library & just copy that across..With images once again find your iPhoto library & just copy that across..L

  • How can I use an external USB drive on my Macmini with Boot Camp and Lion/Windows 7?

    I have a MacMini (Last model with a disk drive). The Mini has Lion and Windows 7 installed using Boot Camp. I want to attach a 350GB, USB, HP Personal Storage Device (Hard Drive) to the computer and be able to use it in both Lion and Windows 7 mode. The USB drive is formatted for Windows 7. I only want to use it for storage and back-up purposes for both operating systems. It would be nice if I could access the total disk from either system without having to reboot to change operating systems to view Windows 7 files and reboot again to view Lion files. Can anyone offer any guidance or any informational websites to help me? Thank you for any help!!

    Yes, you’ll be able to do that.
    (116841)

  • Bootcamp wants to use my whole USB drive

    Hi all,
    strange one here. A few months ago I used Bootcamp to install windows 7 without any issues. I've had to format the partation and am having to go through the process again.
    The issue i'm having is when creating a Bootable USB Drive it only shows 1 Destination Disk (even though this USB drive is partitioned into 5 seperate drives). I was able to get the Boot Camp Assistant to view all the seperate drives before but I cannot remember how I did this (high chance it was luck).
    Does anyone know why it is doing this and what I can do to make it see the partitions as I don't want to have to format a 320Gb usb drive just to install windows.
    Thanks

    A disk with five partitions can't be used for Boot Camp. Disk Utility hides some partisions so chances are you really have six or more partitions. Use the Terminal and type this command:
    diskutil list
    That will show the true number of partitions on the drives. A maximum of four partitions, including the one that will be used for Windows, is allowed if you want to use Boot Camp Assistant. Otherwise you'll need to look at 3rd party software, and off hand I don't know for sure if any of the trio capable of resizing both HFSJ and NTFS will work on a disk with more than 4 partitions either. Those being: iPartition, Winclone, and Camptune.
    GPT fdisk, a.k.a. gdisk, is free open source software, and it can create the necessary hybrid partition scheme, albeit it'll be even more non-standard than Apple's variety so you may run into problems down the road that I can't predict. Frequent backups are the way to mitigate that. Gdisk will let you add specific GPT partitions into the hybrid MBR, whereas Apple always does it 1:1, GPT partition 1 is mapped to MBR partition 1, GPT 2 goes to MBR 2, and so on. And MBR can only hold 4 entries. So as soon as you have a fifth entry, Apple's tools won't create a hybrid MBR.
    gdisk, however, is a command line only program. It has an interactive mode so it's not totally obscure but it's not everyone's cup of tea.

  • Kernel task when using Firewire external usb drive

    Hi, I'm using an external 320GB Iomega USB drive that has both usb and firewire cable sockets. When i connect the drive with the firewire cable to my mac (MacBook Pro) the CPU usage increases. Specifically, kernel_task usage goes up and stays constant in around 3% and sometimes it goes higher and stays high for longer periods.
    Does anyone knows why this occurs and how to avoid a kernel_task CPU usage increase?
    Greetings,
    C.

    It's probably Spotlight Indexing the external drive, if you don't want this to happen open System Preferences/Spotlight, click the Privacy Tab then drag the external drive icon from your Desktop into that box.

  • Non-existent usb drives

        Hi, I've just picked up an IdeaCentre K230 with Vista (64). I didn't see any direct forums for this model, but I have a good idea this is a Vista problem more than a Lenovo prolem.
        Since first boot I've seen several usb drives in "My Computer" that quite simply don't exist. These drives all disappear when I select one and choose the "Safely remove" option. This is pretty much just an annoyance, but I'd like to remove them anyway. Any information as to why these would show up, and how to remove them would be greatly appreciated.
    Solved!
    Go to Solution.

    Do you have a memory card reader? Sometimes they show up that way.
    T60 2623-D7U, 3 GB Ram. Dual boot XP and Linux Mint.
    T400 2765-T7U Windows 7
    Registered Linux User #160145
    FYI: I am not employed by Lenovo

  • Can I Use Bus-Powered USB Drive

    Hi.
    I have a La Cie ("All Terrain") USB hard drive that I normally connect directly to my G5 Quad's USB ports. It draws its power off the bus.
    However, I'd like to use it with my Airport Extreme as a network-shared drive. Does anyone know with certainty whether the AE can supply the necessary power to the USB drive, or will I have to get a separate Transformer/Adapter for this USB drive. Also, am I taking any chances on harming the AE if I give it a try?

    I have a WD Passport 250GB USB powered drive that works fine. I use it to stream video to my iMac. I also have a WD MyBook 1TB w/ external power that works fine for storage but is too slow for streaming.

  • How do I make a backup recovery using my portable usb drive?

    I have an 8gb usb flash drive, and I tried to backup my system onto it, and couldn't. It said "Please insert a usb flash greater than 7.6gb". So I inserted another portable usb drive that had over 180gb of free space, and it still keeps repeating the same message even though the drive clearly has more than 7.6gb on it, it has 180gb. So how do I correct the problem so that I can backup my recovery system? My laptop is brand new, I just bought it a few days ago, I haven't even had it a week.  Here is the computer stats
    Toshiba Satellite L455D-S5976
    OP: Windows 7 Home Premium 32-bit
    AMD Sempron SI-42
    2GB DDR2 RAM, 250GB HDD

    Duplicating your post on the same Category won't help you much and it makes it difficult by
    keeping track.
    The problem you are having is related to the fact that your USB Drive format is FAT or FAT 32.
    This type of format doesn't allow for a single file to be greater than 2GB and 4GB respectively,
    and the single backup file you are trying to copy is greater than that so it doesn't allow it.
    What you can do is format your USB Drive to be NTFS, which has no limit on what size a file can be
    except the size of capacity the USB can store, but I'm not sure that's a good idea because of
    the disadvantages of the format.
    Also you can burn it to DVD's, which is recommended, or buy an external Hard Drive.
    When you insert the USB go to My Computer and left click on the USB icon and go to properties
    and there you will see what format it is.

  • Using reader and usb drive

    I need to put reader on a usb drive so that the user when he inserts the usb drive sees teh opening pdf file in my application.
    how do i do that?
    i know what i need for the autorun.inf file as far as structure but not sure what to put on for reader

    You need to ask in the Reader forum

  • HT1386 I replaced my iPad and now don't see the iPad backup in iTunes.  Any advice?  Should I use my latest iPhone backup or will that create problems?

    I swapped out my broken iPad for a new one, and went to sync in iTunes and only see my iPhone backups.  Should I use those to back it up (most of the apps are the same across both, and same with the email, calendar, and contacts settings).  Will that create problems if I use the same backup for two devices?  Thanks!

    No it will not create problems but if the iPad that you got is running an iOS less than what you are running on the iPhone, you will have to update the iPad first, before you can restore from the phone backup. You can't use the backup of a newer iOS on a device running an older iOS without updating the device first.

Maybe you are looking for

  • After upgrading to 27, firefox will not start. Try every idea online for 4 hr. Nothing worked. Downgraded to 26

    I have the same problem as https://support.mozilla.org/he/questions/985552#question-reply I have tried everything i could find online. uninstall and re-install. tried even full uninstall, giving up my profile data (i back it up in chrome). Nothing wo

  • NFC on nokia N8?

    I update my nokia n8 to symbian anna but theres no NFC,but when i update my nokia C7 theres an NFC,how can i get the NFC on my nokia N8?pls help...

  • How can I Export the Image file into Oracle Table

    <tt> Hi Folks, I have one requirement with me, but i can't able to find the solution for that, so kindly any one give a suggestion for my requirement. Let me explain my requirement in detail.. I have one table called SIGN this table contain customer

  • WDA: OVS dynamically

    Hello, I have a need to create F4 help for dynamically created input field. I created component usage by name OVS. When I dynamically create an input field I have to also create a context attribute. Than bind this context attribute to my input field.

  • Related to FR url unavailable

    Hi, I restarted services and now working fine but any idea which log file it stores failure of FR web component so that i can fix it permanently. What logs are related to FR? Regards kumar