使用Visual Basic从应用程序中显示的实时图中读取值 [英] Read value from a live plot shown in an application with Visual Basic

查看:78
本文介绍了使用Visual Basic从应用程序中显示的实时图中读取值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!



我正在使用逆变器,该软件(Sunny Explorer)绘制了建筑物中安装的光伏系统的日常性能。由于应用程序只能以5分钟(* .csv文件)的分辨率导出数据,我需要从实时图中获取数据(数字),因此我可以获得更精确的值(分辨率为1分钟或1分钟)第二)。



我的问题是:

是否可以从应用程序中显示的实时图中读取/捕获/获取值(Sunny Explorer .exe)与Visual Basic中的一些代码?也许时间有所不同。例如:在分钟13:01(下午1:01)我读取已绘制的13:00(下午1:00)的值并将其发送到服务器,网站等。



我必须提到我的专长是能源系统的事实,因此,它将是完美的解决方案/建议/提示傻瓜类型。



谢谢!

解决方案

请参阅我对该问题的评论。一般情况下,你不能对应用程序做这样的事情;整个想法都是错的。 在这个问题的引擎下,存在一个如何处理数据的概念性问题。



数据应该转到情节,而不是该数据应该从图中生成。对于系统来说,这甚至不是数据,从结构的角度来看,只有一些难以解释为数据(作为功能)的像素,并且不可能以100%的准确性和可靠性这样做 - 许多关键信息是当数据表示为屏幕上的功能图时,简单地丢失。这将是错误的活动。



同时,处理数据的应用程序有望以某种结构化形式导出这些数据,而不会丢失此信息和没有精度的损失。如果应用程序不是以一种相当好的和可用的形式来实现的,那么这是一个糟糕的应用程序。因此,请致电客户服务部,如果您不喜欢这些功能,请考虑放弃并找到其他内容。



-SA

Hi!

I'm working with an inverter, which software (Sunny Explorer) plots "daily performance" of a PV-System installed in the building. Since the application is only able to export data with a resolution of 5 min (*.csv files), I require to get the data (numbers) from a live plot, so I can have more precise values (resolution of 1 minute or 1 second).

My question is:
is it possible to read/capture/get a value from a live plot shown in an application (Sunny Explorer.exe) with some code in Visual Basic? Maybe with a difference in time. For example: in minute 13:01 (1:01 p.m.) I "read" the already plotted value of 13:00 (1:00 p.m.) and send it to a server, website, etc.

I must mention the fact that my expertise is in Energy Systems, so, it would be perfect a solution/advice/tip "for Dummies"-type.

Thanks!

解决方案

Please see my comment to the question. In general case, you cannot do such things to applications; the whole idea is wrong. Under the hood of this problem, there is a conceptual problem of how data should be treated.

The data should go to plots, not that data should be generated from a plot. For the system, this is not even an data, from the structural point of view, just some pixels which is hard to interpret as data (as function) and impossible to do so with 100% accuracy and reliability — a lot of critical information is simply lost when data is represented as the function plot on screen. This would be just wrong activity.

At the same time, the applications working with data are expected to export this data in some structured form, without loss of this information and without the loss of precision. If the application in not designed to do it in a reasonably good and usable form, this is a bad application. So, address to customer service, and, if you don't like the features, think about giving it up and finding something else.

—SA


这篇关于使用Visual Basic从应用程序中显示的实时图中读取值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆