Posts

Showing posts with the label LabVIEW

Difference between Unmanaged Code and Managed Code

Recently, I'm starting to develop laser ultrasonic scanning system in .Net platform. In the passed, I was using LabVIEW 8.6 to run the system. However, I would like to try with this new platform, where I can learn extra new programming language which lead me easy to compete in coming future. Before I start to develop the codes for the full system, I have wrapped the unmanaged DLL in .Net using Marshal function. For that, I have to know the difference between the unmanaged and managed DLLs. The following are the definition and different between both. Managed Code Managed code is what Visual Basic .NET and C# compilers create. It runs on the CLR (Common Language Runtime ), which, among other things, offers services like garbage collection, run-time type checking, and reference checking. So, think of it as, " My code is   managed   by the CLR. "  Visual Basic and C# can  only  produce managed code , so, if you're writing an application in one of tho...

Why should we adopt LabVIEW FPGA as a tool for developing FPGA Project?

Thanks for your questions and I hope I can answer them appropriately 1. LabVIEW FPGA utilizes the intuitive graphical dataflow language of LabVIEW to target FPGA technology. LabVIEW is particularly nice for FPGA programming because of its ability to represent parallelism inherent to FPGAs. It also serves as a software-like programming experience with loops and structures which has become a focus of industry lately with C-to-gates and other abstraction efforts. Here are some general comparison along the vectors you mentioned Code Size and speed optimization  - LabVIEW FPGA is a programming language. As such, one can program badly and create designs that are too big to fit on a chip and too slow to meet timing. However, there are two main programming paradigms which you can use. The normal LabVIEW dataflow programming (meaning outside a single-cycle loop) adds registers in order to enforce dataflow and synchronization in parity with the LabVIEW model of computation. ...

Efficiency of LabVIEW application

Image
Currently, I'm facing the problem of LabVIEW execution efficient. Thus, I found a book which simply can help my programming skills in LabVIEW and eventually can solve my problems. ^^ The following notes are written by P. A. Blume , The LabVIEW Style Book    An efficient LabVIEW application executes quickly, without performing unnecessary operations, particularly ones that are performed repeatedly within looping structures. An efficient application also conserves memory by limiting the size of the four LabVIEW memory components: the front panel, block diagram, data space, and code. Front panel and block diagram memory store the graphical objects and images that comprise the front panel and block diagram, respectively. Data space memory contains all the data that flows through the diagram, as well as the diagram constants, default values for front panel controls, and the data that is copied when written to variables and front panel indicators. Code is the portion of memory ...

LabVIEW State Machine Basic Example

The following video clips are showing how we can use state machine method to control vending machine . By the way, I post this because I'm just starting to learn state machine for my research.... hehehe Thus, I would like to share with this examples which I found it very useful for beginner. LabView State Based Machine Tutorial pt1 from LabView Tutorials on Vimeo . LabView State Based Machine Tutorial pt 2 from LabView Tutorials on Vimeo . LabView State Based Machine Tutorial pt 3 from LabView Tutorials on Vimeo . LabView State Based Machine Tutorial pt 4 from LabView Tutorials on Vimeo . LabView State Based Machine Tutorial pt 5 from LabView Tutorials on Vimeo . LabView State Based Machine Tutorial pt6 from LabView Tutorials on Vimeo . Hope it helps u...