Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

error 10007

i hav a loadcell wired with its signal conditioner, then, the signal out is hook up to SCC AI03, analog input, voltage measurement. after configure the channel in MAX, good clean signal can be obtained. but, when run in the main program, this error 10007 pop up.
 
Error-10007 occurred at AI Group Config
 
Possible reason(s) :
NI-DAQ LV : A channel, port, or counter is out of range for the device type or device configuration;
or the combination of channels is not allowed; or the scan order must be reversed (0 last).
 
appreciate if someone who encountered this error could offer me some suggestion.
 
thanks.
 
tlk 
0 Kudos
Message 1 of 5
(4,264 Views)
Hi tlk,
 
I did a quick search in the online KnowledgeBase, and lots of information on error -10007 came up.  I found a few that I thought might be helpful in your case:
 
Error -10007 When Using Virtual Channels and Unnamed Channels In the Same Channel String
 
Thanks,
 
Justin M.
National Instruments
0 Kudos
Message 2 of 5
(4,247 Views)

hi Justin,

thanks.

what I don't understand is the last statement, > the scan order must be reverse (0 last).  for this, i try to change the channel in the front panel of the program vi. , then, make it current value default. 

if i run only this vi., it is ok, but when run on the program "main vi", the error still there. actually the main vi is very complicated, we hav integrated 6 sensors, LVDT, Laser scan micrometer, CCD,Load cell, pyrometer, thermocuples, in one tensile machine, and we also control the speed of the stretching motor. i guess something wrong with the main vi.

 

 

0 Kudos
Message 3 of 5
(4,233 Views)
Hi tlk,
 
You have to be careful about what you are wiring into the pins on the subVI from the main program.  Even if you set the correct values as default in the subVI, any values wired in externally will be used before any default values.  Those default values will be used if nothing is wired in as an input.
 
It sounds like you have a pretty big program, which are always hard to debug.  I suggest using the Highlight Execution mode in conjunction with breakpoints, which will allow you to slowly step through your program to narrow down where the error is actually occuring.  You can also use probes to see values on wires, such as what you are actually sending to that subVI as inputs. 
 
Justin M.
National Instruments
0 Kudos
Message 4 of 5
(4,217 Views)

hi Justin,

thanks for your reply and suggestion.

I found the problem, it was the channels configuration of DAQ device. i left one of the channel within 0-9, blank (channel 8 was blank,virtually did not exist), which mean I skip this virtual channel totally, without any configuration in MAX. so, after i configured it by naming the channel "empty', the error did not appear any more.

thanks.

 

 

0 Kudos
Message 5 of 5
(4,214 Views)