element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Test & Tools
  • Technologies
  • More
Test & Tools
Blog 33622A arbitrary waveform generator helps Batman with a new "Bat Signal"
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Test & Tools to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Robert Peter Oakes
  • Date Created: 10 May 2014 3:39 AM Date Created
  • Views 1473 views
  • Likes 1 like
  • Comments 9 comments
  • RoadTest
  • waveform
  • 33622a
  • generator
  • batman
  • arbtrary
Related
Recommended

33622A arbitrary waveform generator helps Batman with a new "Bat Signal"

Robert Peter Oakes
Robert Peter Oakes
10 May 2014

Link back to primary review http://www.element14.com/community/roadTestReviews/1744

 

Yes, sadly this is true, Batman's signal light on top of Gotham city has been rendered inoperative by the Evil Plastic Man, Wayne Enterprises has been provided secret help from the labs at Element 14 who assure Bruce that the new Agilent 33622A Arbitrary Waveform Generator can save the day.

 

What are the requirements you may ask,

 

it must be invisible to the bad guys (And girls... You know who you are imageso they don't know Batman is coming to the rescue

It must be detectable by Bat sensors on the Bat network and human viewable if needed from across the room (Alfred is not as young as he used to be)

it must be able to work with the Bat network even if it is running slow due to Bat Processing

The receiver must look like regular lab equipment incase of discovery, giving Bruce plausible deniability

 

Over to Wayne Enterprises Secret lab....

 

Scientist 1.... how can we create such a signal, the previous solution was child's play, we cut out a silly bat in cardboard and put it on a honking big light... Done. I did not have to do any research or homework (Truth be known, I got my grand Daughter to cut it out for me, we where playing shadow puppets ) Shhhhh.

Scientist 3... We can use the new Agilent 33622A we have received from the base of Element 14, our secret benefactor and supplier of all things cool, it can send almost any signal we can dream of and all we need is a suitably complex formula for the Bat Signal, Batman has already reviewed its awesomeness and will be able to use it easily look here :-http://www.element14.com/community/roadTestReviews/1744

Scientist 2... I know, over to Boogle, the BAT search engine, it contains the sum knowledge of all man kind and some

 

wow, what's this

 

first hit. searching for "batman  logo formula'... who needs kids when you can do it with a mathematical genius...the bad guys will never figure this out, its so nice the good folks of Gotham have nothing to worry about and find the time to post pretty formulas of their hero's

 

A few clicks later,,

 

Holy Math problems Batman, how can we send this over the Bat net... Oh no were going to have to think on this

 

The Formula (s) the Scientists agreed to implement where the following, all four of them are needed


2*sqrt((‑abs(abs(x)-1))*abs(3-abs(x))/((abs(x)-1)*(3-abs(x))))*(1+abs(abs(x)-3)/(abs(x)-3))*sqrt(1-(x/7)^2)+(5+0.97*(abs(x-0.5)+abs(x+0.5))-3*(abs(x-0.75)+abs(x+0.75)))*(1+abs(1-abs(x))/(1-abs(x)))


(‑3)*sqrt(1-(x/7)^2)*sqrt(abs(abs(x)-4)/(abs(x)-4))


abs(x/2)-0.0913722*x^2-3+sqrt(1-(abs(abs(x)-2)-1)^2)3+sqrt1)^2)


(2.71052+1.5-0.5*abs(x)-1.35526*sqrt(4-(abs(x)-1)^2))*sqrt(abs(abs(x)-1)/(abs(x)-1))+0.9


(For full disclosure the Bat team found the formula Here :- https://www.google.ca/?gfe_rd=cr&ei=Lr1uU5KhJ8OC8QfrjoHgDA#aq=f&aqi=&aql=&gs_sm=3&gs_upl=1000l1000l0l1996l1l0l0l0l0l0l0l… )


Scientist 2...I know, convert it to a square wave and send it with the amplitude and offset changing only, if the bad guys see it they will think its just test data... but how!!


Scientist 1... See Sharp


1/2 hr later... I cant find anyone called Sharp ?.. (Faint Slap is heard in the background)


C# silly, not See Sharp, even if you did find Sharp, he does not have the clearance for this


So a bit of programming later and we have some data..Yaaaaa


of course during the party that followed, someone thought it was a good idea to share back to the community the code they created (Its a good job bad guys don't bother researching, they get the good guys to do it for them and we can trust the good guys from team TM)


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApplication4
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        private void button1_Click(object sender, EventArgs e)
            
        {
            const int count = 10000;
            const double minVal = -8;
            const double maxVal = 8;
            double increment = (Math.Abs(minVal) + Math.Abs(maxVal)) / count;
            richTextBox1.Clear();
            richTextBox1.AppendText("File Format:1.10" + Environment.NewLine);
            richTextBox1.AppendText("Channel Count:1" + Environment.NewLine);
            richTextBox1.AppendText("Sample Rate:80000" + Environment.NewLine);
            richTextBox1.AppendText("High Level:1" + Environment.NewLine);
            richTextBox1.AppendText1" + Environment.NewLine);
            richTextBox1.AppendText("Filter:\"off\"" + Environment.NewLine);
            richTextBox1.AppendText("Data Points:" + count*2 + Environment.NewLine);
            richTextBox1.AppendText("Data:" + Environment.NewLine);
            double x = 0;
            int pVal = 0;
            int nVal = 0;
            int counter = 0;
            for (counter = 1 ; counter < count; counter++)
            {
Math.Abs(minVal);
                double y1 = 2 * Math.Sqrt((-(Math.Abs(Math.Abs(x) - 1))) * Math.Abs(3 - Math.Abs(x)) / ((Math.Abs(x) - 1) * (3 - Math.Abs(x)))) * (1 + Math.Abs(Math.Abs(x) - 3) / (Math.Abs(x) - 3)) * Math.Sqrt(1 - Math.Pow((x / 7), 2)) + (5 + 0.97 * (Math.Abs(x - 0.5) + Math.Abs(x + 0.5)) - 3 * (Math.Abs(x - 0.75) + Math.Abs(x + 0.75))) * (1 + Math.Abs(1 - Math.Abs(x)) / (1 - Math.Abs(x)));
1.35526*Math.Sqrt1),2))))*Math.Sqrt1))+0.9;
3)*Math.SqrtMath.Pow((x/7),2))*Math.Sqrt4));
3 + Math.Sqrt(1 - Math.Pow((Math.Abs(Math.Abs(x) - 2) - 1) , 2));
                if (Double.IsNaN(y1)) y1 = 0;
                if (Double.IsNaN(y2)) y2 = 0;
                if (Double.IsNaN(y3)) y3 = 0;
                if (Double.IsNaN(y4)) y4 = 0;
pVal = (int)((y1 + y4) * 4096);
nVal = (int)((y2 + y3) * 4096);
                richTextBox1.AppendText(pVal + Environment.NewLine);
                richTextBox1.AppendText(nVal + Environment.NewLine);
            }
            // Write the string to a file.
            System.IO.StreamWriter file = new System.IO.StreamWriter(@"c:\temp\BatMan.arb");
            file.WriteLine(richTextBox1.Text.TrimEnd());
            file.Close();
        }
    }
}



OK, now were getting somewhere, 10,000 data points that can be transmitted at almost any speed, the bat sensors can decode at the other end knowing the formula and oh... um what about Alfred, he needs a screen that looks like well something ordinary


an Oscilloscope shouts scientist number 3, Mr Wayne is always playing with them and so it would be normal to see many at Wayne manor just lying around... Boys and their Toys image


Ok, testing time, where's the generator


Holy Bat cave , its gone already, its on the Bat net but over in the Bat cave


What's this!, someone has left a secret package at he lab, its not ticking so lets open it


wow, everyone gasps in Awe, its the Agilent BenchVue software, this is great, we can send the data remotely to the generator at the bat cave for testing and batman can deliver it later to GCPD... Perfect

image

So here is the actual upload and testing secretly videoed for your enjoyment

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image


Link back to the review of the 33622A : http://www.element14.com/community/roadTestReviews/1744



Attachments:
batman.arb.zip
TheBatSignalProject.zip
  • Sign in to reply
  • Robert Peter Oakes
    Robert Peter Oakes over 11 years ago in reply to Kilohercas

    I look forward to that, I am very intrigued as to how that would work

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 11 years ago in reply to Robert Peter Oakes

    I suspect you are right, but you have to admit, we are having a lot of fun and learning new things everyday.

    Plus I think most of us are easily amused.

     

    Keep thinking, there are more fun things to play with.

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Kilohercas
    Kilohercas over 11 years ago in reply to Robert Peter Oakes

    I am just sad that i can't do it on 33622A since i am not roadtester, that's all image

     

    But i will make demo how to do that in frequency domain (time domain is too easy), so that will be cool test

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 11 years ago in reply to DAB

    Oh, I assure you, were all lost image, were in the TM group are we not lol

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 11 years ago in reply to Kilohercas

    Just found your post, very nice

     

    Looks like we were attacking a similar problem but for different devices, Your demonstrating an Oscilloscope capability and used a cool Micro-controller board and code outputting on its DAC to do it, I was demonstrating a Waveform Generator and using a Scope to display its output... Like I said, great minds think alike. Nice job on your review.

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube