Benchtop Measurement and Test
Distributed Measurement and Control
High-Performance Test
Systems Engineering Software
Perspectives showcases how NI sees what’s next in the world of test and technology.
You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
ni.com checkout is currently experiencing issues.
Support teams are actively working on the resolution.
05-11-2016 07:16 PM
いくつかの連結文字列群(画像では2つ)を用意し、”押しボタン”を用いて任意のタイミングで後段のコマンドラインへ出力することを考えています。
質問
2つの文字列を選択できるツールは、どんなものがあるでしょうか?
※画像上の赤丸を繋ぎ、選択された文字列を出力させたい
質問2
”押しボタン”を押すたびに文字列を出力するには、ボタン信号をどのように配線するといいでしょうか?
よりスマートな方法がありましたら、教えてください
解決済! 解決策の投稿を見る。
05-11-2016 09:46 PM
izzak 様
質問1:「選択」関数が使えます。
http://zone.ni.com/reference/ja-XX/help/371361J-0112/glang/select/
質問2:ユーザのイベントに対してアクションを起こす必要がある場合の王道はイベントストラクチャを使うことです。サンプルファインダで「イベント」と検索すると幾つかのサンプルプログラムが出てくると思いますので参照されることをお勧めします。
05-12-2016 10:58 AM
イベントストラクチャを使った一例として、以下のようなものがあります。リストボックスを使うと選択したいコマンドが一目瞭然です。
\
05-15-2016 06:58 PM
TailOfGon様
サンプルviまでいただきありがとうございます。
この方法でなんとか出来ました。
ありがとうございます
What do you need our team of experts to assist you with?
Thanks!
We'll be in touch soon!