LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

generate free waveform

Hello there
 
for my project, I need following output:
 
i've a binary 12Bit-word which I want to give out to a coil. a logic one is a 400ns -5V and then 400ns +5V - sign. logic "false" is a 400ns +5V and then 400ns -5V.
 
is there anyone who can help me with this problem?
 
thanks in advance
Martin
0 Kudos
Message 1 of 5
(2,978 Views)
Hello Martin,

what kind of hardware do you want to use to generate this signal? Seems that you need a +/- 5V square wave with a frequency on 1,25 MHz. When you say that you have a 12 bit binary, do you need 12 lines in parallel, or is the output generated serially - using one line only?

regards
Ingo Schumacher
Systems Engineering Manager CEERNational Instruments Germany
Message 2 of 5
(2,964 Views)

Hi Ingo Schumacher

Thanks for your answer. We don't have the right hardware now..

The signals are not parallel. The idea is a serial output and between each "bit" there should be a break of 800ns.

I thought that I could solfe this problem with a bit wise "if" statement. If bit = 1, then output the singal for bit 1. ....  do you have a good idea to implement something like that?

Thank you!

Martin

0 Kudos
Message 3 of 5
(2,953 Views)
Hello Martin,

since you do not have the hardware yet, the first thing to do would be to decide which kind of hardware you want to use - the programming depends pretty much on the kind og hardware you are using so to design a program would be the second step.
Since your signals are +/- 5V, you cannot use a standard digital output line. For most of our digital boards, this operation is too fast anyway. To generate a +/- 5V signal with a standard board I would use an analog output channel.
In this case, just create an array of +/- 5 state values. One for each bit. If you then start a finite ao operation with an update rate of 2,5 MS you should be able to generate the signal as you specified it. Still, 2,5 MS is quite fast. But you could use the PCI 6111, for instance.

regards
Ingo Schumacher
Systems Engineering Manager CEERNational Instruments Germany
Message 4 of 5
(2,942 Views)

Hi!

Thanks for your support! And as you wrote, we're first going to check what kind of board we're going to need.. thank you also for the clue of the bord PCI 6111.

Martin

0 Kudos
Message 5 of 5
(2,931 Views)