Not much info to go on here!
Post the code and the errors you get..otherwise hard to guess.
Also important..
- what model VNA?
- What version of LabVIEW?
- What OS?
- Are you using a software driver downloaded from NI, vendor? (link!)
-How are you physically connecting PC to instrument? (USB, RS232, GPIB, LAN)
Detailed questions are more likely to lead to a solution.