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.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-27-2016 02:07 AM
使い勝手が分からず、質問させていただきます。
Labviewを介して、コマンドラインを操作しています。
コマンドラインの操作は出来たいのですが、実行結果を上手く操作できません。
実行結果からは、任意の回数だけ繰り返したデータが返ってきます。
このデータ文字列を配列に入れなおしたいのですが、1次元配列にデータが全て入ってしまいます。
任意のデータで区切ってn次元配列としたいのですが、1次元配列から任意のデータ数で切り出して、n次元配列に再配置する手法が分かりません。
御教示願えないでしょうか
現状ですと、添付しましたデータ波形のように9データが1つの波形として表示されています。
実際には、波形グラフに9つの波形が表示されるようにしたいです。
宜しくお願いします
04-27-2016 08:27 PM
izzak 様
「部分配列」関数を使用するとよいかと思います。
04-28-2016 07:26 AM
yueno様の方法でも可能ですし、同じ結果を得るのに
Forループを「配列次元変更」(多分日本語版だとそういう名前)の関数で置き換えて簡素化もできます。
(この関数は、必要な次元数だけ縦に伸ばすことができます)
04-28-2016 09:20 AM
「配列次元変更」関数のほうがシンプルで素敵です。
04-28-2016 06:37 PM
yueno様
回答いただきありがとうございます。
思い通りの結果が出て安堵いたしました。
今後とも教示いただけましたら幸いです。
04-28-2016 06:38 PM
M.Shiraishi様
こちらも思い通りの結果が出ました。
What do you need our team of experts to assist you with?
Thanks!
We'll be in touch soon!