CP3 vs CP4

I wanted to see how much faster the CP4 is versus the CP3, so I wrote a small benchmark program to count prime numbers between 2 and some number. I’ve added a FINDPRIMES command to the console so I can test a few ways. Here is an example running on a CP3:

findprimes 20
2 3 5 7 11 13 17 19
Found 8 primes in 00:00:00.0005093

After testing each number between 2 and 20, the program found 8 that are prime, and it took 509.3 microseconds from start to finish.

Continue reading “CP3 vs CP4”

Soup to Nuts: Cisco Codec – Part 4

In the final part of this series, we’ll finish by adding some basic functionality to the module we created in Part 3. Then we’ll look at how to drop this module into a real program and debug it when things go wrong. Lastly, we’ll consider how we could extend this module in the future.

Continue reading “Soup to Nuts: Cisco Codec – Part 4”

Soup to Nuts: Cisco Codec – Part 1

In this series of posts, we’ll develop a basic module for controlling Cisco Room Kit devices. It can be used in SIMPL Windows or SIMPL# Pro programs. It won’t be as exhaustive as the official module available from the Application Market, but it will be enough to handle most video conferencing tasks.

Continue reading “Soup to Nuts: Cisco Codec – Part 1”

Soup-to-Nuts: Phonebook Module (Part 4)

Here is the final part to this module: wrapping it up and making it easy to use. SIMPL Windows is a powerful tool because it easily abstracts away a lot of details about how things happen. The way our phonebook works under the hood will be a detail we needn’t worry about, it will just plug into our larger programs.

Continue reading “Soup-to-Nuts: Phonebook Module (Part 4)”