How to use USB interface with LabVIEW Embedded for ARM

Hi everybody.
I am developing an application based on the "LabVIEW Embedded for
ARM". Now I am doing various tests using
the evaluation board 2300 (with NXP LPC2378), but soon I will
dedicate to program the micro used in my project (NXP
LPC2148).
During the tests, I have seen that "default" LabVIEW interface allows the use
of CAN, I2C and SPI interfaces of the micro. I want to know how can I also use the
USB interface that is on the micros -both LPC2148 and LPC2378- (pin USB_D + / D-, USB_UP_LED,
USB_CONNECT, VBUS).
Thanks in advance for your suggestions

@chueco85
If you've created an application in LabVIEW for ARM and you build it.
you can go to tools >> ARM Module >> Show Keil uVision
then go to he build options.
the hex file will be created when you do a build.
with flash magic :http://www.flashmagictool.com/
you can program your device.
Wouter.
"LabVIEW for ARM guru and bug destroyer"

Similar Messages

  • How can I use USB interface in Labview?

    Hi.
    Does labview allow to USB interface?
    I have been seen allowing GPIB and RS232.
    I'm beginer at Labview and wanna use USB interface for my target system and pc.
    I wanna know how to labview interfaces from target system to pc.
    And if Labview doesn't provide USB interface module, how can I use USB?
    Is using a USB at Labview hard to beginer?
    Plz, answer to my quetion.
    sorry, my English is very poor.
    thx for reading my article.

    You can access devices connected to the USB port, but not in the same way as you would a GPIB or RS232 device. There are no USB drivers like there is VISA for GPIB or serial. Rather devices that plug into the USB appear to the systen as some sort of standard resource like a printer, disk drive or IO board. LabVIEW then interacts with these devices as it would any other device of the same type.Look at it this way, if you have a USB daq device you will access it through MAX the same as if it were a plugin card. Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Can I use USB 6008 with LabVIEW 6.1 RT?

    Hi there,
    I've been using LabVIEW 6.1 RT for my applications and so far I haven't felt the need to upgrade.
    However, I decided to try the USB 6008 and I'm learning the hard way that this device will only work with NI-DAQmx and apparently not with the latest NI-DAQ 7.4.2 (legacy)  In fact, I can't see the device in MAX 4.1
    Is there any way I can use the USB 6008 with my 6.1 RT version of LabVIEW ?  or should I send the thing back to NI ?
    I will appreciate your guidance on this issue.
    Thanks a lot,
    at

    Hi at -
    Allisso is right.  There is no way to use the USB-6008 with LV 6.1, because neither of its drivers (DAQmx and DAQmxBase) support that version of LV.  You'll have to either upgrade to a current version of LV or work with another device.  I recommend contacting your sales rep at NI for help.
    David Staab, CLA
    Staff Systems Engineer
    National Instruments

  • How to use tree tables with CRUD operation for begineers ADF 11g

    This is Friday night call for help.
    This is only few sample ressources on the web for tree table and only one with CRUD operation.
    I used this one http://jobinesh.blogspot.com/2010/05/crud-operations-on-tree-table.html because this is the only one that address CRUD.
    And it is shaky. Deletion works fine but insertion not very well. This is working using custom code provided below.
    Depending if the user selection in the tree, the code insert from the master node to the children node.
    Any other options because it is not working well.
    Also where Oracle describes how to use the row, rowset, itorator API? This is really hard to understand like almost if we should not use it.
    then if not how can I insert in tree with two nodes and insert in the parent or children depending the users selection.
    Lately I 'been posting questions on this forum with no response. This hurts. I understand developers cannot spend their time on this but People from Oracle, please help. We pay licenses...
    public void createChildren(RowIterator ri, Key selectedNodeKey) {
    final String deptViewDefName = "model.DepartmentsView";
    final String empViewDefName = "model.EmployeesView";
    if (ri != null && selectedNodeKey != null) {
    Row last = ri.last();
    Key lastRowKey = last.getKey();
    // if the select row is not the last row in the row iterator...
    Row[] found = ri.findByKey(selectedNodeKey, 1);
    if (found != null && found.length == 1) {
    Row foundRow = found[0];
    String nodeDefname =
    foundRow.getStructureDef().getDefFullName();
    if (nodeDefname.equals(deptViewDefName)) {
    RowSet parents =
    (RowSet)foundRow.getAttribute("EmployeesView");
    Row childrow = parents.createRow();
    parents.insertRow(childrow);
    } else {
    RowSet parents =
    (RowSet)foundRow.getAttribute("EmployeesView");
    Row childrow = parents.createRow();
    childrow.setAttribute("DepartmentId",
    foundRow.getAttribute("DepartmentId"));
    parents.insertRow(childrow);
    } else {
    System.out.println("Node not Found for " + selectedNodeKey);
    }

    I am looking for a sample that describe how to design a jsf page with a tree table.
    So you have Department and employees. In the tree first comes Department and if you click the node you see the employees assigned to this department.
    I need to be able to insert a new department or a new employee from the tree table by clicking on a insert button in the panel collection toolbar depending on user selection in the tree.
    I got part of it working but not good enough.
    By problem is the get insertion working
    I have a createChildren method in my AM implementation that get in input a RowIterator and selected node key.
    To goal is to create new records depending of the user selection and the input parameters get populated by the binding like this:
    #{backing_treeSampleBean.selectedNodeRowIterator} #{backing_TreeSampleBean.selectedNodeRowkey} via method binding with parameters.
    Is it the right approach?
    First to be able to insert a parent record, I select nothing in the tree and ri and selectedNodeKey comes to null
    we run this code
    ViewObjectImpl vo = getSchHolidaySchedExceptionsView1();
    //ViewObjectImpl vo = getDepartmentsView1();
    Row foundRow = vo.first();
    Row childrow = vo.createRow();
    vo.insertRow(childrow);
    A new blank entry appears in the parent node and we enter a value.
    The the problem starts when we want to add a child to this parent.
    We select the created parent and press the insert button, this code get executed
    if (nodeDefname.equals(deptViewDefName))
    //list of the children of the parent and create an new row
    RowSet childRows = (RowSet)foundRow.getAttribute("SchHolidayExceptionDatesView");
    Row childrow = childRows.createRow();
    childRows.insertRow(childrow);
    But the new entry does not appear, it is almost like it would be created for a different parent because this is a mandatory field that is not feel in yet and the interface complaints of a missing value. It is created somewhere just not a the right place... This is my guess.
    Do you see something wrong with the code?
    The full code og my create children method is there below
    I am using jdeveloper 11.1.1.3.0 any issues with tree table to know about with this version?
    Thanks for your help
    public void createChildren(RowIterator ri, Key selectedNodeKey) {
    final String deptViewDefName = "com.bcferries.app.pdfroutesched.model.SchHolidaySchedExceptionsView";
    final String empViewDefName = "com.bcferries.app.pdfroutesched.model.SchHolidayExceptionDatesView";
    if (ri != null && selectedNodeKey != null) {
    // last row
    Row last = ri.last();
    Key lastRowKey = last.getKey();
    // if the select row is not the last row in the row iterator...
    Row[] found = ri.findByKey(selectedNodeKey, 1);
    if (found != null && found.length == 1) {
    // foundRow is the row selected
    Row foundRow = found[0];
    // The row selected can be the parent node or the child node
    String nodeDefname = foundRow.getStructureDef().getDefFullName();
    // if parent row
    if (nodeDefname.equals(deptViewDefName))
    //list of the children of the parent and create an new row
    //works but we try to resolve the creation of a parent
    RowSet childRows = (RowSet)foundRow.getAttribute("SchHolidayExceptionDatesView");
    Row childrow = childRows.createRow();
    //childrow.setAttribute("HolidayDate", new java.util.Date().getDate());
    System.out.println("insert child row from master");
    childRows.insertRow(childrow);
    } else
    //RowSet ParentRow = (RowSet)foundRow.getAttribute("SchHolidaySchedExceptionsView");
    //RowSet childRows = (RowSet)ParentRow.first().getAttribute("SchHolidayExceptionDatesView");
    Row childrow = ri.createRow();
    System.out.println("insert child row from child ");
    } else {
    System.out.println("Node not Found for " + selectedNodeKey);
    } else {
    System.out.println(" param null try creating for first row : " +
    ri + " * " + selectedNodeKey);
    ViewObjectImpl vo = getSchHolidaySchedExceptionsView1();
    Row foundRow = vo.first();
    Row childrow = vo.createRow();
    vo.insertRow(childrow);
    }

  • How to use the iTrip with dock connector for iPod 5th gen. video

    I bought the new iTrip with dock connector for my iPod video 5th gen. and I followed exactly the instructions but I cannot hear any music on the radio. Has anyone experienced the same problem or the contrary has anyone managed to make it work. Thanks for your help.
    Inaha
    iMac 4   Mac OS X (10.3.9)   iPod 5th gen video

    I got the answer from someone else and it works.

  • Calling C libraries in labview embedded for ARM

    Hello,
          I wish to use the library
    functions written by Luminary micro for their cortex-m3
    controllers. If i wish to use these libraries written in C language in
    Labview, what i should do? There are large number of libraries 
    available in their websites, if used in labview embedded, would be very helpfull and make programming very easy. If any one has implemented these libraries
    in labview please write to me. 
    Nabhiraj

    You can use the Call Library Function node.
    study here and here
    Start your work. Post if you stuck up anywhere. People here will help you a lot.
    All the Best.
    Mathan
    Message Edited by mathan on 04-02-2009 02:52 AM

  • How to use Crossbow Xmesh WSN LabVIEW drivers for downstream communication with motes

    Hello,
    I am trying to use LabVIEW Crossbow Xmesh WSN  driver for downstreaming commands but driver programs are not working.
    I am interested in changing node (Iris mote with MDA300 board) update rate from LabVIEW program running on host PC .
           I have  used  Set node update rate.vi  with  open stream.vi and start stream.vi  in proper sequence and developed a program to change node update rate. When program is run no error is shown but node update rate is not changed.
          Pl suggest what I should I do.
    What is the function of  WSN write VIs (WSN write Raw 1sensor1point). For what type of message this is used. 
    I  want to actuate relay on MDA300 with mote id 2. What VIs (from driver ) I have to use and how to issue command related to it.
    Incase any one can help I will be grateful
    Roop 

    Hi Arjun,
    I am sending you snap shot of VI developed to change node update rate.and also the heirarchy of drivers  VIs used in the program for  better understanding .
    In case you can figure out why the command  message send  is unable to communicate with mote .
    Also for downstream communication with motes the packet format used is described in Moteworks user manual from MiMSic.com
    I think the developer of these drivers can help you  out in solving my problem.
    Thanks
     Roop
    Attachments:
    sreenshot to arjun ni for checking downstream comm.doc ‏288 KB

  • How to use matlab function with labview?

    Hello,
    I just want to use some matlab functions like floor(),ones()... in my labview code, who can tell me how to do it?
     I want to only install MCR in my PC, so MATLAB script node can not work because it need matlab installed. 
    Thanks
    Solved!
    Go to Solution.

    floor() exists on the standard labview pallet already and the ones() function would be fairly simple to reproduce. If you only need a few basic functions repost asking for direction on recreating those specific methods. However, you're right - there is not a direct way to use compiled matlab code in labview without full matlab and the math script nodes. If you're really desparate to reuse some some exisiting IP there are C++ alternatives that implement many of the same methods and syntax as matlab (http://arma.sourceforge.net/faq.html). I'm fairly sure there are other tools that attempt to translate matlab code into pure c functions, both of which can be called via a DLL from within labview: https://decibel.ni.com/content/docs/DOC-9076
    Alternatively, here is an all NI linear algebra solution: http://sine.ni.com/nips/cds/view/p/lang/en/nid/210525

  • Using USB-6259 with LABVIEW 8.0

    Hello,
    I currently have Labview 8.0 and am trying to use the USB-6259 DAQ device.  When trying to install the device I am told that the driver cannot be found.  I have looked through the knowledge base, forums, and reference this document: Device Drivers
    I have downloaded DAQ-MX 8.8 has shown by the previous link, but that version of DAQ-MX does not support Labview 8.0.  I am hoping someone knows a way I can make my version of Labview and this device work together.
    Thank you in advance...

    This is the document you are looking for:
    NI-DAQ & LabVIEW Version Compatibility (for Windows)
    And, you will find the drivers over here:
    Drivers and Updates
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • How to use old TC with new TC for storage only?

    Bought a 2TB TC and I still have my older 1 TB. Is their any way to use the older time capsule as a hard drive only and have that TC backed up along with my iMac on the new TC?

    Basically the answer to this is NO!!
    You can set it up but not the way you are thinking.
    The TC is now and forevermore a network drive. You can therefore bridge the TC and plug it into your network. The obvious place being your new TC. You can also turn off the wireless in the old TC.. it is now a network accessible hard disk.
    But Time Machine has a huge limitation.. it cannot backup network drives. So your TC cannot be backed up with your  iMac to the new TC. Not by Time Machine. You can buy a different backup software.. eg CCC is excellent and use that.
    Overall the TC is slower and less reliable than a USB drive plugged straight into your iMac.. especially if the iMac is newer type with USB3 ports.
    And the USB drive is local and so it can be backed up by Time Machine. (Must have HFS+ format and be included in the backup).

  • Warner/superior electric's SS2000PCi motion controller interfacing with LabVIEW 6i

    Sir,
    In our application, we are controlling the movement of X-Y arm on the X-Y table. For this we are using superior electric products:
    (a) Slo-Syn SS2000PCi Programmable Step Motor Controller
    (b) MD808 Motor Drive
    We are using two such controllers and motor drives to drive two 2 Amps Sanyo Denki Stepper motors: one each along X-axis and Y-axis. Along with the arm movement a data acquisition also has to be carried out. So, the motion control and Data Acquisition has to be synchronized by means of software. The problem now is to program the controller. Though MCPI Version 4.41 is there, we want to program the controller in LabVIEW 6i so that we can synch
    ronize both motion control and Data Acquisition.There is no driver which is compatible to LabVIEW 6i.
    Is there any 32-bit DLLs for this controller? If any one has these dll's please let me know. My E-mail ID: [email protected]
    So that i can call these DLLs in LabVIEW 6i and program it.Or else send me at least the detailed low level command sets of the controller in pdf format so that i can develop our own drivers.
    Regards,
    Nagendra

    Nagendra,
    Unfortunately, I was unable to find any helpful resources for you based on a cursory web search. I recommend that you contact the manufacturer of the hardware and ask them if they have a driver (DLL) that you can use to interface with LabVIEW.
    Good luck with your application, and have a good day.
    Sincerely,
    Darren N.
    NI Applications Engineer
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • I have a roboteq hdc 2450 and want connect to labview but have no idea how to do so. I have the drivers that came with it will it work to interface with labview?

    I have a roboteq hdc 2450 and want connect to labview but have no idea how to do so. I have the drivers that came with it will it work to interface with labview?

    You can create your control code in LabVIEW and then use a Call Library Function Node to communicate with your roboteq DLL.  The first thing to do though, is check to see if Roboteq offers LabVIEW drivers.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

  • Can i download google map and then interface with labview?

    i intend to interface labview with google map and indicate my required position on it.i need help on how to accomplish this?can i download google map and then interface with labview?

    Hi,
         The Example avalable on following link (C:\Program Files\National Instruments\LabVIEW 2009\examples\comm\axevent.llb\ActiveX Event Callback for IE.vi) on your PC, and using of Googlr map API u can indicate your position.document are avalable on following link (http://code.google.com/apis/maps/documentation/staticmaps/)
    I hope this is help for u..
    Siva
    Sivaraj M.S
    CLD

  • Interface with LabView

    I am a very new to LabView--
    We are developing a board to interface with LabView devices- (ideally, the board would have a GPIB connector).  We would like to use LabView to simulate various conditions on the Interface board by controlling switching (board MOSFETs) and then use a GPIB controlled multimeter to read voltages coming out of the Interface Board). 
    Since the Interface Board we are working on does not have an "address", is it possible to use LabView to communicate with it (send output signals to the board and read signals from it)?  What is often done to have LabView controlled devices communicate with external circuitry ?
    Thanks,
    Alex  

    Alex00 wrote:
    What would be an advantage of an interface controller (such as 4823) over a DAQ card (such as PCI-6013)?  If we only need about 6-8 inputs (Digital I/O) and maybe about 6 Analog outputs, wouldnt the 6013 be sufficient to interface with our PCBA?
    In your original post, you indicated that a GPIB interface would be ideal. ICS Electronics makes various models of controllers that provide a GPIB SCPI command interface to digital and or analog I/O. This controller can be placed inside the instrument rather than inside a PC and would use GPIB to connect (as you requested).
    I have personal experience with the 4823, which can be used to control/monitor TTL devices on a byte-wise basis. Since you have digital and analog requirements, you could look at the ICS 4807 DAQ board. It may not have enough analog outputs though...
    The only reason I originally responded was your GPIB requirement.
    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

  • I currently have a PC with Windows Outlook.  If I add an iPad to the mix, how does the iPad interface with Windows Outlook?

    I currently have a PC with Windows Outlook.  If I add an iPad to the mix, how does the iPad interface with Windows Outlook?

    Isn't Outlook simply an email client or a software application on a computer? You can add an email account - whatever email provider that you use - right on the iPad. You can sync your Outlook contacts and calendar if that is what you are asking about, but Outlook itself has nothing to do with the iPad.
    Message was edited by: Demo

Maybe you are looking for