Skip to content

Comments

Add Agilent33600a Arb waveform upload#112

Open
DanielTreuherz wants to merge 2 commits intoAlexShkarin:mainfrom
DanielTreuherz:add-agilent33600a-driver
Open

Add Agilent33600a Arb waveform upload#112
DanielTreuherz wants to merge 2 commits intoAlexShkarin:mainfrom
DanielTreuherz:add-agilent33600a-driver

Conversation

@DanielTreuherz
Copy link

Added arb waveform upload

Example usage

    num_points = 4e6
    sample_rate = 1e6
    t = np.linspace(0, 1, int(num_points))
    
    sig = np.sin(2 * np.pi * 50 * t) 
    sig /= np.max(np.abs(sig))

    
    awg = Agilent33600A(ip)

    awg.upload_custom_waveform('test', sig)
    awg.set_function('arb')
    awg.set_sample_rate(sample_rate)

    awg.close()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant