09-30-2012 12:36 PM
Hi,
I am trying to use N1912A for long duration measurements. I am using the instrument driver and reading data in a loop. However, the power meter generates an error and it freezes my loop. Suprisingly it does not generate any error in the code, but it just makes it freeze. When I check the error list in the power meter, I see the following error:
"-213:Init ignored;
:INIT 1;<err>"
I do not mind if I miss a few data points, but I do not want my loop frozen. I just need to keep the measurement going. I attached my code. Any suggestions would be appreciated.
Thank you very much in advance.
-Tumay
10-01-2012 03:16 PM
Hello tkanar,
It sounds as though you just want to ignore this specific error. Is the error not showing up at all in LabVIEW? When it does freeze, at what point in your code is it stuck at?
Additionally, is there a reason you configuring your measurement in every iteration of the loop? This may be causing problems, as ideally only the actual measurement is kept in the while loop, while all configuration is completed beforehand.