05-19-2011 09:07 AM
Its getting worse and worse...probably am no good at logic...
Now i have two getpeak
The program has to stop when any of the getpeak button is pressed. Is there an "or" option in LabVIEW like in Agilent Vee
05-19-2011 02:08 PM
Hi,
I am extremely sorry, I dont have labview 10 at home. So I cant open your code now. I will surely sent you the required code tomorrow morning once i reach my office. Hope you wont mind.. And ya, nothing to be worried about. There is an OR function in the boolean function pallette. You can take a look and use it for the purpose which you want.
Regards,
Nitz
(Give Kudos to good Answers, Mark as a solution if your problem is Solved)
05-20-2011 03:39 AM
Hi,
I have attached the VI here. you can have a look. I think you are not at all paying attention to what I am saying. You are repeating your mistakes. I have added some comments in this vi. Go through them. Also try to learn the data flow programming at the earliest.
Regards,
Nitzz
(Give Kudos to good Answers, Mark as a solution if your problem is Solved)
05-25-2011 06:26 AM
Many thanks for your reply...i have built upon the program and now i have a fresh set of problems.
once i execute the program, the display boxes are not being reset to zero. They still hold the previous value and the buttons do not return to the default state... how do i solve this problem?
Regards
Sanjay
05-25-2011 10:32 AM
I have attached the file as i had mentioned in the private message..
05-26-2011 12:22 AM
Hi Sanjay,
This will work as you wanted. You have to change the operation mode of both the buttons from "Switch" to "Latch When Pressed" . Then it will come to its default state after the program. For making the inidicators 0 you can initialize them as shown before the while loop run. And there is no need to wire the unused controls to their own local variables. I dont understand why you always do that.
Regards,
Nitzz
(Kudos are always Welcome;))
05-26-2011 12:34 AM - edited 05-26-2011 12:39 AM
Hi Sanjay,
Regarding your Skeletal.vi program I have a few Doubts.
1. Will you be continuously taking the maximum values and applying the formul nodes when the get peak button is pressed OR you just need the maximum value one time when ever you press the get Peak button?
2. When do you want your B1 and B2 indicators to show 1?
3. F2 = k2* ((m2*V2)+n2)*b2; This formula will be applied only when the Get peak button is pressed or you want to calculate this irrespective of the button press? I mean even if the value of B1 is 1.
Let me know these things at the earliest so that I can guide you in the right direction.
You must refer these links properly so that you get a good understanding of LabVIEW Programming.
Regards,
Nitzz
(Kudos are always Welcome;))
06-01-2011 08:17 AM
Many thanks for your reply. I have almost completed the project except for the last step
After starting the Program from the tool bar, It will be continously producing the values F1 and F2 (Plotted in the Graphs Plot 1 and Plot 2 respectively).
in the bottom of the Front Panel, there is a Button "Start Measurement". When it is pressed after entering the Values in "Measurement Time" (next to it), the indicator should be activated and "Plot 0" should plot the current values of F1 for the time period mentioned in "Measurement Time". And once the measurement time has elapsed, Plot 0 should get deactivated (Plot 1 and Plot 0 would be being plotted till the user presses the Stop Button)
06-07-2011 04:40 PM
Can some one help me please!!! 😞
06-08-2011 02:49 AM
Hi Sanjay,
I have attached your vi with this post and have added all the explanations on the block diagram. Try to seriously look into the code and understand the data flow concepts and the other functionalities. From UI design to coding, you have to be carefull about lots of stuffs. Try to go through the labVIEW basics link in the previous post.
Regards,
Nitzz
(Kudos are always Welcome;))