# Sampling Frequency Widget

**URL:** <https://forum.code.org/t/sampling-frequency-widget/38252>\
**Category:** CS Principles\
**Tags:** csp-unit-1\
**Created:** [August 6, 2023, 7:09pm UTC](https://forum.code.org/t/sampling-frequency-widget/38252 "2023-08-06T19:09:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![j.dutton](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/j.dutton/32/8347_2.png) [@j.dutton](https://forum.code.org/u/j.dutton)\
**Post date:** [August 6, 2023, 7:09pm UTC](https://forum.code.org/t/sampling-frequency-widget/38252/1 "2023-08-06T19:09:20Z")

</div>

For Unit 1, Lesson 8, the Sampling Frequency Widget is buggy for me. Crosshairs appear immediately in the widget, from the top-left of the window (not the image) and there’s no way to select/deselect. I have to Run in order to interact at all.

 ![Screen Shot 2023-08-06 at 3.09.07 PM](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/5/52a7774400b9e563cfb31ddf187caa3f0544c55b.jpeg)

---

<div class="post-metadata">

**Author:** ![krich](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/krich/32/9059_2.png) [@krich](https://forum.code.org/u/krich)\
**Post date:** [September 23, 2024, 12:07am UTC](https://forum.code.org/t/sampling-frequency-widget/38252/2 "2024-09-23T00:07:42Z")

</div>

I am seeing this same bug in both Chrome and Edge. Does anyone have a solution?

@j.dutton did you solve it?

---

<div class="post-metadata">

**Author:** ![mkmietowicz](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mkmietowicz/32/6322_2.png) [@mkmietowicz](https://forum.code.org/u/mkmietowicz)\
**Post date:** [September 23, 2024, 5:25am UTC](https://forum.code.org/t/sampling-frequency-widget/38252/3 "2024-09-23T05:25:02Z")

</div>

@krich The app is working as intended for me on Chrome. The crosshairs appear before you select run because it’s basically still in the App Lab “builder mode” (for lack of a better phrase).

Once you run the app, you should be able to change between images 1-4 and select the sampling frequency. Low sampling frequency has larger rectangles, and higher sampling frequence has smaller rectangles.

If the app is working incorrectly for you, I would recommend filling out a bug report at [https://support.code.org/hc/en-us/requests/new](https://support.code.org/hc/en-us/requests/new) to let the engineers know. It’s working correctly for me, though.

–Michael K.

---

<div class="post-metadata">

**Author:** ![krich](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/krich/32/9059_2.png) [@krich](https://forum.code.org/u/krich)\
**Post date:** [September 23, 2024, 11:19pm UTC](https://forum.code.org/t/sampling-frequency-widget/38252/4 "2024-09-23T23:19:03Z")

</div>

@mkmietowicz Thank you so much for the reply! it does work for me when I click the Run first, thank you for pointing that out. I got confused by the instructions at the top that tell you to pick an imange and use sampling, interpreting them to mean that I needed to that and then pick Run.

I did file a bug report… turns out it was user error 😀
