Using IVI I am able to use a virtual serial port as a device and so emulate the hardware.
Any SCPI commands which are sent from the IVI driver end up in my virtual serial port handler and I can respond to them as needed in software.
This is basically working as a device emulator.
All is well, until a register based operation is performed on my virtual device.
A viIn16 for example is flat out rejected by VISA saying: "The given session or object reference does not support this operation".
True enough - a serial port does not support it.
So, does anyone know of a way to intercept register based operations in software, which would allow specific software responses to be defined?
Thanks!
TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009