LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RE: LabVIEW with compiled C programs within the Hardware chips.

Hii AllSmiley Happy,
 
I have a prgram in which LabVIEW is doing some measurement by reading C compiled program, which is already downloaded within the chip.Can anyone give me the exact interpretation of the program ,that how LabVIEW reading those compiled files from chips and performing pre determined measurements.
 
 
Thanks and Regards
Puneet Kapoor:manhappy:
 
0 Kudos
Message 1 of 9
(6,786 Views)
We would really need more information as too what you are doing or need to do in the LabVIEW program. Do you already have a LabVIEW program that is reading a chip? How is it connected to the chip (are we reading registers off of a board, is LabVIEW connected directly to a "chip" with USB or some other interface, what?)
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



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

Dear Sir,

First of all, i am very thankful to you for your reply.

In this program i have a board with Microprocessor chip,  Using LabVIEW we have to perform some measurement test for the board(such as. LED test, ports test) and this board(GPIB) is connected through the USB of the PC.

Such test programs are already compiled and downloaded into the microprocessor. Here LabVIEW providing GUI and reading that test programs from the microprocessorm itself, perform test and provide test result as well.

So i wish to know that how LabVIEW is reading that program from the chips and do the measurements????

Hope the above information is upto your mark.

Thanks and Regards

Puneet Kapoor

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

From what I think you are saying, you already have a LabVIEW program that is reading the test results. If you need help in understanding a LabVIEW program that someone else wrote, it would help if you could provide the code (assuming you have the rights to it). Whoever wrote it evidently had an understanding of the self-test programs and the USB protocol implemented so that commands could be sent and data received. There are a couple of ways that a USB connection could be used in LabVIEW. It really depends on how the board was designed, what USB device is there, what firmware was written, etc.

Your mention of GPIB is confusing. Is the board you are trying to test a GPIB controller? The reason I ask is that you mention LEDs and ports. A GPIB controller rarely has LEDs and has a single port - not ports.

0 Kudos
Message 4 of 9
(6,740 Views)

Hi Puneet,

Are you using the LabVIEW Microprocessor SDK or LabVIEW Embedded Module for ADI Blackfin? Is the microprocessor running code written in LabVIEW, or is it running a program written in some other language and your computer is running a LabVIEW program that is communicating with the microprocessor? I agree with Dennis. It sounds like someone wrote a program for the Microprocessor and wrote a program in LabVIEW to get those results. You would need to either analyze your LabVIEW program or ask the programmer how it was implemented. LabVIEW can communicate in a number of different manners: Serial, GPIB, TCP, UDP, Shared Variables, Debug connection (LabVIEW Embedded Module), etc. Happy Holidays!

0 Kudos
Message 5 of 9
(6,710 Views)
Hii Mike,
            In this a program written in C for microprocessor and your computer is running a LabVIEW program that is communicating with the microprocessor.
My question is:
Can we write our own program for microprocesor in LabVIEW and download it into the same, then control that coding thorugh LabVIEW itself. For that which module is required???
 
Regards
Puneet
 
0 Kudos
Message 6 of 9
(6,694 Views)
Hello Punnet,

Can you specify what microprocessor you are using.

With NI LabVIEW Microprocessor SDK you can graphically program any 32-bit microprocessor including ARM, PPC, x86, and ColdFire.
http://sine.ni.com/nips/cds/view/p/lang/en/nid/201953

The NI LabVIEW Embedded Module for ADI Blackfin Processors integrates the NI LabVIEW development environment and ADI Blackfin embedded processors.
http://sine.ni.com/nips/cds/view/p/lang/en/nid/202659

Regards,
Juan Galindo
Applications Engineer
National Instruments
0 Kudos
Message 7 of 9
(6,665 Views)

Hiii

Thanks for the information.

Can you please tell me, How LabVIEW FPGA Module is different from LabVIEW Embedded SDK and Blackfins Modules?

I am using MPC 8560/8540 processor in my project.

 

Regards

Puneet

0 Kudos
Message 8 of 9
(6,653 Views)
LabVIEW FPGA Module has the ability to target FPGA chips on National Instruments Reconfigurable I/O (RIO) hardware without requiring any knowledge on traditional HDL languages or board-level hardware design. LabVIEW FPGA can be used for:

  • Custom I/O hardware for such as Custom timing and triggering routines, Custom signal conditioning and parallel processing etc
  • Time critical application that require deterministic signals

  • Machine vision & Machine control and more

Below is a List of National Instruments reconfigurable I/O (RIO)devices that LabVIEW FPGA works with:

CompactRIO is an advanced reconfigurable control and acquisition system designed for embedded applications that require ultrahigh performance and reliability.



R Series intelligent DAQ NI PCI or PXI R Series plug-in devices provide analog and digital acquisition and control for high-performance, user-configurable timing and
synchronization, as well as onboard decision making.

PXI Timing and Synchronization Modules

use a reconfigurable FPGA for custom timing and triggering routines on the PXI trigger bus, star trigger, and system clock for
multidevice or multichassis synchronization.

Compact Vision System a rugged machine vision package that contains a reconfigurable FPGA for implementing custom counters, timing, or motor control into your machine vision application.

In the other hand, NI LabVIEW Embedded Module for ADI Blackfin and SDK Modules are used to target supported embedded systems without requiring any knowledge on VisualDSP++ and C/C++ knowledge respectively. LabVIEW changes the user's graphical code into the necessary format and type for that particular embedded chip and its able to include hundreds of analysis and signal processing functions, integrated I/O, and an interactive debugging interface.

 

NI LabVIEW Embedded Module for ADI Blackfin includes the following

Software

• Analog Devices VisualDSP++

Version 5.0

• LabVIEW Full Development

System for Windows

Version 8.5

Hardware

• Analog Devices Blackfin 537

EZ-KIT Lite


Let me know if you have more questions,

 

 




Message Edited by Juan G on 01-15-2008 10:19 PM
Juan Galindo
Applications Engineer
National Instruments
0 Kudos
Message 9 of 9
(6,135 Views)