Jump to content

Alexplace2001

Members
  • Posts

    2
  • Joined

  • Last visited

Alexplace2001's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Hello Fausto Thanks for the quick reply. I had a 3.7kOhm resistor on the second channel, and I was reading both channels. I changed my program to separate the output array from .a_in_scan_read() for every other value and it seems to work fine. Just confirm this is the normal functionality: When reading the data array from .a_in_scan_read() for two channels in a mcc172 the format is: [ch1,ch2,ch1,ch2,ch1,ch2,ch1,ch2.....................] And when reading data from two channels on a mcc128 the format is: [ch1,ch1,ch1,ch1,ch1,ch1,ch1,ch1,ch2,ch2,ch2,ch2,ch2,ch2,ch2,ch2] If this is correct the example in "daqhats/examples/python/mcc172/fft_scan.py" should be updated to reflect that. Thank you very much. Alex
  2. Hello I have a MCC172 board on a raspberry pi 4 running on bookworm OS. Everything seems to work fine, but when I collect data every other value is near to zero. I'm logging the data using the fft_scan.py python example in the mcc172 folder. I also tried my own code and I get the same result. Here is how the data looks like: ime data (V) -0.442388 0.004422 -0.441754 0.004609 -0.441301 0.004313 -0.440768 0.004711 -0.440261 0.004175 -0.439663 0.004668 -0.439011 0.005475 -0.438566 0.004116 I used a mcc128 on the same system and worked with no issue. Thanks in advance Alex
×
×
  • Create New...