取消
显示结果 
搜索替代 
您的意思是: 

Compute Metrics for Display.vi

In LabVIEW 7.1.1 there was a VI called C:\Program Files\National Instruments\LabVIEW 7.1\project\Source Code Control\_sccsbvi\Compute Metrics for Display.vi
In LabVIEW 8.2 there is C:\Program Files\National Instruments\LabVIEW 8.2\project\prometrics.llb\ProMetrics Compute Metrics for Display.vi, however the interface is different.  I have existing 7.1.1 code that I run weekly to generate CMMI metrics for our project and I was curious if there is still a VI that directly replaces the 7.1.1 version or if anyone knows if the output of the 8.2 ProMetrics version is the exact same format.
0 项奖励
1 条消息(共 7 条)
3,800 次查看
I have not worked with this VI before but it seems to be that there is a difference in inputs in the VI in both versions. Attached are the Context Help (Ctrl+H) windows for both VIs. If you are facing any difficulty in programming in LabVIEW 8.2, you can compile the 7.1 VI in LabVIEW 8.2 and make it work in that environment.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
下载全部
0 项奖励
2 条消息(共 7 条)
3,779 次查看

Recompiling the VIs to version 8.2.1 does not work due to changes in 8.2.  I get error 1445:

LabVIEW:  Open VI Reference no longer matches VIs in memory by filename. A filename is no longer sufficient because the full name of a VI now includes any owning libraries.

The block diagrams are locked and therefore I cannot make any changes to allow it to open the VI reference for gathering the metrics.  Anyone have any solutions or a verification that the data output by the 8.2.1 ProMetrics tools are the same even though the interface has changed?

0 项奖励
3 条消息(共 7 条)
3,745 次查看
Hi cdlvuser,

I just ran the ProMetrics Compute Metrics for Display.vi with a single VI and was able to run it successfully in LabVIEW 8.2.1. Can you please tell me what steps you took when you got that error?
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 项奖励
4 条消息(共 7 条)
3,727 次查看

My subVI calls the Compute Metrics for Display directly sending it a list of VIs (see below).  The Compute Metrics for display calls Version Control CIN.vi with a single VI name and the operation "get metrics" and this is the VI that provides the error message.

0 项奖励
5 条消息(共 7 条)
3,717 次查看
You VI was not attached. It seems that ProMetrics Compute Metrics for Display.vi is not the one which is causing this error. This knowledge base article might help you out:
I Get Error -1445 When I Run Example Programs....
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 项奖励
6 条消息(共 7 条)
3,706 次查看

Thank you.  I was able to modify the Compute Metrics for Display.vi

It was calling Version Control CIN.vi with just a stripped path VI name passed in.  I wired in the path as well and it worked.

0 项奖励
7 条消息(共 7 条)
3,697 次查看