04-09-2013 06:56 PM
Hi,
I am using one of the sample VIs from Yokogawa -Yokogawa WT300 Series Measure Integrate.vi
and library located at: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=D4E04BB18C36228BE0440021287E6A...
I want to get the power (Watts) of the UUT along with the Watt/hours on a 24 Hrs period. I am not sure where to start to modify this VI as I am not very familiar with this equipment. Could someone offer some suggestions to modify the sample code provided by Yokogawa?
Thanks,
frn
Solved! Go to Solution.
04-10-2013 01:52 PM
Hi Frn,
Could you explain a little more what you are looking for as it relates to this particular VI? I understand it is measuring power, is this what comes up under measurement, I guess the power at each increment of time? When you run this VI what data do you get under function and what do you get under measurement? I have downloaded and installed the driver and I am awaiting your clarification so I can help you with this.
Thanks
Basil
Applications Engineering
National Instruments
04-10-2013 04:59 PM
Hi Basil,
The "create function string" VI is a multifunction VI, which sets several functions: current, voltage, power, etc. I just want to measure 2 values: power and Watt-hours. I want to know the total Watt-Hr in a 24Hrs period.
I made some changes to the original VI (attached); but it works the very first time only. After, stoping the VI (stop button) it gives the following error (1074):
Then, if I re-start the VI, it gives this error (1073):
In order to make it work again, I need to power off/on the equipment.
Thanks for your help,
frn
04-11-2013 11:42 AM
Hi Frm,
I don't see the "create function string" VI that you are referring to. The 1074 error seems to be coming from the integrate stop, I assume the VI you sent me is to calculate Watt hours? Why don't you try setting it to power instead of integrate in the original VI and then integrating in software. I would get in touch with Yokogawa they are the people who wrote the drivers we just host them on our website. If I were you I would also try the Measure Normal example from the driver folder and set that to power. It looks like that outputs an array then you can simply integrate in software.
Regards,
Basil
Applications Engineering
National Instruments
04-15-2013 04:16 PM
I have been working with the WT310 over the last couple of weeks. I wrote a utility that reads eight functions and polls them continuously. Two of the functions are what you want, and you could just delete the rest.
I found sending the Reset command during initialization clears a lot of issues.
Try out the attached utility.
Bruce
04-16-2013 02:10 PM
Bruce,
Thanks, it works great!
I need to remove some functions, but this is a great solution. Thanks again,
frn
04-17-2013 08:52 AM
Bruce,
Thank you for posting such a great solution. I noticed you wired in a true to the reset in the initialize instead of a false, and you configure the current and voltage range before measurement amongst many other changes. Did you try the example code that frn posted and did that work for you? How did you know to make these changes?
Regards,
Basil Beirouti
Applications Engineering
National Instruments
04-17-2013 12:16 PM
I didn't even open the code frn posted. I have been working with the WT310 for a couple of weeks for my own project, and just happened to come across this post. I wrote the example from scratch to test the functions I needed for my project.
Bruce
08-21-2023 12:04 AM
HI, Frn do you have succeed for connect with WT310? I have one question, before connection, we need to put the internet IPs in same period ? right ? PC and WT310