Sending uniform vec2 arrays to shader

I have a hard time getting arrays of ofVec2f to my vertex shader.
I simply need to send a bunch of points (2d). I am trying to use the setUniform2fv, but can’t get it to work.

Will someone provide a small snippet of how to do this?

-Thanks