LED Array Intensity Grid
Overview
This example program which include NI Multisim and NI LabVIEW is one in a series which showcases the power of using advanced LabVIEW instruments within the simulation environment.
All instruments are based upon a virtual instrument template found in the Multisim sample folder. Any LabVIEW user can easily take this template and define an instrument which can input complex signals, or visualize simulation data within Multisim.
This level of advanced design flexibility is only available to the professional design engineer with the National Instruments platform of Multisim and LabVIEW.
Please Note
SPICE simulation, the language by which Multisim emulates circuit design behavior, does not run in real-time. This means that if a real-world signal is acquired by a LabVIEW instrument it cannot be directly injected into simulation, since the measurements will be running at different rates (real time vs. simulated time).
Purpose Of This Instrument
When validating both simulated designs and prototypes, it is important to evaluate the behavior of the circuit with a non-traditional analysis. For example when trying to visualize the behavior of a circuit, it may be the way in which the design interacts with a mechanical system that is of note, rather than just the output signal.
The LED Array instrument allows you to view the output of a LEDs and evaluate the relative intensity, rather than just the raw electrical signal at a node. With this instrument you will be able to view the relative luminosity of an LED in an array of 16 (4x4) arrays.
Installation Instruction
Download the archived file to the desktop. You simply need to:
- Close NI Multisim if open.
- Open the attached 5928_led_array.zip file.
- Select My Computer.
- Browse to C:\Program Files\National Instruments\Circuit Design Suite 10.1\lvinstruments.
- Save the LEDArray.llb file from the zip file to this folder.
Using the Instrument and Example Circuit
This instrument will use the example circuit that is in the attached XXXX_led_array.zip file folder.
- Open Multisim by selecting Start > All Programs > National Instruments > Circuit Design Suite 10.1 > Multisim 10.1.
- Go to File > Open.
- Browse to the LED 4x4 Grid.ms10 file from the 5928_led_array.zip file.
- In Multisim select the LabVIEW icon in the instrument toolbar (as seen below).
- Select LED Intensity Grid. This is the name of the Waveform Generator instrument (as seen below).
- Place the instrument onto the schematic as seen below, and connect it to the pins ranging from LED_A to LED_P.
- The circuit is now complete.
- Double-click on the XLV1 instrument (the LED array instrument)
- Locate the LED circuit element in the 3rd row, and 3rd column.
- You will notice that connected to the VCC on this element is a potentiometer (with reference designator R5). This potentiometer will be used to change the intensity of the LED with respects to the rest of the circuit.

- You are now ready to begin simulating the circuit.
- Click on the run button on the simulation toolbar.

- You will notice that the grid region of the LED array becomes populated by various shades of black and grey, to indicate the intensity of the LED with respect to each other LED in the 4x4 array.
- Locate resistor R5. Move the mouse near this potentiometer and notice that a slider appears.
- Click on the slider and move left and right.
- You will notice that the intensity on the LED Intensity Grid instrument varies, as the intensity of this particular LED changes. This is completely interactive, and allows you to easily visualize and analyze the behavior of this circuit.


With the use of this instrument you are able to very easily verify the behavior of an application such as that of a LED array, and with a great deal of certainty validate the performance of the circuit.
This is what the unique Multisim and LabVIEW integration affords the engineer, with the ability to completely customize how a design is verified.
The same interface as used in this instrument can be re-used when doing physical prototype testing - thereby completely bridging the gap between design and prototype.
Requirements
Filename: 5928_led_array.zip
Software Requirements
Language(s): LabVIEW
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).





