ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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

VI in memory

I just wonder in what kind of situtation the VI will exit memory after running and in what kind of stitutation the VI will stop running but still being used by the caller. For example, does the function" Close LV object reference" will make the VI exit memeory?
Further more, how can i remove VI from memory after it stop running?
0 项奖励
1 条消息(共 7 条)
4,036 次查看
If you call vi by reference than after using "Close LV object reference" VI exit from memory. If you call vi usually it will be in memory all time caller is runing.
0 项奖励
2 条消息(共 7 条)
4,036 次查看
LabVIEW 6.1 ships with an application note entitled "LabVIEW? Performance and
Memory Management". The first part of the document discusses how to use VI profiler but the latter part discusses how memory is managed and how the programmer can make better uses of resources. To find the document goto help and search for "memory management performance", You can also find the document on our web site http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/732cec772aa4fbe586256a37005541d3?OpenDocument

Jeremy Braden
National Instruments
0 项奖励
3 条消息(共 7 条)
4,036 次查看
A VI is released from memory when a) its Front Panel is closed AND b) no running VI has a reference opened to the VI.

A VI can stay running in memory with its panel closed when it opens a reference to itself. The exeption is in a Run-Time executable, where the apllication quits when all VI Panels are closed.


LabVIEW, C'est LabVIEW

0 项奖励
4 条消息(共 7 条)
4,036 次查看
If VI running by reference node it will be released from memory when it finished even its FrontPanel is opened.
0 项奖励
5 条消息(共 7 条)
4,036 次查看
'
If the VI is reentrant, I agree that a peculiar instance of the VI is released from memory when the reference is closed but if the Front Panel of a VI is opened obviously that means that the VI is still loaded in memory. You can verify this reading the application property "All VIs in Memory".


LabVIEW, C'est LabVIEW

0 项奖励
6 条消息(共 7 条)
4,036 次查看
O.K.
0 项奖励
7 条消息(共 7 条)
4,036 次查看