LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

troubleshooting error codes -10003 and -10401

Right now, in order to troubleshoot my .vi, I'm troubleshooting the smaller subvis that make it. When I try to troubleshoot the Group Config .vi, I get a -10003 and the other .vis give me a -10401 message. I looked up what both errors meant, and I'm not sure what to do about them.

 

-10003

It says "The value of a numeric parameter is invalid." I'm not sure what it means, as the error marker before has nothing, meaning it's in there somewhere. When trying out my googling skills, I found a page saying that it could be because of:

  • Invalid task ID. To make a valid task ID, use the SI Config or SO Config VIs. Also, when you call the SI Clear or SO Clear VIs, the task ID becomes invalid.
  • Unsupported format for sampling rate, number of channels, or channel.
  • On Windows, the Snd Play Wave File VI might return this error code. Make sure no other application is using the sound hardware (such as Windows Media Player). Pausing or stopping Windows Media Player does not solve this problem. You must exit the application completely.

I'm pretty sure my task ID works, or the .vi wouldn't start at all or maybe it would display results as if they came from both channels, like my old vi did. I don't about unsupported sampling, I'm using a DAQ-STC, can't picture anything else needed. I don't use Windows Media Player, so the third one doesn't work either.

 

-10401

It says the device is not supported by NI. Don't get as I still see it and Max and it works with other .VIs.

Download All
0 Kudos
Message 1 of 3
(5,725 Views)

Vi here, as it seems like I can only attach 3 attachments.

0 Kudos
Message 2 of 3
(5,724 Views)

Hello, you are definitely on the right track by searching on the sub VIs first, I would suggest using the highlight execution in order to track were the error is coming from. Once you locate the source, take a screenshot of the code and post it. In case you don't have it, here is the DAQ-STC Technical Reference Manual, you might find helpful information there.

Alejandro C. | National Instruments
0 Kudos
Message 3 of 3
(5,702 Views)