Hi Michele,
you can start to have a look to the VeriStand API examples at:
C:\Program Files (x86)\National Instruments\LabVIEW 2016\examples\NI Veristand\API
and also to the documentation.
Based on this, we can work to find a solution to your need.
Bye
Licia