LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9423 selecting one channek as counter while other are binary

on the cRIO with digital Hi-speed input card 9423 I am trying to use one channel as a counter and the other channels as binary inputs. Can this be done? In the configuration if you change one cannel to the counter type all the remaining are also the same type. I am using scan mode -  would that be possible in FPGA mode?
Message Edited by millerman on 06-12-2009 06:27 PM
0 Kudos
Message 1 of 4
(3,038 Views)

millerman wrote:
In the configuration if you change one cannel to the counter type all the remaining are also the same type.

What exactly do you mean by this statement? What exactly are binary inputs; do you mean digital lines? The channel counter uses a digital line to function and you can change re-configure the personality in FPGA to do whatever you want with that digital line. And, yes if it can be done in scan mode, it can definitely be done in FPGA.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 4
(3,033 Views)

by binary I mean the same as Boolean: 2 state input ON/OFF or T/F.

 

In the module properties there is a menu item: Specialty Digital Configuration with the following items:

-none

-counter

-quadrature

When none is selected all the channels in this module are DI0 -DI7 of I/O variable type Boolean, if I selec a counter then all the channels in the module become CTR0 - CTR7 and of type double.  It seems that if want to use counter on one channel, you loose all the other channels (can't use them as a Boolean inputs)??

Does it make the sense?  Or there is a way around this??

Thanks

0 Kudos
Message 3 of 4
(3,021 Views)
OK now your questions is clear. Unfortunately, there isn't a way to use one channel for counter measurement and the others for other types of measurement. But, you can easily program counters in FPGA; that functionality (of changing digital line to counter measurement specific) just makes it easier for you. There are examples that will help you design a counter personality in FPGA; have a look in the Example Finder (Help -> Find Examples..). You can, then, use the other digital lines for any other type of programming. If you have any other questions, please post back.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Message 4 of 4
(3,017 Views)