12-21-2014 02:01 AM
Hi all,
i use device agilent e3634a. when computer and instrument make contact with VISA, Does VISA send my computer's ip address to the instrument? or what data sent to the PC to the device? The device how to know my computer?
i have another question: i read VISA manual and there is an example of obtaining a shared lock with a requested name:
status = viLock(instr, VI_SHARED_LOCK, 15000, "MyLockName", accessKey);
What is MyLockName? is it my pc's ip address? in each VISA funstions (VISA read, VISA write VISA close,VISA open VISA lock...etc) does computer sent it's identity to the device?
Thank you
12-21-2014 11:48 AM - edited 12-21-2014 11:49 AM
Hi omer,
VISA usually doesn't send any IP addresses in it's standard communication (like RS232, GPIB)!
But (as you know VISA is a wrapper for several communication ways): you can use VISA to communicate with a device over LAN connection. In this case the communication is IP based and so both ends (computer and device) know each others IP address…
MyLockName looks like a name you can choose on your own…