LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Finite generation of Clock Pulse Train with PCI-6711

Hello All,

I am currently working on a control systems project which requires synchronization between digital and analog signal generation, where certain analog signals are output as Ramping signals.  Currently, I have created the programming for microsecond digital control, and I am able to synchronize analog generation by dedicating a digital line from the PCI-6229 board as a sample clock for a changing analog voltage.  To achieve this I hardwired a line from digital output 31 of the 6229 board, and ran it to the PFI 1 line of the 6711 board.  This method does allow for step changes of the voltages everytime the digital line goes low.  So essentially, I am able to create the digital signals I need, as well as change analog values in a one edge step.  However, there will be certain parts of the experiment which require the analog voltage change be slowed down slightly, with the use of the ramping function vi. This means that instead of changing the analog values in large steps, the program needs to write an array with many small steps between one voltage and the next, and then use a much faster sample clock to output the values.

My solution for this is to use an analog counter, which is triggered by a different digital line, to create a finite pulse train with a frequency of 10kHz, that will put out as many samples as the timing file designates.  This 10kHz signal is then hardwired into the same PFI line that was set to receive digital output 31.  This means that the PFI line will receive either a very slow clock from the changing digital line, or a very fast clock from the triggered 10kHz.

My first question is, will it potenitally damage the board if say the PFI line received 2 high signals at once? If we are careful with our data setup this should not happen.

Secondly, in the program I have attached, I am able to make the counter output a 10kHz signal, but only when the implicit clock is set to continuous samples, and in this case the 10kHz train does not stop unitl I end the program, I have looked at the example Gen Dig Pulse Train-Finite-Retriggerable, where I am able to make a 10kHz signal that only lasts for x amount of time, and the only difference I can see between my program and the example is the location of the start task vi.

 

0 Kudos
Message 1 of 3
(2,908 Views)

Wouldn't let me attach my program to the previous post, here is the program, please note that this is only setup for the anaolg step changes, but I do know how to write the loops for generating arrays which include ramping values.

Thanks in advance for any advice or reccomendations!

0 Kudos
Message 2 of 3
(2,905 Views)

Hi gypsyarizona87,

 

The PCI-6711 has overvoltage protection of 25V when powered on and 15V when powered off.  The combined voltages from two high signals at once should not reach either of these voltage levels.

0 Kudos
Message 3 of 3
(2,849 Views)