06-29-2015 09:44 AM
When trying to run my VI I get this error at every DAQmx:
NIDAQmx base error 200428
The error message then says:
Possible reason(s):
Value passed to the Task/Channels In control is invalid.
The value must refer to a valid task or valid virtual channels.
Task Name: QuickCapture
How do I fix this?
06-29-2015 09:52 AM - edited 06-29-2015 09:53 AM
Not much information here. It's dangerous to go alone! Take this.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
07-01-2015 10:41 AM
What other info would help here?
07-01-2015 10:57 AM
We need information pertaining to your specific subVI and/or task configuration. This error is a generic error that tells you that you didn't write the correct task to the DAQmx input, or your task isn't set up right. Without seeing what you're actally doing with your DAQmx task, that help article is the best advice that can be given when you just give us the error code.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
07-01-2015 12:31 PM
The vi is a subvi to a huge code containing hundreds of subvi's. So would it change anything if I said I only started noticing it when I added an export waveform to excel node?
07-01-2015 01:40 PM
07-01-2015 02:07 PM - edited 07-01-2015 02:37 PM
First off, you're not handling any of your error clusters. Wire those puppies up so you can see if one of your DAQmx VIs throws an error.
Are you getting the error within the subVI that you shared the screenshot of, or are you seeing the error after that subVI finishes running? You have a Clear DAQmx Task VI there, which could cause trouble if you try to do other things with the task after that.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
07-02-2015 07:50 AM
It looks like the error occurs within the subvi. and at every DAQmx part of the code.
07-02-2015 07:53 AM
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
07-02-2015 07:56 AM