‎06-08-2009 03:05 AM - edited ‎06-08-2009 03:10 AM
Hello,
i have a set of teststeps that use Visa write/read.
The steps are used in teststand.
My question is: Is it possible to create a virtual instrument in MAX that simulates my instrument? So that i can run the labview-steps without an error and with random results? Can MAX do this? Or do i have to edit all my labview-steps manually to add this feature?
I find that its possible with IVI, but none of my steps use IVI. Everything is direct SCPI sending.
Thanks for tipps
‎06-08-2009 08:26 AM
No. There is no way to do this. Think of the thousands of different possible instruments out there each with there own command set. There is no way for MAX or LabVIEW to be able to try to replicate them.
‎06-08-2009 09:22 AM
The only thing that MAX should do is that when reveiving sth via VISA not to create a timeout.
And when labview wants to read something from VISA to return a random-number
This would be the same for all 1000 existing instruments.
‎06-08-2009 09:33 AM
But none of this was written into the VISA specification, way back when. The IVI spec was written much later and did include a means for simulation. The simulation aspect does require code in the instrument driver.
The way to get ideas passed to NI is to use the Product Suggestion Center. The IVI Foundation is now responsible for VXI Plug&Play/VISA.