# Nicla Vision openmv rpc

**URL:** <https://forums.openmv.io/t/nicla-vision-openmv-rpc/6961>\
**Category:** Arduino Boards\
**Created:** [March 27, 2022, 10:39pm UTC](https://forums.openmv.io/t/nicla-vision-openmv-rpc/6961 "2022-03-27T22:39:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![args](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@args](https://forums.openmv.io/u/args)\
**Post date:** [March 27, 2022, 10:39pm UTC](https://forums.openmv.io/t/nicla-vision-openmv-rpc/6961/1 "2022-03-27T22:39:56Z")

</div>

How do we use the rpc library on Nicla Vision to stream video over a wifi on a computer?

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [March 27, 2022, 10:59pm UTC](https://forums.openmv.io/t/nicla-vision-openmv-rpc/6961/2 "2022-03-27T22:59:52Z")

</div>

Hi, the example should work for WiFi on the Nicla. Just use the Portenta example script.

---

<div class="post-metadata">

**Author:** ![args](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@args](https://forums.openmv.io/u/args)\
**Post date:** [March 27, 2022, 11:32pm UTC](https://forums.openmv.io/t/nicla-vision-openmv-rpc/6961/3 "2022-03-27T23:32:52Z")

</div>

oh before the wifi, i was trying to use the rpc lib over usb. it would run, but it would only display 0.0 all the way and the frame buffer is a black screen.

What I did:

I made the Portenta H7 example “image\_transfer\_jpg\_as\_the\_remote\_device\_for\_your\_computer.py” as the main of Nicla Vision, and then ran “rpc\_image\_transfer\_jpg\_as\_the\_controller\_device.py” and selected the corresponding Port.

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [March 28, 2022, 12:47am UTC](https://forums.openmv.io/t/nicla-vision-openmv-rpc/6961/4 "2022-03-28T00:47:14Z")

</div>

Display black is not working… Hmm, I’d have to debug the USB calls. The protocol can be a little finicky over USB. I primarily designed it to deal with folks asking for serial comms for UART/I2C/SPI.

WiFi should work better.

---

<div class="post-metadata">

**Author:** ![AEuropeanSwallow](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@AEuropeanSwallow](https://forums.openmv.io/u/AEuropeanSwallow)\
**Post date:** [October 24, 2024, 11:50am UTC](https://forums.openmv.io/t/nicla-vision-openmv-rpc/6961/5 "2024-10-24T11:50:58Z")

</div>

Was this ever fixed?? I am trying to do the same thing but getting black screen and zero values using the example

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [October 24, 2024, 5:45pm UTC](https://forums.openmv.io/t/nicla-vision-openmv-rpc/6961/6 "2024-10-24T17:45:37Z")

</div>

No, and WiFi RPC was deleted and removed from the library.

I may remove USB too. It’s better to just use the MicroPython control scripts or our debug mode. The RPC library was just meant to solve I2C/SPI/UART comms between cameras.
