Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

ni-9403 only 8 bit on cDAQ-9172

I have a cDAQ-9172 with a NI 9403. When driving from MAX I get all 32 outputs. When driving from Labview 8.5, I only get 1 8 bit bus <7:0>. Iam also running NI-DAQ8.7.1. How do I get all 32 bits to run in 4 8bit busses?
0 Kudos
Message 1 of 6
(3,849 Views)

mike.s,

Welcome to the NI forums.  In LabVIEW you can specify multiple ports when running one of the shipping examples that come with DAQmx.

In LabVIEW go to:

Help > Find Examples

In the Example Finder go to:

Hardware Input and Output > DAQmx > Digital Generation > Write Dig Port.vi

Here you can specify how many ports you want to write to by using a “:” in between port numbers.


I hope this helps!



Message Edited by Ryan N. on 04-16-2008 12:51 PM
Ryan N
National Instruments
Application Engineer
ni.com/support
0 Kudos
Message 2 of 6
(3,831 Views)
When I try to use the channels I've created those don't appear in LABVIEW, although, they do in MAX
  
They're proven to work but in labview i browse and nothing appears..
0 Kudos
Message 3 of 6
(3,823 Views)
My problem has been fixed. I had to uninstall and reinstall DAQmx. Now all of the software sees all of the hardware and it all works together. I had upgraded to nidaq8_7_1 and may not have done something right on the install.
0 Kudos
Message 4 of 6
(3,808 Views)
The example worked fine and, it lead me down the right path. Thanks.
0 Kudos
Message 5 of 6
(3,807 Views)

Hello JOelei,

 

If you're referring to these tasks not showing up in a LabVIEW channel constant control then the I/O name filtering may be the issue.  For information on how to change the filtering see this KnowlegeBase article:  Virtual Channels Missing in DAQ Channel Name Control or Constant.  I would also make sure that you're using a traditional DAQ Channel Constant and not a DAQmx Channel Constant.

 

In the future you may get a better response to your forum posts by creating a new thread rather than posting to the bottom of an unrelated one.  Creating a new thread for a new question also helps keep all of the information on the forums readily available and searchable for users in the future.

 

If you're still having trouble with this issue, please feel free to post back with more information.  It would be good to know what type of task you’re creating, what hardware you're using, and what versions of LabVIEW and Traditional DAQ you're using.

 

Have a great day!

Brooks
0 Kudos
Message 6 of 6
(3,802 Views)