Yves,
I guess you figured out already how to do it 🙂
Anyhow. You could open a reference handle to the opened HTV_GUI.vi from vi.lib\lvdsc\htv and set the property FP.Open to FALSE. This would close the HTV programaticaly. Attached I've a small test VI I've created in LabVIEW DSC 6.1.
Since NI does not have a USER VI which would allow that I think this is the only way. However, we are using a NI LV DSC internal VI and it is not garanteed that this would work with other versions of LV DSC.
Hope this helps.
Roland