LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clearing a channel

On a number of occasions I have received the error -10408, "The
Specified Channel Is In Use", when I try to configure a given channel
for Digital I/O. Well, if the Configure vi doesn't reset the channel
and make it available to use, how else can I initialize the channel?

The "DIO Clear" vi seems to do this, but this vi requires a Task ID as
an input, and I don't know the task ID's of processes running on the
card, so that doesn't help.

-Brandon Kuczenski
Matthew.B.Kuczenski@jpl.nasa.gov
0 Kudos
Message 1 of 2
(2,617 Views)
Matthew,

This usually happens to me when I stop my VI while doing DIO commands
before I've cleared them with DIO Clear. The only way to reset the
board so that the specified channel is NOT in use is to completely go
out of LabVIEW and go back in.

Hope that helps.

Mark

In article <3921C807.94000994@splorg.org>,
bkuczen@mail2.jpl.nasa.gov wrote:
> On a number of occasions I have received the error -10408, "The
> Specified Channel Is In Use", when I try to configure a given channel
> for Digital I/O. Well, if the Configure vi doesn't reset the channel
> and make it available to use, how else can I initialize the channel?
>
> The "DIO Clear" vi seems to do this, but this vi requires a Task ID as
> an input, and I don't know the task ID's of proces
ses running on the
> card, so that doesn't help.
>
> -Brandon Kuczenski
> Matthew.B.Kuczenski@jpl.nasa.gov
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.
Message 2 of 2
(2,617 Views)