HP Drive manual Display the Reading, Add Error Checking, Run the Application

Models: Drive

1 114
Download 114 pages 61.75 Kb
Page 41
Image 41

3Connect resource name and error information from Configure Trigger to Read VI.

Display the Reading

Create an indicator for Reading from the terminal on the Read VI.

Close the Session

1Return to the main hp 34401a palette. Select Close VI and place it on the Block Diagram.

2Connect resource name and error information from Read VI to Close VI.

Note: LabVIEW compiles while developing, which lets you check the program execution at any time.

Add Error Checking

1Return to the main functions palette. From the Dialog & User Interface subpalette select Simple Error Handler VI and place it on the Block Diagram.

2Connect the error information from Close VI to Simple Error Handler VI.

Run the Application

Your final VI Block Diagram should contain the elements shown below. To run your VI:

1Switch to the VI’s Front Panel and click on the Run arrow to run the application.

2The Reading indicator should display a simulated reading from the instrument.

TM

 

41

Using IVI with LabVIEW

 

 

 

 

 

 

Page 41
Image 41
HP Drive manual Display the Reading, Add Error Checking, Run the Application