Hi mom,
what kind of device to you want to connect to the RS232?
Or do you want to control single pins of the connector plug (which is rather unusual/impossible(?))?
For generation of waveforms you can use several functions (LV7.1: Waveform generation -> Square Waveform.vi).
Using VISA is rather easy: open the port, configure all needed settings, write/read the port. There are some examples coming with LabView!
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019