LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

generate finite pulse train with increasing pulse widht at every pulse

Hi all

I want to generate on my DAQ Card PCI MIO 16XE-10
an finite pulse train.(Labview)$

for example :

Signal should have 200 Hz
number of pulses:8000 (or 40sec ; very important)
the pulse widht has to increase at every pulse a little bit.

I tied it with the analog out.
But at the same time I want measure another signal at the analog inb
so it doesnt realy work.

With the counters I have the problem that my signal isnt realy
constant.

Hope you have some solutions

baesi
0 Kudos
Message 1 of 7
(3,093 Views)
I have written an example.
It is in the file attached.
It generates the squares with increasing duration and then concatenates them in array.

Oleg Chutko
0 Kudos
Message 2 of 7
(3,093 Views)
Be surprised if this is adequate. As I recall, the original poster wants to
run around 200Hz; I don't think a Labview VI will be able to do this. You
need to take the array and then use it to program an arbitrary waveform
generator, ideally.

As a bodge, though, making an astable multivibrator circuit, replacing the
timing resistor with a transistor and having the gate of the transistor
grounded through a capacitor will have the result of making a pulsed
waveform that starts off fast when the gate is pulsed and then gradually
slows down as the capacitor discharges. Another transistor in parallel with
the capacitor could be used, with a single analogue output voltage, to
control the decay speed from the PC.

Oleg wrote in message
news:50650
000000500000075530000-1007855737000@exchange.ni.com...
> I have written an example.
> It is in the file attached.
> It generates the squares with increasing duration and then
> concatenates them in array.
>
> Oleg Chutko
0 Kudos
Message 3 of 7
(3,093 Views)
Ok,
I thought he/she has a problem with creating of waveform for AnalogOutput. If the problem is in hardware then of course your idea with multivibrator will be more useful.

Oleg Chutko.
0 Kudos
Message 4 of 7
(3,093 Views)
Baesi;

If I understood correctly you are looking for a variable duty cicle pulse train.
That can't be achieved with counters, but you can do a digital pattern generation and specify exactly the digital waveform you need. To do that, you will need either the 6533 or 6534 boards.
Then you can specify an array containing the digital pattern and download to the board so that pattern can be generated at one of the digital lines.
Hope this helps.
Filipe
0 Kudos
Message 5 of 7
(3,093 Views)
Filipe wrote in message news:<506500000005000000C2530000-1007855737000@exchange.ni.com>...
> Baesi;
>
> If I understood correctly you are looking for a variable duty cicle
> pulse train.
> That can't be achieved with counters, but you can do a digital pattern
> generation and specify exactly the digital waveform you need. To do
> that, you will need either the 6533 or 6534 boards.
> Then you can specify an array containing the digital pattern and
> download to the board so that pattern can be generated at one of the
> digital lines.
> Hope this helps.
> Filipe


Hi all

I found a solution.

I fill 8000000 Points into the buffer of the PCI MIO 16XE-10 and then
I start the output.?(My misstake was to use the ringbuffer)

No it isnt a problem t
o use the analog in at the same time.

thanks for your advices

baesi
0 Kudos
Message 6 of 7
(3,093 Views)
Hallo Oleg ,

I find your example is very interesing for my project in my Uni now ..... And i want to ask , how to generate such signal to my SCB-68 shielded connector blk (so i can use that pulse signal as my digital voltage source for my circuit) and what PIN shouuld i use? I have once heard that PIN PF19/GPCTR0_GATE and PF14/GPCTR1_GATE should be connected (with wire).....
Thanks for your time
Jimmy
0 Kudos
Message 7 of 7
(3,093 Views)