Skip to content

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