05-26-2015 08:42 AM
Hello Labview friends,
i am a new user of labview and still trying to get my project done. It would be great if someone could help me out with my Sub-VI.
My problem right now is the controlling (animation) of a boolesch lamp, from wich I changed the picture.
I want to animate a rotation depending on the incoming signal.
If the incoming Signal = 0 rpm --> No Change
If the incoming Signal <= 200 rpm --> changing the picture every 500ms
if the incoming Signal > 200 rpm --> changing the Signal every 200ms
I used the boolesch lamp because I need a transparent background in the middle of the rotation to see a change in a water tank.
Otherwise I would have used PictureRing.
The main VI uses a while-loop to show up all the other incoming singals. It´s waiting 100ms every turn.
I tryed a lot but don´t get a right solution to include another loop inside the main loop and still get the timing and changing of the lamp signal right.
it would be great if yomeone could support me.
Thanks forward.
Cheers
Felix
Solved! Go to Solution.
05-26-2015 12:20 PM
Please post your code.
05-26-2015 12:27 PM
Yes post your code, but I suggest using a picture ring, which you can then show a different image based on the wait times you specified.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-26-2015 07:46 PM
05-27-2015 03:07 AM
Hi Felix
I really want to help you it sounds like a fun project but it would help us a lot if you would post the code 🙂
or at least a part of the code that showcases the issue.
05-28-2015 03:10 AM
Hello everybody,
thanks for all the answears.
I uploaded pictures of my Code.
It would be really great if someone could help me out. I just need the rotation of the Inside in the 2. picture.
Thanks
05-28-2015 07:05 AM
Pictures cannot be ran or edited, source code can.
https://decibel.ni.com/content/docs/DOC-40451
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-28-2015 08:36 AM
Hello,
i attached the VI.
Thanks for help.
05-28-2015 10:55 AM
Attached is a quick VI that toggles your boolean at a varying rate depending on what the RPM is.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-01-2015 06:29 AM
Thanks a lot.
This is exactly what I tried by myself.