HP manual Setting a Property in an IVI-C Driver, Using IVI-COM

Models: Drive

1 114
Download 114 pages 61.75 Kb
Page 42
Image 42

42

Setting a Property in an IVI-C Driver

Properties such as Trigger Delay can also be set (and read) with a property node. This is important in cases where a configuration function is not provided by the driver.

For example we can replace steps 4 and 5 of the “Configure the Instrument” section with:

1From the Functions palette select Application Control and drop a Property Node on the Block Diagram.

2Connect the resource name and error information from Configure Measurement VI to the Property Node.

3Right-click on the Property Node and select Change All to Write.

4Click on the Property field and select Trigger >> Trigger Delay.

Using IVI-COM

To use IVI-COM drivers in LabVIEW you will use the ActiveX functions and the

Class Browser that are built-in to LabVIEW.

Create a Project and Access the Driver

1Launch LabVIEW

Chapter 4

Page 42
Image 42
HP manual Setting a Property in an IVI-C Driver, Using IVI-COM