LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Making the numeric indicators link with the temperature graph

Ok then I'll try working on that. By the  way, I want to know how do I connect a START button to the graphs whereby when I click on it, I can start use the other buttons. Is it supposed to be like that though/

0 Kudos
Message 11 of 17
(1,860 Views)

Hi, em using 8.5 so couldnt open your VI but from your above start thing, you can use a Case Structure for that. Else if you can use XY Graphs than there is an express VI that comes with it to enable the XY Graph.

LabVIEW 8.2,8.6,2009...still learning 😛
Message 12 of 17
(1,849 Views)

Hello,

 

Have you considered using a tab control?  Here is my suggestion assuming that I understood what you needed:

- step through the processes of annealing, denature, and extension.  (here I created a enum control containing your desire processes)

- base the next step to go to on the index of the while loop

- update 4 graphs with the temperature (simulated in this case)

 

You'll notice that I have the temperature of each process read and displayed during each iteration of the loop.  This would give you the ability to change the temperature during the running of the program.

 

I've attached my suggested Vi which was written in LabVIEW2010.  If you don't have this version, I'm hoping the attached pictures will help.  (The one thing that should be done is the resolve those coersion dot for the process temperature by making them U8 or by inserting a conversion control.)

 

Let me know if you have any questions,

Ron

 

 

Message 13 of 17
(1,840 Views)

A tab control was suggested when the op first posted asking for help with his school project. He ignored the advice. So far, I have not seen the op do any code of his own.

Message 14 of 17
(1,822 Views)

If I understand you right, you want to display the current set point (depending on state) as well as the temperature.

 

First of all, you might want to start with some tutorials, because your code is way too complicated.

 

 

  • Why use 4 graphs on top of each other if all show the same data (except in a different color) and only one is visible at any given time. Use one chart and simply switch the colors. Use an event structure.
  • If you have four buttons and only one (or none) should be active at any given time, use a radio button control instead of a screenful of property.
  • Never use more than one stop button.
  • You probably should initialize the shift register so the program starts in a defined state.
  • The upper loop needs to spin only when one of the buttons changes and not 10x per second writing the same old properties over and over.
You don't make it sufficiently clear what you actually want, but here's a quick example draft. Maybe it can give you some ideas.

 

Message 15 of 17
(1,818 Views)

Hello Dennis,

 

I thought I should work to improve my skills by answering questions on the forums.  This topic was the first one I happened across. I didn't even think about checking if the user had been posting the same question in other areas or might be taking the lazy path with his work.  This makes me wonder if there are a few pointers that you might have in answering questions in the forums.

 

Thanks,

Ron

Message 16 of 17
(1,797 Views)

I'm sorry but I have done codes on my own and the one in my project has differences from the examples that you've given here. I'm sorry if I sound or look like as if I'm asking people to do work for me. But truthfully I'm not. I'm doing my best with my project and I learn from the examples that you guys have uploaded here. I do not use your uploaded examples as my project itself. Beacuse my project asks otherewise. I learn how to do array cases and looping from your examples. Please do understand that I do truly want to learn from this forum about labview as much as I can. I'm sorry again if I posted too many questions in the forum though.

0 Kudos
Message 17 of 17
(1,777 Views)