LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get a digital out task to only generate port 0?

Solved!
Go to solution

HI;

 

I have a VI into which I feed a DO 9476 task. When I created the task, I selected port 0 (which was the only option). When I run my VI, I get an error that tells me I'm looking for 8 bits yet the task feeds in 32.

 

See the attached VI and error screen shot.

 

Any ideas?

 

 

Thank you,

0 Kudos
Message 1 of 2
(2,256 Views)
Solution
Accepted by 4BoysDad

4BoysDad,

 

It seems you are trying to output to the port (which has 32 lines) instead of a collection of lines.  When you create the task, instead of choosing Port Output, choose Line Output, and select the 8 lines you would like to write to in the next dialog (shown below).

 

Digital Line.png

 

lines.png

Drew T.
Camber Ridge, LLC.
0 Kudos
Message 2 of 2
(2,235 Views)