LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -10401 AI Clock Config Problem - HELP! Hardware issue I believe

I'm trying to use a VI that was created on another PC but will work exactly how I want it to.... that is if it ever works. I know I'm getting this error because I have a PCI6110 card and it doesn't support clock configuring (I'm not sure what this even is but).
 
Is there a way to modify the AI library to get rid of the clock configs or is it easier to just swap boards assuming that is feasible on my end.
 
Thanks
 
Tim
0 Kudos
Message 1 of 15
(3,727 Views)
anyone?
0 Kudos
Message 2 of 15
(3,711 Views)

I've figured out the problem lies within the AI Start sub-VI that the program has in it. For some reason it isn't bothered by the Clock Config function in the AI Config sub-VI that I'm also using.

Another thing, if I simply delete the Clock Config then I start getting errors with the Trigger Config, which is called right after Clock Config in AI Start.

 

Sorry if my info isn't helpful at all, but I'd appreciate anyone just trying to help me out.

 

Thanks

 

Tim

0 Kudos
Message 3 of 15
(3,709 Views)
Tim,

The PCI-6110 should allow you to configure the sample clock, but this error will occur for a number of reasons.  Most likely is that it is trying to refer to a device that is not available on your system.  To see if the device is working, first check Measurement and Automation Explorer for basic functionality using test panels (My System >> Devices and Interfaces >> DAQmx Devices or Traditional NI-DAQ Devices, right-click on the board to access the test panels).  Once you have determined that the board is correctly functioning there, make note of the device number.  If it is the only device on the system it should be dev1.  Next make sure that your program does indeed refer to the correct device.  If you do have the correct device selected and still do not get the desired behavior, you might try to open an example program (Help >> Find Examples, Hardware Input and Output >> Traditional DAQ >> General) and running it to see if you get the correct behavior. 

Andy F.
Applications Engineer
National Instruments
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 4 of 15
(3,700 Views)
DAQ board is recognized just fine by MAX, and I can see all my inputs in the test pannel.
 
Using some of the NI examples I can acquire and record the channels just fine. My program is calling only device 1 which is correct. Again, the error is coming from the 'AI Start' sub-VI. I don't understand why it doesn't work in my VI, but works with all the examples and gives no error codes.
 
I have attached my code, incase anyone can help me out.
 
Thanks
Tim
0 Kudos
Message 5 of 15
(3,686 Views)

TimUIUC,

If you are using your default arguements saved in your VI, I noticed that you have selected channels 0:6.  The PCI-6110 has only four input channels.  Try running with the input channel list of 0:3, and see if that clears up the error.

Just a quick thought,

Dan

0 Kudos
Message 6 of 15
(3,682 Views)

oops, sorry, I fixed that I thought. That doesn't get rid of the -10401 error

Thanks though

0 Kudos
Message 7 of 15
(3,570 Views)
wait a minute, i'm not sure what has changed, but it seems to be working now... maybe it just never saved my changes.
 
THanks Mcdan
 
Tim
0 Kudos
Message 8 of 15
(3,672 Views)
Hi im new to labVIEW and Im getting the same error, i  dont understand why,
and im not really sure what he did to fix it?
Can anyone tell me in plain simple english what that error means?
It tells me something about the driver not supporting the device???
0 Kudos
Message 9 of 15
(3,662 Views)
Hi im getting the same error, im new to labVIEW, can someone tell me in plain english what it means? and what i can possible do to fix it?
0 Kudos
Message 10 of 15
(3,655 Views)