02-15-2012 02:02 PM
Hi,
In the attached VI I am controlling the LEDs on the front panel by selecting values of different enums values on clusters, Now I want to lit all the LEDs one by one by only selecting and sumbit only one LED through cluster from front panel.
For example:
If I am selecting
1TRK
ENA
Green
then first LED 1ENA_DG will glow green only but now I want to control two more LEDs i.e. 1ENA_HG and 1WSA_RG in a sequenece after 1ENA_DG
If more clarofication is required please let me know.
Thanks
Prashant
02-16-2012 06:56 PM
Can you elaborate more on the functionality you are trying to achieve.
After running WIU-SIGNAL-ASPECT-SEQUENCE.vi I specified the "address" of an LED on the board, say: 1 TRK, WSB, Flashing Red
and after clicking on Submit it changed the value of the 3rd LED at the address 1TRK, WSB. Now do you want to keep this LED on and light up the other two LEDs at that address?
Also can you elaborate on the functionality of: DAQsignalAspect (SubVI).vi and how it relates to the first file.
02-17-2012 08:11 AM
Hi,
This VI works in two ways first is same as what you checked if you select it will show one LED, Yes you I want to glow other two LEDs at the same address and first one also I want in the stick position.
second function of this VI is through DAQsignalAspect(SubVI).vi it will send the data to my PLC machine (Microlok) through NI 9276 which will it the same LEDs at the PLC (Microlok) module or I would say I have ladder logic and outputs inside the PLC and I am triggering those outputs by fullfilling the ladder equation requirements through NI 9276.
Here also I want the same sequence same first one, I want to glow three LEDs one by one:
For that I want to pass 100100, 100010, 100110 one by one through the first six lines of my channel, My ladder logic has stick circuit for example if I pass 100100 to cDAQ my PLC will show green light and it will stick and then if I send 100010 through the same lines it will not effect my green light but it will glow another yellow LED on the module, so this is whjat I am trying to do.
Rite now I am just passing one bit sequence at a time only for LED and now I want to pass three bit sequences one after one with only one selection.
Thanks
Prashant
02-22-2012 10:14 AM
Hi,
To make 3 lights light up when you send one address (e.g. 1 TRK, WSB) you can make a case structure consisting of of all your LED addresses. Once a particular address on the board is selected the lights light up based on a particular boolean pattern for that case. Refer to the figure below.
Reference: Traffic Light Example
02-22-2012 11:22 AM
Hi,
What are those in the pink boxes. What is the function name? Can I use that in labview 2011?
Also suggest for blinking LEDS I have some blinking LEDs which will be controlled by the sloid LEDs.
Thanks
Prashant
02-23-2012 10:08 PM
Hi,
--------------
What are those in the pink boxes. What is the function name? Can I use that in labview 2011?
-------------
The pink boxes are I/O Nodes (FPGA) and you need to have an LabVIEW FPGA module installed, in order to run the example, however with this example I just wanted to show you a possible way to light up the LEDs on your board by placing a boolean pattern within a case structure that has LED addresses as possible cases.
----------
Also suggest for blinking LEDS I have some blinking LEDs which will be controlled by the sloid LEDs.
-----------
To make an LED blink you can use a Property Node. Right Click on an LED in your block diagram and select Create->Property Node -> Blinking. You can change the Property Node to Write and wire a True constant to the Blinking Property Node. Now to trigger blinking of one LED by another LED you can simply place a Property Node of a blinking LED in a case structure and wire the conditional input of a case structure to the boolean state of the solid LED. Refer to the example below.