01-10-2006 10:25 PM
01-10-2006 10:39 PM
Hi,
If you mean to empty an array, just create a property node/local vatiable of an array and pass an empty array into it
Regards
Dev
01-10-2006 11:28 PM
01-11-2006
12:31 AM
- last edited on
04-27-2025
11:07 PM
by
Content Cleaner
Well Peter,
To be frank, it is the peak working hour (11:30 am to be precise!) in the part of the world i stay. ![]()
Yes, your observation is correct.
i have two suggestions.
see if this link helps you https://www.ni.com/docs/en-US/bundle/labview/page/vi-memory-usage.html
Plus is it possible to make this part of your VI a sub vi?,now,you can clear the array, close it and open it each time you want to 'kill' this array and/or use "Request Deallocation" from Functions palette-> Advanced-> data manipulation palette ??
do others have suggestions on this?
For the last part of your query, I have not come across a labview function that counts high and lows of a digital signal, so i am not sure, Sorry.
Regards
Dev
01-11-2006 10:34 AM
01-14-2006 08:53 PM
Hi Devchander,
Thanks again for your reply and link. I just got the chance to say thank you for your reply and link today. Work has been really crazy lately. After reading the link and per your suggestion, here's what I'd do: make the VI as a subVI, declare/initialize an array outside the loop, and when I'm done with the array I would replace the elements of the array with False (as if I initialize the array), and connect that to a shift register. That way, only one array is created and it is used over and over again in the loop. Thanks again.
01-14-2006 08:55 PM