LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with Saving data

Solved!
Go to solution

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

0 Kudos
Message 11 of 20
(1,028 Views)

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:smileywink:

0 Kudos
Message 12 of 20
(1,019 Views)

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:smileywink:)   

Message 13 of 20
(1,008 Views)

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

0 Kudos
Message 14 of 20
(993 Views)

I have attached the file as i had mentioned in the private message..

0 Kudos
Message 15 of 20
(984 Views)

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;)) 

0 Kudos
Message 16 of 20
(976 Views)

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.

 

LabVIEW Basics 1

 

LabVIEW Basics 2


Regards,

 

Nitzz

(Kudos are always Welcome;))

Message 17 of 20
(974 Views)

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)

0 Kudos
Message 18 of 20
(954 Views)

Can some one help me please!!! 😞

0 Kudos
Message 19 of 20
(944 Views)

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;)) 

0 Kudos
Message 20 of 20
(936 Views)