NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Munson1027
Posts: 36
0 Kudos

Multiple PUlse Trains from a Single DO module

So I have a nagging suspiscion that the answer to my question is simply "It isn't possible" but I'll ask anyway.

 

I have a cDAQ-9172 and I am using NI-9472 modules in it.

 

What I want to do is very similar to this example:

 

http://zone.ni.com/devzone/cda/epd/p/id/5239

 

The difference being, I want to be able to control different lines at different 2 frequencies

For example: lines 0-3 cycle through pattern A at frequency Alpha, while lines 4-7 cycle through pattern B at a frequncy of Beta.

 

Is this possible witha single module? 

I know I can do it with two modules, but would prefer to use just one.

 

Thanks

Matt

Member
Steven_K.
Posts: 131
0 Kudos

Re: Multiple PUlse Trains from a Single DO module

Hi Matt,

 

You are correct, you cannot have different frequencies on different outputs of the same digital output module. This is because those lines share the same timing circuitry. Like you said, this is possible with using two modules.

Steven K.
National Instruments
DAQ Product Support Engineer
Member
Munson1027
Posts: 36
0 Kudos

Re: Multiple PUlse Trains from a Single DO module

Pretty much what I had figured, although I did think of an awkward to implement soultion:

 

You can write a subVI that correlates ths slower of the two frequencies to the faster on, and the create a waveform for all lines that is at the faster time base. Of course, correlating the two frequencies would be easy if they are integer multiples of each other, but if you wanted to allow arbitrary frequencies, the correlation can get pretty hairy...

 

Anyway, I already have the PO in for a new module, but if there are delivery delays, I might implement this...

 

Matt

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page