03-22-2010 12:03 PM
03-23-2010 03:19 AM
Hi Anku
You can find explanations to error codes in labVIEW by going to the Help menu and selecting Explain Error and then inputing the error codey you get. You can also right-click in the error node in you program that presents this error and choose "Explain error". The two error codes you have posted have the following explanations:
-50016:
"NI Platform Services: The specified window type is not valid or is inappropriate in the context of the current device configuration. The operation could not be completed as specified."
-50303:
"NI Platform Services: The specified device could not be initialized. The operation could not be completed as specified"
Does both of these error occur in the same attempt to run or at different attemps to run the code? In which order are you getting these errors if they appear at the same time? The second error code indicates that you either don't have a connection to your instrument, that it's not configured correctly (such as the first error indicates) or that the instrument is not functioning as it should. The first error is a configuration error and could also be a result of the second error (i.e. no connection or broken instrument). So as both error codes you are getting could be a result of the other it is important to note which occurs first.
Best Regards
David
NISW