10-08-2014 01:49 AM
Labview 初心者です。
プログラム起動時に、システムラジオボタンを、"選択なし"の状態で起動させたいと考えています。
また、ラジオボタンの操作はイベント発生として検知したいと考えています。
テスト用に次のように動作するコードを考えました。
1)プログラム起動後、ユーザの操作を待つ。
2)ラジオボタンが押されたら、ダイアログボックスを表示。ダイアログのOKが押されたら終了。
3)停止が押されたら終了、
添付ファイル "NG_UI_InitSystemRadioButton" のようにコードを書いてみましたが、
ステート "Initialize_UI" で システムラジオボタンを、"選択なし"に設定する際、イベントが発生してしまいます。
期待している動作は "OK_UI_InitSystemRadioButton" のようなものです。
起動時にラジオボタンが選択されている点が希望と異なる。
その1) プログラム起動時に、システムラジオボタンを、"選択なし"の状態で起動させる方法はありませんか?
その2)そもそも、このような発想が誤っているのでしょうか?
まったく異なるアプローチがありましたら、教えてください。
良い知恵がありましたら、是非ご享受ください。
Solved! Go to Solution.
10-08-2014 02:49 AM - edited 10-08-2014 02:50 AM
I have used Google translate and I hope I have understood your question.
Please see attached vi which hides the radio button which is selected at the start, you can reveal this button by moving the bottom border downwards.
So instead of 'no selection', there is a button selected but this cannot be seen.
When another, non-hidden button is selected, this fires the event.
10-08-2014 06:54 PM
Thank you sebster.
This is what I want to do.
I can't notice a this method of put the code at outside of statemachine.
And thank you for reply to foregin language.
ZetaPeta
10-08-2014 06:59 PM
Interesting, we can't use the word for a language derived from the most populated country in the world. But, we can type in all hiragana, katakana, and kanji.