08-12-2021 12:11 PM
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
08-12-2021 03:01 PM
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.
08-12-2021 03:22 PM
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
08-12-2021 04:08 PM
@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.