Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading from PID controller using VISA in Visual Basic

I want to read data from PID controller which has RS-232 interface using VISA support in Visual Basic but
I dont to know the basic parameters that will be read frim the instrument.
0 Kudos
Message 1 of 2
(3,345 Views)
Hi PG Student,

There are several useful documents online:
  • KB 2PGCBGT0. Programming VISA Events in Visual Basic

  • KB 2HH9BUQS. Where Can I Find Text-based Programming Examples for VISA?


  • I have also attached a simple program that demonstrates how to do serial instrument communication in Visual Basic (uses Visual Basic 6.0). The example was written to communicate with a NI Insturment Simulator, communicating with other instruments should be possible by modifying the example. The example uses 9
    600 baud, 8 data bits, no pairity and hardware handshaking.

    Hope these will be enough to get you started. Best of luck!

    Kileen Cheng
    Applications Engineer
    National Instruments
    0 Kudos
    Message 2 of 2
    (3,345 Views)