LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add elemental I/O to KEIL MCB2300?

Solved!
Go to solution

Hello,

 

I searched the help file of LabVIEW Embedded for adding elemental I/O.

But i didn't succeed in adding I/O.

EIODevice llb doesn't recognize the device MCB2300 or MCB2300G or MCB2370 or with a dash in between when i even want to view data.

For example i wanted to view pins.

Does anyone know how to add any elemental I/O to this paricular device?

Because there are more digital inputs and analog inputs available on the device but not in the evaluation kit in LabVIEW.

I am a novice in these kind of things. Fool proof answers are appreciated.

 

 

With kind regards,

 

Zahier

Message Edited by Zahier on 10-07-2008 08:53 AM
0 Kudos
Message 1 of 6
(9,137 Views)
Solution
Accepted by topic author Zahier

Hi Zahier,

 

It's true that the default I/O you can use and view are the ones broken out by the evaluation board.  If you're wanting to see all possible I/O points from the processor (including the ones not broken out by the evaluation board), then this is the process:

 

1) Create an ARM Project.  Instead of selecting MCB2300, select Other as the Target Type.
2) Select your processor (Philips NXP LPC2378).
3) Right-click on your target, select Select Elemental I/O, and choose your processor (MCB2300 Generic).
4) Right-click on your target, select New » Elemental I/O.

 

You can now see all possible I/O points for the processor.  You can still control the LEDs, etc.  It's just that each pin hasn't been renamed for ease of use.

 

You're welcome to look at the underlying code in order to develop a similar setup for a new processor.  The process for viewing all Elemental I/O for a Blackfin processor is essentially identical to this as well. 

 

I hope this helps,

Kevin S.

Applications Engineer

National Instruments

0 Kudos
Message 2 of 6
(9,114 Views)

Thank you Kevin S for your reply.

I hope this works.

I will try your approach tomorrow.

 

With kind regards,

 

Zahier

 

0 Kudos
Message 3 of 6
(9,111 Views)

Hallo,

 

i'm trying to use the generic LPC2378 target in LabView to have all elemental I/O.

As a counter part of this choice I can't see any interrupt in the interrupt configuration window.

The interrupt folder in the generic folder is present and also the xml file seems to be ok.

do i have to change something to have the same set of interrupts as the MCB2300 (Timer1,2,3)?

 

0 Kudos
Message 4 of 6
(8,456 Views)

Hello giac82,

 

Are you using LabVIEW 8.6 or LabVIEW 2009?

 

If you are using LabVIEW 8.6:

You must right click on the "Other" target and select "Properties" and set the processor to the LPC2378.  After this is done, you can find the interrupts.

 

If you are using LabVIEW 2009:

You must have corrupted your interrupt XML or VIs.  Try doing a repair install (through windows control panel) .

 

regards

Message 5 of 6
(8,445 Views)

i'm using labview 8.6; now i can see the interrupts.

thanks.

0 Kudos
Message 6 of 6
(8,429 Views)