From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I send you vi that could help you. this is not exactly your required code you have to use some mask image in your code for this vi to get finally your code but it will help you to use faster method for do what you want