|
ALICE 1.3
1.3.14
Developer documentation
|
Go to the source code of this file.
Data Structures | |
| class | CreateToolTip |
| Tool Tip Ballon help stuff. More... | |
Namespaces | |
| alice-desktop-1 | |
Functions | |
| def | BSaveConfig (filename) |
| Save current configureation to file. More... | |
| def | BSaveConfigIA () |
| Save current configuration from IA window. More... | |
| def | BSaveConfigSA () |
| Save current configuration from SA window. More... | |
| def | BSaveConfigBP () |
| Save current configuration from Bode window. More... | |
| def | BSaveConfigTime () |
| Save current configuration from Scope window. More... | |
| def | BLoadConfig (filename) |
| Load configuration from a file More... | |
| def | ReMakeAWGwaves () |
| Re Make the current selected AWG waveform buffers. More... | |
| def | BLoadConfigIA () |
| Load confirfuration from IA window button. More... | |
| def | BLoadConfigSA () |
| Load confirfuration from SA window button. More... | |
| def | BLoadConfigBP () |
| Load confirfuration from Bode window button. More... | |
| def | BLoadConfigTime () |
| Load confirfuration from Scope window button. More... | |
| def | RunScript () |
| Run a script file. More... | |
| def | BgColor () |
| Toggle the Background and text colors based on ColorMode. More... | |
| def | BSaveScreen () |
| Save scope canvas as encapsulated postscript file. More... | |
| def | BSaveScreenXY () |
| Save XY canvas as encapsulated postscript file. More... | |
| def | BSaveScreenIA () |
| Save IA canvas as encapsulated postscript file. More... | |
| def | BSaveScreenBP () |
| Save Bode canvas as encapsulated postscript file. More... | |
| def | BSaveData () |
| Save scope all time array data to file. More... | |
| def | BSaveMuxData () |
| Save External Mux data to file. More... | |
| def | BSaveChannelData () |
| Save selected scope time array data to file. More... | |
| def | BSaveToClipBoard (TempBuffer) |
| def | BReadFromClipboard () |
| def | BLoadDFiltAClip () |
| def | BLoadDFiltBClip () |
| def | BLoadAWGAFiltClip () |
| def | BLoadAWGBFiltClip () |
| def | BReadData () |
| Read scope all time array data from saved file. More... | |
| def | BHelp () |
| Open User Guide in Browser open a URL, in this case, the ALICE desk-top-users-guide. More... | |
| def | BAbout () |
| Show info on software / firmware / hardware. More... | |
| def | BSnapShot () |
| Take snap shot of displayed time waveforms. More... | |
| def | BSnapShotXY () |
| Take snap shot of displayed XY Traces. More... | |
| def | BSaveCal () |
| Save gain, offset and filter variables for external dividers. More... | |
| def | BLoadCal () |
| Load gain, offset and filter variables for external dividers. More... | |
| def | BUserAMeas () |
| Ask user for channel A Measurement Label and Formula. More... | |
| def | BUserBMeas () |
| Ask user for channel B Measurement Label and Formula. More... | |
| def | BUserCustomPlotText () |
| Ask user to enter custom plot label string. More... | |
| def | NewEnterMathControls () |
| Make New Math waveform controls menu window. More... | |
| def | DestroyMathScreen () |
| Destroy New Math waveform controls menu window. More... | |
| def | CheckMathString () |
| Check Math String for syntac errors. More... | |
| def | CheckMathXString () |
| Check X Math String for syntac errors. More... | |
| def | CheckMathYString () |
| Check Y Math String for syntac errors. More... | |
| def | ApplyMathString () |
| Apply Math string from entry widget. More... | |
| def | ApplyMathXString () |
| Apply X Math string from entry widget. More... | |
| def | ApplyMathYString () |
| Apply Y Math string from entry widget. More... | |
| def | BSetMarkerLocation () |
| Ask user for new Marker text location on screen. More... | |
| def | donothing () |
| Nop. More... | |
| def | DoNothing (event) |
| Another Nop. More... | |
| def | BShowCurvesAll () |
| Set to display all time waveforms. More... | |
| def | BShowCurvesNone () |
| Turn off display of all time waveforms. More... | |
| def | BTriggerEdge () |
| Function no longer used. More... | |
| def | BTrigger50p () |
| Set Trigger level to 50% (mid) point of current waveform. More... | |
| def | BTriggerMode () |
| place holder for future hardware triggering if implemented More... | |
| def | BTriglevel (event) |
| evalute trigger level entry string to a numerical value and set new trigger level More... | |
| def | BHoldOff (event) |
| Set Hold off time from entry widget. More... | |
| def | BHozPoss (event) |
| def | SetTriggerPoss () |
| def | IncHoldOff () |
| def | SetMuxAPoss () |
| Analog Mux buttons. More... | |
| def | SetMuxBPoss () |
| def | SetMuxCPoss () |
| def | SetMuxDPoss () |
| def | SetScaleMuxA () |
| def | SetScaleMuxB () |
| def | SetScaleMuxC () |
| def | SetScaleMuxD () |
| def | SetVAPoss () |
| def | SetVBPoss () |
| def | SetIAPoss () |
| def | SetIBPoss () |
| def | SetXYVAPoss () |
| def | SetXYVBPoss () |
| def | SetXYIAPoss () |
| def | SetXYIBPoss () |
| def | Bcloseexit () |
| Fubntion to close and exit ALICE. More... | |
| def | BStart () |
| Start aquaring scope time data. More... | |
| def | BStartOhm () |
| def | BStartIA () |
| Start Impedance Tool More... | |
| def | IASourceSet () |
| Set up IA AWG sources. More... | |
| def | BStop () |
| Stop (pause) scope tool. More... | |
| def | BPower () |
| Toggel on/off analog power. More... | |
| def | BRoll () |
| Toggel on/off Roll Sweep Mode. More... | |
| def | BTime () |
| Set Hor time scale from entry widget. More... | |
| def | BCHAlevel () |
| def | BCHAIlevel () |
| def | BCHBlevel () |
| def | BCHBIlevel () |
| def | BOffsetA (event) |
| def | BIOffsetA (event) |
| def | BOffsetB (event) |
| def | BIOffsetB (event) |
| def | TimeCheckBox () |
| set check box colors More... | |
| def | XYCheckBox () |
| def | FreqCheckBox () |
| def | BodeCheckBox () |
| def | IACheckBox () |
| def | PhACheckBox () |
| def | OhmCheckBox () |
| def | ETSCheckBox () |
| def | Analog_In () |
| Main Loop. More... | |
| def | Ohm_Analog_In () |
| Ohmmeter loop. More... | |
| def | Analog_Time_In () |
| Scope time main loop Read the analog data and store the data into the arrays. More... | |
| def | Analog_Phase_In () |
| def | Analog_Roll_time () |
| def | Analog_Chop_Time () |
| def | Analog_Fast_time () |
| def | Cal_trace_scalars (SampleStart, SampleEnd) |
| def | Sine_Phase () |
| def | Digital_RC_High_Pass (InBuff, TC1, Gain) |
| Digital RC filter function for input divider frequency compensation TC1 is in micro seconds. More... | |
| def | Digital_RC_Low_Pass (InBuff, TC1, Gain) |
| Digital filter function for input divider frequency compensation TC1 is in micro seconds. More... | |
| def | shift_buffer (arr, num, fill_value=numpy.nan) |
| Function to left (-num) or right (+num) shift buffer and fill with a value returns same length buffer preallocate empty array and assign slice. More... | |
| def | Analog_Freq_In () |
| Main SA and Bode loop Read from the stream and store the data into the arrays. More... | |
| def | MakeHistogram () |
| Make histogram of time signals. More... | |
| def | BHistAsPercent () |
| Plot Histogram as Percent? More... | |
| def | FindRisingEdge (Trace1, Trace2) |
| Routine to find rising edge of traces. More... | |
| def | ReInterploateTrigger (TrgBuff) |
| Interpolate time between samples around trigger event. More... | |
| def | FindTriggerSample (TrgBuff) |
| Find the sample where trigger event happened. More... | |
| def | DestroyDigScreen () |
| Distroy the Digital I/O screen. More... | |
| def | sel () |
| def | MakeDigScreen () |
| Make the Digital I/O screen. More... | |
| def | DestroyDacScreen () |
| Destroy the DAC Screen. More... | |
| def | sel0 (temp) |
| def | sel1 (temp) |
| def | sel2 (temp) |
| def | sel3 (temp) |
| def | MakeDacScreen () |
| Make the DAC interface screen More... | |
| def | UpdateTimeAll () |
| Update Data, trace and time screen. More... | |
| def | UpdateTimeTrace () |
| Update time trace and screen. More... | |
| def | UpdateTimeScreen () |
| Update time screen with trace and text. More... | |
| def | UpdateXYAll () |
| Update Data, trace and XY screen. More... | |
| def | UpdateXYTrace () |
| Update XY trace and screen. More... | |
| def | UpdateXYScreen () |
| Update XY screen with trace and text. More... | |
| def | MakeTimeTrace () |
| Make the scope time traces. More... | |
| def | MakeXYTrace () |
| Make the XY plot traces. More... | |
| def | MakeTimeScreen () |
| Update the time screen with traces and text More... | |
| def | MakeXYScreen () |
| Update the XY screen traces and text. More... | |
| def | SetScaleA () |
| def | SetScaleIA () |
| def | SetScaleB () |
| def | SetScaleIB () |
| def | SetXYScaleA () |
| def | SetXYScaleB () |
| def | onCanvasClickRight (event) |
| def | onCanvasClickScroll (event) |
| Shift Time or vertical cursors if on or shift gated measurement cursors if enabled. More... | |
| def | onCanvasUpArrow (event) |
| Move Vertical cursors up 1 or 5. More... | |
| def | onCanvasDownArrow (event) |
| Move Vertical cursors down 1 or 5. More... | |
| def | onCanvasLeftArrow (event) |
| Move Time curcors left 1 or 5. More... | |
| def | onCanvasRightArrow (event) |
| Move Time curcors right 1 or 5. More... | |
| def | onCanvasSpaceBar (event) |
| Pause / start on space bar. More... | |
| def | onCanvasClickLeft (event) |
| def | onCanvasOne (event) |
| def | onCanvasTwo (event) |
| def | onCanvasThree (event) |
| def | onCanvasFour (event) |
| def | onCanvasFive (event) |
| def | onCanvasSix (event) |
| def | onCanvasSeven (event) |
| def | onCanvasEight (event) |
| def | onCanvasNine (event) |
| def | onCanvasZero (event) |
| def | onCanvasTrising (event) |
| def | onCanvasTfalling (event) |
| def | onCanvasSnap (event) |
| def | onCanvasAverage (event) |
| def | onCanvasShowTcur (event) |
| def | onCanvasShowVcur (event) |
| def | onCanvasXYRightClick (event) |
| def | onCanvasXYScrollClick (event) |
| def | onCanvasXYLeftClick (event) |
| def | time_points_from_freq (freq, fs=1, density=False) |
| def | TimeSeriesNoise (n, Fsample, mag, b=4) |
| def | TimeSeriesSingleTone (n, BinNum, Fsample, mag) |
| def | PinkNoise (N, mag) |
| def | BlueNoise (N, mag) |
| def | BrownNoise (N, mag) |
| def | VioletNoise (N, mag) |
| def | SchroederPhase (Length, NrTones, Ampl) |
| def | Wrap (InArray, WrFactor) |
| def | UnWrap (InArray, WrFactor) |
| def | Write_WAV (data, repeat, filename) |
| def | BAWGAAmpl (temp) |
| def | BAWGAOffset (temp) |
| def | BAWGAFreq (temp) |
| def | ToggleAWGAPhaseDelay () |
| def | BAWGAPhaseDelay () |
| def | BAWGAPhase (temp) |
| def | BAWGADutyCycle (temp) |
| def | BAWGAShape () |
| def | AWGAReadFile () |
| def | AWGALoadCSV () |
| def | SplitAWGAwaveform () |
| def | AWGANumCycles () |
| def | AWGAReadWAV () |
| def | AWGALoadWAV () |
| def | AWGAWriteFile () |
| def | AWGAMakeMath () |
| def | AWGAConfigMath () |
| def | AWGAMakeBodeSine () |
| def | AWGAMakeFMSine () |
| def | AWGAMakeAMSine () |
| def | AWGAMakePWMSine () |
| def | AWGAMakeFourier () |
| def | AWGAMakeSinc () |
| def | AWGAMakeSSQ () |
| def | AWGAMakeTrapazoid () |
| def | AWGAMakePulse () |
| def | AWGAMakeRamp () |
| def | AWGAMakeUpDownRamp () |
| def | AWGAMakeImpulse () |
| def | AWGAMakeUUNoise () |
| def | AWGAMakeUGNoise () |
| def | BAWGAModeLabel () |
| def | UpdateAWGA () |
| def | AddAWGANoise () |
| def | SetBCompA () |
| def | AWGBNumCycles () |
| def | BAWGBAmpl (temp) |
| def | BAWGBOffset (temp) |
| def | BAWGBFreq (temp) |
| def | ToggleAWGBPhaseDelay () |
| def | BAWGBPhaseDelay () |
| def | BAWGBPhase (temp) |
| def | BAWGBDutyCycle (temp) |
| def | BAWGBShape () |
| def | AWGBReadFile () |
| def | AWGBLoadCSV () |
| def | SplitAWGBwaveform () |
| def | AWGBReadWAV () |
| def | AWGBLoadWAV () |
| def | AWGBWriteFile () |
| def | AWGBMakeMath () |
| def | AWGBConfigMath () |
| def | AWGBMakeFourier () |
| def | AWGBMakeBodeSine () |
| def | AWGBMakePWMSine () |
| def | AWGBMakeSinc () |
| def | AWGBMakeSSQ () |
| def | AWGBMakeTrapazoid () |
| def | AWGBMakePulse () |
| def | AWGBMakeRamp () |
| def | AWGBMakeUpDownRamp () |
| def | AWGBMakeImpulse () |
| def | AWGBMakeUUNoise () |
| def | AWGBMakeUGNoise () |
| def | BAWGBModeLabel () |
| def | UpdateAWGB () |
| def | AddAWGBNoise () |
| def | UpdateAwgCont () |
| def | UpdateAwgContRet (temp) |
| def | BAWGEnab () |
| def | BAWGSync () |
| def | BSaveScreenSA () |
| def | Bnot () |
| def | BShowCurvesAllSA () |
| def | BShowCurvesNoneSA () |
| def | BNormalmode () |
| def | BPeakholdmode () |
| def | BAveragemode () |
| def | BResetFreqAvg () |
| def | BSTOREtraceSA () |
| def | BSTOREtraceBP () |
| def | BCSVfile () |
| def | BSaveDataIA () |
| def | BStartSA () |
| def | BStopSA () |
| def | Blevel1 () |
| def | Blevel2 () |
| def | Blevel3 () |
| def | Blevel4 () |
| def | Bsamples1 () |
| def | Bsamples2 () |
| def | BDBdiv1 () |
| def | BDBdiv2 () |
| def | BStartBP () |
| def | BStopBP () |
| def | Blevel1BP () |
| def | Blevel2BP () |
| def | Blevel3BP () |
| def | Blevel4BP () |
| def | BDBdiv1BP () |
| def | BDBdiv2BP () |
| def | BShowCurvesAllBP () |
| def | BShowCurvesNoneBP () |
| def | UpdateBodeAll () |
| def | UpdateBodeTrace () |
| def | UpdateBodeScreen () |
| def | UpdateFreqAll () |
| def | UpdateFreqTrace () |
| def | UpdateFreqScreen () |
| def | DoFFT () |
| def | MakeFreqTrace () |
| def | MakeBodeTrace () |
| def | MakeBodeScreen () |
| def | UpdateIAAll () |
| def | UpdateIATrace () |
| def | UpdateIAScreen () |
| def | DoImpedance () |
| def | MakeIATrace () |
| def | MakeIAScreen () |
| Draw the impedance Analyzer screen. More... | |
| def | IACaresize (event) |
| def | MakeIAWindow () |
| def | DestroyIAScreen () |
| def | BSaveIASweep () |
| def | IACapZero () |
| def | IACapReset () |
| def | MakeNyquistPlot () |
| def | DestroyNqPScreen () |
| def | NqPCaresize (event) |
| def | MakeNqPScreen () |
| Draw the Nyquist plot screen. More... | |
| def | MakeNicPlot () |
| def | DestroyNiCScreen () |
| def | NiCCaresize (event) |
| def | MakeNiCScreen () |
| Make the Nichols Plot screen. More... | |
| def | UpdateNqPAll () |
| def | UpdateNqPTrace () |
| def | UpdateNqPScreen () |
| def | UpdateNiCAll () |
| def | UpdateNiCTrace () |
| def | UpdateNiCScreen () |
| def | VAtoggle () |
| def | VABtoggle () |
| def | VBtoggle () |
| def | IAtoggle () |
| def | IBtoggle () |
| def | MakePhAWindow () |
| def | DestroyPhAScreen () |
| def | PhACaresize (event) |
| def | UpdatePhAAll () |
| def | UpdatePhATrace () |
| def | UpdatePhAScreen () |
| def | MakePhATrace () |
| def | MakePhAScreen () |
| def | BSavePhAData () |
| def | PlotPhAFromFile () |
| def | STOREcsvfile () |
| def | MakeFreqScreen () |
| Make Spectrum Analyzer Screen. More... | |
| def | INITIALIZEstart () |
| def | CALCFFTwindowshape () |
| def | BUserFFTwindow () |
| def | BFileFFTwindow () |
| def | onCanvasFreqRightClick (event) |
| def | onCanvasFreqClickScroll (event) |
| def | onCanvasFreqLeftClick (event) |
| def | onCanvasSAOne (event) |
| def | onCanvasSATwo (event) |
| def | onCanvasSAThree (event) |
| def | onCanvasSAFour (event) |
| def | onCanvasSAFive (event) |
| def | onCanvasSASix (event) |
| def | onCanvasSASeven (event) |
| def | onCanvasSAEight (event) |
| def | onCanvasSANine (event) |
| def | onCanvasSAZero (event) |
| def | onCanvasSASnap (event) |
| def | onCanvasSANormal (event) |
| def | onCanvasSAPeak (event) |
| def | onCanvasSAReset (event) |
| def | onCanvasSAAverage (event) |
| def | onCanvasShowFcur (event) |
| def | onCanvasShowdBcur (event) |
| def | onCanvasShowPcur (event) |
| def | onCanvasBodeRightClick (event) |
| def | onCanvasBodeClickScroll (event) |
| def | onCanvasBodeLeftClick (event) |
| def | onCanvasBdOne (event) |
| def | onCanvasBdTwo (event) |
| def | onCanvasBdThree (event) |
| def | onCanvasBdFour (event) |
| def | onCanvasBdFive (event) |
| def | onCanvasBdSix (event) |
| def | onCanvasBdSeven (event) |
| def | onCanvasBdEight (event) |
| def | onCanvasBdNine (event) |
| def | onCanvasBdZero (event) |
| def | onCanvasBdSnap (event) |
| def | onCanvasShowBPcur (event) |
| def | onCanvasShowBdBcur (event) |
| def | onCanvasShowPdBcur (event) |
| def | onAWGAscroll (event) |
| def | onAWGBscroll (event) |
| def | onTextScroll (event) |
| def | onAWGAkey (event) |
| def | onAWGBkey (event) |
| def | onTextKeyAWG (event) |
| def | onTextKey (event) |
| def | onSpinBoxScroll (event) |
| def | MakeAWGWindow () |
| def | BAWG2X () |
| def | DestroyAWGScreen () |
| def | MakeMuxModeWindow () |
| def | SetDualMuxMode () |
| def | SetChopMuxMode () |
| def | SyncImage () |
| def | DestroyMuxScreen () |
| def | BodeCaresize (event) |
| def | BStepSync () |
| def | BSweepSync () |
| def | BDSweepFromFile () |
| def | MakeBodeWindow () |
| def | DestroyBodeScreen () |
| def | FreqCaresize (event) |
| def | MakeSpectrumWindow () |
| def | DestroySpectrumScreen () |
| def | XYcaresize (event) |
| def | MakeXYWindow () |
| def | DestroyXYScreen () |
| def | SelfCalibration () |
| def | Save_Cal_file () |
| def | SPIShiftOut (DValue) |
| ========== MiniGen routines ========== SPI shift output routine More... | |
| def | SetAD9833 (temp) |
| def | BSendMG () |
| Send serial data to DDS board. More... | |
| def | MakeMinigenWindow () |
| Make AD983x based DDS generator screen. More... | |
| def | DestroyMinigenScreen () |
| Destroy DDS board sacrren. More... | |
| def | onMiniGenScroll (event) |
| def | DA1ShiftOut (D1Value, D2Value) |
| if ETSStatus.get() > 0 and ETSDisp.get() > 0: MGLoad() More... | |
| def | BSendDA1 () |
| def | MakeDA1Window () |
| Make window to control PMOD DA1 board. More... | |
| def | DestroyDA1Screen () |
| Destroy PMOD DA1 screen. More... | |
| def | DigPotShiftOut (DValue) |
| def | DigPotSend (Temp) |
| def | UpdatePotSlider () |
| def | MakeDigPotWindow () |
| set up controls for single, dual or quad, digital pots More... | |
| def | DestroyDigPotScreen () |
| def | BSendGS () |
| def | MakeAD5626Window () |
| Make Controls for AD5626 serial DAC. More... | |
| def | onAD5626Scroll (event) |
| def | DestroyAD5626Screen () |
| def | MakeGenericSerialWindow () |
| def | DestroyGenericSerialScreen () |
| def | MakeDigFiltWindow () |
| Make screen for applying digital filters. More... | |
| def | onRetDigFiltA (event) |
| def | onDigFiltAScroll (event) |
| def | BuildBoxCarA () |
| def | onRetDigFiltB (event) |
| def | onDigFiltBScroll (event) |
| def | BuildBoxCarB () |
| def | DestroyDigFiltScreen () |
| def | BLoadDFiltA () |
| def | BDFiltAMath () |
| def | BLoadDFiltB () |
| def | BDFiltBMath () |
| def | onRetAWGFiltA (event) |
| def | onAWGFiltAScroll (event) |
| def | BuildAWGBoxCarA () |
| def | onRetAWGFiltB (event) |
| def | onAWGFiltBScroll (event) |
| def | BuildAWGBoxCarB () |
| def | BLoadAWGFiltA () |
| def | BAWGFiltAMath () |
| def | BLoadAWGFiltB () |
| def | BAWGFiltBMath () |
| def | BuildRejectFilter (Order, Freject, Fsample) |
| def | fit_exp (xs, ys) |
| def | MakeCommandScreen () |
| def | DestroyCommandScreen () |
| def | RExecuteFromString (temp) |
| def | BExecuteFromString () |
| def | CAresize (event) |
| def | UpdateMeasureScreen () |
| def | MakeMeasureScreen () |
| def | DestroyMeasureScreen () |
| def | MakeBoardScreen () |
| def | DestroyBoardScreen () |
| def | ConnectDevice () |
| def | SelectBoard () |
| temp = 0 print "read ADM1177 controler" print devx.ctrl_transfer( 0xa0, 0x17, 0, 0, temp, 0, 100 ) print temp More... | |
| def | MakeSampleRateMenu () |
| def | DestroySampleRate () |
| def | onSrateScroll (event) |
| def | onRetSrate (event) |
| def | SetSampleRate () |
| def | onStopfreqScroll (event) |
| def | onStopBodeScroll (event) |
| def | SetADC_Mux () |
| def | TraceSelectADC_Mux () |
| def | UpdateFirmware () |
| def | MakeOhmWindow () |
| if askyesno("Flash Failed", "Failed to update firmware.\n Try again?"): try: session.flash_firmware(filename) except: showwarning("Complete","Flash Firmware Complete: \n Un-plug board to cycle power.") More... | |
| def | DestroyOhmScreen () |
| def | MakeETSWindow () |
| def | DestroyETSScreen () |
| def | MGLoad () |
| def | ETSscroll (event) |
| def | onFminScroll (event) |
| def | onMulXScroll (event) |
| def | ETSUpdate () |
| def | Settingsscroll (event) |
| def | SettingsTextKey (event) |
| def | MakeSettingsMenu () |
| def | SetETSComp () |
| def | UpdateAWGWin () |
| def | SettingsUpdate () |
| def | DestroySettings () |
| def | onCanvasMouse_xy (event) |
| def | BSetFmin () |
| def | ReSetAGO () |
| def | ReSetBGO () |
| def | ReSetAIGO () |
| def | ReSetBIGO () |
| def | OpenOtherTools () |
| def | DestroyOOTwindow () |
Variables | |
| bool | numpy_found = True |
| bool | matplot_found = True |
| InitFileName = str(sys.argv[1]) | |
| bool | pysmu_found = True |
| string | RevDate = "28 Jan 2022" |
| string | SWRev = "1.3 " |
| string | Version_url = 'https://github.com/analogdevicesinc/alice/releases/download/1.3.12/alice-desktop-1.3-setup.exe' |
| string | TBicon |
| root = Tk() | |
| img = PhotoImage(data=TBicon) | |
| int | GRW = 720 |
| Window graph area Values that can be modified. More... | |
| int | GRH = 390 |
| int | X0L = 55 |
| int | Y0T = 25 |
| int | GRWF = 720 |
| int | GRHF = 390 |
| int | X0LF = 45 |
| int | Y0TF = 25 |
| int | GRWBP = 720 |
| int | GRHBP = 390 |
| int | X0LBP = 45 |
| int | Y0TBP = 25 |
| int | GRWXY = 420 |
| int | GRHXY = 390 |
| int | X0LXY = 55 |
| int | Y0TXY = 25 |
| int | GRWIA = 400 |
| int | GRHIA = 400 |
| int | X0LIA = 37 |
| int | Y0TIA = 25 |
| int | GRWNqP = 400 |
| int | GRHNqP = 400 |
| int | X0LNqP = 25 |
| int | Y0TNqP = 25 |
| int | GRWNiC = 400 |
| int | GRHNiC = 400 |
| int | X0LNiC = 25 |
| int | Y0TNiC = 25 |
| int | GRWPhA = 400 |
| int | GRHPhA = 400 |
| int | X0LPhA = 37 |
| int | Y0TPhA = 25 |
| int | FontSize = 8 |
| int | BorderSize = 1 |
| int | MouseX = -10 |
| int | MouseCAV = -10 |
| string | COLORframes = "#000080" |
| Colors that can be modified. More... | |
| string | COLORcanvas = "#000000" |
| string | COLORgrid = "#808080" |
| string | COLORzeroline = "#0000ff" |
| string | COLORtrace1 = "#00ff00" |
| string | COLORtrace2 = "#ff8000" |
| string | COLORtrace3 = "#00ffff" |
| string | COLORtrace4 = "#ffff00" |
| string | COLORtrace5 = "#ff00ff" |
| string | COLORtrace6 = "#C80000" |
| string | COLORtrace7 = "#8080ff" |
| string | COLORtraceR1 = "#008000" |
| string | COLORtraceR2 = "#905000" |
| string | COLORtraceR3 = "#008080" |
| string | COLORtraceR4 = "#808000" |
| string | COLORtraceR5 = "#800080" |
| string | COLORtraceR6 = "#800000" |
| string | COLORtraceR7 = "#4040a0" |
| string | COLORtext = "#ffffff" |
| string | COLORtrigger = "#ff0000" |
| string | COLORsignalband = "#ff0000" |
| string | ButtonGreen = "#00ff00" |
| string | ButtonRed = "#ff0000" |
| string | GUITheme = "Light" |
| int | ButtonOrder = 0 |
| int | SBoxarrow = 11 |
| int | Closed = 0 |
| ColorMode = IntVar(0) | |
| string | FrameBG = "#d7d7d7" |
| string | ButtonText = "#000000" |
| ButRelief = RAISED | |
| LabRelief = FLAT | |
| FrameRefief = RIDGE | |
| string | LocalLanguage = "English" |
| float | OnBoardRes = 50.83 |
| set value for on board resistors and ext AD584 reference More... | |
| float | AD584act = 2.5 |
| float | HoldOff = 0.0 |
| int | LShift = 0 |
| int | BaseSampleRate = 100000 |
| int | AWGSAMPLErate = BaseSampleRate |
| int | SAMPLErate = BaseSampleRate |
| int | MinSamples = 2000 |
| int | MaxSamples = 200000 |
| int | ETSrecord = 2000 |
| int | AWGRecLength = 32768 |
| int | DISsamples = GRW |
| int | First_Slow_sweep = 0 |
| int | Slow_Sweep_Limit = 200 |
| float | TRIGGERlevel = 2.5 |
| string | MathString = "VBuffA[t] + VBuffB[t]" |
| default math equations More... | |
| string | MathUnits = " V" |
| string | MathXString = "VBuffA[t]" |
| string | MathXUnits = " V" |
| string | MathYString = "VBuffB[t]" |
| string | MathYUnits = " V" |
| string | UserAString = "MaxV1-VATop" |
| string | UserALabel = "OverShoot" |
| string | UserBString = "MinV2-VBBase" |
| string | UserBLabel = "UnderShoot" |
| string | MathAxis = "V-A" |
| string | MathXAxis = "V-A" |
| string | MathYAxis = "V-B" |
| string | AWGAMathString = "(VBuffA + VBuffB)/2" |
| string | AWGBMathString = "(VBuffA + VBuffB)/2" |
| string | AWGAcsvFile = "examplea.csv" |
| string | AWGBcsvFile = "exampleb.csv" |
| string | AWGAwavFile = "examplea.wav" |
| string | AWGBwavFile = "exampleb.wav" |
| string | FFTUserWindowString = "numpy.kaiser(SMPfft, 14) * 3" |
| string | DigFilterAString = "numpy.sinc(numpy.linspace(-1, 1, 91))" |
| string | DigFilterBString = "numpy.sinc(numpy.linspace(-1, 1, 91))" |
| string | AWGFilterAString = "numpy.sinc(numpy.linspace(-1, 1, 91))" |
| string | AWGFilterBString = "numpy.sinc(numpy.linspace(-1, 1, 91))" |
| string | ChaMeasString1 = "DCV1" |
| string | ChaMeasString2 = "DCI1" |
| string | ChaMeasString3 = "SV1" |
| string | ChaMeasString4 = "MaxV1-MinV1" |
| string | ChaMeasString5 = "MaxI1-MinI1" |
| string | ChaMeasString6 = "math.sqrt(SV1**2 - DCV1**2)" |
| string | ChbMeasString1 = "DCV2" |
| string | ChbMeasString2 = "DCI2" |
| string | ChbMeasString3 = "SV2" |
| string | ChbMeasString4 = "MaxV2-MinV2" |
| string | ChbMeasString5 = "MaxI2-MinI2" |
| string | ChbMeasString6 = "math.sqrt(SV2**2 - DCV2**2)" |
| string | ChaLableSrring1 = "CHA-DCV " |
| string | ChaLableSrring2 = "CHA-DCI " |
| string | ChaLableSrring3 = "CHA-TRMS " |
| string | ChaLableSrring4 = "CHA-VP-P " |
| string | ChaLableSrring5 = "CHA-IP-P " |
| string | ChaLableSrring6 = "CHA-ACRMS " |
| string | ChbLableSrring1 = "CHB-DCV " |
| string | ChbLableSrring2 = "CHB-DCI " |
| string | ChbLableSrring3 = "CHB-TRMS " |
| string | ChbLableSrring4 = "CHB-VP-P " |
| string | ChbLableSrring5 = "CHB-IP-P " |
| string | ChbLableSrring6 = "CHB-ACRMS " |
| LabelPlotText = IntVar(0) | |
| string | PlotLabelText = "Custom Plot Label" |
| GridWidth = IntVar(0) | |
| defaukt trace width in pixels / number of averages More... | |
| TRACEwidth = IntVar(0) | |
| TRACEaverage = IntVar(0) | |
| Vdiv = IntVar(0) | |
| LPFTrigger = IntVar(0) | |
| Trigger_LPF_length = IntVar(0) | |
| HarmonicMarkers = IntVar(0) | |
| AWGShowAdvanced = IntVar(0) | |
| AWG_Amp_Mode = IntVar(0) | |
| AWGA_Ext_Gain = DoubleVar(0) | |
| AWGA_Ext_Offset = DoubleVar(0) | |
| AWGB_Ext_Gain = DoubleVar(0) | |
| AWGB_Ext_Offset = DoubleVar(0) | |
| AWG_2X = IntVar(0) | |
| Two_X_Sample = IntVar(0) | |
| ADC_Mux_Mode = IntVar(0) | |
| int | Last_ADC_Mux_Mode = 0 |
| Alternate_Sweep_Mode = IntVar(0) | |
| list | ChopModeFilter = [0.25, 0.25, 0.25, 0.25] |
| Roll_Mode = IntVar(0) | |
| UnAvgSav = IntVar(0) | |
| ZEROstuffing = IntVar(0) | |
| FFTwindow = IntVar(0) | |
| int | RelPhaseCorrection = 15 |
| RelPhaseCenter = IntVar(0) | |
| ImpedanceCenter = IntVar(0) | |
| MultipleBoards = IntVar(0) | |
| int | IgnoreFirmwareCheck = 0 |
| int | EnableScopeOnly = 0 |
| int | EnableXYPlotter = 1 |
| int | EnablePhaseAnalizer = 1 |
| int | EnableSpectrumAnalizer = 1 |
| int | EnableBodePlotter = 1 |
| int | EnableImpedanceAnalizer = 1 |
| int | EnableOhmMeter = 1 |
| int | EnableDigIO = 1 |
| int | EnableCommandInterface = 0 |
| int | EnableMuxMode = 0 |
| int | EnablePIODACMode = 0 |
| int | EnableMinigenMode = 0 |
| int | EnablePmodDA1Mode = 0 |
| int | EnableDigPotMode = 0 |
| int | EnableGenericSerialMode = 0 |
| int | EnableAD5626SerialMode = 0 |
| int | EnableDigitalFilter = 0 |
| int | EnableMeasureScreen = 0 |
| int | EnableETSScreen = 0 |
| int | EnableHSsampling = 0 |
| int | EnableUserEntries = 0 |
| int | AllowFlashFirmware = 0 |
| int | DeBugMode = 0 |
| int | ShowTraceControls = 0 |
| int | v1_adc_conf = 0x20F1 |
| int | i1_adc_conf = 0x20F7 |
| int | v2_adc_conf = 0x20F7 |
| int | i2_adc_conf = 0x20F1 |
| int | MouseFocus = 1 |
| int | HistAsPercent = 0 |
| int | ShowBallonHelp = 0 |
| int | contloop = 0 |
| if AWGSync.get() == 0: # running in continuous mode More... | |
| int | discontloop = 0 |
| string | AwgLayout = "Horz" |
| string | MarkerLoc = 'UL' |
| CHA_TC1 = DoubleVar(0) | |
| CHA_TC2 = DoubleVar(0) | |
| CHB_TC1 = DoubleVar(0) | |
| CHB_TC2 = DoubleVar(0) | |
| CHA_A1 = DoubleVar(0) | |
| CHA_A2 = DoubleVar(0) | |
| CHB_A1 = DoubleVar(0) | |
| CHB_A2 = DoubleVar(0) | |
| Auto_ETS_Comp = IntVar(0) | |
| ETS_TC1 = DoubleVar(0) | |
| ETS_A1 = DoubleVar(0) | |
| ETS_TC2 = DoubleVar(0) | |
| ETS_A2 = DoubleVar(0) | |
| int | PhaseOffset1x = 37 |
| int | PhaseOffset2x = 37 |
| windowingsystem = root.tk.call('tk', 'windowingsystem') | |
| ScreenWidth = root.winfo_screenwidth() | |
| ScreenHeight = root.winfo_screenheight() | |
| string | Style_String = 'aqua' |
| menubar = tKinter.Menu(root) | |
| appmenu = tKinter.Menu(menubar, name='apple') | |
| menu | |
| path = pathlib.Path(alice.__file__).parent.absolute() | |
| filename = os.path.join(path, "resources", InitFileName) | |
| InitFile = open(filename) | |
| int | XOLXY = FontSize * 7 |
| XOLF = int(FontSize * 4.625) | |
| XOLNqP = int(FontSize * 3.125) | |
| style | |
| string | DevID = "m1k" |
| default_font = tkFont.nametofont("TkDefaultFont") | |
| size | |
| tuple | CHvpdiv = (0.001, 0.002, 0.005, 0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1.0, 2.0, 5.0) |
| Vertical Sensitivity list in v/div. More... | |
| tuple | CHipdiv = (0.1, 0.2, 0.5, 1.0, 2.0, 5.0, 10.0, 20.0, 50.0, 100.0, 200.0) |
| Vertical Sensitivity list in mA/div. More... | |
| tuple | SAMagdiv = ("10nV", "100nV", "1uV", "10uV", "100uV", "1mV", "10mV", "0.1", "1.0", "10.0") |
| SA Lin scale Max Min values. More... | |
| tuple | TMpdiv = (0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1.0, 2.0, 5.0, 10.0, 20.0, 50.0, 100.0, 200.0) |
| Time list in ms/div. More... | |
| tuple | ResScalediv = (0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 20000, 50000, 100000) |
| tuple | SampRateList |
| list | NoiseList = [ "None", "Uniform", "Gaussian"] |
| float | TIMEdiv = 0.5 |
| tuple | RefPhase = ("CA-V", "CB-V", "CA-I", "CB-I") |
| float | AWGAAmplvalue = 0.0 |
| AWG variables. More... | |
| float | AWGAOffsetvalue = 0.0 |
| float | AWGAFreqvalue = 0.0 |
| int | AWGAPhasevalue = 0 |
| int | AWGAdelayvalue = 0 |
| int | AWGADutyCyclevalue = 50 |
| string | AWGAWave = 'dc' |
| float | AWGBAmplvalue = 0.0 |
| float | AWGBOffsetvalue = 0.0 |
| float | AWGBFreqvalue = 0.0 |
| int | AWGBPhasevalue = 0 |
| int | AWGBdelayvalue = 0 |
| int | AWGBDutyCyclevalue = 50 |
| string | AWGBWave = 'dc' |
| int | AWGACycles = 1 |
| int | AWGBCycles = 1 |
| int | AWGABurstDelay = 0 |
| int | AWGBBurstDelay = 0 |
| int | Reset_Freq = 300 |
| float | MeasGateLeft = 0.0 |
| float | MeasGateRight = 0.0 |
| int | MeasGateNum = 0 |
| MeasGateStatus = IntVar(0) | |
| int | DCV1 = 0 |
| int | DCVMuxA = 0 |
| Analog Mux channel measurement variables. More... | |
| int | DCVMuxB = 0 |
| int | DCVMuxC = 0 |
| int | DCVMuxD = 0 |
| float | PeakVA = 0.0 |
| float | PeakVMA = 0.0 |
| float | PeakphaseVMA = 0.0 |
| float | PeakfreqVA = 0.0 |
| float | PeakphaseVA = 0.0 |
| int | CHADCy = 0 |
| int | DCI1 = 0 |
| int | CHAperiod = 0 |
| float | CHAVGain = 1.0 |
| float | CHAVOffset = 0.0 |
| float | CHAOffset = 2.5 |
| float | CHAIOffset = 0.0 |
| int | CANVASwidth = GRW + 2 * X0L |
| int | CANVASheight = GRH + Y0T + (FontSize * 7) |
| list | ADsignal1 = [] |
| list | VBuffA = [] |
| list | VBuffB = [] |
| list | IBuffA = [] |
| list | IBuffB = [] |
| list | VBuffMA = [] |
| list | VBuffMB = [] |
| list | VBuffMC = [] |
| list | VBuffMD = [] |
| list | VmemoryMuxA = [] |
| list | VmemoryMuxB = [] |
| list | VmemoryMuxC = [] |
| list | VmemoryMuxD = [] |
| list | VUnAvgA = [] |
| list | VUnAvgB = [] |
| list | IUnAvgA = [] |
| list | IUnAvgB = [] |
| list | DBuff0 = [] |
| list | DBuff1 = [] |
| list | DBuff2 = [] |
| list | DBuff3 = [] |
| list | VAresult = [] |
| list | VBresult = [] |
| list | IAresult = [] |
| list | IBresult = [] |
| list | PhaseIA = [] |
| list | PhaseIB = [] |
| list | PhaseVA = [] |
| list | PhaseVB = [] |
| list | DFiltACoef = [1] |
| list | DFiltBCoef = [1] |
| DigFiltA = IntVar(0) | |
| DigFiltABoxCar = IntVar(0) | |
| DigFiltBBoxCar = IntVar(0) | |
| DigDeSkewA = IntVar(0) | |
| DigDeSkewB = IntVar(0) | |
| DigFiltB = IntVar(0) | |
| DigBuffA = IntVar(0) | |
| DigBuffB = IntVar(0) | |
| AWGFiltA = IntVar(0) | |
| AWGFiltB = IntVar(0) | |
| AWGFiltABoxCar = IntVar(0) | |
| AWGFiltBBoxCar = IntVar(0) | |
| list | AWGFiltACoef = [1] |
| list | AWGFiltBCoef = [1] |
| dictionary | VFilterA = {} |
| dictionary | VFilterB = {} |
| SampleRateStatus = IntVar(0) | |
| ETSStatus = IntVar(0) | |
| ETSDisp = IntVar(0) | |
| ETSDir = IntVar(0) | |
| list | AWGAwaveform = [] |
| Cycles = int(37500/AWGAperiodvalue) if Cycles < 1: Cycles = 1 if Cycles > 1: Extend = int((Cycles-1.0)*AWGAperiodvalue/2.0) AWGAwaveform = numpy.pad(AWGAwaveform, (Extend,Extend), 'wrap') More... | |
| list | AWGA2X = [] |
| list | AWGBwaveform = [] |
| Cycles = int(37500/AWGBperiodvalue) if Cycles < 1: Cycles = 1 if Cycles > 1: Extend = int((Cycles-1.0)*AWGBperiodvalue/2.0) AWGBwaveform = numpy.pad(AWGBwaveform, (Extend,Extend), 'wrap') More... | |
| list | AWGB2X = [] |
| VmemoryA = numpy.ones(1) | |
| VmemoryB = numpy.ones(1) | |
| ImemoryA = numpy.ones(1) | |
| ImemoryB = numpy.ones(1) | |
| bool | TRACEresetTime = True |
| bool | TRACEresetFreq = True |
| AWGScreenStatus = IntVar(0) | |
| list | T1Vline = [] |
| Trace line Array Variables used. More... | |
| list | T2Vline = [] |
| list | T1Iline = [] |
| list | T2Iline = [] |
| list | TMAVline = [] |
| list | TMBVline = [] |
| list | TMCVline = [] |
| list | TMDVline = [] |
| list | TMARline = [] |
| list | TMBRline = [] |
| list | TMCRline = [] |
| list | TMDRline = [] |
| list | XYlineVA = [] |
| list | XYlineVB = [] |
| list | XYlineIA = [] |
| list | XYlineIB = [] |
| list | XYlineM = [] |
| list | XYlineMX = [] |
| list | XYlineMY = [] |
| list | XYRlineVA = [] |
| list | XYRlineVB = [] |
| list | XYRlineIA = [] |
| list | XYRlineIB = [] |
| list | XYRlineM = [] |
| list | XYRlineMX = [] |
| list | XYRlineMY = [] |
| list | Tmathline = [] |
| list | TMXline = [] |
| list | TMYline = [] |
| list | T1VRline = [] |
| list | T2VRline = [] |
| list | T1IRline = [] |
| list | T2IRline = [] |
| list | TMRline = [] |
| list | D0line = [] |
| list | D1line = [] |
| list | D2line = [] |
| list | D3line = [] |
| list | Triggerline = [] |
| list | Triggersymbol = [] |
| int | SHOWsamples = 4000 |
| int | SCstart = 0 |
| float | HozPoss = 0.0 |
| int | Is_Triggered = 0 |
| int | TRACES = 1 |
| int | TRACESread = 0 |
| ScreenTrefresh = IntVar(0) | |
| ScreenXYrefresh = IntVar(0) | |
| NSteps = IntVar(0) | |
| LoopNum = IntVar(0) | |
| int | LastWindow = -1 |
| int | LastSMPfft = 0 |
| int | CurrentFreqX = X0LBP + 14 |
| FBins = numpy.linspace(0, 50000, num=16384) | |
| FStep = numpy.linspace(0, 16384, num=NSteps.get()) | |
| FSweepMode = IntVar(0) | |
| FSweepCont = IntVar(0) | |
| FStepSync = IntVar(0) | |
| FSweepSync = IntVar(0) | |
| ShowCA_VdB = IntVar(0) | |
| ShowCA_P = IntVar(0) | |
| ShowCB_VdB = IntVar(0) | |
| ShowCB_P = IntVar(0) | |
| ShowMarkerBP = IntVar(0) | |
| ShowCA_RdB = IntVar(0) | |
| ShowCA_RP = IntVar(0) | |
| ShowCB_RdB = IntVar(0) | |
| ShowCB_RP = IntVar(0) | |
| ShowMathBP = IntVar(0) | |
| ShowRMathBP = IntVar(0) | |
| SingleShotSA = IntVar(0) | |
| list | FSweepAdB = [] |
| list | FSweepBdB = [] |
| list | FSweepAPh = [] |
| list | FSweepBPh = [] |
| list | NSweepSeriesR = [] |
| list | NSweepSeriesX = [] |
| list | NSweepSeriesMag = [] |
| list | NSweepSeriesAng = [] |
| list | NSweepParallelR = [] |
| list | NSweepParallelC = [] |
| list | NSweepParallelL = [] |
| list | NSweepSeriesC = [] |
| list | NSweepSeriesL = [] |
| NetworkScreenStatus = IntVar(0) | |
| BDSweepFile = IntVar(0) | |
| list | FileSweepFreq = [] |
| list | FileSweepAmpl = [] |
| int | MarkerNum = 0 |
| ShowTCur = IntVar(0) | |
| ShowVCur = IntVar(0) | |
| int | TCursor = 0 |
| ShowXCur = IntVar(0) | |
| ShowYCur = IntVar(0) | |
| int | XCursor = 0 |
| ShowFCur = IntVar(0) | |
| ShowdBCur = IntVar(0) | |
| int | FCursor = 0 |
| ShowBPCur = IntVar(0) | |
| ShowBdBCur = IntVar(0) | |
| int | BPCursor = 0 |
| RUNstatus = IntVar(0) | |
| int | PowerStatus = 1 |
| int | TRIGGERsample = 0 |
| int | DX = 0 |
| list | DBdivlist = [1, 2, 3, 5, 10, 15, 20] |
| Spectrum Analyzer Values that can be modified. More... | |
| DBdivindex = IntVar(0) | |
| DBlevel = IntVar(0) | |
| DBdivindexBP = IntVar(0) | |
| DBlevelBP = IntVar(0) | |
| int | hldn = 0 |
| SpectrumScreenStatus = IntVar(0) | |
| SmoothCurvesSA = IntVar(0) | |
| SmoothCurvesBP = IntVar(0) | |
| CutDC = IntVar(0) | |
| IAScreenStatus = IntVar(0) | |
| NqPScreenStatus = IntVar(0) | |
| NqPDisp = IntVar(0) | |
| NiCScreenStatus = IntVar(0) | |
| NiCDisp = IntVar(0) | |
| float | ImpedanceMagnitude = 0.0 |
| float | ImpedanceAngle = 0.0 |
| float | ImpedanceRseries = 0.0 |
| float | ImpedanceXseries = 0.0 |
| Show_Rseries = IntVar(0) | |
| Show_Xseries = IntVar(0) | |
| Show_Magnitude = IntVar(0) | |
| Show_Angle = IntVar(0) | |
| Show_RseriesRef = IntVar(0) | |
| Show_XseriesRef = IntVar(0) | |
| Show_MagnitudeRef = IntVar(0) | |
| Show_AngleRef = IntVar(0) | |
| list | TIARline = [] |
| Impedance Analyzer sweep bode plot and reference line variables. More... | |
| list | TIAXline = [] |
| list | TIAMagline = [] |
| list | TIAAngline = [] |
| list | TIAMline = [] |
| list | TIAMRline = [] |
| list | RefIARline = [] |
| list | RefIAXline = [] |
| list | RefIAMagline = [] |
| list | RefIAAngline = [] |
| IASource = IntVar(0) | |
| IAGridType = IntVar(0) | |
| DisplaySeries = IntVar(0) | |
| In IA display series or parallel values. More... | |
| IA_Ext_Conf = IntVar(0) | |
| IASweepSaved = IntVar(0) | |
| int | OverRangeFlagA = 0 |
| int | OverRangeFlagB = 0 |
| int | PeakdbA = 10 |
| int | PeakdbB = 10 |
| float | PeakRelPhase = 0.0 |
| int | PeakfreqA = 100 |
| int | PeakfreqB = 1000 |
| OhmStatus = IntVar(0) | |
| OhmRunStatus = IntVar(0) | |
| int | FFTbandwidth = 0 |
| list | FFTBuffA = [] |
| list | FFTBuffB = [] |
| list | FFTresultA = [] |
| list | PhaseA = [] |
| list | FFTresultB = [] |
| list | PhaseB = [] |
| list | FFTresultAB = [] |
| string | FFTwindowname = "--" |
| FFTmemoryA = numpy.ones(1) | |
| PhaseMemoryA = numpy.ones(1) | |
| FFTmemoryB = numpy.ones(1) | |
| PhaseMemoryB = numpy.ones(1) | |
| SMPfftpwrTwo = IntVar(0) | |
| int | SMPfft = 2 ** SMPfftpwrTwo.get() |
| int | Two28 = 268435456 |
| FFTwindowshape = numpy.ones(SMPfft) | |
| list | T1Fline = [] |
| Frequency Array Variables. More... | |
| list | T2Fline = [] |
| list | T1Pline = [] |
| list | T2Pline = [] |
| list | T1FRline = [] |
| list | T2FRline = [] |
| list | T1PRline = [] |
| list | T2PRline = [] |
| list | TFMline = [] |
| list | TFRMline = [] |
| FreqTraceMode = IntVar(0) | |
| list | TAFline = [] |
| Bode Array Variables. More... | |
| list | TBFline = [] |
| list | TAPline = [] |
| list | TBPline = [] |
| list | TAFRline = [] |
| list | TBFRline = [] |
| list | TAPRline = [] |
| list | TBPRline = [] |
| list | TBPMline = [] |
| list | TBPRMline = [] |
| int | MinSamplesSA = 64 |
| int | MaxSamplesSA = 65536 |
| MathScreenStatus = IntVar(0) | |
| XYScreenStatus = IntVar(0) | |
| Xsignal = IntVar(0) | |
| YsignalVA = IntVar(0) | |
| YsignalVB = IntVar(0) | |
| YsignalIA = IntVar(0) | |
| YsignalIB = IntVar(0) | |
| YsignalM = IntVar(0) | |
| YsignalMX = IntVar(0) | |
| YsignalMY = IntVar(0) | |
| XYRefAV = IntVar(0) | |
| XYRefBV = IntVar(0) | |
| XYRefAI = IntVar(0) | |
| XYRefBI = IntVar(0) | |
| XYRefM = IntVar(0) | |
| XYRefMX = IntVar(0) | |
| XYRefMY = IntVar(0) | |
| Show_CBA = IntVar(0) | |
| Show_CBB = IntVar(0) | |
| Show_CBC = IntVar(0) | |
| Show_CBD = IntVar(0) | |
| ShowRMA = IntVar(0) | |
| ShowRMB = IntVar(0) | |
| ShowRMC = IntVar(0) | |
| ShowRMD = IntVar(0) | |
| D0 = IntVar(0) | |
| D1 = IntVar(0) | |
| D2 = IntVar(0) | |
| D3 = IntVar(0) | |
| D4 = IntVar(0) | |
| D5 = IntVar(0) | |
| D6 = IntVar(0) | |
| D7 = IntVar(0) | |
| int | PIO_0 = 28 |
| print "Channel A label = " + str(CHA.signal.label) print "Channel A max = " + str(CHA.signal.max) print "Channel A min = " + str(CHA.signal.min) print "Channel A resolution = " + str(CHA.signal.resolution) print "Channel B label = " + str(CHB.signal.label) print "Channel B max = " + str(CHB.signal.max) print "Channel B min = " + str(CHB.signal.min) print "Channel B resolution = " + str(CHB.signal.resolution) More... | |
| int | PIO_1 = 29 |
| int | PIO_2 = 47 |
| int | PIO_3 = 3 |
| int | PIO_4 = 4 |
| int | PIO_5 = 5 |
| int | PIO_6 = 6 |
| int | PIO_7 = 7 |
| SCLKPort = IntVar(0) | |
| SDATAPort = IntVar(0) | |
| SLATCHPort = IntVar(0) | |
| string | hipulse |
| 25x25 bit map of high going pulse in .gif More... | |
| hipulseimg = PhotoImage(data=hipulse) | |
| string | lowpulse |
| 25x25 bit map of low going pulse in .gif More... | |
| lowpulseimg = PhotoImage(data=lowpulse) | |
| list | Arising = [i for (i, val) in enumerate(Trace1) if val >= MidV1 and Trace1[i-1] < MidV1] |
| if ETSDisp.get() > 0: More... | |
| list | Afalling = [i for (i, val) in enumerate(Trace1) if val <= MidV1 and Trace1[i-1] > MidV1] |
| list | AIrising = [i - (Trace1[i] - MidV1)/(Trace1[i] - Trace1[i-1]) for i in Arising] |
| list | AIfalling = [i - (MidV1 - Trace1[i])/(Trace1[i-1] - Trace1[i]) for i in Afalling] |
| int | CHAfreq = SAMPLErate / numpy.mean(numpy.diff(AIrising)) |
| list | Dummy_read = Arising[0] |
| list | anr1 = AIrising[0] |
| list | anr2 = AIrising[1] |
| list | anf1 = AIfalling[1] |
| list | Brising = [i for (i, val) in enumerate(Trace2) if val >= MidV2 and Trace2[i-1] < MidV2] |
| if ETSDisp.get() > 0: #endsample = ETSrecord Brising = [i for (i, val) in enumerate(Trace2[:ETSrecord]) if val >= MidV2 and Trace2[i-1] < MidV2] Bfalling = [i for (i, val) in enumerate(Trace2[:ETSrecord]) if val <= MidV2 and Trace2[i-1] > MidV2] BIrising = [i - (Trace2[i] - MidV2)/(Trace2[i] - Trace2[i-1]) for i in Brising] BIfalling = [i - (MidV2 - Trace2[i])/(Trace2[i-1] - Trace2[i]) for i in Bfalling] else: More... | |
| list | Bfalling = [i for (i, val) in enumerate(Trace2) if val <= MidV2 and Trace2[i-1] > MidV2] |
| list | BIrising = [i - (Trace2[i] - MidV2)/(Trace2[i] - Trace2[i-1]) for i in Brising] |
| list | BIfalling = [i - (MidV2 - Trace2[i])/(Trace2[i-1] - Trace2[i]) for i in Bfalling] |
| int | CHBfreq = SAMPLErate / numpy.mean(numpy.diff(BIrising)) |
| tuple | CHBperiod = (numpy.mean(numpy.diff(BIrising)) * 1000.0) / SAMPLErate |
| list | bnr1 = BIrising[0] |
| list | bnr2 = BIrising[1] |
| list | bnf1 = BIfalling[1] |
| CHAHW = float(((anf1 - anr1) * 1000.0) / SAMPLErate) | |
| CHALW = float(((anr2 - anf1) * 1000.0) / SAMPLErate) | |
| CHBHW = float(((bnf1 - bnr1) * 1000.0) / SAMPLErate) | |
| CHBLW = float(((bnr2 - bnf1) * 1000.0) / SAMPLErate) | |
| float | CHBDCy = float(bnf1 - bnr1) / float(bnr2 - bnr1) * 100.0 |
| CHBADelayR1 = float((bnr1 - anr1) * 1000.0 / SAMPLErate) | |
| CHBADelayR2 = float((bnr2 - anr2) * 1000.0 / SAMPLErate) | |
| CHBADelayF = float((bnf1 - anf1) * 1000.0 / SAMPLErate) | |
| float | CHABphase = 360.0*(float((bnr1 - anr1) * 1000.0 / SAMPLErate))/CHAperiod |
| tuple | Tstep = (TIMEdiv / GRW) / 10 |
| if ShowTCur.get() > 0 and ShiftKeyDwn == 0: TCursor = TCursor + event.delta/100 elif ShowVCur.get() > 0 or ShiftKeyDwn == 1: VCursor = VCursor - event.delta/100 More... | |
| vertmin = Frame( frame2fr ) | |
| SAvertmaxEntry = Entry(vertmax, width=7, cursor='double_arrow') SAvertmaxEntry.bind('<Return>', onTextKey) SAvertmaxEntry.bind('<MouseWheel>', onTextScroll) SAvertmaxEntry.bind("<Button-4>", onTextScroll)# with Linux OS SAvertmaxEntry.bind("<Button-5>", onTextScroll) SAvertmaxEntry.bind('<Key>', onTextKey) SAvertmaxEntry.pack(side=LEFT) SAvertmaxEntry.delete(0,"end") SAvertmaxEntry.insert(0,1.0) More... | |
| side | |
| vertminlab = Label(vertmin, text="VRMS Min") | |
| SAvertminEntry = Spinbox(vertmin, width=6, cursor='double_arrow', values=SAMagdiv, command=BCHBIlevel) | |
| sadismiss1button = Button(frame2fr, text="Dismiss", style="W8.TButton", command=DestroySpectrumScreen) | |
| SAvertminEntry = Entry(vertmin, width=7, cursor='double_arrow') SAvertminEntry.bind('<Return>', onTextKey) SAvertminEntry.bind('<MouseWheel>', onTextScroll) SAvertminEntry.bind("<Button-4>", onTextScroll)# with Linux OS SAvertminEntry.bind("<Button-5>", onTextScroll) SAvertminEntry.bind('<Key>', onTextKey) SAvertminEntry.pack(side=LEFT) SAvertminEntry.delete(0,"end") SAvertminEntry.insert(0,0.0001) More... | |
| ADI2 = Label(frame2fr, image=logo, anchor= "sw", compound="top") | |
| sb_tip = CreateToolTip(sasb, 'Stop acquiring data') | |
| rb_tip = CreateToolTip(sarb, 'Start acquiring data') | |
| bless_tip = CreateToolTip(bless, 'Decrease FFT samples') | |
| bmore_tip = CreateToolTip(bmore, 'Increase FFT samples') | |
| b3_tip = CreateToolTip(sab3, 'Increase number of dB/Div') | |
| b4_tip = CreateToolTip(sab4, 'Decrease number of dB/Div') | |
| b5_tip = CreateToolTip(sab5, 'Increase Ref Level by 10 dB') | |
| b6_tip = CreateToolTip(sab6, 'Decrease Ref Level by 10 dB') | |
| b7_tip = CreateToolTip(sab7, 'Increase Ref Level by 1 dB') | |
| b8_tip = CreateToolTip(sab8, 'Decrease Ref Level by 1 dB') | |
| sadismiss1button_tip = CreateToolTip(sadismiss1button, 'Dismiss Spectrum Analyzer window') | |
| dismissxybutton = Button(frame2xyr, style="W7.TButton", text="Dismiss", command=DestroyXYScreen) | |
| savebutton = Button(frame2xyr, style="W11.TButton", text="Save Screen", command=BSaveScreenXY) savebutton.pack(side=TOP) More... | |
| UserEnt = Frame( frame2xyr ) | |
| userentlab = Button(UserEnt, text="User", width=4, style="W4.TButton") | |
| LEFT | |
| fill | |
| User3Entry = Entry(UserEnt, width=5, cursor='double_arrow') | |
| User4Entry = Entry(UserEnt, width=5, cursor='double_arrow') | |
| ADI1xy = Label(frame2xyr, image=logo, anchor= "sw", compound="top") | |
| MarkerXYScale = IntVar(0) | |
| CHAsbxy = Spinbox(frame3xy, width=4, cursor='double_arrow', values=CHvpdiv) | |
| CHAxylab = Button(frame3xy, text="CA V/Div", style="Rtrace1.TButton", command=SetXYScaleA) | |
| CHAVPosEntryxy = Entry(frame3xy, width=5, cursor='double_arrow') | |
| CHAofflabxy = Button(frame3xy, text="CA V Pos", style="Rtrace1.TButton", command=SetXYVAPoss) | |
| CHAIsbxy = Spinbox(frame3xy, width=4, cursor='double_arrow', values=CHipdiv) | |
| CHAIlabxy = Label(frame3xy, text="CA mA/Div", style="Strace3.TButton") | |
| CHAIPosEntryxy = Entry(frame3xy, width=5, cursor='double_arrow') | |
| CHAIofflabxy = Button(frame3xy, text="CA I Pos", style="Rtrace3.TButton", command=SetXYIAPoss) | |
| CHBsbxy = Spinbox(frame4xy, width=4, cursor='double_arrow', values=CHvpdiv) | |
| CHBxylab = Button(frame4xy, text="CB V/Div", style="Strace2.TButton", command=SetXYScaleB) | |
| CHBVPosEntryxy = Entry(frame4xy, width=5, cursor='double_arrow') | |
| CHBofflabxy = Button(frame4xy, text="CB V Pos", style="Rtrace2.TButton", command=SetXYVBPoss) | |
| CHBIsbxy = Spinbox(frame4xy, width=4, cursor='double_arrow', values=CHipdiv) | |
| CHBIlabxy = Label(frame4xy, text="CB mA/Div", style="Strace4.TButton") | |
| CHBIPosEntryxy = Entry(frame4xy, width=5, cursor='double_arrow') | |
| CHBIofflabxy = Button(frame4xy, text="CB I Pos", style="Rtrace4.TButton", command=SetXYIBPoss) | |
| math_tip = CreateToolTip(mathbt, 'Open Math window') | |
| bsxy_tip = CreateToolTip(sbxy, 'Stop acquiring data') | |
| brxy_tip = CreateToolTip(rbxy, 'Start acquiring data') | |
| snapbutton_tip = CreateToolTip(snapbutton, 'Take snap shot of current trace') | |
| savebutton_tip = CreateToolTip(savebutton, 'Save current trace to EPS file') | |
| dismissxybutton_tip = CreateToolTip(dismissxybutton, 'Diamiss X-Y plot window') | |
| CHAxylab_tip = CreateToolTip(CHAxylab, 'Select CHA-V vertical range/position axis to be used for markers and drawn color') | |
| CHBxylab_tip = CreateToolTip(CHBxylab, 'Select CHB-V vertical range/position axis to be used for markers and drawn color') | |
| CHAxyofflab_tip = CreateToolTip(CHAofflabxy, 'Set CHA-V position to DC average of signal') | |
| CHBxyofflab_tip = CreateToolTip(CHBofflabxy, 'Set CHB-V position to DC average of signal') | |
| CHAIxyofflab_tip = CreateToolTip(CHAIofflabxy, 'Set CHA-I position to DC average of signal') | |
| CHBIxyofflab_tip = CreateToolTip(CHBIofflabxy, 'Set CHB-I position to DC average of signal') | |
| TgInput = IntVar(0) | |
| ================ Make main Screen ========================== More... | |
| SingleShot = IntVar(0) | |
| ManualTrigger = IntVar(0) | |
| AutoLevel = IntVar(0) | |
| ShowC1_V = IntVar(0) | |
| TgEdge = IntVar(0) | |
| ShowC1_I = IntVar(0) | |
| ShowC2_V = IntVar(0) | |
| ShowC2_I = IntVar(0) | |
| ShowAV_I = IntVar(0) | |
| ShowBV_I = IntVar(0) | |
| ShowRA_V = IntVar(0) | |
| ShowRA_I = IntVar(0) | |
| ShowRB_V = IntVar(0) | |
| ShowRB_I = IntVar(0) | |
| ShowMath = IntVar(0) | |
| ShowPB_A = IntVar(0) | |
| ShowPB_B = IntVar(0) | |
| ShowPB_C = IntVar(0) | |
| ShowPB_D = IntVar(0) | |
| ShowC1_VdB = IntVar(0) | |
| ShowC1_P = IntVar(0) | |
| ShowC2_VdB = IntVar(0) | |
| ShowC2_P = IntVar(0) | |
| ShowMarker = IntVar(0) | |
| ShowRA_VdB = IntVar(0) | |
| ShowRA_P = IntVar(0) | |
| ShowRB_VdB = IntVar(0) | |
| ShowRB_P = IntVar(0) | |
| ShowMathSA = IntVar(0) | |
| ShowRMath = IntVar(0) | |
| ShowAWGASA = IntVar(0) | |
| ShowAWGBSA = IntVar(0) | |
| HScaleBP = IntVar(0) | |
| Show_MathX = IntVar(0) | |
| Show_MathY = IntVar(0) | |
| AutoCenterA = IntVar(0) | |
| AutoCenterB = IntVar(0) | |
| SmoothCurves = IntVar(0) | |
| ZOHold = IntVar(0) | |
| TRACEmodeTime = IntVar(0) | |
| DecimateOption = IntVar(0) | |
| MathTrace = IntVar(0) | |
| AWGAMode = IntVar(0) | |
| AWGAIOMode = IntVar(0) | |
| AWGATerm = IntVar(0) | |
| AWGAShape = IntVar(0) | |
| AWGAPhaseDelay = IntVar(0) | |
| AWGARepeatFlag = IntVar(0) | |
| AWGABurstFlag = IntVar(0) | |
| AWGBBurstFlag = IntVar(0) | |
| AWGBMode = IntVar(0) | |
| AWGBIOMode = IntVar(0) | |
| AWGBTerm = IntVar(0) | |
| AWGBShape = IntVar(0) | |
| AWGBPhaseDelay = IntVar(0) | |
| AWGBRepeatFlag = IntVar(0) | |
| AWGSync = IntVar(0) | |
| BisCompA = IntVar(0) | |
| MeasDCV1 = IntVar(0) | |
| MeasMinV1 = IntVar(0) | |
| MeasMaxV1 = IntVar(0) | |
| MeasMidV1 = IntVar(0) | |
| MeasPPV1 = IntVar(0) | |
| MeasRMSV1 = IntVar(0) | |
| MeasRMSVA_B = IntVar(0) | |
| MeasDCI1 = IntVar(0) | |
| MeasMinI1 = IntVar(0) | |
| MeasMaxI1 = IntVar(0) | |
| MeasMidI1 = IntVar(0) | |
| MeasPPI1 = IntVar(0) | |
| MeasRMSI1 = IntVar(0) | |
| MeasDiffAB = IntVar(0) | |
| MeasDCV2 = IntVar(0) | |
| MeasMinV2 = IntVar(0) | |
| MeasMaxV2 = IntVar(0) | |
| MeasMidV2 = IntVar(0) | |
| MeasPPV2 = IntVar(0) | |
| MeasRMSV2 = IntVar(0) | |
| MeasDCI2 = IntVar(0) | |
| MeasMinI2 = IntVar(0) | |
| MeasMaxI2 = IntVar(0) | |
| MeasMidI2 = IntVar(0) | |
| MeasPPI2 = IntVar(0) | |
| MeasRMSI2 = IntVar(0) | |
| MeasDiffBA = IntVar(0) | |
| MeasUserA = IntVar(0) | |
| MeasAHW = IntVar(0) | |
| MeasALW = IntVar(0) | |
| MeasADCy = IntVar(0) | |
| MeasAPER = IntVar(0) | |
| MeasAFREQ = IntVar(0) | |
| MeasBHW = IntVar(0) | |
| MeasBLW = IntVar(0) | |
| MeasBDCy = IntVar(0) | |
| MeasBPER = IntVar(0) | |
| MeasBFREQ = IntVar(0) | |
| MeasPhase = IntVar(0) | |
| MeasTopV1 = IntVar(0) | |
| MeasBaseV1 = IntVar(0) | |
| MeasTopV2 = IntVar(0) | |
| MeasBaseV2 = IntVar(0) | |
| MeasUserB = IntVar(0) | |
| MeasDelay = IntVar(0) | |
| TimeDisp = IntVar(0) | |
| XYDisp = IntVar(0) | |
| FreqDisp = IntVar(0) | |
| PhADisp = IntVar(0) | |
| BodeDisp = IntVar(0) | |
| IADisp = IntVar(0) | |
| OhmDisp = IntVar(0) | |
| OOTScreenStatus = IntVar(0) | |
| PhAScreenStatus = IntVar(0) | |
| AppendPhAData = IntVar(0) | |
| PhAPlotMode = IntVar(0) | |
| string | PhADatafilename = "PhaseData.csv" |
| BodeScreenStatus = IntVar(0) | |
| DigScreenStatus = IntVar(0) | |
| DacScreenStatus = IntVar(0) | |
| MuxScreenStatus = IntVar(0) | |
| MuxEnb = IntVar(0) | |
| MuxSync = IntVar(0) | |
| DualMuxMode = IntVar(0) | |
| ChopMuxMode = IntVar(0) | |
| ChopTrig = IntVar(0) | |
| MinigenScreenStatus = IntVar(0) | |
| DA1ScreenStatus = IntVar(0) | |
| DigPotScreenStatus = IntVar(0) | |
| GenericSerialStatus = IntVar(0) | |
| AD5626SerialStatus = IntVar(0) | |
| DigFiltStatus = IntVar(0) | |
| CommandStatus = IntVar(0) | |
| MeasureStatus = IntVar(0) | |
| MarkerScale = IntVar(0) | |
| SettingsStatus = IntVar(0) | |
| CHA_RC_HP = IntVar(0) | |
| CHB_RC_HP = IntVar(0) | |
| CHAI_RC_HP = IntVar(0) | |
| CHBI_RC_HP = IntVar(0) | |
| HScale = IntVar(0) | |
| SAVScale = IntVar(0) | |
| SAVPSD = IntVar(0) | |
| float | SAvertmax = 1.0 |
| float | SAvertmin = 1.0E-6 |
| string | EntryText = "#000000" |
| string | BoxColor = "#0000ff" |
| background | |
| if ColorMode.get() > 0: # White background More... | |
| borderwidth | |
| foreground | |
| relief | |
| indicatorcolor | |
| highlightcolor | |
| arrowsize | |
| width | |
| font | |
| frame2r = Frame(root, borderwidth=BorderSize, relief=FrameRefief) | |
| RIGHT | |
| BOTH | |
| expand | |
| frame1 = Frame(root, borderwidth=BorderSize, relief=FrameRefief) | |
| TOP | |
| frame2 = Frame(root, borderwidth=BorderSize, relief=FrameRefief) | |
| frame3 = Frame(root, borderwidth=BorderSize, relief=FrameRefief) | |
| Triggermenu = Menubutton(frame1, text="Trigger", style="W7.TButton") | |
| tearoff | |
| label | |
| variable | |
| value | |
| Edgemenu = Menubutton(frame1, text="Edge", style="W5.TButton") | |
| tlab = Label(frame1, text="Trig Level") | |
| TRIGGERentry = Entry(frame1, width=5, cursor='double_arrow') | |
| tgb = Button(frame1, text="50%", style="W4.TButton", command=BTrigger50p) | |
| hldlab = Button(frame1, text="Hold Off", style="W8.TButton", command=IncHoldOff) | |
| HoldOffentry = Entry(frame1, width=4, cursor='double_arrow') | |
| hozlab = Button(frame1, text="Horz Pos", style="W8.TButton", command=SetTriggerPoss) | |
| HozPossentry = Entry(frame1, width=4, cursor='double_arrow') | |
| bexit = Button(frame1, text="Exit", style="W4.TButton", command=Bcloseexit) | |
| bstop = Button(frame1, text="Stop", style="Stop.TButton", command=BStop) | |
| brun = Button(frame1, text="Run", style="Run.TButton", command=BStart) | |
| PwrBt = Button(frame1, text="PWR-ON", style="Pwr.TButton", command=BPower) | |
| Showmenu = Menubutton(frame1, text="Curves", style="W7.TButton") | |
| command | |
| Triggermenu_tip = CreateToolTip(Triggermenu, 'Select trigger signal') | |
| Edgemenu_tip = CreateToolTip(Edgemenu, 'Select trigger edge') | |
| tgb_tip = CreateToolTip(tgb, 'Set trigger level to waveform mid point') | |
| hldlab_tip = CreateToolTip(hldlab, 'Increment Hold Off setting by one time division') | |
| hozlab_tip = CreateToolTip(hozlab, 'When triggering, set trigger point to center of screen') | |
| bexit_tip = CreateToolTip(bexit, 'Exit ALICE Desktop') | |
| bstop_tip = CreateToolTip(bstop, 'Stop acquiring data') | |
| brun_tip = CreateToolTip(brun, 'Start acquiring data') | |
| pwrbt_tip = CreateToolTip(PwrBt, 'Toggle ext power supply') | |
| Showmenu_tip = CreateToolTip(Showmenu, 'Select which traces to display') | |
| fminlab2 = Label(frame1, text="KHz") | |
| FminEntry = Entry(frame1, width=6, cursor='double_arrow') | |
| fminlab = Button(frame1, text="Fmin", style="W5.TButton", command=BSetFmin) | |
| HtMulEntry = Entry(frame1, width=4, cursor='double_arrow') | |
| mulxlab = Label( frame1, text = "Mul X") | |
| RollBt = Button(frame1, text="Roll-Off", style="RollOff.TButton", command=BRoll) | |
| TMsb = Spinbox(frame1, width=5, values= TMpdiv, cursor='double_arrow', command=BTime) | |
| TMlab = Label(frame1, text="Time mS/Div") | |
| ca = Canvas(frame2, width=CANVASwidth, height=CANVASheight, background=COLORcanvas, cursor='cross') | |
| MouseWidget = ca | |
| dropmenu = Frame( frame2r ) | |
| bcon = Button(dropmenu, text="Recon", style="RConn.TButton", command=ConnectDevice) | |
| anchor | |
| Filemenu = Menubutton(dropmenu, text="File", style="W4.TButton") | |
| Optionmenu = Menubutton(dropmenu, text="Options", style="W7.TButton") | |
| dropmenu2 = Frame( frame2r ) | |
| mathbt = Button(dropmenu2, text="Math", style="W4.TButton", command = NewEnterMathControls) | |
| measlab = Label(dropmenu2, text="Meas") | |
| MeasmenuA = Menubutton(dropmenu2, text="CA", style="W3.TButton") | |
| MeasmenuB = Menubutton(dropmenu2, text="CB", style="W3.TButton") | |
| options_tip = CreateToolTip(Optionmenu, 'Select Optional Settings') | |
| file_tip = CreateToolTip(Filemenu, 'Select File operations') | |
| BuildAWGScreen = Button(frame2r, text="AWG Window", style="W16.TButton", command=MakeAWGWindow) | |
| timebtn = Frame( frame2r ) | |
| ckb1 = Checkbutton(timebtn, text="Enab", style="Disab.TCheckbutton", variable=TimeDisp, command=TimeCheckBox) | |
| timelab = Label(timebtn, text="Time Plot") | |
| xybtn = Frame( frame2r ) | |
| ckb2 = Checkbutton(xybtn, text="Enab", style="Disab.TCheckbutton", variable=XYDisp, command=XYCheckBox) | |
| BuildXYScreen = Button(xybtn, text="X-Y Plot", style="W11.TButton", command=MakeXYWindow) | |
| phasebtn = Frame( frame2r ) | |
| phckb = Checkbutton(phasebtn, text="Enab", style="Disab.TCheckbutton", variable=PhADisp, command=PhACheckBox) | |
| BuildPhAScreen = Button(phasebtn, text="Phasor Plot", style="W11.TButton", command=MakePhAWindow) | |
| freqbtn = Frame( frame2r ) | |
| ckb3 = Checkbutton(freqbtn, text="Enab", style="Disab.TCheckbutton", variable=FreqDisp, command=FreqCheckBox) | |
| BuildSpectrumScreen = Button(freqbtn, text="Spectrum Plot", style="W11.TButton", command=MakeSpectrumWindow) | |
| bodebtn = Frame( frame2r ) | |
| ckb5 = Checkbutton(bodebtn, text="Enab", style="Disab.TCheckbutton", variable=BodeDisp, command=BodeCheckBox) | |
| BuildBodeScreen = Button(bodebtn, text="Bode Plot", style="W11.TButton", command=MakeBodeWindow) | |
| impdbtn = Frame( frame2r ) | |
| ckb4 = Checkbutton(impdbtn, text="Enab", style="Disab.TCheckbutton", variable=IADisp, command=IACheckBox) | |
| BuildIAScreen = Button(impdbtn, text="Impedance", style="W11.TButton", command=MakeIAWindow) | |
| dcohmbtn = Frame( frame2r ) | |
| ckb6 = Checkbutton(dcohmbtn, text="Enab", style="Disab.TCheckbutton", variable=OhmDisp, command=OhmCheckBox) | |
| BuildOhmScreen = Button(dcohmbtn, text="Ohmmeter", style="W11.TButton", command=MakeOhmWindow) | |
| string | Labelfonttext = "Arial " + str(FontSize) + " bold" |
| tracelab = Label(frame2r, text="Traces", font= Labelfonttext) | |
| trctrla = Frame( frame2r ) | |
| ckbt1 = Checkbutton(trctrla, text='CA-V (1)', style="Strace1.TCheckbutton", variable=ShowC1_V, command=TraceSelectADC_Mux) | |
| ckbt2 = Checkbutton(trctrla, text='CA-I (3)', style="Strace3.TCheckbutton", variable=ShowC1_I, command=TraceSelectADC_Mux) | |
| trctrlb = Frame( frame2r ) | |
| ckbt3 = Checkbutton(trctrlb, text='CB-V (2)', style="Strace2.TCheckbutton", variable=ShowC2_V, command=TraceSelectADC_Mux) | |
| ckbt4 = Checkbutton(trctrlb, text='CB-I (4)', style="Strace4.TCheckbutton", variable=ShowC2_I, command=TraceSelectADC_Mux) | |
| BuildAWGScreen_tip = CreateToolTip(BuildAWGScreen, 'Surface AWG Controls window') | |
| BuildXYScreen_tip = CreateToolTip(BuildXYScreen, 'Open X vs Y plot window') | |
| BuildPhAScreen_tip = CreateToolTip(BuildPhAScreen, 'Open Phase Analyzer window') | |
| BuildSpectrumScreen_tip = CreateToolTip(BuildSpectrumScreen, 'Open Spectrum Analyzer window') | |
| BuildBodeScreen_tip = CreateToolTip(BuildBodeScreen, 'Open Bode plot window') | |
| BuildIAScreen_tip = CreateToolTip(BuildIAScreen, 'Open Impedance Analyzer window') | |
| BuildOhmScreen_tip = CreateToolTip(BuildOhmScreen, 'Open DC Ohmmeter window') | |
| BuildDigScreen = Button(frame2r, text="Digital I/O Screen", style="W17.TButton", command=MakeDigScreen) | |
| BuildDacScreen = Button(frame2r, text="PIO-DAC Screen", style="W17.TButton", command=MakeDacScreen) | |
| BuildMuxScreen = Button(frame2r, text="Analog In Mux Screen", style="W17.TButton", command=MakeMuxModeWindow) | |
| BuildMinigenScreen = Button(frame2r, text="AD983x DDS Screen", style="W17.TButton", command=MakeMinigenWindow) | |
| BuildDA1Screen = Button(frame2r, text="PMOD DA1 Screen", style="W17.TButton", command=MakeDA1Window) | |
| BuildDigPotScreen = Button(frame2r, text="Dig Pot Screen", style="W17.TButton", command=MakeDigPotWindow) | |
| GenericSerialScreen = Button(frame2r, text="Generic Serial Output", style="W17.TButton", command=MakeGenericSerialWindow) | |
| AD5626SerialScreen = Button(frame2r, text="AD5626 Output", style="W17.TButton", command=MakeAD5626Window) | |
| DigFiltScreen = Button(frame2r, text="Digital Filter", style="W17.TButton", command=MakeDigFiltWindow) | |
| CommandLineScreen = Button(frame2r, text="Command Interface", style="W17.TButton", command=MakeCommandScreen) | |
| MeasureScreen = Button(frame2r, text="Measure Screen", style="W17.TButton", command=MakeMeasureScreen) | |
| ETSScreen = Button(frame2r, text="ETS Controls", style="W17.TButton", command=MakeETSWindow) | |
| awg1eb = Frame( frame2r ) | |
| ModeAMenu = Menubutton(awg1eb, text="Mode", width=5, style="Ctrace1.TButton") | |
| ShapeAMenu = Menubutton(awg1eb, text="Shape", width=6, style="Ctrace1.TButton") | |
| awg1model = Frame( frame2r ) | |
| AWGAModeLabel = Label(awg1model, text="AWG A Mode", background=COLORtrace1, font=('Arial', FontSize, 'bold')) | |
| AWGAShapeLabel = Label(awg1model, text="AWG A Shape", background=COLORtrace1, font=('Arial', FontSize, 'bold')) | |
| awg1ampl = Frame( frame2r ) | |
| amp1lab = Label(awg1ampl) | |
| row | |
| column | |
| sticky | |
| off1lab = Label(awg1ampl) | |
| freq1lab = Label(awg1ampl, text="Freq") | |
| AWGAAmplEntry = Entry(awg1ampl, width=5, cursor='double_arrow') | |
| AWGAOffsetEntry = Entry(awg1ampl, width=5, cursor='double_arrow') | |
| text | |
| AWGAFreqEntry = Entry(awg1ampl, width=7, cursor='double_arrow') | |
| awg1phase = Frame( frame2r ) | |
| awgaph = Button(awg1phase, text="Phase", style="W5.TButton", command=ToggleAWGAPhaseDelay) | |
| AWGAPhaseEntry = Entry(awg1phase, width=4, cursor='double_arrow') | |
| phasealab = Label(awg1phase, text="Deg") | |
| awg1dc = Frame( frame2r ) | |
| AWGADutyCycleEntry = Entry(awg1dc, width=5, cursor='double_arrow') | |
| duty1lab = Label(awg1dc, text="%") | |
| awg2eb = Frame( frame2r ) | |
| # if FWRevOne > 2.16: awg2x1 = Radiobutton(frame2r, text="Both CH 1X", variable=AWG_2X, value=0, command=BAWG2X) awg2x1.pack(side=TOP) awg2x2 = Radiobutton(frame2r, text="CH A 2X", variable=AWG_2X, value=1, command=BAWG2X) awg2x2.pack(side=TOP) awg2x3 = Radiobutton(frame2r, text="CH B 2X", variable=AWG_2X, value=2, command=BAWG2X) awg2x3.pack(side=TOP) else: awgsync = Checkbutton(frame2r, text="Sync AWG", variable=AWGSync, command=BAWGSync) awgsync.pack(side=TOP) now AWG B AWG enable sub frame More... | |
| ModeBMenu = Menubutton(awg2eb, text="Mode", width=5, style="Ctrace2.TButton") | |
| ShapeBMenu = Menubutton(awg2eb, text="Shape", width=6, style="Ctrace2.TButton") | |
| awg2model = Frame( frame2r ) | |
| AWGBModeLabel = Label(awg2model, text="AWG B Mode", background=COLORtrace2, font=('Arial', FontSize, 'bold')) | |
| AWGBShapeLabel = Label(awg2model, text="AWG B Shape", background=COLORtrace2, font=('Arial', FontSize, 'bold')) | |
| awg2ampl = Frame( frame2r ) | |
| amp2lab = Label(awg2ampl) | |
| off2lab = Label(awg2ampl) | |
| freq2lab = Label(awg2ampl, text="Freq") | |
| AWGBAmplEntry = Entry(awg2ampl, width=5, cursor='double_arrow') | |
| AWGBOffsetEntry = Entry(awg2ampl, width=5, cursor='double_arrow') | |
| AWGBFreqEntry = Entry(awg2ampl, width=7, cursor='double_arrow') | |
| awg2phase = Frame( frame2r ) | |
| awgbph = Button(awg2phase, text="Phase", style="W5.TButton", command=ToggleAWGBPhaseDelay) | |
| AWGBPhaseEntry = Entry(awg2phase, width=5, cursor='double_arrow') | |
| phaseblab = Label(awg2phase, text="Deg") | |
| awg2dc = Frame( frame2r ) | |
| AWGBDutyCycleEntry = Entry(awg2dc, width=5, cursor='double_arrow') | |
| duty2lab = Label(awg2dc, text="%") | |
| bcompa = Checkbutton(frame2r, text="B = Comp A", variable=BisCompA, command=ReMakeAWGwaves) | |
| awgsync = Checkbutton(frame2r, text="Sync AWG", variable=AWGSync, command=BAWGSync) | |
| BuildAWGAPhase_tip = CreateToolTip(awgaph, 'Toggle between degrees and time') | |
| BuildAWGBPhase_tip = CreateToolTip(awgbph, 'Toggle between degrees and time') | |
| BuildAWGSync_tip = CreateToolTip(awgsync, 'Toggle between continuous and discontinuous modes') | |
| BuildBComp_tip = CreateToolTip(bcompa, 'Lock CH B to be the inverse of CH A') | |
| BuildModeAMenu_tip = CreateToolTip(ModeAMenu, 'Configure channel output mode') | |
| BuildModeBMenu_tip = CreateToolTip(ModeBMenu, 'Configure channel output mode') | |
| BuildShapeAMenu_tip = CreateToolTip(ShapeAMenu, 'Set channel waveform shape') | |
| BuildShapeBMenu_tip = CreateToolTip(ShapeBMenu, 'Set channel waveform shape') | |
| prlab = Label(frame2r, text="Adjust Gain / Offset") | |
| ProbeA = Frame( frame2r ) | |
| gain1lab = Button(ProbeA, text="CA-V", width=4, style="Ctrace1.TButton", command=ReSetAGO) | |
| CHAVGainEntry = Entry(ProbeA, width=5, cursor='double_arrow') | |
| CHAVOffsetEntry = Entry(ProbeA, width=5, cursor='double_arrow') | |
| ProbeB = Frame( frame2r ) | |
| gain2lab = Button(ProbeB, text="CB-V", width=4, style="Ctrace2.TButton", command=ReSetBGO) | |
| CHBVGainEntry = Entry(ProbeB, width=5, cursor='double_arrow') | |
| CHBVOffsetEntry = Entry(ProbeB, width=5, cursor='double_arrow') | |
| ProbeAI = Frame( frame2r ) | |
| gainailab = Button(ProbeAI, text="CA-I", width=4, style="Ctrace3.TButton", command=ReSetAIGO) | |
| CHAIGainEntry = Entry(ProbeAI, width=5, cursor='double_arrow') | |
| CHAIOffsetEntry = Entry(ProbeAI, width=5, cursor='double_arrow') | |
| ProbeBI = Frame( frame2r ) | |
| gainbilab = Button(ProbeBI, text="CB-I", width=4, style="Ctrace4.TButton", command=ReSetBIGO) | |
| CHBIGainEntry = Entry(ProbeBI, width=5, cursor='double_arrow') | |
| CHBIOffsetEntry = Entry(ProbeBI, width=5, cursor='double_arrow') | |
| User1Entry = Entry(UserEnt, width=5, cursor='double_arrow') | |
| User2Entry = Entry(UserEnt, width=5, cursor='double_arrow') | |
| string | ADIlogo |
| logo = PhotoImage(data=ADIlogo) | |
| ADI1 = Label(frame2r, image=logo, anchor= "sw", compound="top") | |
| CHAlab = Button(frame3, text="CA V/Div", style="Rtrace1.TButton", command=SetScaleA) | |
| CHAsb = Spinbox(frame3, cursor='double_arrow', width=4, values=CHvpdiv, command=BCHAlevel) | |
| CHAofflab = Button(frame3, text="CA V Pos", style="Rtrace1.TButton", command=SetVAPoss) | |
| CHAVPosEntry = Entry(frame3, width=5, cursor='double_arrow') | |
| CHAIlab = Button(frame3, text="CA mA/Div", style="Strace3.TButton", command=SetScaleIA) | |
| CHAIsb = Spinbox(frame3, cursor='double_arrow', width=4, values=CHipdiv, command=BCHAIlevel) | |
| CHAIofflab = Button(frame3, text="CA I Pos", style="Rtrace3.TButton", command=SetIAPoss) | |
| CHAIPosEntry = Entry(frame3, width=5, cursor='double_arrow') | |
| CHBlab = Button(frame3, text="CB V/Div", style="Strace2.TButton", command=SetScaleB) | |
| CHBsb = Spinbox(frame3, width=4, cursor='double_arrow', values=CHvpdiv, command=BCHBlevel) | |
| CHBofflab = Button(frame3, text="CB V Pos", style="Rtrace2.TButton", command=SetVBPoss) | |
| CHBVPosEntry = Entry(frame3, width=5, cursor='double_arrow') | |
| CHBIlab = Button(frame3, text="CB mA/Div", style="Strace4.TButton", command=SetScaleIB) | |
| CHBIsb = Spinbox(frame3, width=4, cursor='double_arrow', values=CHipdiv, command=BCHBIlevel) | |
| CHBIofflab = Button(frame3, text="CB I Pos", style="Rtrace4.TButton", command=SetIBPoss) | |
| CHBIPosEntry = Entry(frame3, width=5, cursor='double_arrow') | |
| CHAlab_tip = CreateToolTip(CHAlab, 'Select CHA-V vertical range/position axis to be used for markers and drawn color') | |
| CHBlab_tip = CreateToolTip(CHBlab, 'Select CHB-V vertical range/position axis to be used for markers and drawn color') | |
| CHAIlab_tip = CreateToolTip(CHAIlab, 'Select CHA-I vertical range/position axis to be used for markers and drawn color') | |
| CHBIlab_tip = CreateToolTip(CHBIlab, 'Select CHB-I vertical range/position axis to be used for markers and drawn color') | |
| CHAofflab_tip = CreateToolTip(CHAofflab, 'Set CHA-V position to DC average of signal') | |
| CHBofflab_tip = CreateToolTip(CHBofflab, 'Set CHB-V position to DC average of signal') | |
| CHAIofflab_tip = CreateToolTip(CHAIofflab, 'Set CHA-I position to DC average of signal') | |
| CHBIofflab_tip = CreateToolTip(CHBIofflab, 'Set CHB-I position to DC average of signal') | |
| gain1lab_tip = CreateToolTip(gain1lab, 'Reset Gain to 1.0 and Offset to 0.0') | |
| gain2lab_tip = CreateToolTip(gain2lab, 'Reset Gain to 1.0 and Offset to 0.0') | |
| gainailab_tip = CreateToolTip(gainailab, 'Reset Gain to 1.0 and Offset to 0.0') | |
| gainbilab_tip = CreateToolTip(gainbilab, 'Reset Gain to 1.0 and Offset to 0.0') | |
| BrdSel = IntVar(0) | |
| BoardStatus = IntVar(0) | |