Is there an easy way to program a PIC16F77 via LabVIEW 7.1 and a DAQ?

I am a student working on a senior design project that requires us to program a PIC16F77.  I have no experience with PIC programming, and was hoping for an easy way to do this in LabVIEW.  If anyone has done this before I would appreciate a few pointers, or maybe even an example program.  Thanks.

Greetings,
I would recommend using an embedded bootloader (protected block) and programming the PIC serially with your application (normal production use).  Use a max232 chip for the TTL to RS232 conversion or alternatively use an Silicon Labs or FTDI usb chip with the virtual serial port drivers (VCP).  Access the PC's serial port from LabView using VISA (numerous examples) to send the hex file.  The bootloader is normally programmed into the microprocessor with a standard programmer (PICStartPlus, ICD2, ICDU40, etc).
I have used the CCS C Compiler for PICs with exceptional results (easy to use, not extremely expensive, numerous examples, library of functions).  Hi-tech also provides a demo of their C compiler with example code posted on Microchip's website.  The protocol and hex file format should be apparent from the bootloader example code (CCS bootloader.h/c loader.c).  The best source of information is Microchip's website.  They provide data sheets, application notes, etc.
Hopefully I haven't mis-interpretted your posting and your goal isn't to emulate a device programmer from LabView.  If I have, my bad.  Microchip has numerous data sheets on the programming spec (voltage levels, bit timing, sample circuits, etc).
Cheers,
JMA_eng

Similar Messages

  • Is there any easy way to send free invoice via email without my credit info

    Is there any easy way to send free invoice via email without my credit info?

    Depends upon what you mean by 'it failed'. If it's that you are getting a message to contact iTunes Support then no, you will have to contact them (the 48 hours should be the maximum time that it takes for them to reply).

  • I am looking to "move out" of my computer and into my wife's, is there an easy way to accomplish this task, keeping all my files and setting up a second user?

    I just bought a new external 3TB hard drive for this task and want to keep my items seperate from hers for both our sanity.
    I figured that I would do a time machine back up and use that to do the move part of things.
    But as to setting up the new user on her computer I am just not sure if I can "tell" the computer to only use the new drive for my stuff and only acces the new drive for all things related to that new profile.
    More then anything else I want to be able to say that all things that are hers have not been touched/acccesed/deleted by any of my actions. And that I am "confined" to the new drive.
    I hope this makes sence.
    Mr Geef

    I have a feeling there are music files in my folders that are not linked to iTunes but can't figure out how to import them without going through all 8800+ files. Is there an easy way to import all the files without losing the current playcounts
    AFIK there isn't an easy way of linking up to a lot of dead tracks and retaining play counts etc, except by finding the dead tracks and repairing each link individually. The only exception to this is if there is a simple error in the path that can be fixed by a search and replace on the xml library file, then rebuilding the library. However it doesn't sound as though that would be a solution for you.
    This MacMuse tip has a way of finding dead tracks if that helps.
    http://discussions.apple.com/thread.jspa?threadID=121967
    It is much simpler to sacrifice the playcount information and just reimport your iTunes Music folder. Then you can eliminate the dead tracks with a script. One of the forum members has written one that you can find here:
    http://home.comcast.net/~teridon73/itunesscripts/

  • Is there an easy way to reinstall my adobe cs6 suite web design and premium

    Is there an easy way to reinstall my adobe cs6 web design and premium

    Download CS6 from Download CS6 products
    Install then enter your CS6 serial number to license it.

  • Is there an easy way to install Windows 7

    I'm using Bootcamp and already have Windows XP install as a second OS. I've pre-ordered Windows 7 several months ago and now I have it in hand and would like to replace Windows XP on my iMac.
    Though I may not use Windows 7 very much (I'm very pleased with my Apple OS), I would still like to install it.
    Is there an easy way to erase the partition that has Windows XP and install Windows 7 instead? How can I do this without touching the Apple OS in fear that I might currupt it in some way?
    Thanking you all in advance,
    Chippathingy

    You should considering using VMware Fusion, Parallels Desktop, or Sun's VirtualBox (which is free). Then, you won't have to dedicate a whole partition to Windows. And Windows will be running alongside Mac OS X, so on those less frequent occasions when you need to use a Windows program, you will not need to restart. Plus you can import your existing Windows XP installation as a virtual machine (I don't know if VirtualBox has an import feature), and have a separate virtual machine for running Windows 7, again with no separate partition; you can even have a virtual machine with one of the Linux'es.

  • Is there an easy way to replace/swap assets?

    I output my short from Avid, ran it through Compressor, and made a DVD in DVD Studio Pro.
    Now I've done some re-cuts and want to create a DVD of the new version, using the DVD Studio Pro file I used for the last DVD. Is there an easy way in DVD Studio Pro to "relink" the new video assets to replace the old ones in the new version? This would save me from rebuilding the main menu button, redesigning navigation, and recreating chapter marks.
    I have found a workaround - Quit DVD Studio Pro, "hide" the old assets in a folder, and then direct DVD Studio Pro to the new assets when it asks where the old assets are located. But I wonder if there is an easier way to do this from inside the program.
    Thanks very much for any advice!
    I am using DVD Studio Pro version 4.2.1

    Eric, thanks for chiming in.
    I assume you mean replace the old ones with the new ones on the Finder level?
    Well, part of my goal is to avoid destroying, re-naming, or moving the old assets.

  • Is there an easy way to batch rename existing images in a folder?

    Hi,
    I discovered that I had accidentally imported several folders with the wrong filename prefix. I use the first three letters so it corresponds to the camera I shot it with, the program I exported it from, or the person who sent it to me. The last source, essentially.
    Is there an easy way I am not seeing in LR to rename all the images in a shoot without having to reimport them?
    Thanks,
    Chris

    Hightlight all of the images in the folder, press F2, and set up a renaming preset to your taste, and then apply it. Note that the preset mechanism is the same one used at import.

  • HT204053 can I purchase from two different stores ie store in New Zealand and Store in Australia and  how do I sync updates on applications?  Do I have to switch ID's in my settings each time or is there an easier way.

    can I purchase from two different stores ie store in New Zealand and Store in Australia and  how do I sync updates on applications purchased from either store?  Do I have to switch ID's in my settings each time or is there an easier way.  The trouble is I set up my appleid in new Zealand and so all icloud and itunes and app stores are under New Zealand Apple ID I have since moved to Australia. Im a real beginner at this stuff so bare with me pse.

    I'm in the same boat as you -- except that I manage both a school lab (volunteer job) and macs in the enterprise (pay job).  What I think we need is the Education Volume Purchasing Program
    http://www.apple.com/education/volume-purchase-program/faq.html
    Unfortunately this all seems a little rough around the edges -- for example, I have found updates for AppStore apps on the support.apple.com updates download site, but then when I install them via ARD they don't actually update the software.  (The AppStore icons still show as needing the updates, and the version info reports the old version.)  The documentation is also vague about which AppleID to use in which circumstance.  I think they just haven't finished thinking through the implications of the various procedures and policies upon the various kinds of customers.  When we deployed Mountain Lion on the school lab, we made an install usb and went around and installed it on each computer -- and it appears that you are on the honor system as far as paying for all of the licenses that you install.  We did!  But they appear to have no way to enforce it.
    So far, I have only deployed 9 Lion macs in my day job, and our "solution" to the AppStore showing updates problem has been to drag the AppStore icon off of the users' docks so they don't see them!

  • Is there an easier way to load a MIDI file in Logic8?

    Please, does anyone know how to import a MIDI file into Logic 8 withouthaving to manually reset all the instruments and sounds for each track? I have recently switched to a mac and want to perform along with the MIDI back-tracks I always use, but I don't know how to get Logic to do this w/o spending gobs of time assigning SW instruments for each track in every file (!!). Is there an easier way, or perhaps a better program to do this with? On my PC I can use a GM MIDI player that does this automatically. These are professionally made MIDI files with all program and channel settings built in.
    Thanks.

    Just use "import" & the sw insts' will load and assign accordingly, automatically.
    But oddly, there are times when importing a SMF w/imbedded prgm changes, that LP8 loads a completely wrong instrument to a specific track(s).
    One reason that I've kept only one of my trustworthy external midi modules (Roland XV5080), specifically for just importing SMFs'. When the XV is in GM mode, any standard midi files I import to LP8... always load pgm changes correctly 100% of the time.

  • Is there an easy way to make JSpinner wrap around at max/min values?

    I have several pages with a couple dozen JSpinners to set various values - mostly numeric, but some are not.
    I would like to make them wrap around when either the max or min values are reached.
    Is there an easy way to do this?
    I was hoping for something like an "enableWraparound" property, but I haven't found such an animal.
    I suspect I could add value change listeners to all the components and do it by brute force,
    but there are too many spinners scattered around to make that an option I would like to take.
    Any suggestions?
    Thanks.

    Ok, it looks like custom spinner models are the way to go.
    Hopefully, I can create a couple that are generic enough to meet my requirements without too much pain.
    It looks like the ones I have already created will be easy enough to modify.
    Thanks for the feedback.

  • Is there an easy way to clear the contents of Download Folder?

    Is there an easier way to clear out files (send to trash) from the downloads folder, other than dragging one by one? The downloads folder closes immediately upon dragging one file out.

    You do not need to invoke Finder to do this. Create a new empty Automator workflow and use the "Run Shell Script" option. Paste in the following....
    mv ~/Downloads/* ~/.Trash
    You can then save the workflow as an application, attach it as a Finder action or add it to the scripts menu, whichever you like better.
    If you would like to bypass the Trash and just completely delete the Downloads folder contents immediately, then paste in this command:
    rm -rf ~/Downloads/*

  • HT1660 is there an easy way to delete the whole itunes library and and start again. I notice there is only an add file/folder button but no remove facility

    I recently upgraded to the iphone 5 and managed to sort the transition out with little trouble but noticed when I tried to put my music on that Itunes has messed with album info and either it or me has generated several copies of the same albums over the years and it makes it quite dificult to sort it all out before reloading on the phone. To stop the chaos I had hoped to clear the library and start again but cant find a way to do it. I was hoping to sort all my music out in original files and consolidate them into a proper folder. HOw do I do this. I notice there is an add fole and folder button but no take away??? is there an easy way?

    Use Shift > View > Show Exact Duplicate Items as this is normally a more useful selection. You need to manually select all but one of each group to remove. If you have multiple references to the same files then don't send to the recycle bin. Use my DeDuper script if you don't want to do it by hand. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • Is there an easy way to reimport all songs in my itunes folder?

    This may sound like a weird question but here goes... When I bring up my iTunes I have 8731 files (mostly music) that come to about 41.33G's but when I right click on my iTunes Music folder and select properties there are 8809 files and a total of 48.5G's. I am trying to free up some disk space and can't figure out why there is such a difference. I had issues with Norton 360 and removed it but I had to restore my music files from an external drive and when I did so I lost the links for music that I added after my last back-up. I noticed that TV shows I bought from Apple were not in my iTunes but I was able to locate them in the folder, and import them back into iTunes. I have a feeling there are music files in my folders that are not linked to iTunes but can't figure out how to import them without going through all 8800+ files. Is there an easy way to import all the files without losing the current playcounts or a way to figure out which files may be duplicated in my iTunes Music folder. Seems like I am wasting 7G somewhere that I would like to recover. I already went through the duplicate songs and that didn't help. Any suggestions would be great...
    hp pc m260n   Windows XP   media center

    I have a feeling there are music files in my folders that are not linked to iTunes but can't figure out how to import them without going through all 8800+ files. Is there an easy way to import all the files without losing the current playcounts
    AFIK there isn't an easy way of linking up to a lot of dead tracks and retaining play counts etc, except by finding the dead tracks and repairing each link individually. The only exception to this is if there is a simple error in the path that can be fixed by a search and replace on the xml library file, then rebuilding the library. However it doesn't sound as though that would be a solution for you.
    This MacMuse tip has a way of finding dead tracks if that helps.
    http://discussions.apple.com/thread.jspa?threadID=121967
    It is much simpler to sacrifice the playcount information and just reimport your iTunes Music folder. Then you can eliminate the dead tracks with a script. One of the forum members has written one that you can find here:
    http://home.comcast.net/~teridon73/itunesscripts/

  • Is there an easy way to filter a 2-d array based on the values of two of the fields?

    Is there an easy way to filter a 2-d array based on the values of one of the fields. In my attached VI the output array has the following format:
    TimeStamp        Ident                Frame Type          Bytes    Data
    10:57:07.621   3AD00016   CAN Data Frame   8          0000000000000000
    10:57:07.622   3AD00017   CAN Data Frame   8          000005E000000000
    10:57:07.624   3AD00018   CAN Data Frame   8          0000000003300000
    10:57:07.625   2DC00000   CAN Data Frame   8          0000000000000000
    10:57:07.626   3AD00019   CAN Data Frame    4         0000030000000000
    I would like to delete any rows that do not have an "Ident" between the values of 3AD00000 and 3AD0001E. So for the above data the fourth row would be deleted. The only way I can see to do it is to form a 1-d array. Is there a better approach?
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    CMM_SN_MULTI.vi ‏20 KB

    Hi chuck72352,
    after you have sorted your data, you can use the InRange Function. Combined with a "search 1D Array" you'll get the range you really want.
    Mike
    Attachments:
    ArraySubset.PNG ‏25 KB

  • Is there an EASY way to submit podcasts to the itunes store? i've tried creating podcasts in garageband, then somewhere after wordpress  itunes  doesn't recognize the feed. my process has been (i am open to suggestions for other free and EASY services/me

    is there an EASY way to submit podcasts to the itunes store? i've tried creating podcasts in garageband, then somewhere after wordpress  itunes  doesn't recognize the feed.
    my process has been (i am open to suggestions for other free and EASY services/methods):
    garageband : create & edit audio. add 1400x1400 image.
    share to itunes.
    drag file to desktop.
    upload .m4a file to google drive.
    create a link post in wordpress using "podcast" tag & create "podcast" category.
    click on "entries rss" in wordpress, which takes me to the rss subscribe page (which is basically just my wordpress address with "/feed" at the end.
    i copy this url.
    go to itunes store > then "submit a podcast"
    itunes gives me the error message "we had difficulty downloading episodes from your feed."
    when i try to subscribe to my podcast in itunes, it does, but gives me no episodes available.
    i went back into wordpress and changed settings/ reading settings to : "full text" from "summary"
    still the same error message.
    i added a feedburner step after wordpress but got the same errors. i don't think i should have to add feedburner.
    wordpress seems to be encapsulating the rss, what am i doing wrong?
    this so much easier when you could go directly from garage band to iweb to mobileme; i miss those apple days (also idisk).

    if anyone has a super EASY process, i would LOVE to know what it is. EASY, meaning no html and also free. there are many free online storage systems available, many of which i currently use. the above process was just me trying to figure it out, if you have an easier method, please share. thank you so much!

Maybe you are looking for

  • Why doesn't this insert into XMLTYPE work?

    Hi again. Hopefully I'll be answering questions soon, but meanwhile I've got another one. I'm working in this environment... Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production The encoding for the database is WE8ISO8859P1. i

  • Music is greyed out on iPod touch, it reads as empty, but files are still there?

    Hi all, I have a 32g iPod Touch that has never had a problem thus far. Yesterday, I connected it as usual and went to play a song from the iPod via iTunes. The song played perfectly fine. I had the iPod on shuffle, and after that song was over, it we

  • Search not working in WebHelp

    I have a project containing hundreds of table definitions, for each I have created a separate topic. For example one such table is FR_STAN_RAW_BOOK and I have created a topic of the same name. The topic is in the TOC and indexed but when I try and se

  • Easiest speedup--more RAM, or faster HD?

    I recently got a stock 2GHz C2D Macbook--80 GB 5400 RPM HD and 1 GB memory. If you could only upgrade one, which would see a better speed boost: up the memory (to 1.5 GB using unmatched RAM), or install a 7200 RPM HD (remain at 80 GB)? 95% of the tim

  • Can I sync my iphone with 2 different Itunes Library without erasing data?

    Hello,. I would like to know if its possible to sync my iphone with two different Itunes library without data from first itunes library getting deleted when sync with second itunes library, (I mean, at least the music and videos) Thanks!