LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulate Instrument (Visa)

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

Message Edited by OnlyOne on 06-08-2009 03:10 AM
0 Kudos
Message 1 of 4
(3,631 Views)

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.

0 Kudos
Message 2 of 4
(3,606 Views)

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.

0 Kudos
Message 3 of 4
(3,596 Views)

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.

0 Kudos
Message 4 of 4
(3,592 Views)