I use Labview to get voltage, current, power and wh from WT230 by using RS232. I can get the data of voltage, current and power, but it can not work in "wh". Can you suggest any method? or provide vi to me? thank you.
已解決! 轉到解決方案。
在 06-17-2011 09:55 PM
Hi st168,
Would you please provide more detial about your problem?
1. Have you use the "Configure Measruement Normal.vi" and set the "Measure Item" to Wh?
2. Have you got any error when read the measurement of Wh?
Thanks,
Charles
Hi Charles,
I download the driver from
http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=1805
I select Plug and Play (project-style) and run the sample vi from the above link.
I can get the V, A and W from the sample vi but I cannot get the wh. It's no error message and return a error reading, for example 0.999xe-6.
I have used "Configure Measruement Normal.vi" and set the "Measure Item" to Wh. Also send "START" comment to WT230, for example "INTEGrate:START".
Please give me a suggestion.
Thank you.
Sylvia
在 06-21-2011 01:03 AM
您可能要到 VI 底層檢查詳細的原因
NI 並不保證每一個 VI 都可以執行
那是因為WT210&WT230它是要用加入那個測試選項 你去下Measure:Value? 它就會回你 你需要的值
你都沒下命令去新增的話 它就只會回你 Vin Iin Pin的值
Hi X35,
I have add wh in the example of measure value. But it returns error data. Do you have any suggestion?
我沒用過Labview 我是用vb去寫的
如我要加入PF
"MEASUER:NORMAL:ITEM:PF:ELEMENT1 ON"
我之前有試過其它的 都是正確的
Hi x35,
When you write the vb, does it need to set the START key for wh? if yes, how to set? thank you.
看不懂你的start key 是什麼
可是labview也只是提供一個介面 送出的gpib的command一定是一樣的
我也是看wt210的 manual 去send command
Hi x35,
when measure "wh", energy, it's in terms of time kWh. If you use the equipment to direct measure, it needs to press the "START" key before the measurement. The equipment will measure the energy in terms of time. After you press the "STOP" key, the equipment stop the measurement. for example after 1 h press the "STOP" key, that means the equipment measure the energy in 1 h.
So why I want to know how to set the "START" key when write the Labview?