Sample csv/excel file

Forums VSG Series Discussions Sample csv/excel file

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #145680
    g0s
    Participant

    Hi,
    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.

    #145943
    Justin CrooksJustin Crooks
    Moderator

    The .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.

    #145955
    AndrewAndrew
    Moderator

    Hello 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

    #145956
    Justin CrooksJustin Crooks
    Moderator

    If 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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.