Programming AVR microcontrollers with LabVIEW

Hi Folks,
I'm currently trying to program an AVR microcontroller with LabVIEW 7.1 via
the JTAGICE mkII interface. I've got all of the ATMEL literature regarding
the interface, and can get the the device recognised in MAX when used on the
USB bus, but whether USB or RS232 I just cannot get a reply from the JTAG.
Has anyone got any suggestions / links that may help me along with this
project? I know a company sells a programmer with a LabVIEW interface, but
I'd rather not fork out the £700+ if I can avoid it.
All the best
Andy

Hi Andy,
I don't know what you need to do, but I think it might be an initializing problem. Make sure that you have them set as the manual says and that you are initializing the microcontroller properly. Usually it is that you are not wiring correctly or not initializing something the way it should.
I found this link on the internet. They might also be able to help you on this.
KDI
Hope this helps.
Ricardo S.
National Instruments.

Similar Messages

  • I Seek code for programming lego minstorm with labview

    Hi,
    I'am building a car with lego mindstorm for a project and i seek code for programming my car with labview. If you already use labview for programming lego mindstorm, can you send exemples codes for see how the car do for move or turn. please.
    Thanks 

    duplicate post
    duplicate post
    Please try to keep your question to one thread. Otherwise people don't know where to respond. 

  • How to program myRIO processor with LabVIEW?

    Hi,
    I am working on a project using myRIO. Now, I have a labview program and it can run very well on PC, with usb connection to myRIO. What I want to do next is to run this LabVIEW program on myRIO processor, without the PC. How can this be realized? Thanks!
    Even a very simple example of LabVIEW program, such as light up a LED is also helpful, if only it can run independently on the myRIO processor.

    Hello Aoyu,
    Ima chime in since i ran into this problem myself just now lol
    im still noob myself, so bare with my advise =P
    1. The VIs run on which processor? The myRIO processor or the PC processor?
    According to the pic you linked both of those VI are running on your target devise not your pc, at this stage you should be able to open one or both of those VIs on you PC and see what is happeneing in Real Time
    2. If the program run on myRIO processor, why it stops running as soon as I disconnect the USB between myRIO and my PC?
    From what i understand this is happeneing because you have not set a build specificatgion for your particular VI...
    if you right click on Build Specification>Source Files>project Files - add your project file VI by clicking the right arrow to Startup VIs and click build
    now you should see a new file under build specs right click on that and click set as sartup and run at startup and a promt windpow should pop up asking you to reboot
    *** I still dont fully understand this proccess and i might be wrong but maybe someone else can elaborate a little more***
    3. How to run a program on myRIO independent of PC?
    As vague as this question is i think i can shed some light on the subject...
    If you develop a code to run on your PC you most likely will not be able to just drag and drop it to run on your target device...
    if you right click and create a new VI under both "my computer" and your "myRIO" and then right click on both the front pannels of each VI you will notice that some of the options that are available on the front panel of the my computer VI will not be available for the front pannel of the myRIO VI...
    With that said if you have developed your VI for a PC platform, and drag and drop it under your myRIO and open it you will most likely see broken wires and a list of errors =P
    (this happened to me)
    Ill share a link to a thread that helped me out with this problem maybe you can find your answer there =)
    Understanding the platform you are developing for
    I started posting on page 3 about 1/2 way down you should start there and read the next 2 pages... i think there is some good information there that should help you out with this question =)
    GOOD LUCK!

  • How can I program Multi Monitor with Labview?

    I must use more the four  Monitor in my program,one panel at a monitor,How can I programming to decide the panel in difference monitor?
    thanks

    duplicate

  • 6601 configurat​ion instructio​n with LabView

    I have a 6601 card.
    I would like to use it both for encoder readings as well as events up/down counre.
    I am quit confused regarding how to configure the 6601 with the LabView.
    Can anyone give me link to a general instruction of how to configure the 6601 using the LabView 7.0
    Thanks

    Greetings Amnon-g,
    There are actually example programs online and programs that ship with LabVIEW 7.0 that show you how to configure a counter on a NI 6601 for encoder measurements and event counting. The NI 660x devices are not yet supported by NI-DAQmx but you can still use Traditional NI-DAQ to program the 6601.
    If you search for examples in LabVIEW and go to Hardware Input and Output>>Traditional DAQ>>Counters>>NI-TIO you will find all of the examples that will work with the NI 6601 device. For example, the 'Count Edges (NI-TIO) VI' shows you how to configure a counter on the 6601 to count digital edges.
    The example program linked below shows how to configure a counter on the NI 6601 to take encoder measurements.
    NI-TIO: Measuring the Position of an
    Encoder
    http://sine.ni.com/apps/we/niepd_web_display.displ​ay_epd4?p_guid=B45EACE3EDFD56A4E034080020E74861&p_​node=DZ52329
    I hope this helps. Let me know if you have any additional questions.
    Regards,
    Todd D.
    NI Applications Engineer

  • Programming PLDs with LabView 5.01

    Hello
    I have to programm an ALTERA PLD. I have the Input File *.JBC (binary)
    or *.JAM (ASCII). There is an interpreter called JAM-Player
    (http://www.jamisp.com) available. How can I include these programming
    sequence in LabView?
    Has anyone already done this before?
    Is there an other solution to programm an ALTERA PLD with LabView?
    Thanks in advance...
    Martin

    There's a LabVIEW driver (not IVI) available for the E1411A. You can get it here.

  • How can i do with labview program,when i have 20 different values,and 1 want to add it with constant value.and how to get the results?

    how can i do with labview program,when i have   20 different values,and 1 want to add it with constant value.and how to get the results?

    Why do the 20 values have to be different? The same code should work even if some are equal.
    What do you mean by "get the result"? The result is available at the output terminal and all you need is a wire to get it where you need it. That could be an indicator, another operation, or even a hardware device.
    What is the data type of the 20 values? An array? A cluster? A bunch of scalars? A waveform? Dynamic data?
    LabVIEW Champion . Do more with less code and in less time .

  • LABVIEW programming USB communication with TDS2004B scope

    Is there anyone who has already programmed USB communication with Tektronix TDS2004B digital scope in LABVIEW?
    If that is the case, could it be possible to send me a basic vi that works?
    Thanks.
    João.

    National Instruments has a great library of drivers for various instruments. Most of these include programming examples.
    The drivers are searchable at www.ni.com/devzone/idnet
    The driver for your instrument is available here.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • What is the difference in execution time between a program written in C language and the same program made with LabView?

    what is the difference in execution time between a program written in C language and the same program made with LabView?

    Hi Pepe
    You cannot say which is faster, the LV or the C programm. The only way to be sure is to program in both environments and to check than. Check this for some benchmark examples:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/DC9B6DD177D91D6286256C9400733D7F?OpenDocument&node=200059
    Luca
    Regards,
    Luca

  • Using Stellaris LM3S9B95 with Labview

    Hi Everyone
    Can I program LM3S9B95 with Labview?

    If it's supported you would use the Embedded Module for ARM Microcontrollers. You can take a look at the documentation to see which ARM microcontrollers are supported.

  • Programming LPC Microcontrollers - Where to start?

    I've been using AVR microcontrollers and now I want to get into ARM controllers but I've run into a roadblock.
    I used avrdude when I did avr programming but I can't seem to find a similar program for programming ARM controllers.
    I want to use a LPC1113 to start off with but the only programming software I've run across doesn't seem to support it. (lpc21isp)
    What am I overlooking here? Is there even decent programming software available for linux at this time?

    http://www.flashmagictool.com
    I was able to find your device (LPC1113) listed on their page of supported devices.  Unfortunately it's only available for Windows, but I've made it work using Wine before.
    On the other hand, I've never used an ARM device programmer but when I was working with Phillips 8051-core microcontrollers, as it turned out their flash programming protocol was just ASCII-represented hex byte values sent over a serial connection.  In a crunch I was able to program the device using minicom.
    (I hope I understood what you were looking for correctly...)
    Last edited by cmtptr (2010-06-15 23:09:48)

  • How can I create a scene and move 3D models in INSIGHT with Labview?

    Hi!
    I need some help in doing a LabView application. What i have to do is controlling a 3D model represented in Insight with Labview. Something similar like the six-axis-robot example. I follow the insight configuration wizard, but nothing moves. Comparing the ".cis" files in my program and the one from the six-axis-robot, i found that in the six-axis-robot file contains something called localsystem and the one made by me, doesn't. Can be this the problem? How can I make it work? I would need some kind of step-by-step response, because i'am a beginner with Insight and 3D models. Thanks in advance!
    Regards!
    Juan

    Thanks for the advice!
    I'm actually finding the next problem. Although in my VRML file the objects are defined separately in a jerarchy tree, I can't move(rotate, translate) each object individually. I have noticed that when i define a new local system and asign it the points of the object i want move in the way you explain (right click, and then dragging the points to the new local axis), the movement of this object is dependent of the other local systems i have defined for other objects , specially if the slave  nodes of the .cis file has a lower numeration than the object i want to move. The fact is, the movements assigned , for example to the nodes 1 to 100, will affect to the rest of the nodes if i also define for the rest of the nodes other movements. How can i solve this? I send you my .cis file, just in case my explanation is not enough clear. In this file you can see that movements assigned to nodes 1 to 4078, will also affect to nodes 4079 to 7168, and what i would like to do is define a movement for each obeject independently.
    Thanks again!
    Attachments:
    ring.zip ‏2 KB

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • Compile 9076 with LabVIEW 2014 Worked good with 2012 SP1

    An internal software error has occurred. Please contact National Instruments technical support at ni.com/support with the following information:
    Error 7 occurred at Open VI Reference in nirviOpenVIRefByNameOrPath.vi->niFpgaRemapObjsAndListIfUnderXNode.vi->niFpgaRemapObjsHandleXNodeSubErrors.vi->nirviMassageErrorList.vi->niFpgaErrorDialog_ParseErrors.vi->niFpgaErrorDialog_ReadErrorData.vi->niFpgaGenerateCode_ErrorDialog.vi
    Possible reason(s):
    LabVIEW:  File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.
    VI Path: C:\Program Files\National Instruments\LabVIEW 2014\rvi\CodeGenErrorUtilities\Diagram Constant
    All text parsed:
    <CodegenErrorList>
              <CodeGenErr>
                <ErrorCode>-64001</ErrorCode>
                <DynamicText>
                  <TreeLineInfo>
                    <TreeInfo>
                      <TreeID>1</TreeID>
                    </TreeInfo>
                  </TreeLineInfo>
                </DynamicText>
              </CodeGenErr>
              <CodeGenErr>
                <ErrorCode>-64001</ErrorCode>
                <DynamicText>
                  <TreeLineInfo>
                    <TreeInfo>
                      <TreeID>1</TreeID>
                    </TreeInfo>
                  </TreeLineInfo>
                </DynamicText>
              </CodeGenErr>
              <CodeGenErr>

    Hi Nieman,
    You have the right compilers for your FPGA targets, based on KB 609GUVBT.
    Error -64001 indicates that there is an issue with one of the nodes in your VI. Since you are able to compile a blank FPGA VI, then you should try to identify the node that is causing this problem. When trying to pinpoint this node, I’d recommend executing your FPGA VI with simulated I/O on the development machine, as described in KB 3W6EFRLX,
    Also, are you able to reproduce this issue when running one of the LabVIEW Example Finder FPGA VIs that targets your NI 9076? You can find these examples in the Example Finder's  Hardware Input and Output>>CompactRIO section.
    Regards,
    Tunde S.
    Applications Engineer
    National Instruments

  • Is it possible to view VIs remotely on windows 7 if VI was built with LabView 8.2?

    So I know i'm probably dealing with software compatibility issues here, BUT, I wanted to make sure every option was exhausted before considering the idea of upgrades.  
    Im using LabView full development system 8.2 on windows XP 32bit os.  Currently, I run into no issues when controling or building VIs on my computer.  Problems do occur when trying to control VIs on a remote computer with windows 7. That computer has run-time 8.2.1 installed on it.  For the most part it works best to just view the VIs, and not interact or control too much.  More specifically, the VI will freeze once interacting with a control that is intended to pop up a two button dialogue box.  I'm sure there are a lot more issues with using run-time 8.2.1 on a windows 7 computer; that one in particular is just the only one i've experienced.  
    In all efforts to avoid what could eventually be an unavoidable situation where an upgrade is necessary, is there a way to remotely control (on windows 7) a VI front panel that was built with labview 8.2?

    Thank you for the response.  Just to preface, I am fairly new to LabView so pardon my potentially "stupid" questions.  Here's my process in a nut shell:  VI programs are created on our server computer and then published for web with the "web publishing tool...".  The html page created is then put on a main page with all other created VIs and are then viewed on other computers that are part of the network via ip address.  
    I was under the impression the LabView run-time engine enabled remote computers to view and control these VIs.  Could be wrong?  After downloading and installing run-time 8.2.1 (since vi's were created with labview 8.2), those computers are able to enter the ip address and navigate to the main page to control the web published vi's.  The issue is with the computer that has windows 7.  I know run-time 8.2.1 isn't necessarily compatible with windows 7, but it does seem to run the vi on a pretty minimal level.  I run into problems on that computer when hitting particular controls that are wired to be more complex than just a simple boolean.
    Just to provide a visual, I attached an image of one of the scenarios where it will freeze up on the windows 7 computer.  This is how the VI should normally function; however, before the dialogue box even pops up after clicking a valve control, it freezes.  
    I didn't even consider VNC or Remote Desktop up to this point.  Thank you for that idea.  I'll definitely look into that as an alternative.

Maybe you are looking for

  • IPod Shuffle with older iPod Mini

    Hello, My oldest daughter has been using an iPod Mini for quite a while and now has the newest version of iTunes on our computer, with basically no problems. I got my middle daughter an iPod Shuffle for Christmas. My oldest is terrified to hook up th

  • Multiple burns on a disk using Disk Utility??

    Hi, I found these notes about doing multiple burns on a disk (see below and it mentions changing the extention name to .img so that disk utility will give you the make disk appendable option. I understand all that but my question is will this change

  • Merged child project's TOC not appearing in parent project's TOC

    System Information Windows XP Professional, SP2 Windows Explorer 6.0 RoboHelp X5.0.2 Generating RoboHelp HTML Help (.chm) Issue I had the following Help projects: 1. CombinedProductHelp.chm (parent project) 2. ProductHelp.chm (child 1 project) 3. Pro

  • Return sales excise posting

    Dear Excperts, For return sales we are posting the excise JV through J1IH  in additional excise tab with reference to excise invoice.but  when we are seeing the same in J2I9 abstract view the values showing under crdit utilized during the month .but

  • Enhancements in web dynpro

    What is the use of creating UI elements and context dynamically.when we have a option of enhancing the UI elements and nodes and attributes in context.