Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error-10001

I had been running an executable LabView program on this computer, actually several.  Now I have an error 10001.  This program and the others (similar) utilize a PCI-6023 to acquire a small ac voltage.  Having read the other posts about this error I think the issue may be with NI-DAQmx, I am not sure that NI-DAQmx was on this computer when the executable was installed and operational.  I tried to figure out how to remove NI-DAQmx but have been unsuccessful.  There is no scaling required with the acquired voltage.  What can I do?
0 Kudos
Message 1 of 9
(5,658 Views)
Hmmm....

From the NI-DAQ reference:
–10001 syntaxError An error was detected in the input string; the arrangement or ordering of the characters in the string is not consistent with the expected ordering.

It's hard to say what the "input string" is from what you've told us. It could be just about anything.

I suppose it's possible that there is a conflict between NI-DAQ and NI-DAQmx; you should be able to remove the entire NI-DAQ installation from the Add/Remove Programs panel, then re-install just the traditional NI-DAQ.

When you say "Having read the other posts about this error" what did you find? I just did a quick search for "10001" and got nothing.
John Weeks

WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
www.wavemetrics.com
0 Kudos
Message 2 of 9
(5,660 Views)
 

Hi All-

The likely reason you are seeing the Error -10001 message is if your channel input controls/constants refer to improperly named or non-existant channels.  If you are using RDA and referring to the improper device number you might also run into an error. 

I would suggest that you verify all of your device numbers and make sure they are consistent with your code.  Also, I would check all virtual channels to make sure they are properly created and named. 

I would also try testing the card using the test panels in MAX and perhaps running the DAQ Diagnostic Utility or the E Series Diagnostic Utility to check for any problems with your card.

Hopefully this helps-

Tom W
National Instruments
0 Kudos
Message 3 of 9
(5,646 Views)

John,

I have removed NI-DAQmx, and a bunch of other stuff, and re-installed some stuff, not NI-DAQmx. I still get the same error.

 

To find other posts about error 10001, I went to "ni.com", then clicked on "Technical Support- KnowledgeBase", then did a search for keyword "10001"  http://search.ni.com/nisearch/nisearchservlet?nistype=default&filter=+%2BLanguageType%3AEnglish+%2Bn...

0 Kudos
Message 4 of 9
(5,627 Views)

Tom,

There are four executable LabView programs that are each/all giving me the same error,  10001.  What could have happened inside the computer (software wise) that would cause all four of these programs to fail the same way at the same time with the same error.  I replaced the PCI-6023E with a PCI-2024E and still have the same error.  I removed most of the National Instruments software and reinstalled it.  Is there a compatibility issue with a LabView executable program that was created with LabView 6.0 and some version of NI-DAQ or something that I am unaware of?

0 Kudos
Message 5 of 9
(5,620 Views)
Hey Dave-
 
Something as simple as the device number in MAX not matching the device numbers in your executable would be enough to make your software quit with this error.  I am extremely doubtful that it has anything to do with NI-DAQmx or any other software you might have installed.  I would verify in your executables that the device numbers and channel names match those that are set in MAX.  If you need to renumber your devices in MAX to match the software you can just right-click on the device name and alter the device numbers as needed.
 
Thanks-

Message Edited by Tom W. on 10-18-2005 02:17 PM

Tom W
National Instruments
0 Kudos
Message 6 of 9
(5,620 Views)

Tom,

Can and if so how would one rename the channels? 

0 Kudos
Message 7 of 9
(5,616 Views)

All

I finally got in touch with the LabView programmer, he had set the channel names in the LabView programs.  When NI-DAQ was updated the old channel names were lost.  The channel names have now been changed back, and he will use generic names from here on out.

0 Kudos
Message 8 of 9
(5,600 Views)

Hi Dave-

I'm glad to hear you got it sorted out- I knew it would be something simple like this that just got overlooked.  Best of luck with the rest of your development-

Tom W
National Instruments
0 Kudos
Message 9 of 9
(5,586 Views)