Program PIC Controller Using Labview

Dear Team
      I have created an application using LABview, in which i'm testing an Electronic Hardware before and after programming the Microcontroller available in the hardware.I've almost completed the project expect the auto programming Of Microcontroller using LABview.
 I have to use PIC2kit or PIC3kit to fuse the c code.It would be helpfull ,if i get any support or clarification in the above mentioned auto programming using labview.
My Client requirement is to call the pic2 standalone application used for programming PIC controller Via LABview and program it..Let me know if there is any possibility.. 
Solved!
Go to Solution.

You could use System Exec.vi to run your standalone application.
Beginner? Try LabVIEW Basics
Sharing bits of code? Try Snippets or LAVA Code Capture Tool
Have you tried Quick Drop?, Visit QD Community.

Similar Messages

  • "Not Enough Memory" Error when programming Keithley 2400 using LabView 6i

    I'm trying to use LabView 6i drivers to control a keithley 2400 via GPIB interface. Most of the drivers work fine but the high level operations such as a the sweep functions or even functions that perform a single measurement gives a "Not enough memory" driver error. What doesn't have enough memory? A single measurement can't overload the PC's or Keithley's memory buffer so why am I getting the error?
    Thanks for any help you can offer...
    Evan

    Evan,
    That's not a LabVIEW, GPIB, or NI-VISA error code - that error is generated by the instrument driver. I went ahead and downloaded this driver from keithley.com to take a look at this Perform DC VI.vi function's source. But unfortunately, the heart of the Perform DC VI function is a "Call Library Node" call to a keithley DLL, so that is a black box. Also, no c-source included that I could find, so I could not look at that either. And since I don't have a Keithley 2400 to play with, that brings me to the end of the rope on my system.
    A couple of more things you could try, however, since you actually have the instrument.
    (1) Definately build a simple VI to eliminate other aspects of your program. In this case, the most simple
    VI would be an Init, Perform DC VI.vi, and then a close. Make sure this simple program reproduces the error. If it doesn't, then the problem is likely introduced in your code, not the driver.
    (2) If #1 reproduces the problem, then check that you have all the driver pre-requisites correct (ie, that NI-VISA is installed, that the GPIB board is working properly, etc).
    (3) If #1 and #2 do not result in any discoveries, then you will have to enter the black box of that DLL. Primary method to do that, to be honest, is to contact Keithley and ask for help, since they developed the driver. Second method is to use our NI-SPY utility, which can capture all calls to VISA drivers, (since this is a VXIpnp driver, it should be fundamentally using VISA within the DLL). Within NI-SPY, you will be able to see the individual function calls, and which ones are returning errors. That may help point in the right direction.
    Regards,
    Greg Caesar
    National Instruments
    Applications Engineer

  • How to control Arcus Technology's PMX 2 ED motion controller using labVIEW

    Please guide me, for controlling the PMX 2 ED using labVIEW.
    http://www.arcus-technology.com/pmx-2ed-sa.php?osCsid=4cc1dd9c238572468a87a72d16d7fd93
    Please let me know if any one has used labVIEW for this before.
    Thank you. 

    Well, I don't have the instrument or the drivers so can you provide some details into this VI that they provided? Perhaps if you upload it  (assuming the license agreement for the software allows you to do so).

  • How to control esp 301 motion controller using labview

    Hi Everybody,
    I am new to Labview. I am trying to connect ESP 301 motion controller from Newport to the labview and control it. But I couldn't find the drivers for it online. How can I connct it and using.
    I am planning to use it with USB connection.
    Could some one please help me in this regard.
    Solved!
    Go to Solution.

    Hello Thomas
    there are existing facilities:
    · Two turntables XY driven by stepper motors 10 microns
    · Central ESP301 command to the decks
    · Central control and data acquisition: Unit PXI
    I want to do the next step
    · Control of stepper motors to perform scans on a large scale wafers two or four inches with a very good resolution of up to 10 .mu.m
    · Programming the ESP unit 301 microstepping mode by dividing the initial step to make scans on small areas at a resolution of up to 1 .mu.m;

  • Can I control PIC programmer using LabVIEW

    Can I program a PIC microcontroller entirely in Labview Environment using a commercial PIC Programmer?
    Could everyone give me any advices? Thank you

    Here is a link to another post asking the same questions.
    Here

  • How use an ESP motion controller to drive an actuator by using Labview program?

    Our group bought a Universal Motion Conroller/Driver from Newport company and
    its model is ESP 300. Right now, I am going to use it remotely and I want
    to use Labview to compile the driving program. My thought is to move an
    actuator step by step in x-axis and the length of step moving is 2cm.
    After moving 40cm on x-axis from the beginning to the end, I will move the
    actuator one step on y-axis. Then I moving from the beginning to the end
    on x-axis again. I wonder whether somebody has such a labview program
    or not. Or, has anybody other sample Labview programs for the
    controller to control the moving? Can you provide them to me?
    Thanks a lot.
    Huili Wang

    Hello,
    There are several examples written in LabVIEW to do what you are trying to do but they will only work with National Instruments motion controllers, as they use driver specific VIs. In order to use your controller with LabVIEW you'll need a shared library of some sort. Once you have this library you can program your controller in LabVIEW by making function calls referencing to its shared library. See built-in LabVIEW examples for 'Using External Code'.
    I hope this helps. Let me know if you decide to go with one of National Instruments motion controllers instead and need help finding those examples I was referencing above.
    Best regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • How to open program developed using labview 8.2 in labview 7.1?

    Dear friends,
             I need to open program developed by using  labview 8.2 in labview 7.1.help me in this regard?

    In order to open it up, you have to backsave it to 7.1. You would need to first save it to 8.0 and 8.0 can save it as a 7.1 file. Attach your VI and ask if someone can do it for you if you don't have the intermediate version.

  • Using LabView to trade in the Futures markets.

    Hello
    I am retired and trade stocks and futures contracts using the TCP read/write
    vi's in LabView and the Interactive Broker's API interface .
    Anybody doing the same that would like to exchange ideas? I appear to be
    the only one on the IB programming forum that uses LabView.
    Everyone else seems to use C++, VB, or Java.
    Poor guys, they don't know what they're missing.
    Leno

    Hi Togos,
    Can you tell us more about what you are trying to do. This question can be read many ways from an IB API question to just wanting to know about the Event Structure.
    If you just want to know how to handle events from the TWS, then you would process those events using an event structure. You might want to take a look at this video about design patterns. There is also a great developer zone here.
    Joe Daily
    National Instruments
    Applications Engineer
    may the G be with you ....

  • How to use Labview to input some DOS command

    Dear everyone,
    This is the first time I program external device using Labview. You may come up the solution for me in 2 seconds, but it took me more than 20 hrs and still not success.
    My question is I need to control a 68HC11 device. It seems like I need to use DOS to upload a *.S19 file before I am able to talk with the device. Is there any way, I can upload the S19 file and some setting using Labview instead to go to DOS? I try to use DOS to upload S19 file and do setting FIRST and then use Labview to input command, but it doesn't success.
    Please help!!
    Thanks
    Attachments:
    PROGRAM.txt ‏2 KB
    BM_11.DOC ‏20 KB

    It seems you are using zterm from the commandline to communicate to a serial device (this is not DOS per se, you are just using a DOS window to start the zterm program).
    You should be able to duplicate all that in LabVIEW by communicating directly with the serial port. Are you sure you have to program your module every time?
    Apparently, F9 initiates some file transfer. Do you know what standard it uses (e.g. xmodem, zmodem, etc.)? LabVIEW does not incoroprate serial transfer utilities, but there might be utilities available elsewhere (see this note).
    There should also be no problem uploading the code using zterm, then later
    communicate with the device using LabVIEW by sending commands to the serial port. What do you mean exactly by "but it doesn't success". How are you communicating? What kind of errors are you getting?
    LabVIEW Champion . Do more with less code and in less time .

  • Can I use LabVIEW to program a Galil controller​, such as the DMC 740?

    Can I use LabVIEW to program a Galil controller, such as the DMC 740?  need a driver.

    vmagui,
    I don't know a Galil DMC-740. Do you mean the Galil DMC-1740? In this case you are talking about an ISA bus board and it might be hard to find a PC that provides ISA bus slots and enough power to run an up to date LabVIEW version.
    In general LabVIEW is an open platform, so if Galil provides a LabVIEW library or at least a well documented DLL you should be able to use their boards in LabVIEW. You should contact Galil for this information.
    If you are really talking about an ISA board you should consider an upgrade to a newer bus technology like PCI. NI also provides a whole range of high quality motion control products that are at least comparable to Galil boards (http://www.ni.com/motion). A good LabVIEW integration for these devices is self-evident and they integrate easily with other NI products like multifunction data acquisition boards, machine vision products and bus interfaces.
    Kind regards,
    Jochen Klier
    National Instruments
    Message Edited by Jochen on 07-22-2008 04:37 PM

  • Support for Microchip uC PIC 12F609/615 using Labview Platform

    Dear Sir,
    Does Labview Support PIC Processor Programming?
    If yes, which add on Module supports it, kindly give the details.
    Manohar Patil.

    Please try posting here http://forums.ni.com/t5/LabVIEW-Embedded/bd-p/420
    and check this if its helpful http://forums.ni.com/t5/LabVIEW/Program-PIC18F-mic​rocontroller-with-LabView/td-p/1317141
    Sorry i don't have any idea about uc using labview.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • How do I establish serial communicat​ion using LabView to two stepper motors using a motor controller​?

    I currently use an off the shelf motor controller to run my two stepper motors. It already has integrated a firmware software that sends commands to operate each motor. I would like to create an interface where I can send these commands using LabView. If someone can point me in the right direction I would appreciate it.

    Look at the examples for the serial VISA vi.  Something like Basic serial write and read.vi is a good starting point.
    Have you searched for a LabVIEW driver  at the NI LV driver network?   Asked the vendor?
    If you write your own driver with the serial VISA vis remember to open and configure the port only once at the beginning and close it at the end of your program. 
    Message Edited by Henrik Volkers on 07-13-2009 04:21 PM
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Program LPC2378 with code generated by LabView ARM embedded, without using LabView

    I would like to use the C files that are originally generated in LabVIEW ARM embedded module, and use Keil software (or other lower cost) to load these files into custom boards with LPC2378 controller without LabView.  Are there detailed instuctions for this?  I am using version 8.6 and the ARM embedded module is 1.1.  
    My reason for this task is boards are being made in a maufacturing facility oversees, and they need to be programmed at their end. 
    I read a forum describing the use of  hex files, but not enough detail for me to figure this out.
    Thanks in advance.

    Hey Bob,
    What you're looking to do should be possible. You'll just need to build the application in LabVIEW, then you should be able to use the uVisions command line to deploy the system. As for the C code itself, it gets generated when you build your build specification and you should see it placed in the same directory as your labview project in a folder named the name of your project. For example, if your project were called My ARM Project, you'll see a folder called "My ARM Project" created/updated whenever you build the build specification in that project and it will contain the C Code. To see the code organized logically, after building your build specification, right-click on the ARM target and select "Show Keil uVision". This will open a uVision window in "LabVIEW mode" and you'll be able to see all of the C files associated with you application; your VI specific code will be under a folder titled "VIs". You could also just open the C code files from disk in uVision, which is what you'll need to do if LabVIEW isn't installed. The main LabVIEW project can be found in the built directory described above as the LabVIEW.uvproj file in the "target"/Application/"uvision version"/Project directory. For example my main file was built in MyProject\EK_LM3S8962\Application\4.01\Project. From there, you'll need to follow uVision's process for compiling and deploying the target code from their command line:
    Command Line
    http://www.keil.com/support/man/docs/uv4/uv4_comma​ndline.htm
    Hope this helps!
    --Ryan_S

  • Help Using Labview to control Kikusui power supply with a PIA4850 controller

    HI I need some help using Labview to control 4 Kikusui power supplies. We have a PIA4850 Kikusui power supply controller. I can use the visa test panel and see the PIA4850 but can see any of the power supplies. I have very limited use of Labview and only wrote a couple programs using GPIB. The PIA4850 is a USB controller and can control up to 32 PS. I can get it to work with a Excel demo software that came with the controllers so I know that it is working. Any help will be appreciated. I am using LabView 8.2 and have updated to the Ni-DAQ 9.0. I have a program that I need to incorporate the PIA4850 into once I figure out how to operate it. Thanks in advance.

    HI and thanks for the help. I did get one power supply to work but have another problem. I need to control 4 power supplies at the same time and can only operate the one that is addressed N5!C1. If I set the other to N6!C1 and so on I get an error stating
     “Error -1074135008 occurred at ki4800_2 Configure Voltage Level.vi Possible reason(s):IVI Error in the method "get_Item" in the component "Kikusui4800". E_IVI_UNKNOWN_CHANNEL_NAME: Unknown channel name (N6!C1)”
      I am assuming that I should be able to change the node number and that will change the supply that I need to use. Everything works great if I use N5!C1 I can change any of the supplies to address 5 and can control it with no problem. I can even have multiple supplies with the same address N5!C1 (don’t think I should do that) and change them all at once. I need independent control of each supply.
      I am in a pinch here and need to figure it out but could use some help. Any ideas will be greatly appreciated.
      Thanks
    GBlair
    Attachments:
    KIKUSUI PS.llb ‏179 KB
    Kikusui Ps Controller.JPG ‏63 KB

  • How do I use a xbox360 controller in labview 7?

    So I've just been given a project in my research lab..
    We have to control a gantry arm using labview.  The gantry control is already completely written out in labview using a datasocket server.  However, I've never worked with Labview before.  All I know is that it takes in a number as a velocity and it moves the arm according to that velocity.  What I have to do is use the xbox 360 controller to input that number (a velocity), as well as calibrate it.  If possible, using the mangitude of the joystick angle to input a different velocity.
    How would I go about doing this?  I hav einstalled all the necessary software to talk to the controller, but I don't know how to set it up in Labview.
    Also, Windows XP sees it as a game controller, if that makes any difference.
    Message Edited by ShadowGray on 08-13-2008 10:56 AM

    You cannot connect those two nodes directly because they're different datatypes, as the message indicates. The axis info contains 8 elements. Thus, you have to pick the one that applies to you and unbundle it from the cluster. For example:
    To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.
    Message Edited by smercurio_fc on 08-13-2008 01:08 PM
    Attachments:
    Example_VI_BD.png ‏1 KB

Maybe you are looking for

  • Oracle 10g on Fedora Core 5

    Is there a pre-packaged version of Fedora Core 5 which includes Oracle 10g for Linux? This way, all you have to do is select Install Oracle 10g and it includes any special packages for installing Oracle 10g. Plus, after installation, it automatically

  • Oracle Workflow contract - Jamaica

    June 7 2004 Our client is a major bank in Jamaica and they have a contract requirement for a Oracle Workflow consultant with the following skills. This is a 6 months contract. It would be 3 weeks/month in Jamaica and 1 week back home. All expenses in

  • Bundle discount expired, modem/router problems, etc.

    I just received our bill and bundle discount has expired, resulting in a nearly $100 increase on a bill that was already $150 a month.  Our modem/router has not been working correctly and we called about it and they insisted that they just do a "rese

  • SAP EHP5 Cash Journal Problem

    Hi All We have upgraded our system to EHP 5 and now while trying to post Customer receipts in Cash Journal FBCJ when user is trying to make an entry with business area system gives the below message Account has been changed Should all account assignm

  • Cannot Install Flash - MAC

    Hi I have a Mac, running OS X Mavericks, and I cannot install the latest Adobe Flash software. I have followed all the guidelines, including uninstalling and attempting to reinstall Flash, each with no progress. The installer downloads fine and insta