You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from the M2p-65xx AWG manual: "This mode allows the user to replay up to four additional digital channels that are synchronous and phase stable along with the analog data."
The digital waveform must be encoded in the analog samples like this:
defwrite_digital_waveform_to_bit_15_of_analog(
digital_waveform: NDArray[bool_], analog_waveform: NDArray[int16]
) ->NDArray[int16]:
ifanalog_waveform.shape!=digital_waveform.shape:
raiseValueError("Analog and digital waveforms must have the same shape.")
analog_waveform&=~1# Clear the least significant bit analog_waveform|=digital_waveform.astype(int16) # Set the least significant bit using bitwise OR returnanalog_waveform
from the M2p-65xx AWG manual: "This mode allows the user to replay up to four additional digital channels that are synchronous and phase stable along with the analog data."
The digital waveform must be encoded in the analog samples like this:
and then the mode enabled something like this:
The text was updated successfully, but these errors were encountered: