I am using the
raw binary format for getting the output sample ,& as you
say I am getting the sample outputs in bits but for different
input values I am getting the almost
same sample values .
Command:
ts7800ctl –r”0” | dd bs=2
count=1000 2>/dev/null | hexdump –v –e ‘1/2 “%u, “’ >
ch0_500_samples.csv
For 0v
Input:
30768, 13367, 12336, 12343,
12298, 14200, 12340, 14128, 2608, 30768, 12343, 12336,
13367, 12298, 14200, 12336, 14128, 2608, 30768, 13367,
12336, 13367, 12298, 14200
For 0.5v
input:
30768, 13618, 12344, 13618,
2659, 30768, 13618, 12387, 13618, 2659, 30768, 13618, 12387,
13618, 2659, 30768, 13618, 12387, 13618, 2659, 30768, 13618,
12387, 13618
For 1v
input:
30768, 13109, 12387, 13109,
2659, 30768, 13109, 12387, 13109, 2659, 30768, 13109, 12387,
13109, 2659, 30768, 13109, 12387, 13109, 2659, 30768, 13109,
12387, 13109
For 2v
input:
30768, 12385, 12340, 12385,
2612, 30768, 12385, 12340, 12385, 2612, 30768, 12385, 12340,
12385, 2612, 30768, 12385, 12340, 12385, 2612, 30768, 12385,
12340, 12385
For 2.5v
input:
30768, 13923, 12340, 13923,
2612, 30768, 13923, 12340, 13923, 2612, 30768, 13923, 12344,
13923, 2616, 30768, 13923, 12344, 13923, 2616, 30768, 13923,
12344, 13923
now how to find the digital
output corresponding to analog input because there are so
many samples corresponding to each input & they all are
same for each input??
one more thing every time
the first sample is 30768 what does this means ???