Skip to content

How to generate an atrbitrary waveform python script with NiRFSG? #821

Answered by DavidCurtiss
markusmat97 asked this question in Q&A
Discussion options

You must be logged in to vote

The examples here in the grpc-device repo are intended only to familiarize you with how to interact with the driver via gRPC. The entry points, though, largely mirror the C entry points, so it should generally be straightforward for you to adapt an example that you find elsewhere, like those mentioned here or here.

For example, after installing NI-RFSG, I found a C# example for arbitrary waveform generation here:
C:\Users\Public\Documents\National Instruments\NI-RFSG\Examples\VS2012\ArbitraryWaveforms\ArbitraryWaveformGeneration\cs
In the MainForm.cs file there, there's a StartGeneration method that you could mimic.

It's usually going to be easiest to translate from the CVI example, thoug…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@markusmat97
Comment options

@DavidCurtiss
Comment options

Answer selected by DavidCurtiss
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants