LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change form of output signal without initializing new process of output signal

Solved!
Go to solution

Hello!

 

How to change form of output signal produced on the output channel without initializing new process of output signal?

 

Thanks 

Message Edited by _Pavel_ on 10-28-2009 05:21 PM
0 Kudos
Message 1 of 8
(3,735 Views)

Hey,

 

It depends on the hardware. If you are using something from NI I would suggest to post again a bit more specific in the hardware forums.

 

 

Christian

0 Kudos
Message 2 of 8
(3,715 Views)

I'm use PCI 6221. I think the task consists in correct installation and tuning DAQmx that becomes program.

Thanks 

0 Kudos
Message 3 of 8
(3,709 Views)

Could you please be a bit more specific?

 

- are you working with LabVIEW?

- what exactly is the problem?

- continous/finite generation?

 

Thanks,

Christian

0 Kudos
Message 4 of 8
(3,701 Views)

I'm working with LabView 8.5.1.

 

I have periodic TTL impulse with constant frequency – signal to start , which I'm used to start data acquisition (PCI-6251)and generation signal (PCI-6221).

When TTL signal a detection, necessary generation some analog signal (PCI-6221) and acquisition other analog signal (PCI-6251).  Then wait following TTL signal.

 

At this moment I write the part of the program which is responsible for data acquisition. Function retriggering (In examples C:\ProgramFiles\National Instruments\LabVIEW8.5\examples\DAQmx\Synchronization\Multi-Function.llb\Multi-Function-CtrRetrigg Pulse Train Generation for AI Sample Clock.vi) is used. This function necessary,because we start data acquisition each time on arrival TTL impulse, andrepeated creation of the virtual channel of data acquisition with the newtrigger spend a lot of time.

 

The problem consists in the following. Generation of the data from other card should occur on the same impulse TTL as for the data acquisition card and then generation zero value.

How I can realize it? I planned to change the form of an impulse of generation when detected TTL an impulse, without reinitialize process.

0 Kudos
Message 5 of 8
(3,697 Views)

You allready got an answer to this question here: http://forums.ni.com/ni/board/message?board.id=170&message.id=451576#M451576

 

 

Christian

0 Kudos
Message 6 of 8
(3,692 Views)

Thanks!

But this message I write about other problem.

If I use this program http://zone.ni.com/devzone/cda/epd/p/id/5008, I spend a lot of time on Start and Stop Task, but time is very critical for my taskWhether I can make it somehow differently? 

0 Kudos
Message 7 of 8
(3,685 Views)
Solution
Accepted by topic author _Pavel_

Yes, you can do the same without starting/stoping the task all the time.

Attached VI shows how to use retriggerable AO in the same way, using a counter as timebase for the AO.

 

Please notice that attached VI is using the same SubVI like the example you posted before.

 

 

Christian

Message 8 of 8
(3,675 Views)