Refer to the below code snippet for a better understanding of the above steps.
![SC 2215 LabVIEW Example Snippet](/servlet/rtaImage?eid=ka0VU0000001GvZ&feoid=00N3q00000HUsuC&refid=0EM3q000001oqvQ)
Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.