You can use the feature that a single vi called by more applications blocks the second caller until the first one is finished.
The only thing to remind is that you should NOT make this vi reentrant
So if you built a Query vi that sends a cmd and waits for the answer of that instrument, you can simply do the job.
As long as cmd and data stay coupled.
Attached is a simple example that we normally use: