07-25-2018 03:44 AM
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.
解決済! 解決策の投稿を見る。
07-25-2018 03:52 AM
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
07-25-2018 03:56 AM
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!
07-25-2018 05:24 AM
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.
07-25-2018 07:21 PM
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
07-25-2018 07:47 PM
こんにちはhama-mmcさん
反応ありがとうございます!
そのもらってきたサンプルからコマンドを送りたいのですがどこにコマンドを入力する部分があるのでしょう?
07-25-2018 09:57 PM
コマンドは↓手順のように、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