10-11-2012 04:46 AM
Hello folks,
Iam trying to realise an automated projekt, for testing an actuator.
It has to Measure the Signals, process them and also has to create signals controling the actuator.
So far no Problem....But,it also has to run trough 3 or more Test-cycles of wich each has different ControlSignals.
(example: Test1 - input: 40VSin(40Hz), Test2 - input:Triangle, Test 3 - input: 100Vsin(100Hz)
It still doesnt sound quite difficult, but as an LabView beginner, i´m having a lot of trouble finding the Right Structure to realise all This. normally i use SPS systems, but this time it has to be Labview :S
Had some trys an hav uploaded them.
But The Producer/Consumer Structure makes some Problems. It doesnt give out any Signals from the ProducerLoop. 😕
Is there any outher way programing Labview more efficient for that Problem ?
Sorry 4 the bad English
Greetings
Solved! Go to Solution.
10-11-2012 09:35 AM
At a quick glance it seems to me the while loop inside the upper while loop is blocking the Consumer loop,
if you don't press "Ready 2 Go Cases".
What's the function of this while loop?
Regards,
Marco
10-11-2012 02:31 PM - edited 10-11-2012 02:45 PM
@MarioMueller wrote:
Hello folks,
Iam trying to realise an automated projekt, for testing an actuator.
It has to Measure the Signals, process them and also has to create signals controling the actuator.
So far no Problem....But,it also has to run trough 3 or more Test-cycles of wich each has different ControlSignals.
(example: Test1 - input: 40VSin(40Hz), Test2 - input:Triangle, Test 3 - input: 100Vsin(100Hz)
It still doesnt sound quite difficult, but as an LabView beginner, i´m having a lot of trouble finding the Right Structure to realise all This. normally i use SPS systems, but this time it has to be Labview :S
Had some trys an hav uploaded them.
But The Producer/Consumer Structure makes some Problems. It doesnt give out any Signals from the ProducerLoop. 😕
Is there any outher way programing Labview more efficient for that Problem ?
Sorry 4 the bad English
Greetings
your architecture is hard to follow. i think you can do this with a state machine..write out your test requirements in steps and what requirement you need to transition. be more specific in describing your problems (error messeges?)..
10-12-2012 02:14 AM
10-12-2012 03:29 AM
10-12-2012 09:32 AM
Hello
dont know why, but the post above are very bad formated.
hope its now better.
The Attachement were also missing, so now the second try.
greets
10-12-2012 07:07 PM
state machine...
10-15-2012 05:29 AM
hello apok
Thank you a lot !!
Amazing how fast you just did this. Respect !!
I think, i was too focused on the Consumer/Producer structure. You think that the measurement ist accurate enough ? read a lot that man should prefer an Queue.
One more Time, Thanks a lot !
10-15-2012 06:34 AM
Hi MarMo if you want to thank Apok you can give Kudos to his post and mark the issue as solved.
Regards,
Marco
10-23-2012 03:21 AM
Hello MarcoMauri.
Thanks for the Info.
Maybe one could help me a little more. Cause i´m now trying to port these State-Machine to an RealTime Project in Labview, running on an cRIO-Module.
Is it possible to just add my Statemachine.vi File to an RT-Project, or are there Parameters, etc,.., that are preloaded in the Project (when creating an RT-StateMachine-Project). So that i have to use the pre-buildet StateMachine-Construct.
gonna Add an Example, ass soon as i´m able to access my workplace again ://
Greetings