image thumbnail

XY Text Writer

by

 

Uses the 33522A waveform generator to write text on scope screen. Turns scope into message board.

Get_Character(char_in)
function [y x] = Get_Character(char_in)
	%Input is a character output is the x and y points to create arb for
	%this character
    
    %char_in = input('Input an approved character: ', 's');
    char_in = upper(char_in);
    %disp(char_in);
    
    switch char_in
        case 'A'
            [y x] = Letter_A();
        case 'B'
            [y x] = Letter_B();
        case 'C'
            [y x] = Letter_C();
        case 'D' 
            [y x] = Letter_D();
        case 'E'
            [y x] = Letter_E();
        case 'F'
            [y x] = Letter_F();
        case 'G'
            [y x] = Letter_G();
        case 'H'
            [y x] = Letter_H();
        case 'I'
            [y x] = Letter_I();
        case 'J' 
            [y x] = Letter_J();
        case 'K'
            [y x] = Letter_K();
        case 'L'
            [y x] = Letter_L();
        case 'M'
            [y x] = Letter_M();
        case 'N'
            [y x] = Letter_N();
        case 'O'
            [y x] = Letter_O();
        case 'P' 
            [y x] = Letter_P();
        case 'Q'
            [y x] = Letter_Q();
        case 'R'
            [y x] = Letter_R();
        case 'S'
            [y x] = Letter_S();
        case 'T'
            [y x] = Letter_T();
        case 'U'
            [y x] = Letter_U();
        case 'V' 
            [y x] = Letter_V();
        case 'W'
            [y x] = Letter_W();
        case 'X'
            [y x] = Letter_X();
        case 'Y'
            [y x] = Letter_Y();
        case 'Z'
            [y x] = Letter_Z();
        case '0'
            [y x] = Number_0();
        case '1' 
            [y x] = Number_1();
        case '2'
            [y x] = Number_2();
        case '3'
            [y x] = Number_3();
        case '4'
            [y x] = Number_4();
        case '5'
            [y x] = Number_5();
        case '6'
            [y x] = Number_6();
        case '7' 
            [y x] = Number_7();
        case '8'
            [y x] = Number_8();
        case '9'
            [y x] = Number_9();
        case ' '
            y = 0;
            x = 0;
        otherwise
            y = 0;
            x = 0;
    end
    
    scatter(x,y);
            
            

Contact us