NI製品ディスカッション

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

labviewから測定器へコマンドを送る際どこにコマンドを入力すればいいのか?Where should I enter commands when sending commands from labview to the instrument?

解決済み
解決策を見る

japan-------------------------------------------------------------------------------------------------------------------

こんにちは

初めてlabviewを使用するにあたりわからないことがあるので協力お願いいたします。

 

質問するにあたっての現在の状況

 

・測定器wt1800eをイーサネット通信(LAN)でlabviewのインストールされたPCと接続しています

・labviewのプログラムに不慣れなためできるだけサンプルで計測したいです

 

わからないこと

・wt1800eのコマンドを用いて測定をしたいがどこにコマンドを入力すればよいのかが不明です

・新たにviを作成する必要があるのでしょうか?

 

以上です、よろしくお願いします。

 

english----------------------------------------------------------------------------------------------------------------

Hello


Since there is something you do not understand when using labview for the first time, please cooperate.

Current situation in asking questions
· Measuring device weight 1800e is connected to labview installed PC with Ethernet communication (LAN)
· I am unfamiliar with the program of labview, so I want to measure it with samples as much as possible

I do not know
· I would like to perform the measurement using the command of wt 1800e but it is unknown where to enter the command
· Do you need to create a new vi?

That is all, thank you.

0 件の賞賛
メッセージ1/7
4,496件の閲覧回数

hi suzukaze!

 

unfortunately your google translation is almost undecipherable.

you might have better luck in your regional community on the forum

https://forums.ni.com/t5/Regional-Communities/ct-p/regional-communities

 

regards


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 件の賞賛
メッセージ2/7
4,492件の閲覧回数
解決策
トピック作成者suzukaze123が受理

Hi suzukaze,

 

I am unfamiliar with the program of labview

You got luck: there is a "learn LabVIEW" section in the header of this LabVIEW board! Use it…


I would like to perform the measurement using the command of wt 1800e but it is unknown where to enter the command

Did you find a driver in the IDNet?

If yes: use it. If not: create your own one.

To learn how to send commands to your device you need to read its manual. Did you?

After reading the manual you should know which kind of communication (protocol like UDP/TCP/ModBusTCP) and which command syntax is needed. And you should know by then which functions you will need to use in LabVIEW…


Do you need to create a new vi?

Yes. That part is called "programming"… 😄

As you want to create a special kind of measurement ("your own one"!) you need to create your own VI!

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
メッセージ3/7
4,485件の閲覧回数

Yokogawa seems to provide LabVIEW drivers for the USB connection to that device. I'd either switch to USB, or use that driver and convert it to TCP\IP. If you're lucky, that's a matter of changing the VISA init.

 

First think to do it to start learning LabVIEW. This is not absolute beginners stuff.

メッセージ4/7
4,470件の閲覧回数

wt1800eのLabVIEWドライバをインストールすると参考になるかと思います。

 

https://www.yokogawa.com/jp-ymi/tm/F-SOFT/Labview/
http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=3C953E0C48262F09E05400144FF87F...

 

↓に展開すると関数パレットやサンプルから参照できます。
C:\Program Files (x86)\National Instruments\LabVIEW 2017\instr.lib\Yokogawa WT1800E Series

すべてをダウンロード
メッセージ5/7
4,447件の閲覧回数

こんにちはhama-mmcさん

反応ありがとうございます!

そのもらってきたサンプルからコマンドを送りたいのですがどこにコマンドを入力する部分があるのでしょう?

 

0 件の賞賛
メッセージ6/7
4,438件の閲覧回数
解決策
トピック作成者suzukaze123が受理

 

コマンドは↓手順のように、VISA Write アイコンで送信します。*IDN? の箇所が送信されるコマンド文字です。
http://www.ni.com/tutorial/3702/ja/

サンプルの各アイコン内部には、対応するコマンドが埋め込まれています。


先にMAXで計測器の接続を確認してから、サンプルを実行します。
http://www.ni.com/getting-started/set-up-hardware/instrument-control/ja/ethernet-connect

 

 

メッセージ7/7
4,428件の閲覧回数