I have an application which requires a low frequency arbitrary function generator. Ideally I'd like to be able to set an amplitude (read from a .CSV file) every second or so. It looks like a 100Hz setting on the signal generator app is the lowest possible. The maximum number of points of 16383 is fine.
If anyone can suggest a way to achieve what I'm looking for with the existing software, that would be great. Otherwise, it's one for the wish list.
Request - Low frequency arbitrary function generator
-
- Posts: 3
- Joined: Sat Nov 29, 2014 10:43 am
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Request - Low frequency arbitrary function generator
Are you looking to output 1 sample every second ? Or do you want to change the amplitude of a higher (but still low) frequency signal every second ?
-
- Posts: 3
- Joined: Sat Nov 29, 2014 10:43 am
Re: Request - Low frequency arbitrary function generator
I'm just looking for the value in the .CSV file to be read every second, and for that to be the output level until the next value is read from the .CSV. The output will be converted to a 4-20mA signal for a process control application.
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Request - Low frequency arbitrary function generator
There is a really simple solution to your requirement:
The default generator settings are such that the first value in the output buffer will continuously be output through the DAC. Just issueon the command line and the value will appear as DC on the DAC outlets.
The range of values is 14bit two-s complement, 0x2000 = -16384 = -1.0V, 0x1fff = 16383 = 1.0V (roughly).
Writing a script that reads CSV and calls monitor every second should be easy.
I noticed that the scope application seems to interfere with the generator settings, so it is best to avoid using the web-apps while running your RedPitaya in that way.
The default generator settings are such that the first value in the output buffer will continuously be output through the DAC. Just issue
Code: Select all
monitor 0x40210000 <value 0x2000 - 0x1fff> //(for channel A)
monitor 0x40220000 <value 0x2000 - 0x1fff> //(for channel B)
The range of values is 14bit two-s complement, 0x2000 = -16384 = -1.0V, 0x1fff = 16383 = 1.0V (roughly).
Writing a script that reads CSV and calls monitor every second should be easy.
I noticed that the scope application seems to interfere with the generator settings, so it is best to avoid using the web-apps while running your RedPitaya in that way.
-
- Posts: 3
- Joined: Sat Nov 29, 2014 10:43 am
Re: Request - Low frequency arbitrary function generator
Thank you Nils.
I'm a complete beginner. I'll take a look and see how I get on.
I'm a complete beginner. I'll take a look and see how I get on.
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 5 guests