02-28-2013 05:19 AM
Hi, in the attachment you will find a VI that can create multiple running LEDs across 20 spaces. The user can increase the numer of running LEDs, i.e. the distance between the running LEDs and the duration they are lit up. That works fine.
My Boss wants me to programme the same "thing" in FPGA in LabView! I have no idea what exactly the difference would be to my programme at the moment. Can anyone help me?!
Solved! Go to Solution.
03-01-2013 06:29 AM
Hello Thorsten!
I think before we talk about implementing your code on the FPGA we should try to simplify the algorithm. Just having a quick look, there is much potential for improvement.
Please tell us how exactly the LEDs are supposed to light up. So we can figure out the best solution. As soon as we have done that, it should be fairly easy to implement
the algorithm on an FPGA.
Regards,
Georg
03-01-2013 08:19 AM
Hi Georg,
today I ran my LabView VI as it is, to show you how I want the algorithm to work. I uploaded it to Youtube, so you can have a look:
https://www.youtube.com/watch?v=Pb3lqfeb_Yw
In the description area I explained it shortly. I struggled to find an algorithm that is simple, thats why I guess my algorithm looks a bit clustered!
Maybe you can give me a tip on how I can aproach the algorithm differently?
Thank you! Regards, Thorsten
03-01-2013 08:24 AM
P.S. After working through several FPGA tutorials, today I managed to create a new Project, that uses the cRIO as a FPGA Target. I also managed to switch the LEDs on and off after compiling the VI. I guess now its all about improving my algorithm for the running LEDs...
03-22-2013 05:07 AM
Hi Thorsten!
I am glad to hear you were successful in using your cRIO.
I think your algorithm can be greatly simplified by using a simple bitshift function. This would also benefit the implementation on the FPGA since this function will not consume a lot of resources on the FPGA. The VI in the attachment probably does not meet all your requirements and needs some adjustments to run on the FPGA properly, but I think it should give a good idea on how the algorithm works.
Regards,
Georg
03-27-2013 06:10 AM
Wow! That is alot simpler! 😄 I will try to integrate your solution into my project and report back.
Thanks a million!
03-27-2013 06:45 AM - edited 03-27-2013 06:46 AM
I looked at it one more time.
I think the VI in the attachment comes very close to what you want to implement.
Regards,
Georg
10-08-2013 06:50 AM
Dear All
greetings
I want same like this raw of LEDs puted in a stick and by waving the stick and flashing the LEDs to display some words.. is it possible?? and how ?
please help me . i need it in my master study..
by the way i have NI RIO evaluation KIT could i use it to do so ??
thanks in advance
yours,
Mustafa
06-05-2014 10:03 AM
Hello George,
As my work with these running LEDs continues, I am in need of yet another feature (or two for that matter).
1. I want to increase the number of LEDs running "as a group" through the LED array. At the moment I can only run single
light through the array, but would like to run multiple lights next to each other. So the lights travell in groups of two, three or more..
2. I would like to change the direktion in which the lights run.
Any ideas?
Kind Regards
Thorsten