01-21-2014 10:42 AM
Hello,
I have attached the following VI. In my program, I read temperature , start, stop with a certain step rise or fall and I read the current at each of those temperatuire and plot it on a graph.
My problem is, I want to read the current continuously displayed on my front panel, not just at every step of temperature. where should i place the measure VI in that case?
01-22-2014 02:41 AM
Hi Poulomi
The VI you posted is just the top level VI. All of the subVIs are missing and so it's difficult to provide help.
Maybe you can place them all in a zip file ?
I would also suggest that before going any further you tidy your diagram up a bit to help the forum members help you.
Try to straighten your lines wherever possible and reduce the overall size of the diagram by removing empty space.
Where possible use the 'error' line as a baaseline to link your VIs.
You will be surprised how much a clear concise diagram will help you to solve your task,
I ran the cleanup utility on your VI and reposted to give you an idea of what's possible.
01-22-2014 07:15 AM
This sounds like a situation where you want to make another loop that does nothing but read the current. You can save the latest value to a notifier or global variable to be read in your state machine.
01-24-2014 06:19 AM
Hello,
Thanks for the replies.
Sorry neil. here goes the sub VIs.
01-24-2014 09:08 AM
@crossrulz,
I am very new to LabVIEW , so not sure but isn't a state machine implied when we have a Case Structure inside a While loop, where as I have flat sequences inside a while loop.
I have a sub VI that measures current, I tried placing that sub VI right at the beginning of the while loop (inside it), before the first flat sequence starts, but that doesnt work either.
what else could I include to my block diagram for this?