ni.com is currently undergoing scheduled maintenance.

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

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error -222

Solved!
Go to solution

So I am running a program and the error message -222 appears every so often causing an anomaly in my data. I am not sure why, I have attached the sub Vi I am using causing this error, which only measures a marker height on a spectrum analyser (using Tek signalVu-PC).

 

When the error message does appear I can just continue and it will keep going with the measurements but leave a 0 in the array the data is being uploaded to.

 

  • on the error message the “why no found?” is no help
  • I don’t think the data is out of range because I am monitoring the analyser and the marker is clearly on the peak within the reference level (dBm)

 

If you have any suggestions please let me know,

Thanks for any assistance

Z

Download All
0 Kudos
Message 1 of 2
(4,944 Views)
Solution
Accepted by topic author zandrous

Update,

 

I have solved the problem. 

I have fixed the error so that the sub vi just re runs until the error is no more.

0 Kudos
Message 2 of 2
(4,863 Views)