Pointing to input channels 1-4 on 125-14 4-input

Applications, development tools, FPGA, C, WEB
Post Reply
earlforeal
Posts: 33
Joined: Thu Aug 20, 2020 9:00 pm

Pointing to input channels 1-4 on 125-14 4-input

Post by earlforeal » Tue Jun 06, 2023 4:55 pm

I have a signal acquisition program written in C that utilizes the fpga_osc.h library to acquire signals from channel A and channel B on the 125-14 (2-channel input).
I recently got the 4-channel 125-14 and the program works just as it does on the 2-channel input 125-14. My question is, how do you point to the other two inputs "channel C" and "channel D" using this library? Or is a new library necessary? In the library there are only references to "channel A" and "channel B."

User avatar
redpitaya
Site Admin
Posts: 948
Joined: Wed Mar 26, 2014 7:04 pm

Re: Pointing to input channels 1-4 on 125-14 4-input

Post by redpitaya » Thu Jun 08, 2023 3:29 pm

Hello earlforeal,

The 4-Input version uses the address space of the signal generator for the other two inputs.
Theoretically, you could get away by just specifying the offsets for channels C and D:
https://redpitaya.readthedocs.io/en/lat ... -map-v0-94

Here is the oscilloscope.h form our GitHub (has functions for interfacing with the 4-Input):
https://github.com/RedPitaya/RedPitaya/ ... lloscope.h

(look one folder up for oscilloscope.c)

Post Reply
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 6 guests