Hi all,
I am new to Labview. I just bought PXI5122e and PXI6122 (with chassis) for laser scanning imaging purpose.
In the VI, my idea is to move laser beam to one position, acquire data, then move to next location (attached VI).
Problem 1:
I realize the longer I run the program, CPU memory keeps increasing, and eventually the VI's hangs. Is there anyway to resolve problem, e.g. throw away all data memoery once WHILE LOOP is going into next loop?
Problem 2:
If I increase my number of lateral point to 512points, the VI becomes very very slow.
I thought my DAQ card acquisition speed is not fast enough. However, if I input 1 lateral points, then increase number of records in NI-SCOPE Configure Horizontal to 512 records, it actually works.
Although acquiring 512 records at once is really fast, it may not work for my application, as I need to get 1 record, then move another location to acquire next record.
I wonder if there is any other way to make the VI more efficient?
Thanks!
Winson