ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

generate pam

Hey,
 
You can do this in a couple of steps. 
0 Kudos
Message 7 of 16
(1,789 Views)
Hey,
 
You can do this in a couple of steps.
0 Kudos
Message 12 of 16
(1,765 Views)

Hey,

You can do this in a couple of steps. The output of the "Simulate Signal" Express VI is a dynamic data type. From there, you can use the "convert from dynamic data type" VI to convert this into a 1D array of double precision numbers. From there, simply multiply the whole array by a scaling factor (ie. 127) to get an array of data with value sfrom -127 to 127. Finally, you can use the "To Byte Integer" VI to coerce each value in the array to an I8. I have attached a VI that does this. Let me know if you have any more questions and I hope this helps!

Regards,

David Hall | Applications Engineering | National Instruments

0 Kudos
Message 13 of 16
(1,770 Views)

Smiley Happy

Thank you very much, but there is something missing, I need 1`s and 0`s in the output.

The PAM.vi, accepts an input of 1 `s and 0 `s.

Well, i have another problem, I bought a DAQ (PCI 6221), it only has 2 analog outputs, but i need 7. I am designing a  circuit; i am using a demux. But if you have any suggestions (specially with thw software), that would be appreciated.

Greetings.

0 Kudos
Message 14 of 16
(1,762 Views)

Hi, Do you use the modulation toolkit?
I am having problems trying to modulate a wave.
In PAM Modulation, the information signal is analog ( i am using a sine wave) and the carrier has to be digital ( first i thought i had to create a vi for this, but now i think is the type of filter).
I don ´t understand the MT modulate pam.

Greetings

0 Kudos
Message 15 of 16
(1,751 Views)

Please check out this post:

http://forums.ni.com/ni/board/message?board.id=170&message.id=169974

David Hall | Applications Engineering | National Instruments
0 Kudos
Message 16 of 16
(1,725 Views)