Forums › VSG Series Discussions › Sample csv/excel file
- This topic has 3 replies, 3 voices, and was last updated 8 years, 1 month ago by
Justin Crooks.
- AuthorPosts
g0sParticipantHi,
I bought a VSG for some experiments.
I would like to generate CW/FM signal by importing the .csv file, so that I can modify the frequency/BW, etc of the signal without using the GUI in the software.
I know this can be done in excel, but I have no idea what functions I need to use to start with.
Thanks in advance.
Justin CrooksModeratorThe .csv file is generally for non-standard waveforms. Our API can be used to control the VSG without the GUI.
The CSV file can be used if you have less than 2048 I/Q samples you wish to send, either as a repeating burst, or a continuous loop.
AndrewModeratorHello g0s,
There are a few ways to load a custom waveform for the VSG. I know you don’t want to use the application we provide, but the easiest way is to use the UI to load the custom waveform file. There are example waveform files in the application directory at
C:\Program Files (x86)\Signal Hound\VSG25\arb_examples
You can also use the C programming interface we provide, the files for which are also provided in the application directory at
C:\Program Files (x86)\Signal Hound\VSG25\api
You will want to use the sgSetFrequencyAmplitude and sgSetCustomIQ functions to achieve this.Waveforms can be created in excel or a number of other ways, common ways might be using a math library such as Matlab, etc.
Let us know if you have more specific questions.
Regards,
Andrew
Justin CrooksModeratorIf you’re building CW / FM waveforms in excel, you can generate the instantaneous phase data, and then use the sin and cos functions to convert to I/Q data.
- AuthorPosts
You must be logged in to reply to this topic.