Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
IVI-3.4 API Style Guide 1

IVI-3.4 API Style Guide 1

Ratings: (0)|Views: 28 |Likes:
Published by api-26143964

More info:

Published by: api-26143964 on Oct 18, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/09/2014

pdf

text

original

IVI
Interchangeabl e
Instruments
Virtual
IVI-3.4: API Style Guide
April , 2002 Edition
Revision 1.0
IVI-3.4: API Style Specification
2
IVI Foundation
Important Information
The API Style Guide (IVI-3.4) is authored by the IVI Foundation member companies. For a vendor
membership roster list, please visit the IVI Foundation web site atwww.ivifoundation.org, or contact
the IVI Foundation at 2515 Camino del Rio South, Suite 340, San Diego, CA 92108.
The IVI Foundation wants to receive your comments on this specification. You can contact the Foundation
through email ativilistserver@ivifoundation.org, through the web site at
www.ivifoundation.org, or you can write to the IVI Foundation, 2515 Camino del Rio South, Suite
340, San Diego, CA 92108.
Warranty

The IVI Foundation and its member companies make no warranty of any kind with regard to this material,
including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose.
The IVI Foundation and its member companies shall not be liable for errors contained herein or for
incidental or consequential damages in connection with the furnishing, performance, or use of this material.

Trademarks
Product and company names listed are trademarks or trade names of their respective companies.
No investigation has been made of common-law trademark rights in any work.
IVI Foundation
3
IVI-3.4: API Style Specification
1.
Overview of the API Style Guide........................................................7
1.1
Introduction.......................................................................................................................................................7
1.2
Overview............................................................................................................................................................7
1.3
References.........................................................................................................................................................7
1.4
Definitions of Terms and Acronyms.............................................................................................................7
2.
Approach to Designing Instrument Class Interfaces.....................8
2.1
Development Process......................................................................................................................................8
2.2
Scope of an Instrument Class Specification.................................................................................................8
2.3
Attributes...........................................................................................................................................................8
2.3.1
Coupled..............................................................................................................................................8
2.3.2
Uncoupled..........................................................................................................................................9
2.4
Functions...........................................................................................................................................................9
2.4.1
Configuration....................................................................................................................................9
2.4.2
Action.................................................................................................................................................9
2.4.3
Retrieve Measurement Data............................................................................................................9
2.5
Relationship of Attributes to Configuration Functions..............................................................................9
3.
Naming Conventions.........................................................................10
3.1
Instrument Class Names................................................................................................................................10
3.2
Capability Group Names...............................................................................................................................10
3.3
Function Names..............................................................................................................................................10
3.4
Attribute Names..............................................................................................................................................11
3.5
Parameter Names............................................................................................................................................11
3.6
IVI-C.................................................................................................................................................................11
3.6.1
Functions.........................................................................................................................................11
3.6.2
Attributes.........................................................................................................................................11
3.6.3
Defined Values...............................................................................................................................12
3.7
IVI-COM..........................................................................................................................................................12
3.7.1
Interface............................................................................................................................................12
3.7.2
Methods...........................................................................................................................................12
3.7.3
Properties.........................................................................................................................................12
3.7.4
Defined Values...............................................................................................................................12
3.7.5
Interface Reference Properties.....................................................................................................13
4.
Parameter Types................................................................................14
4.1
Integers.............................................................................................................................................................14
4.2
Reals..................................................................................................................................................................14
4.2.1
Continuous Ranges and Discrete Values....................................................................................14
4.2.2
Infinity and Not A Number...........................................................................................................15

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->