LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Erro 10001 while running a VI in Labview 8.2

Hi,

 

I'm a university undergrad that is currently running a final year experiment using Labview 8.2. I'm using a VI that created last year and when I run it I get an Error 10001 and it says something about a bad string. However there are no errors with the VI file itself. My device that I’m using is a PCI-6024E card with the NI-DAQ 7.4.4 drivers.

 

Basically, in the experiment I am running a 5 volt analog input through the card (as I'm using a potentiometer). In Measurement and Automation, it can read the device and I have also run the test panel and everything checks out there. Is there something I have to do in the VI file? I'm really at a loss and don't have much time left to finish this project.

 

I would be grateful for any help you could offer me.

 

Thanks,

Rory 

0 Kudos
Message 1 of 8
(3,136 Views)
There is something wrong in the string that defines the channel(s) of the measurement. Please post the value which produces the error and we will be able to help you. This link may be helpful.


Message Edité par JB le 03-03-2008 04:00 PM
0 Kudos
Message 2 of 8
(3,132 Views)
Hi,
This KB discusses how you can handle the DAQ -10001 Error.
Regards,
0 Kudos
Message 3 of 8
(3,108 Views)

Is it possible if send someone the VI file that they can have a look at it?

 

0 Kudos
Message 4 of 8
(3,093 Views)
Right below the message box is an attachment field and a Browse button that you can use to point to your VI.
0 Kudos
Message 5 of 8
(3,079 Views)
Here is the VI with the error 10001...
 
0 Kudos
Message 6 of 8
(3,062 Views)

It looks like you have defined some channels or a task in MAX. It has been a long time since I've used traditional DAQ but I don't think you can do that. I think the channels/task you've defined can only be used with DAQmx. For traditional DAQ, use a channel number like '0' (without the quotes).

Since your board and version of LabVIEW support DAQmx, you should be using that.

0 Kudos
Message 7 of 8
(3,058 Views)
Thanks for your help,
 
I've finally got rid of the errors, but when i run the VI while using the potentiometer, i'm not getting any readings on the graphs (on the front panel). I've checked for errors but cannot find any...
 
Any help is appreciated,
 
Thanks
 
 
p.s. i've attached the VI so you can see what i mean...
 
0 Kudos
Message 8 of 8
(3,040 Views)