LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

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
0 Kudos
Message 1 of 11
(9,353 Views)

Hi Albano,

I'm sorry but I think that you can't use Labview to programming USB interface.

In order to use USB you have to use a c node and looking for C API for programming USB interface at Keil support.

 

Something like this

http://www.keil.com/support/man/docs/mcb2400/mcb2400_ex_usbhid_run.htm

D. Beninato
0 Kudos
Message 2 of 11
(9,321 Views)

Hi Daniele.

 

Thanks for your suggestion...You confirm me what I was thinking!

I'll try also to use In line C nodes.

0 Kudos
Message 3 of 11
(9,311 Views)

Good morning,

 

would it be possible to compile a C-Lib out of the Keil example and use this in LV?

 

best regards

0 Kudos
Message 4 of 11
(8,536 Views)

es posible programar un mcb2400 sin el jtag?, ya que en mi pais no se consigue el jatg

0 Kudos
Message 5 of 11
(7,927 Views)

You can copy the template that LabVIEW is using for your micro. there are examples available within the uVision installation for USB (with library)

you can add this to your micro template for labview and make vi's that can use those functions.

 

I've done it with multiple microcontrollers both USB device and host.

Wouter.
"LabVIEW for ARM guru and bug destroyer"
0 Kudos
Message 6 of 11
(7,923 Views)

sorry for my English, I'm from Argentina, but could you post images of how to do it? or to detail the steps?. I am new to this and is very expensive jatg connector. In my country is not available jatg,

0 Kudos
Message 7 of 11
(7,920 Views)

my reply was on the topic title: How to use USB interface with LabVIEW Embedded for ARM.

 

but for the mcb2400 you could build the normal application, and in uVision selecting in the build options to create a hex file.

with tools op NXP (flash magic), you can program the device.

Wouter.
"LabVIEW for ARM guru and bug destroyer"
0 Kudos
Message 8 of 11
(7,917 Views)

SORRY TO BE A LITTLE UPSET, BUT NOT UNDERSTAND HOW YOU TELL ME. ANYWAY THANKS AND GREETINGS FROM ARGENTINASmiley Happy

0 Kudos
Message 9 of 11
(7,913 Views)

@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.

 

createhexfile.png

 

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"
0 Kudos
Message 10 of 11
(7,907 Views)