Programming Atmel 8051 in LABVIEW

Hello

My application requires programming at89s8252 microcontroller atmel which integrated RS232 interface spi for the acquisition of data of wind and tilt sensor.

How can I program microcontrollers in genral in labview?

Any help will be greatly appricieated.

Love Jay

E-mail:[email protected]

1. If your mcu has a bootloader, you can send the data through UART and program the chip.

2. the program you use to program the chip, probably have dll that you can use (which seems to be the solution that is difficult for me)

3 APR Studio (to APR) has support for the programming of the command line. Your Maydbe, has something similar. (it is an easy way, I think).

I tried something similar for a few days, but have not had time to move forward.

Keep us in the loop, if to accomplise, you manage your task.

Tags: NI Software

Similar Questions

  • I need to convert programs written in Labview 8.5 in Labview 2012 when I want to run these programs in 2012 of Labview VI?

    I have VI moreover written in Labview 8.5. These programs can work well in labview 8.5.  Should I convert these programs VI Labview 2012 when I want to run these programs in 2012 of Labview? Thank you.

    LabVIEW 2012 can open the screw of from 6.0.  But if you save them in 2012, you need to perform a "save for precedent" to get back them to 8.5.

    This resource may be useful:http://www.ni.com/white-paper/8387/en

  • What should I do when I can communicate with my instrument NI MAX through other programs, but not of LabVIEW?

    Hi all, this is a question that I had a few times before in one form or another.

    I use a Boxcar Integrator (245 SRS is the interface) for my experience. I connect to it via GPIB using my Agilent GPIB/USB interface. My program runs in LabVIEW, and I used it successfully in the (very recent) past.

    However, sometimes if I get LabVIEW or something, some weird stuff starts past trying to connect to it. For example, after the LV exit and go back to the top and any attempt to run my program, it throws the error:

    Error 1073807339 has occurred in the CITATION read in OR_Boxcar_ReadAnalogPort3.vi-> OR_Boxcar_SimpleTest.vi

    Possible reasons:

    VISA: (Hex 0xBFFF0015) timeout expired before the operation is complete.

    Which essentially means that he cannot connect for some reason or another (don't worry, I'm on the right GPIB address).

    So I go to equivalent NI MAX or Agilent (Keysight connection Expert), proceed to part communication from VISA to either and manually, connect with the machine. And it works! If clear my computer is communicating with the machine at this point, but not of LabVIEW.

    This could be the cause, and what I might try? Thank you!

    Oh shit, I forgot about it! I solved the problem, it was actually a 'me' problem is not a problem of LV. Even my solution would not be to help someone else who finds it. I was trying to read from my instrument, but it is in synchronous mode, so it generates an error if you try to read her when a data point has not been loaded in its buffer. I did something unusual, so it was not a point of data loaded into its buffer.

  • program import Java in Labview

    I have an equation of the standard deviation (7th order differential equation) calculaiton written in Java and I wanted to use this program in Labview. Anyone can suggest how to do it plse. I'm not familiar with Java me.

    Hi SINANGA,

    I'm sure that we can help, however I copy and paste your message in the forum of LabVIEW for a faster response.

    http://forums.NI.com/NI/Board?Board.ID=170

    I hope this helps!

    Chad Erickson

    Switches Product Support Engineer

    NOR - USA

  • Programming USB stick using LabVIEW

    Hi, I want to read the names of files in the USB that I inserted into my usb port using LABVIEW. Can someone tell me how to write a program VI for that? Thank you!

    Just use the file from the list (or recursive list of files). No different than a list of files of any other player.

  • Create a unique standalone program that requires no Labview

    Literally, I spent all day following the tutorials on how to generate a new installer from the directory of projects

    I watched several videos and read all the comments in the forum that I could find

    I generated an executable file

    But now I have a list of vi which are not included

    I'm sure that these were in the project file

    Any advice on how to proceed would be greatly appreciated

    errors are a long list of sup of VI that he can't find

    But the program works in LabView

    I have included an attachment

    I'm a newbie at this and man is this frustrating

    I think what Daikataro said, it's your problem
    to check this open your main vi non-project (not from within the project)
    then use the toolbar menu to create the new project and continue to make the stand alone project
    and check if it solves your problem

  • Windows 7 Error reporting is when running a program generated with BT LabVIEW 7.1!

    To dear Labviewer

    Once back in the year I had generated a program with - Labview 7.1.

    Now, I am informed that the LV 7.1 version is not supported by Windows 7.

    Now when I try to run the program generated by Labview 7.1.  in windows 7, I get error of communication via the serial port.

    Is there somehow something I can do to get this working. Is there any time the delivery of engines OR for Windows 7. ?

    Please feed back if someone was to help information.

    4-star...

    You have installed a newer version of the NI-VISA run-time engine that is compatible with Windows 7?

    The most recent Web site NEITHER seems to be the version 5.0.3.

    http://Joule.NI.com/nidu/CDs/view/p/ID/2257/lang/en

  • Program PIC controller with Labview

    Dear team

    To use a PicKit2, you will need to download the "PK2CMD V1.20 PICkit 2 Command Line Interface" available on the website of Microchip in order to use the sysexec.vi as shown above.

    http://www.microchip.com/Stellent/idcplg?IdcService=SS_GET_PAGE&nodeID=1406&dDocName=en023805

    Then you use a command such as "pk2cmd.exe PPIC18F4431 FIP087V1_00.hex/m" programming your telephone.

    In the zip file, there is a readme file which explains in detail the options available for programming.

  • programming of microcontroller using LabVIEW



  • Is it possible to program the processor MyRIO outside LabView?

    I am writing an operating system for AVR32 and I like to wear ARM Cortex to measure differences in performance etc. How can I program a MyRIO outside labview?

    Hi aan928,

    It is possible to program one myRIO outside of LabVIEW, and to do this using C or C++, you can use the tool on the following link:

    http://www.NI.com/download/LabVIEW-Real-time-module-2014/4846/en/

    I hope this helps!

    Cody

  • smartphone with labview programming

    is it possible to run programs that I've written in labview on a smartphone? (iphone/android/new windows 8?)

    is it possible to program a smartphone with labview?

    Your questions were asked before several times. Please search before asking a question to see if it has already been covered or partially answered.

    With regard to your questions:

    NO.

    and

    Laughing out loud

    The LabVIEW Embedded Module has been designed to work with Windows Mobile, but not Windows phone (what Mobile has been transformed in). Several ideas exist in the exchange of ideas of LabVIEW in this regard. OR (supposedly) works on them, but have not announced anything. In the meantime you can try to use something like this:https://decibel.ni.com/content/docs/DOC-19387 or this: http://sine.ni.com/nips/cds/view/p/lang/en/nid/210042

  • Program LabVIEW will hang between 33% and 50% of the time.

    I have a problem with a Labview program, I did. I have two programs that do the same thing. One is as a flat sequence, and the other is in the form of State machine.

    As explained in the link below, I would like to use a microcontroller to perform wiring for automation of a measurement process. A separate current source and volt meter will be used.

    https://forums.NI.com/T5/LabVIEW/sequence-a-good-idea/TD-p/2601333

    I did some simple test programs that I join since then. The problem is when running, that the labview program crashes, but not all the time is to run the program.

    For example: Hall 1.2.vi will correctly work twice with the third time, he is executed, it crashes. If Cancel you and try again, it will run again twice without any problem with the third hanging. It is in the flat sequence format (was in a flat sequence, but merged windows because I thought that was the cause). From what I can tell, the program crashes when calling Keithley 6517 unique Read.vi. Two connected Keithley devices are connected to the computer via GPIB to 16 and 27. The way I checked if it was this vi the cause or contributed to what I deleted the program never hung and it. I find it very strange that it crashes exactly on the third attempt every time.

    Simple.VI Hall 1.3 will work the first time and hang the second time. If it works 50% of the time. It is in the format of State Machine. It hangs in the case entitled "Measurement 1" that contains the Keithley 6517 unique Read.vi.

    I used the running highlight button and watched the program to run. Curiously, it only crashes when you use this button. So I tried to add some delays/waiting in different places without success.

    This could be the cause? As a side note, I say that the program is suspended for two reasons. The principal is the program does not run so the execution arrow is always black. The second thing is that if you notice at the end of the labview program, I have a block he who turns to the power source which does not happen when it crashes. I have to turn it off manually, and then click the abort program button to stop labview.


  • Can control LabVIEW, another program or emulate the keys on the keyboard?

    Hi all!

    I have an ultrasound machine (it's Windows XP based, so treat it like a normal PC), which records an image whenever I press Ctrl + S. What I try (which I don't know if that's possible), it's that for labview simulate the next step:

    1 button, press Ctrl + s to save the image

    2 LabVIEW access the folder where the image is saved and rename the file in image1.img

    3. Select the program by ultrasonic inspection and press Ctrl + S again

    4 Labview, navigate to the folder and rename the file in image2.img

    5 switch back... and on and so forth.

    I think when you rename the file is very feasible to my memory (no have not used LabVIEW in a long time), but I don't know if the keys Ctrl + S, and switching between programs is feasible with LabVIEW.

    Thank you all so much for your support! Enjoy it!

    You can send keys using the Windows API. Looking around it has developed several times. Search for sendkey or similar. Regarding the name change, use the move feature in the file IO. Regarding activation of the window, even once, you must use the Windows API. You can get a bunch of utilities here.

    EDIT: Another method is to use a utility like AutoItautomation. It has an ActiveX interface that can be called from LabVIEW. I showed examples of using this, looking for so if you are interested.

  • Error Code HDL with CRio RFP generation after update for LabView 2012

    Hello everyone,

    I use a CRio DP Comsoft master/slave module for my communication with a PLC system. The application worked perfectly under LabView 2011. After the update to LabView2012, I got an error message that the HDL Code generation failed. After that I've updated also the Software NI Profibus CRio in Version 1.3, but this n ' t´t solve the problem. The next step was to use the example of project code "CS_cRIO-PB_DP-MasterExample" which was delivered with the new NI CRio Profibus software. Even with this code example, the problem still exists. For detailed information on the configuration and the error message please refer to the screenshot. Any help or idea would be appreciated.

    Jürgen

    Hi Jürgen,

    I looked inside and could reproduce this error. Somehow the compiler with LV 2012 has problems with the coded 8.5.1 Subvi LV. Please use the attached VI and copy it to the following location. (\\Program Files\National Instruments\LabVIEW 2012\vi.lib\addons\Comsoft.lib\cRIO PB)

    Before do you it please close your LabVIEW.

    Then try to compile again.

    Let me know if it still does not. We are currently working on a new installer that will correct this problem.

    DirkW

  • model matching program

    Hello

    I created a program that pattern matching on a video. I want the program to open a template to use for the corresponding model model and allow the user to select a model from an image in Labview and then use this model as the corresponding model model. I have the code that does all that. The part that allows you to select a model in Labview is a sample program that comes with Labview. I don't know how to integrate it. Thank you.


Maybe you are looking for