Quantcast
Channel: Multifunction DAQ topics
Viewing all articles
Browse latest Browse all 7019

Generate two independent signal and a pulse train with NI USB-6259

$
0
0

Hi all,

 

I am new to the forum, I have searched but I have not found any info about it.

 

I have recently implemented a vi which is capable to generate from a NI USB-6259 two signals which are different in frequency, amplitude and phase (see attachment).

In order to do that at each cycle the buffer size is changed accordingly to the frequencies in order to see an integer number of periods and, thus, not having leakage in generation (or jumps).

 

Now, I would like to generate a pulse train with a frequency which is an integer multiple of the frequency of the input signal (not the 50Hz one).

The resulting frequency of the pulse train could be changed on the fly (or at least being updated at each new cycle of the vi).

 

I am stuck because I have already declared two analog output channels and I want the pulse train to be a digital output for my board (channel PFI), have you got any ideas?

 

many thanks

 

Alberto

 

 

PS. The vi is "programma generazione.vi" but you firstly need to install "generating signal.vi"


Viewing all articles
Browse latest Browse all 7019

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>