LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

front panel

Dear GerdW did you look the Vi. Please look. what is my mistake to show the waveform graph. Waveform chart is ok, I measure, show graph then I push clean, work ok. But waveform graph dont show the graph. What is my mistake, please help.

Thank you for your kindness. I hope you can help me...

Thanks again.

Sincerely

Harutyun Melikyan

0 Kudos
Message 21 of 38
(1,874 Views)
Hi Harutyun,

when you put the terminal of your graph in the 'clear'-event it will receive it's data only when that event occurs. As the event only occurs when clearing the data your graph will never show any plots... When you use an event structure you don't need extra case structures inside (with proper mechanical action setting of your switches)!

Have a look at my changes. I also change the behaviour of the output tunnels of the event structure to not "using default values when unwired" and wired all tunnels in all events - this way your vi will not "forget" any data!

Message Edited by GerdW on 07-19-2007 02:01 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 22 of 38
(1,871 Views)
Dear GerdW thank you very much. Your help is very useful for me.
 
Best regards
Harutyun Melikyan
0 Kudos
Message 23 of 38
(1,847 Views)

Dear forum members. I have a problem. In my program, on waveform chart, how can I see only second progress datas?

I mean after the first progress shows the 1st point, and after 2-nd progress shows the 2nd point and etc.  But 1st progress points I don't need. I need only second progress points...But only on waveform chart.  I atach the file. Please help me...

Thanks in advise....

Sincerely

Harutyun Melikyan!!!

0 Kudos
Message 24 of 38
(1,819 Views)
Hi Melikyan,

you have to clear the chart before plotting the values of 2nd run... Or you use a graph instead.

Now it's up to you to wire up the needed diagram, you should have enough examples so far Smiley Wink
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 25 of 38
(1,813 Views)

Dear forum members, I solve the problem how the waveform chart show only 2nd progress points.

Now my problem is:   I do many measurements. Can I save all measurement datas in same ".xls" or ".txt" file? If it is possible, how? 

I mean that if I measure 1 time, then push save, save only 1st measurement datas, if I measure 2 time, after push save, save 2 time datas in same .xls but don't clear 1st result. If I measure many times, after push save, save all measurement datas...

Please help me...I attach the file...

Thanks a lot.......

Sincerely

Harutyun Melikyan!

0 Kudos
Message 26 of 38
(1,802 Views)
Hi Melikyan,

you have to append the data to an existing file.

In LV8+ you have to use the function 'Set file position' before writing your text, up to LV7.1 you have to wire the 'append text' boolean correctly (using 'Write to text file')!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 27 of 38
(1,799 Views)

Dear forum members I have 2 questions.

1. I did measurements, after push Clear button, then push Run!, go only 1 progress. Why? I cannot undertsand. I want that after some measurements push Clear, then push Run! and go 2 progress.

2. I want after 1st progress, indicator (near SAVE) show "Touch", then after 2nd progress the digit. Is it possible?

Please help me...I attach the file.

Thanks in advise!

Sincerely

Harutyun Melikyan.

0 Kudos
Message 28 of 38
(1,766 Views)
Hi Melikyan,

for your question #1:
You make the decision on 2nd 'progress' based on iteration conter i (even/odd). This will not work as CLEAR is also affecting that counter! So it may happen that i is even when you press RUN, but it may also happen that i is odd...
I changed that with by using a shift register and removing the timeout event.

for question #2:
You can put a progress bar on top of a numeric display. In the first run you show the bar, after the 2nd run you hide the bar - thus the numeric will be visible...

And you still use that huge amount of indicators/controls instead of arrays Smiley Sad

Message Edited by GerdW on 07-31-2007 09:21 AM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 29 of 38
(1,760 Views)

Dear GerdW thank you very much. I solve the 2nd problem.

My program work like this: First I push the top "run", then Bulean "RUN!" and go 1st progress, after wait 3sec, go 2nd progress. There is condition. If fixed frequency S11 is greater than measured S11 go 1st progress, then 2nd progress. If fixed frequency S11 less than measured S11 only go 1st progress.

The problem is: In this case I do measurement, go 1st progress, then 2nd. If I push "CLEAR", and push "RUN" again go only 1st progress. Then if I push "RUN" again(without "CLEAR") go 2 progress:1st and 2nd.

Now need: After some measurement if I push "CLEAR" and push again "RUN", then gone 2 progress: 1st and 2nd. I attach the file with solved 2nd problem, now need only 1st. I try measurement with your change Vi. Work only 1st progress and stop. Please help me...

Once more time thanks a lot....

I cannot change the huge amount of indicators/controls instead of arrays. Sorry.

Sincerely

Harutyun Melikyan!

0 Kudos
Message 30 of 38
(1,748 Views)