11-12-2012 07:51 AM
Hi!
I'm using TestStand 2012 with LabVIEW 2011 for measuring the current in my Sensor Interface module. In the TestStand program's setup part I initialize the DC current measurement channel, and as the VI's output I take the Session and error out. In the Main part in a for loop I measure the DC current, and save the value in an array. In the clean up part I close the DC current channel. I have 1200 iterration step in the for loop and after 2-300 step my computer get crashed, and I have to restart it, I can't do anything, can't move the mouse ... I in the for loop I tried to close and reinitialize the DC current channel after 100 and 200... step and this way it goes to 1183 ot 1200 and crashed.
I use NI-PXI-4071 DMM, Windows 7 and PXI-1033
Tomi
11-16-2012 02:59 AM
Hi Tamas!
I tried to reproduce the issue with a similar test sequence that I created, but without any success.
I ran the main part of the sequence for 10000 steps. During that I had a look on the resource consumption of teststand. I saw that it uses circa 6-7 times more memory, and 20 % of CPU, but for me it did not froze down.
I guess you ran out of memory, and because of this your OS freezes. Did you monitor the resource consumption?
Did you change anything in the settings of the VI call? How complex is your VI?
Is it possible to tell more about your sequence?
I have a suggestion, maybe it is worth to try it.
You wrote, you use a for loop. So if you go to the run options of the VI, you should set the Test recoding option to Disable. Due to this, the results will be evaluated after the 1200 iterations.
This solution is shown in picture TS_1.png
Or, you could achieve the same results, with deleting the for loop end enabling the looping in the settings of the called VI. This is shown in the TS_02.png image.
I suggest you to write an e-mail to techsupport@ni.com . If you can, please send the sequence, and I could have a look on it.
Please let me know, if my solutions helped, or please write to techsupport@ni.com
Best regards,
11-19-2012 01:33 AM
Hi Tamas!
Did you manage to try out my suggestions?
Did it solve your problem?
Please let me know if not. If the issue is solved, please mark it.
Best Regards,