Siddu,
I found a tutorial that you may find usefull, they do the programming in LabVIEW, but you should be able to emulate that code in CVI; here is the tutorial:
Remote Instrument Control with NI-VISA
.
Here a distiled version of the procedure:
1. First, on the target machine, open MAX, and go to Tools >> NI-VISA >> VISA Options >> "Security" Tab
2. Set your permissions properly so that VISA resources will be detectable by your second machine. Close the window and close MAX
3. Run the VISA server on your target machine.
4. On the 2nd machine, open MAX. Right click on Remote Systems and choose "Create New"
5. From the dialog window that appea
rs, choose "Remote VISA System" and click "Next"
6. Enter the IP address of the target machine and click "Finish". Your remote VISA resources should now show up.
If your devices show up properly in MAX, you will be able to call them in CVI as any other VISA resource.
I hope this helps.
Regards,
Juan Carlos
N.I.