Home Forums HTBasic Forum VISA LabVIEW Reply To: VISA LabVIEW

#9288
PatB
Moderator

    Here is a simple program that simply loads the VISA driver for the instrument at ASRL3::INSTR. It outputs *IDN to the instrument and then enters the response and stores it in a string variable. Finally it prints out the returned value in the string variable.

    
     LOAD BIN "VISA;DEV ASRL3::INSTR ISC 7"
    
          OUTPUT 7;"*IDN?";
          ENTER 7;S$
          PRINT "The connected device is: ",S$
          
          END
    

    An alternative to loading the driver in code is to use the Device Setup under the tools menu.

    Scroll to Top
    HTB icon

    Please Sign In