Sundance SMT356 User Manual
Page 25
Version 2.1
Page 25 of 26
SMT356356 User Manual
Continue to read the FIFO while the flags indicate it is not empty.
while( ((temp=*flags & 0xFF00)) != 0xCC00) {
temp=*fifobase;
Plot a pixel for each sample point in each channel on a separate trace.
plot(i/8,(i&7)*32+(temp>>11),0xff);
i++;
Every 32 pixels, redraw the window. This just makes the ‘scope trace a little
smoother.
if((i%32)==0) updateplot();
}
updateplot();
This is just for information.
printf("\nRead %d words\n",i);
A little check to see if all of the data was read properly.
if(i==samples*active_channels) printf("ok\n");
else printf("data length
error\n");
This is just for information.
for(i=0;i!=16;i++);
temp=*flags;
printf("%08X\n",temp&0xFF00);
}
}
See also other documents in the category Sundance Equipment:
- SMT107 (16 pages)
- SMT6035 v.2.2 (39 pages)
- SMT6012 v.4.6 (22 pages)
- FC100 (12 pages)
- FC108 v.1.1 (10 pages)
- SMT6065 v.4.0 (45 pages)
- FFT v.2.1 (19 pages)
- SMT111 (18 pages)
- SMT118LT (10 pages)
- SMT118 (20 pages)
- SMT123-SHB (13 pages)
- SMT128 (15 pages)
- SMT145 (18 pages)
- SMT148 (35 pages)
- SMT130 v.1.0 (46 pages)
- SMT148FX (48 pages)
- SMT310Q (55 pages)
- PARS (70 pages)
- SMT166-FMC (52 pages)
- SMT166 (44 pages)
- SMT300Q v.1.6 (61 pages)
- SMT310 v.1.6 (50 pages)
- SMT317 (24 pages)
- SMT326v2 (24 pages)
- SMT338 (19 pages)
- SMT349 (32 pages)
- SMT339 v.1.3 (27 pages)
- SMT338-VP (22 pages)
- SMT358 (25 pages)
- SMT351T (37 pages)
- SMT351 (25 pages)
- SMT350 (45 pages)
- SMT362 (30 pages)
- SMT365G (23 pages)
- SMT364 (37 pages)
- SMT373 (15 pages)
- SMT368 (24 pages)
- SMT370v3 (46 pages)
- SMT377 (22 pages)
- SMT381 2007 (31 pages)
- SMT381-VP (81 pages)
- SMT387 (42 pages)
- SMT391 (18 pages)
- SMT384 (47 pages)
- SMT390-VP (55 pages)