منصوبے کے بارے میں
fynescope PicoScope 2000B اور 2000B MSO Series PC oscilloscopes کے لیے ایک prototype graphical user interface اور control application ہے۔ یہ Go میں لکھا گیا ہے اور Fyne widget toolkit کے ساتھ PicoScope 2000A series SDK پر بنایا گیا ہے۔ معاون platforms Linux اور Windows 11 (x64، ARM64 / Raspberry Pi 4 اور جدید تر) ہیں۔
بنیادی صلاحیتیں
- Time-domain oscilloscope f(t): multi-channel waveform capture، vertical اور time divisions، linear اور sin(x)/x interpolation، persistence، اور ایک آزاد Time Zoom window جو بیک وقت wide-scale اور detail inspection کے لیے ہے۔
- Mixed-signal (MSO) support: MSO models جیسے 2206B MSO کے لیے digital channel visualization (D0-D15)، digital edge/pattern triggers، قابل ترتیب logic thresholds (TTL، CMOS، ECL یا custom)، اور لچکدار channel stacking۔
- Triggering: Simple Edge، Advanced Edge، Window، Interval، Pulse Width، Window Pulse Width، Runt، Dropout، Window Dropout، Logic، اور Complex multi-channel triggers۔
- Protocol decoding: analog channels پر built-in UART اور SPI decoding، inline frame token overlays اور error flags کے ساتھ۔
- Spectrum analyzer FFT: linear یا logarithmic frequency axes کے ساتھ real-time frequency-domain analysis۔
- Frequency response analysis f(f) / Bode plots: magnitude اور phase plots کے ساتھ خودکار frequency sweeps، built-in AWG یا external SCPI signal generators کے ساتھ مربوط۔
- X-Y mode f(v): phase relationships اور Lissajous patterns کا تجزیہ کرنے کے لیے ایک channel کو دوسرے کے مقابل plot کریں۔
- Virtual/math channels: expr engine کے ذریعے arbitrary expressions (مثلاً chA + chB، chA * chB، offsets اور scaling) استعمال کرتے ہوئے physical inputs سے real-time computed channels۔
- Digital اور analog filters: real-time low-pass، high-pass، band-pass اور band-stop FIR/IIR filters، zero-phase (FiltFilt) capability کے ساتھ، نیز demo mode میں simulated RLC filters۔
- Correlation: channels کے درمیان real-time Pearson scalar correlation اور cross-correlation۔
- Signal generator / AWG: built-in arbitrary waveform generators (sine، square، triangle، ramp، DC، noise، sweeps) کا کنٹرول۔
- SCPI support: automated testing اور Bode plot generation کے لیے USB کے ذریعے external SCPI signal generators کا کنٹرول۔
- Hardware-free demo mode: built-in signal simulator جو multi-channel analog waveforms، digital patterns، sweeps اور noise پیدا کرتا ہے، تاکہ پوری UI بغیر hardware کے explore کی جا سکے۔
- Remote web server اور voice control: web browser پر live MJPEG streaming، Web Speech API (-webport) کے ذریعے hands-free voice commands، basic authentication سے محفوظ۔
- Remote HTTPS REST API: oscilloscope status query کریں اور parameters کو programmatically configure کریں (-apiport، -apiauth)۔
Build اور استعمال
Demo mode بغیر PicoSDK یا C toolchain کے چلتا ہے: go run -tags=demo . -demo۔ حقیقی hardware support کے ساتھ build کرنے کے لیے Go 1.27، ایک C compiler اور official PicoScope SDK (libps2000a) درکار ہے۔ Build tags میں demo (pure-Go simulator)، sim (hardware simulator جو PicoScope C driver interface کو mock کرتا ہے)، scpi (Bode sweeps کے لیے external SCPI generator control) اور web (MJPEG streaming اور voice control server) شامل ہیں۔ عام CLI options میں demo mode، screen size scaling، web port، API port، GIF export، log level اور version/about output شامل ہیں۔
Documentation اور limitations
Repository میں ایک github-wiki directory اور online GitHub Wiki شامل ہے جو getting started، features and controls، demo mode، generator control، virtual channels، trigger modes، protocol decoding، resolution increase، web server and voice control، testing and debugging، program structure، اور limitations کا احاطہ کرتی ہے۔ Project بیان کرتا ہے کہ official PicoScope 7 software کی کچھ features implement نہیں کی گئیں، جیسے deep statistical measurements، mask limit testing، اور اضافی protocols۔ ذکر کردہ development tools میں LiteIDE اور AI coding assistance شامل ہیں۔ Project BSD 3-Clause کے تحت licensed ہے اور دیگر open-source projects اور hardware providers سے code اور API structures شامل کرتا ہے۔
Comments
0 people shared their preference · Deer Point appears after 10 participants
Sign in to join the discussion.