Scilab Function
Last update : 03/09/2009

VISA_open - Open a VISA session

Calling Sequence

VISA_open(id,name)

Parameters

Description

This function opens a VISA session. It should be used if the interface is differant thant "GPIB0::xx::INSTR". For GPIB0, you can use GPIB_write() and GPIB_read().

Examples

// Lecture du wattmètre GPIB ANRITSU
//
VISA_open(1,"GPIB0::13::INSTR")
VISA_write(1,"*IDN?")
VISA_read(1,50)
 ans  =

 ANRITSU,ML2438A,00080050,3.07

// Lecture du wattmètre USB ROHDE & SCHWARZ
//
VISA_open(2,"RSNRP::0x000c::100189::INSTR")
VISA_write(2,"*IDN?")
VISA_read(2,50)
 ans  =

 ROHDE&SCHWARZ,NRP-Z11,100189,03.00   
  

See Also

VISA_close ,   VISA_write ,   VISA_read ,  

Authors

T. Reveyrand www.microwave.fr

Bibliography

Used Function