Jump to content

Question

Posted

Hi,

I anticipate that I am new to DAQ devices.  I'm looking for a product that meets the following requirements:

1) Work on a Linux machine

2) Have a Python API

3) Be able to acquire voltages at a sufficiently high rate (>=100kS/s)

4) Be able to generate an output signal of a desired waveform (sinusoidal, sawtooth, etc..)

5) Be able to change some parameters of the generated signal (e.g. amplitude or frequency) from a Python script, as some specific inputs are detected.

In this list
https://files.digilent.com/manuals%2FLinux-hw.pdf

I saw products like

USB-1608GX-2AO

which seem to do what I need. However, it is not clear to me how this type of device can be used as a signal generator controlled by the Python API (https://github.com/mccdaq/uldaq).

I have seen the 'uldaq-1.2.3/examples/a_out_scan.py' example for generating a waveform and it is promising, but I was wondering if there is a way to simply output a given waveform and then update (for example) its amplitude as I would do with a knob, without having to generate the data each time I need to update.

Do you have any suggestions?

Thanks in advance

Apl

2 answers to this question

Recommended Posts

  • 0
Posted

Thank you very much for the reply @Fausto,

Just to be sure about how to handle the data update from the python script (always referring to the uldaq-1.2.3/examples/a_out_scan.py example):

Let's say I have in the buffer A*sin(omega*t) for one second, then after
0.5 s I receive an input and I have to update the signal to A_2*sin(omega*t)
does the output instantaneously switches to the second waveform or it
waits the end of the previously set 1 s interval to change?

Thanks again,

Apl

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...