Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
3 ratings:
 2 out of 5     Rate this Document

Easily Creating GPIB Programs in Visual Basic

Primary Software: Measurement Studio>>Visual Basic Support
Primary Software Version: 7.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: GPIB

Problem:
I want to write a GPIB application in Visual Basic, but I do not want to use the GPIB language interface. Is there an easier way to write my GPIB application in Visual Basic?

Solution:
NI Measurement Studio (formerly Component Works) is a set of virtual instrumentation tools built using the latest ActiveX custom controls technology. Using simple property pages, you can quickly and easily configure data acquisition (DAQ) operations, control GPIB, serial and VXI instruments, and build advanced instrumentation-style front panels with knobs, meters, gauges, buttons, LEDs, and graphs. Together with the extensive Measurement Studio Analysis Library, these tools form a complete virtual instrumentation development toolbox that provides you the flexibility to develop your own custom instrumentation applications in a variety of development environments.

Measurement Studio includes ActiveX controls for communicating with Serial and GPIB based instruments. Basic functionality includes synchronous and asynchronous reads, user configurable parsing tasks for interpreting the data, and interactive test panels. More information can be found on the Measurement Studio product page (see the Related Link below).

The NI-488.2 GPIB driver does not include built-in functions for event driven programming, but can be called directly from Visual Basic. To implement the GPIB Read function, poll for LACS and !ATN in ibsta using ibwait, and then write using ibwrt.

Related Links:
Measurement Studio Product Information
Developer Zone: GPIB Language Interfaces

Attachments:





Report Date: 01/11/1996
Last Updated: 11/08/2007
Document ID: 0HA8R5EO

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit