Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

National Instruments DAQ driver does not have a setpoint #363

Open
mapmen opened this issue Sep 24, 2024 · 0 comments
Open

National Instruments DAQ driver does not have a setpoint #363

mapmen opened this issue Sep 24, 2024 · 0 comments

Comments

@mapmen
Copy link

mapmen commented Sep 24, 2024

Hi,

I'm trying to use the NIDAQ driver provided in qcodes_contrib_drivers.drivers.NationalInstruments.DAQ with a USB-6001 NI DAQ. When I try to use the datasaver , like this:

with context_meas.run() as datasaver:
    for set_v in pwm_0:
        daq_ao_2.set('voltage_0',set_v)
        get_v = daq_ai.get('voltage')
        datasaver.add_result((daq_ao_2.voltage_0, set_v),(daq_ai.voltage,get_v))
    dataset = datasaver.dataset

I get the following error: "daq_ai_0_voltage is an <class 'qcodes_contrib_drivers.drivers.NationalInstruments.DAQ.DAQAnalogInputVoltages'> without setpoints. Cannot handle this."

How can I add a setpoint to the measurement?

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

No branches or pull requests

1 participant