LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

AM Modulation with nifgen in Python

Hello,

 

   I'm attempting to create Python code that runs inside Labview that uses nifgen and a PXI-5421 to AM modulate a Sine wave. So far I haven't come across too much documentation on this. Any help would be greatly appreciated!

 

 

Jay

0 Kudos
Message 1 of 4
(1,223 Views)

Unrelated, but why complicate things, when you've LV you can implement it in LV itself.

 

May be if you've some signal generation in Python, you can get the waveform from Python and still use FGEN driver on LV.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 4
(1,193 Views)

What I'm trying to do is take some really old GW-Basic code that's been working for years and convert it to Python, rather than re-write the code in Labview. There are a lot of timing issues that I'm trying to avoid rehashing out if I start over in Labview. In going this route I'm hoping to avoid extra complexity, but I could be wrong.

 

 

Thanks,

Jay

0 Kudos
Message 3 of 4
(1,189 Views)

@JayWW wrote:

What I'm trying to do is take some really old GW-Basic code that's been working for years and convert it to Python, rather than re-write the code in Labview. There are a lot of timing issues that I'm trying to avoid rehashing out if I start over in Labview. In going this route I'm hoping to avoid extra complexity, but I could be wrong.

 

 

Thanks,

Jay


Your timing will already be vastly different once you re-write the code in Python. Different languages will have different execution times. The interpreter is completely different and there is no way that you will be able to reproduce the exact timing simply by porting the code.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 4 of 4
(1,184 Views)