Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
VPP4.3.3:VISA
ImplementationSpecification
fortheGLanguage
June9,2010
Revision5.0
SystemsAlliance
VPP4.3.3RevisionHistory
ThissectionisanoverviewoftherevisionhistoryoftheVPP4.3.3specification.
Revision1.0,December29,1995
OriginalVISAdocument.ChangesfromVISATransitionLibraryincludebindingsforlocking,asynchronous
I/O,32bitregisteraccess,blockmoves,sharedmemoryoperations,andserialinterfacesupport.
Revision1.1,January22,1997
Addednewattributes,errorcodes,events,andformattedI/Obuffers.
Revision2.0,January9,1998
Addederrorhandlingevent,moreformattedI/Ooperations,moreserialattributesandextendedsearching
capabilities.
Revision2.0.1,December4,1998
AddednewmodestogivemorerobustfunctionalitytoviGpibControlREN.Updatedinformationregarding
contactingtheAlliance.
Revision2.2,November19,1999
AddednewresourceclassesforGPIB(INTFCandSERVANT),VXI(BACKPLANEandSERVANT),and
TCPIP(INSTR,SOCKET,andSERVANT).
Revision3.0Draft,January14,2003
AddednewresourceclassforUSB(INSTR).
Revision3.0,January15,2004
ApprovedatIVIBoardofDirectorsmeeting.
Revision4.0Draft,October4,2005
AddednewresourceclassforPXI(INSTR)toincorporatePXISAextensions.Added64bitextensionsfor
registerbasedoperations.AddedsupportforWin64.
Revision4.1,February14,2008
UpdatedtheintroductiontoreflecttheIVIFoundationorganizationchanges.ReplacedNoticewithtextused
byIVIFoundationspecifications.
Revision4.1,April14,2008
EditorialchangetoupdatetheIVIFoundationcontactinformationintheImportantInformationsectionto
removeobsoleteaddressinformationandreferonlytotheIVIFoundationwebsite.
Revision5.0,June9,2010
AddedseveralnewTCPIPINSTRattributesregardingHiSLIPdevices.
NOTICE
VPP4.3.3:VISAImplementationSpecificationfortheGLanguageisauthoredbytheIVIFoundationmember
companies.Foravendormembershiprosterlist,pleasevisittheIVIFoundationwebsiteat
www.ivifoundation.org.
TheIVIFoundationwantstoreceiveyourcommentsonthisspecification.YoucancontacttheFoundationthrough
thewebsiteatwww.ivifoundation.org.
Warranty
TheIVIFoundationanditsmembercompaniesmakenowarrantyofanykindwithregardtothismaterial,
including,butnotlimitedto,theimpliedwarrantiesofmerchantabilityandfitnessforaparticularpurpose.TheIVI
Foundationanditsmembercompaniesshallnotbeliableforerrorscontainedhereinorforincidentalor
consequentialdamagesinconnectionwiththefurnishing,performance,oruseofthismaterial.
Trademarks
Productandcompanynameslistedaretrademarksortradenamesoftheirrespectivecompanies.
Noinvestigationhasbeenmadeofcommonlawtrademarkrightsinanywork.
TableofContents
Page5
TableofContents
Section1
IntroductiontotheVXIplug&playSystemsAllianceandtheIVIFoundation......................11
Section2
OverviewofVISAImplementationSpecification..............................................................................21
2.1ObjectivesofThisSpecification........................................................................................................21
2.2AudienceforThisSpecification........................................................................................................21
2.3ScopeandOrganizationofThisSpecification..................................................................................22
2.4ApplicationofThisSpecification......................................................................................................22
2.5References..........................................................................................................................................22
2.6DefinitionofTermsandAcronyms...................................................................................................23
2.7Conventions........................................................................................................................................24
Section3
VISAFrameworkBindings.........................................................................................................................31
3.1TypeAssignments..............................................................................................................................31
3.2OperationPrototypes..........................................................................................................................34
3.2.1CommonControlsandIndicators.....................................................................................34
3.2.2ScopeofFunctionality......................................................................................................35
3.2.3viFindRsrc(VISAFindResource)...................................................................................36
3.2.4viOpen(VISAOpen)........................................................................................................36
3.2.5viClose(VISAClose).......................................................................................................36
3.2.6viStatusDesc(VISAStatusDescription)..........................................................................37
3.2.7viLock(VISALockAsync)..............................................................................................37
3.2.8viUnlock(VISAUnlock)..................................................................................................37
3.2.9viEnableEvent(VISAEnableEvent)...............................................................................38
3.2.10viDisableEvent(VISADisableEvent)...........................................................................38
3.2.11viDiscardEvents(VISADiscardEvents).......................................................................38
3.2.12viWaitOnEvent(VISAWaitonEvent)..........................................................................39
3.2.13viRead(VISARead).......................................................................................................39
3.2.14viWrite(VISAWrite).....................................................................................................39
3.2.15viAssertTrigger(VISAAssertTrigger)..........................................................................310
3.2.16viReadSTB(VISAReadSTB).......................................................................................310
3.2.17viClear(VISAClear)......................................................................................................310
3.2.18viSetBuf(VISetI/OBufferSize)..................................................................................311
3.2.19viFlush(VISAFlushI/OBuffer)....................................................................................311
3.2.20viIn8/viIn16/viIn32/viIn64(VISAIn8/VISAIn16/VISAIn32/VISAIn64).............312
3.2.21viOut8/viOut16/viOut32/viOut64(VISAOut8/VISAOut16/VISAOut32/
VISAOut64)..............................................................................................................................313
3.2.22viMoveIn8/viMoveIn16/viMoveIn32/viMoveIn64(VISAMoveIn8/
VISAMoveIn16/VISAMoveIn32/VISAMoveIn64)............................................................314
3.2.23viMoveOut8/viMoveOut16/viMoveOut32/viMoveOut64(VISAMoveOut8/
VISAMoveOut16/VISAMoveOut32/VISAMoveOut64)....................................................315
3.2.24viMove(VISAMove).....................................................................................................316
3.2.25viMapAddress(VISAMapAddress).............................................................................317
3.2.26viUnmapAddress(VISAUnmapAddress)....................................................................317
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page6
TableofContents
3.2.27viPeek8/viPeek16/viPeek32/viPeek64(VISAPeek8/VISAPeek16/VISAPeek32/
VISAPeek64)............................................................................................................................318
3.2.28viPoke8/viPoke16/viPoke32/viPoke64(VISAPoke8/VISAPoke16/VISAPoke32/
VISAPoke64)............................................................................................................................318
3.2.29viMemAlloc(VISAMemoryAllocation)......................................................................319
3.2.30viMemAllocEx(VISAMemoryAllocationEx)............................................................319
3.2.31viMemFree(VISAMemoryFree)..................................................................................319
3.2.32viReadToFile(VISAReadToFile)...............................................................................320
3.2.33viWriteFromFile(VISAWriteFromFile).....................................................................320
3.2.34viGpibControlREN(VISAGPIBControlREN)...........................................................320
3.2.35viGpibControlATN(VISAGPIBControlATN)...........................................................321
3.2.36viGpibSendIFC(VISAGPIBSendIFC).......................................................................321
3.2.37viGpibCommand(VISAGPIBCommand)....................................................................321
3.2.38viGpibPassControl(VISAGPIBPassControl).............................................................322
3.2.39viVxiCommandQuery(VISAVXICmdorQuery).......................................................322
3.2.40viAssertUtilSignal(VISAAssertUtilitySignal)...........................................................323
3.2.41viAssertIntrSignal(VISAAssertInterruptSignal)........................................................323
3.2.42viMapTrigger(VISAMapTrigger)...............................................................................324
3.2.43viUnmapTrigger(VISAUnmapTrigger)......................................................................324
3.2.44viUsbControlOut(VISAUSBControlOut)...................................................................325
3.2.45viUsbControlIn(VISAUSBControlIn)........................................................................325
3.3CompletionandErrorCodes..............................................................................................................326
3.4AttributeOperations...........................................................................................................................329
3.4.1Attributes............................................................................................................................330
3.5EventTypeValues.............................................................................................................................334
3.6ValuesandRanges.............................................................................................................................335
Figure
Figure 3.4.1
PropertyNode.................................................................................................................................329
Tables
Table
Table
Table
Table
Table
3.1.1
3.3.1
3.4.1
3.5.1
3.6.1
TypeAssignments..........................................................................................................................31
CompletionandErrorCodes..........................................................................................................326
Attributes........................................................................................................................................330
EventTypeValues.........................................................................................................................334
ValuesandRanges.........................................................................................................................335
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section1:IntroductiontotheVXIplug&playSystemsAllianceandtheIVIFoundation
Page11
Section1IntroductiontotheVXIplug&playSystems
AllianceandtheIVIFoundation
TheVXIplug&playSystemsAlliancewasfoundedbymemberswhosharedacommoncommitmenttoenduser
successwithopen,multivendorVXIsystems.Theallianceaccomplishedmajorimprovementsineaseofuseby
endorsingandimplementingcommonstandardsandpracticesinbothhardwareandsoftware,beyondthescopeof
theVXIbusspecifications.Theallianceusedbothformalanddefactostandardstodefinecompletesystem
frameworks.Thesestandardframeworksgaveendusers"plug&play"interoperabilityatboththehardwareand
systemsoftwarelevel.
TheIVIFoundationisanorganizationwhosemembersshareacommoncommitmenttotestsystemdeveloper
successthroughopen,powerful,instrumentcontroltechnology.TheIVIFoundationsprimarypurposeisto
developandpromotespecificationsforprogrammingtestinstrumentsthatsimplifyinterchangeability,provide
betterperformance,andreducethecostofprogramdevelopmentandmaintenance.
In2002,theVXIplug&playSystemsAlliancevotedtobecomepartoftheIVIFoundation.In2003,the
VXIplug&playSystemsAllianceformallymergedintotheIVIFoundation.TheIVIFoundationhasassumed
controloftheVXIplug&playspecifications,andallongoingworkwillbeaccomplishedaspartoftheIVI
Foundation.
AllreferencestoVXIplug&playSystemsAlliancewithinthisdocument,exceptcontactinformation,were
maintainedtopreservethecontextoftheoriginaldocument.
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Section2:OverviewofVISAImplementationSpecification
Page21
Section2 OverviewofVISAImplementationSpecification
ThissectionintroducestheVISAImplementationSpecificationfortheGLanguage.Thisspecificationisa
documentauthoredbytheVXIplug&playSystemsAlliance.Thetechnicalworkembodiedinthisdocumentand
thewritingofthisdocumentwasperformedbytheVISATechnicalWorkingGroup.
ThissectionprovidesacompleteoverviewoftheVISAimplementationspecification,andgivesreadersgeneral
informationthatmayberequiredtounderstandhowtoread,interpret,andimplementindividualaspectsofthis
specification.Thissectionisorganizedasfollows:
Objectivesofthespecification
Scopeandorganizationofthisspecification
Applicationofthisspecification
References
Definitionsoftermsandacronyms
Conventions
Communication
2.1ObjectivesofThisSpecification
VISAgivesVXIandGPIBsoftwaredevelopers,particularlyinstrumentdriverdevelopers,thefunctionalityneeded
byinstrumentdriversinaninterfaceindependentfashionforMXI,embeddedVXI,GPIBVXI,GPIB,and
asynchronousserialcontrollers.VXIplug&playdriverswrittentotheVISAspecificationscanexecuteon
VXIplug&playsystemframeworksthathavetheVISAI/Olibrary.
TheVISAspecificationprovidesacommonstandardfortheVXIplug&playSystemAlliancefordevelopingmulti
vendorsoftwareprograms,includinginstrumentdrivers.ThisspecificationdescribestheVISAsoftwaremodeland
theVISAApplicationProgrammingInterface(API).
TheVISAImplementationSpecificationfortheGLanguageaddressesparticularissuesrelatedtoimplementing
sourceandbinarylevelcompatibilitywithinGLanguageframeworksystems.Implementationissuesfortextual
languagesaredescribedinVPP4.3.2:VISAImplementationSpecificationforTextualLanguages.
2.2AudienceforThisSpecification
Therearethreeaudiencesforthisspecification.Thefirstaudienceisinstrumentdriverdeveloperswhetheran
instrumentvendor,systemintegrator,orenduserwhowanttoimplementinstrumentdriversoftwarethatis
compliantwiththeVXIplug&playstandards.ThesecondaudienceisI/Ovendorswhowanttoimplement
VISAcompliantI/Osoftware.Thethirdaudienceisinstrumentationendusersandapplicationprogrammerswho
wanttoimplementapplicationsthatutilizeinstrumentdriverscompliantwiththisspecification.
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page22
Section2:OverviewofVISAImplementationSpecification
2.3ScopeandOrganizationofThisSpecification
Thisspecificationisorganizedinsections,witheachsectiondiscussingaparticularaspectoftheVISAmodel.
Section1explainstheVXIplug&playSystemsAllianceanditsrelationtotheIVIFoundation.
Section2providesanoverviewofthisspecification,includingtheobjectives,scopeandorganization,application,
references,definitionoftermsandacronyms,andconventions.
Section3providesthedetailsoftheVISAbindingstoGLanguageframeworksystems.
2.4ApplicationofThisSpecification
ThisspecificationisintendedforusebydevelopersofVXIplug&playinstrumentdriversandbydevelopersof
VISAI/Osoftware.ItisalsousefulasareferenceforendusersofVXIplug&playinstrumentdrivers.This
specificationisintendedtobeusedinconjunctionwiththeVPP3.xspecifications,includingtheInstrument
DriversArchitectureandDesignSpecification(VPP3.1),theInstrumentDriverFunctionalBodySpecification
(VPP3.2),theInstrumentInteractiveDeveloperInterfaceSpecification(VPP3.3),andtheInstrumentDriver
ProgrammaticDeveloperInterfaceSpecification(VPP3.4).Theserelatedspecificationsdescribethe
implementationdetailsforspecificinstrumentdriversthatareusedwithspecificsystemframeworks.
VXIplug&playinstrumentdriversdevelopedinaccordancewiththesespecificationscanbeusedinawidevariety
ofhigherlevelsoftwareenvironments,asdescribedintheSystemFrameworksSpecification(VPP2).
2.5References
Thefollowingdocumentscontaininformationthatyoumayfindhelpfulasyoureadthisdocument:
ANSI/IEEEStandard488.11987,IEEEStandardDigitalInterfaceforProgrammableInstrumentation
ANSI/IEEEStandard488.21992,IEEEStandardCodes,Formats,Protocols,andCommonCommands
ANSI/IEEEStandard10141987,IEEEStandardforaVersatileBackplaneBus:VMEbus
ANSI/IEEEStandard11742000,StandardSerialInterfaceforProgrammableInstrumentation
VPP1,VXIplug&playCharterDocument
VPP2,SystemFrameworksSpecification
VPP3.1,InstrumentDriversArchitectureandDesignSpecification
VPP3.2,InstrumentDriverFunctionalBodySpecification
VPP3.3,InstrumentDriverInteractiveDeveloperInterfaceSpecification
VPP3.4,InstrumentDriverProgrammaticDeveloperInterfaceSpecification
VPP4.3,TheVISALibrary
VPP4.3.2,VISAImplementationSpecificationforTextualLanguages
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section2:OverviewofVISAImplementationSpecification
Page23
VPP6,InstallationandPackagingSpecification
VPP7,SoftFrontPanelSpecification
VPP9,InstrumentVendorAbbreviations
VXI1,VXIbusSystemSpecification,Revision1.4,VXIbusConsortium
2.6DefinitionofTermsandAcronyms
Thefollowingaresomecommonlyusedtermswithinthisdocument.
Address
Astring(orotherlanguageconstruct)thatuniquelylocatesandidentifiesa
resource.VISAdefinesanASCIIbasedgrammarthatassociatesstringswith
particularphysicaldevicesorinterfacesandVISAresources.
ADE
ApplicationDevelopmentEnvironment
API
ApplicationProgrammersInterface.Thedirectinterfacethatanendusersees
whencreatinganapplication.InVISA,theAPIconsistsofthesumofallofthe
operations,attributes,andeventsofeachoftheVISAResourceClasses.
Attribute
Avaluewithinaresourcethatreflectsacharacteristicoftheoperationalstateofa
resource.
CommunicationChannel
ThesameasSession.Acommunicationpathbetweenasoftwareelementanda
resource.EverycommunicationchannelinVISAisunique.
Controller
Adevicethatcancontrolanotherdevice(s)orisintheprocessofperformingan
operationonanotherdevice.
Device
Anentitythatreceivescommandsfromacontroller.Adevicecanbean
instrument,acomputer(actinginanoncontrollerrole),oraperipheral(suchasa
plotterorprinter).InVISA,theconceptofadeviceisgenerallythelogical
associationofseveralVISAresources.
GraphicallanguageusedtodescribeprogramsinLabVIEW.
Instrument
Adevicethatacceptssomeformofstimulustoperformadesignatedtask,test,or
measurementfunction.Twocommonformsofstimuliaremessagepassingand
registerreadsandwrites.Otherformsincludetriggeringorvaryingformsof
asynchronouscontrol.
Interface
Agenerictermthatappliestotheconnectionbetweendevicesandcontrollers.It
includesthecommunicationmediaandthedevice/controllerhardwarenecessary
forcrosscommunication.
InstrumentDriver
Libraryoffunctionsforcontrollingaspecificinstrument
LabVIEW
GraphicalprogrammingADE
LLB
LabVIEWVIlibrary
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page24
Section2:OverviewofVISAImplementationSpecification
Operation
Anactiondefinedbyaresourcethatcanbeperformedonaresource.
Process
Anoperatingsystemcomponentthatsharesasystem'sresources.Amultiprocess
systemisacomputersystemthatallowsmultipleprogramstoexecute
simultaneously,eachinaseparateprocessenvironment.Asingleprocesssystem
isacomputersystemthatallowsonlyasingleprogramtoexecuteatagivenpoint
intime.
ResourceClass
Thedefinitionforhowtocreateaparticularresource.Ingeneral,thisis
synonymouswiththeconnotationofthewordclassinobjectoriented
architectures.ForVISAInstrumentControlResourceClasses,thisreferstothe
definitionforhowtocreatearesourcethatcontrolsaparticularcapabilityofa
device.
Resourceor
ResourceInstance
Ingeneral,thistermissynonymouswiththeconnotationofthewordobjectin
objectorientedarchitectures.ForVISA,resourcemorespecificallyreferstoa
particularimplementation(orinstanceinobjectorientedterms)ofaResource
Class.InVISA,everydefinedsoftwaremoduleisaresource.
Session
ThesameasCommunicationChannel.Acommunicationpathbetweenasoftware
elementandaresource.EverycommunicationchannelinVISAisunique.
SRQ
IEEE488ServiceRequest.ThisisanasynchronousrequestfromaremoteGPIB
devicethatrequiresservice.Aservicerequestisessentiallyaninterruptfroma
remotedevice.ForGPIB,thisamountstoassertingtheSRQlineontheGPIB.For
VXI,thisamountstosendingtheRequestforServiceTrueevent(REQT).
StatusByte
Abyteofinformationreturnedfromaremotedevicethatshowsthecurrentstate
andstatusofthedevice.IfthedevicefollowsIEEE488conventions,bit6ofthe
statusbyteindicatesifthedeviceiscurrentlyrequestingservice.
VirtualInstrument
Anamegiventothegroupingofsoftwaremodules(inthiscase,VISAresources
withanyassociatedorrequiredhardware)togivethefunctionalityofatraditional
standaloneinstrument.WithinVISA,avirtualinstrumentisthelogicalgrouping
ofanyoftheVISAresources.TheVISAInstrumentControlResourcesOrganizer
servesasameanstogroupanynumberofanytypeofVISAInstrumentControl
ResourceswithinaVISAsystem.
VI
LabVIEWprogramorVirtualInstrument
VISA
VirtualInstrumentSoftwareArchitecture.Thisisthegeneralnamegiventothis
documentanditsassociatedarchitecture.Thearchitectureconsistsoftwomain
VISAcomponents:theVISAResourceManagerandtheVISAInstrument
ControlResources.
VISAInstrumentControl
Resources
ThisisthenamegiventothepartofVISAthatdefinesallofthedevicespecific
resourceclasses.VISAInstrumentControlResourcesencompassalldefined
deviceandinterfacecapabilitiesfordirect,lowlevelinstrumentcontrol.
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section2:OverviewofVISAImplementationSpecification
Page25
2.7Conventions
Throughoutthisspecificationyouwillseethefollowingheadingsoncertainparagraphs.Theseheadingsinstill
specialmeaningontheseparagraphs.
RulesmustbefollowedtoensurecompatibilitywiththeSystemFramework.Aruleischaracterizedbytheuseof
thewordsSHALLandSHALLNOTinbolduppercasecharacters.Thesewordsarenotusedinthismannerfor
anyotherpurposeotherthanstatingrules.
Observationsspelloutimplicationsofrulesandbringattentiontothingsthatmightotherwisebeoverlooked.They
alsogivetherationalebehindcertainrules,sothatthereaderunderstandswhytherulemustbefollowed.
ANoteonthetextofthespecification:Anytextwhichappearswithoutheadingshouldbeconsideredas
descriptionofthestandardandhowthearchitecturewasintendedtooperate.Thepurposeofthistextistogivethe
readeradeeperunderstandingoftheintentionsofthespecificationincludingtheunderlyingmodelandspecific
requiredfeatures.Assuch,theimplementorofthisstandardshouldtakegreatcaretoensurethataparticular
implementationdoesnotconflictwiththetextofthestandard.
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Section3:VISAFrameworkBindings
Page31
Section3VISAFrameworkBindings
3.1TypeAssignments
Table3.1.1givesthetypeassignmentsforLabVIEWforeachtypedefinedinVPP4.3.
Table3.1.1TypeAssignments
VISADataType
LabVIEW
Description
ViUInt64
input
A64bitunsignedinteger.
ViPUInt64
output
Thelocationofa64bitunsignedinteger.
ViInt64
input
A64bitsignedinteger.
ViPInt64
output
Thelocationofa64bitsignedinteger.
ViUInt32
input
A32bitunsignedinteger.
ViPUInt32
output
Thelocationofa32bitunsignedinteger.
ViInt32
input
A32bitsignedinteger.
ViPInt32
output
Thelocationofa32bitsignedinteger.
ViUInt16
input
A16bitunsignedinteger.
ViPUInt16
output
Thelocationofa16bitunsignedinteger.
ViInt16
input
A16bitsignedinteger.
ViPInt16
output
Thelocationofa16bitsignedinteger.
ViUInt8
input
An8bitunsignedinteger.
ViPUInt8
output
Thelocationofan8bitunsignedinteger.
ViInt8
input
An8bitsignedinteger.
ViPInt8
output
Thelocationofan8bitsignedinteger.
ViAddr
input
Atypethatreferencesanotherdatatype,in
caseswheretheotherdatatypemayvary
dependingonaparticularcontext.
ViPAddr
output
ThelocationofaViAddr.
ViChar
input
An8bitintegerrepresentinganASCII
character.
ViPChar
output
ThelocationofaViChar.
ViByte
input
An8bitunsignedintegerrepresentingan
extendedASCIIcharacter.
(continues)
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page32
Section3:VISAFrameworkBindings
Table3.1.1TypeAssignments(Continued)
VISADataType
LabVIEW
Description
ViPByte
output
ThelocationofaViByte.
ViBoolean
input
Atypeforwhichthereareexactlytwo
complementaryvalues:VI_TRUEand
VI_FALSE.
ViPBoolean
output
ThelocationofaViBoolean.
ViReal32
input
A32bitsingleprecisionvalue.
ViPReal32
output
Thelocationofa32bitsingleprecision
value.
ViReal64
input
A64bitdoubleprecisionvalue.
ViPReal64
output
Thelocationofa64bitdoubleprecision
value.
ViBuf
input
Thelocationofablockofdata.
ViPBuf
output
Thelocationtostoreablockofdata.
ViString
input
ThelocationofaNULLterminatedASCII
string.
ViPString
output
ThelocationtostoreaNULLterminated
ASCIIstring.
ViRsrc
input
Atypethatisfurtherrestrictedtoadhereto
theaddressinggrammarforresourcesas
presentedinSection3ofVPP4.3.
ViPRsrc
output
ThelocationofaViRsrc.
ViStatus
input
Errorclustercontaining:
Errorindicator.
VISAdefinedCompletionand
Errorterminationcodes.
NameofVIinwhichtheerror
occurred.
ViPStatus
output
Errorclustercontaining:
Errorindicator.
VISAdefinedCompletionand
Errorterminationcodes.
NameofVIinwhichtheerror
occurred.
(continues)
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page33
Table3.1.1TypeAssignments(Continued)
VISADataType
LabVIEW
Description
ViVersion
input
Adefinedtypethatcontainsareferenceto
allinformationnecessaryforthearchitect
torepresentthecurrentversionofa
resource.
ViPVersion
output
ThelocationofaViVersion.
ViObject
input
ThemostfundamentalVISAdatatype.It
containsattributesandcanbeclosedwhen
nolongerneeded.
ViPObject
output
ThelocationofaViObject.
ViSession
input
Adefinedtypethatcontainsareferenceto
allinformationnecessaryforthearchitect
tomanageacommunicationchannelwith
aresource.
ViPSession
output
ThelocationofaViSession.
ViAccessMode
input
Adefinedtypethatspecifiesthedifferent
mechanismsthatcontrolaccesstoa
resource.
ViBusAddress
input
Atypethatrepresentsthesystem
dependentphysicaladdress.
ViPBusAddress
output
ThelocationofaViBusAddress.
ViBusSize
input
Atypethatrepresentsthesystem
dependentphysicaladdresssize.
ViAttrState
Note1
input
Avalueuniquetotheindividualtypeofan
attribute.
ViPAttrState
Note1
output
ThelocationofaViAttrState.
ViEventType
input
Adefinedtypethatuniquelyidentifiesthe
typeofanevent.
ViPEventType
output
ThelocationofaViEventType.
ViEvent
input
Adefinedtypethatencapsulatesthe
informationnecessarytoprocessanevent.
ViPEvent
output
ThelocationofaViEvent.
ViKeyId
input
Adefinedtypethatcontainsareferenceto
allinformationnecessaryforthearchitect
tomanagetheassociationofathreador
processandsessionwithalockona
resource.
ViPKeyId
output
ThelocationofaViKeyId.
ViConstString
input
AViStringtypethatisguaranteedto
notbemodifiedbyanydriver.
Note1:ThesizeofthisVISAdatatypeisdependentontheattribute.
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page34
Section3:VISAFrameworkBindings
RULE3.1.1
AlltypesinTable3.1.1SHALLbedefinedtothespecifiedbindings.
3.2OperationPrototypes
ThefollowingsectionspecifiestheoperationprototypesforLabVIEW.
3.2.1CommonControlsandIndicators
EachVISAVIhasanErrorInandanErrorOutterminaldefinedonitsconnectorpaneinthelowerleftandlower
rightterminals,respectively.TheerrorclustersareusedtoreportallVISAcompletionanderrorcodes.Insidethe
cluster,aBooleanerrorindicator,anumericerrorcode,andanerrorsourcestringindicatorreportifthereisan
error,identifythespecificerrorcondition,andlistthesource(name)oftheVIinwhichtheerroroccurred.
Unlessotherwisenoted,aVISAfunctionwillnotattempttooperateifanerrorconditionispassedinthroughthe
ErrorIncluster.Inthiscase,thefunctionpassesthecontentsofErrorInclusterouttheErrorOutcluster.Ifnoerror
conditionispassedinthroughtheErrorIncluster,theErrorOutclusterrepresentsthestatusofthatVI.Bywiring
theErrorOutclusterofoneVItotheErrorInclusterofanotherVI,userscanpasserrorinformationthroughout
theirprogramthatwillpropagatetothetoplevelVIintheirapplication.Abenefitoferrorinput/outputisthatdata
dependencyisaddedtoVIsthatarenototherwisedatadependent,thusaddingameansofspecifyingexecution
orderbeyondtraditionalsequencestructures.
WiththeexceptionofviFindRsrc,viOpen,andviClose,allVISAVIshaveaVISArefnumcontrolandthe
dupVISArefnumindicator.viOpenhasonlyaVISArefnumindicatorandviClosehasonlyaVISArefnum
control.TheVISArefnumcontrolandthedupVISArefnumindicatoraredefinedintheconnectorpaneinthe
upperleftandupperrightterminals,respectively.Justliketheerrorinput/outputclusters,theVISArefnumcontrol
andthedupVISArefnumindicatorcanbeusedtospecifydatadependencyofaprogramusingtheVISAresource.
ForVIsthathaveboththeVISArefnumcontrolandthedupVISArefnumindicator,thevalueoftheindicatoris
equaltothevaluepassedintothecontrol.
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page35
3.2.2ScopeofFunctionality
RULE3.2.1
IFaVISAimplementationcomplieswiththeGWINNTframework,THENitSHALLperform
instrumentI/Obyaccessingthevisa32.dllfromtheWINNTframework.
OBSERVATION3.2.1
WhiletheVISAlibraryforeachGbasedframeworkusesthelibraryprovidedbythecorrespondingtext
basedlanguageframework,thefollowingdifferencesinfunctionalityexist:
TheformattedI/Ofunctionsarenotexported.
Receivingeventsbycallbackisnotexported.(Queuingeventsisexported.)
TheoperationsviOpenDefaultRM,viFindNext,viParseRsrc,and
viParseRsrcExarenotexported.
viOpenincludesthefunctionalityofviOpenDefaultRMandviParseRsrc.
viFindRsrccombinesthefunctionalityofviOpenDefaultRM,viFindRsrc,viFindNext,
andviCloseintoasingleoperation.
RULE3.2.2
AllfunctionsandoperationsspecifiedinSection3.2SHALLbeimplementedasspecified.
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page36
Section3:VISAFrameworkBindings
3.2.3viFindRsrc(VISAFindResource)
Inputs
Outputs
expression
findlist
errorin
returncount
errorout
3.2.4viOpen(VISAOpen)
Inputs
Outputs
VISAOpentimeout
VISAresourcenameout
VISAresourcename
errorout
duplicatesession(F)
accessmode
errorin
Note:
IfduplicatesessionisFalseandasessiontotheresourceisalreadyopen,thenviOpenisnotcalled.
3.2.5viClose(VISAClose)
Inputs
VISAresourcename
Outputs
errorout
errorin
Note:
viClosewillexecuteevenifanerrorconditionispassedinthroughtheerrorincluster.
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page37
3.2.6viStatusDesc(VISAStatusDescription)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
errorin
statusdescription
errorout
Note:
viStatusDescwillexecuteevenifanerrorconditionispassedinthroughtheerrorincluster.
3.2.7viLock(VISALockAsync)
Inputs
Outputs
locktype
VISAresourcenameout
VISAresourcename
accesskey
timeout
errorout
requestedkey
errorin
3.2.8viUnlock(VISAUnlock)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
errorin
errorout
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page38
Section3:VISAFrameworkBindings
3.2.9viEnableEvent(VISAEnableEvent)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
eventtype
errorout
mechanism
errorin
3.2.10viDisableEvent(VISADisableEvent)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
eventtype
errorout
mechanism
errorin
3.2.11viDiscardEvents(VISADiscardEvents)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
eventtype
errorout
mechanism
errorin
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page39
3.2.12viWaitOnEvent(VISAWaitonEvent)
Inputs
Outputs
timeout
VISAresourcenameout
VISAresourcename
eventtypeout
eventtype
event
eventclass
errorout
errorin
3.2.13viRead(VISARead)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
bytecount
readbuffer
errorin
returncount
errorout
3.2.14viWrite(VISAWrite)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
writebuffer
returncount
errorin
errorout
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page310
Section3:VISAFrameworkBindings
3.2.15viAssertTrigger(VISAAssertTrigger)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
protocol
errorout
errorin
3.2.16viReadSTB(VISAReadSTB)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
errorin
statusbyte
errorout
3.2.17viClear(VISAClear)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
errorin
errorout
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page311
3.2.18viSetBuf(VISASetI/OBufferSize)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
mask
errorout
size
errorin
3.2.19viFlush(VISAFlushI/OBuffer)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
mask
errorout
errorin
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page312
Section3:VISAFrameworkBindings
3.2.20viIn8/viIn16/viIn32/viIn64/
viIn8Ex/viIn16Ex/viIn32Ex/viIn64Ex
(VISAIn8/VISAIn16/VISAIn32/VISAIn64)
viIn16
viIn32
viIn64
Inputs
Outputs
addressspace
VISAresourcenameout
VISAresourcename
value
(Usethe16bitindicatorforviIn16,
the32bitindicatorforviIn32,orthe
64bitindicatorforviIn64.)
offset(Usethe64bitcontrolfortheEx
operations.)
errorout
errorin
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page313
3.2.21viOut8/viOut16/viOut32/viOut64/
viOut8Ex/viOut16Ex/viOut32Ex/viOut64Ex
(VISAOut8/VISAOut16/VISAOut32/VISAOut64)
viOut16
viOut32
viOut64
Inputs
Outputs
addressspace
VISAresourcenameout
VISAresourcename
errorout
offset(Usethe64bitcontrolfortheEx
operations.)
value
(Usethe16bitcontrolforviOut16,
the32bitcontrolforviOut32,orthe
64bitcontrolforviOut64.)
errorin
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page314
Section3:VISAFrameworkBindings
3.2.22viMoveIn8/viMoveIn16/viMoveIn32/viMoveIn64/
viMoveIn8Ex/viMoveIn16Ex/viMoveIn32Ex/viMoveIn64Ex
(VISAMoveIn8/VISAMoveIn16/VISAMoveIn32/VISAMoveIn64)
viMoveIn16
viMoveIn32
viMoveIn64
Inputs
Outputs
addressspace
VISAresourcenameout
VISAresourcename
data
(Usethe16bitindicatorfor
viMoveIn16,the32bitindicatorfor
viMoveIn32,orthe64bitindicator
forviMoveIn64.)
offset(Usethe64bitcontrolfortheEx
operations.)
errorout
count
errorin
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page315
3.2.23viMoveOut8/viMoveOut16/viMoveOut32/viMoveOut64/
viMoveOut8Ex/viMoveOut16Ex/viMoveOut32Ex/viMoveOut64Ex
(VISAMoveOut8/VISAMoveOut16/VISAMoveOut32/VISAMoveOut64)
viMoveOut16
viMoveOut32
viMoveOut64
Inputs
Outputs
addressspace
VISAresourcenameout
VISAresourcename
errorout
offset(Usethe64bitcontrolfortheEx
operations.)
data
(Usethe16bitcontrolfor
viMoveOut16,the32bitcontrolfor
viMoveOut32,orthe64bitcontrol
forviMoveOut64.)
errorin
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page316
Section3:VISAFrameworkBindings
3.2.24viMove/viMoveEx(VISAMove)
Inputs
Outputs
sourcewidth
VISAresourcenameout
sourcespace
errorout
VISAresourcename
sourceoffset
length
destoffset(Usethe64bitcontrolfor
theExoperations.)
errorin
destspace
destwidth
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page317
3.2.25viMapAddress/viMapAddressEx(VISAMapAddress)
Inputs
Outputs
addressspace
VISAresourcenameout
VISAresourcename
errorout
mapbase
mapsize
errorin
access
3.2.26viUnmapAddress(VISAUnmapAddress)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
errorin
errorout
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page318
Section3:VISAFrameworkBindings
3.2.27viPeek8/viPeek16/viPeek32/viPeek64
(VISAPeek8/VISAPeek16/VISAPeek32/VISAPeek64)
viPeek16
viPeek32
viPeek64
Inputs
Outputs
VISAresourcename
VISAresourcenameout
offset
value
(Usethe16bitindicatorfor
viPeek16,the32bitindicatorfor
viPeek32,orthe64bitindicatorfor
viPeek64.)
errorin
errorout
3.2.28viPoke8/viPoke16/viPoke32/viPoke64
(VISAPoke8/VISAPoke16/VISAPoke32/VISAPoke64)
viPoke16
viPoke32
viPoke64
Inputs
Outputs
VISAresourcename
VISAresourcename
offset
errorout
value
(Usethe16bitcontrolforviPoke16,
the32bitcontrolforviPoke32,orthe
64bitcontrolforviPoke64.)
errorin
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page319
3.2.29viMemAlloc(VISAMemoryAllocation)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
size
offset
errorin
errorout
3.2.30viMemAllocEx(VISAMemoryAllocationEx)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
size
offset
errorin
errorout
3.2.31viMemFree/viMemFreeEx(VISAMemoryFree)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
offset(Usethe64bitcontrolfortheEx
operations.)
errorout
errorin
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page320
Section3:VISAFrameworkBindings
3.2.32viReadToFile(VISAReadToFile)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
filename
returncount
bytecount
errorout
errorin
3.2.33viWriteFromFile(VISAWriteFromFile)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
filename
returncount
count
errorout
errorin
3.2.34viGpibControlREN(VISAGPIBControlREN)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
mode
errorout
errorin
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page321
3.2.35viGpibControlATN(VISAGPIBControlATN)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
mode
errorout
errorin
3.2.36viGpibSendIFC(VISAGPIBSendIFC)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
errorin
errorout
3.2.37viGpibCommand(VISAGPIBCommand)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
command
returncount
errorin
errorout
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page322
Section3:VISAFrameworkBindings
3.2.38viGpibPassControl(VISAGPIBPassControl)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
primaryaddress
errorout
secondaryaddress
errorin
3.2.39viVxiCommandQuery(VISAVXICmdorQuery)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
mode
response
command
errorout
errorin
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page323
3.2.40viAssertUtilSignal(VISAAssertUtilitySignal)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
bussignal
errorout
errorin
3.2.41viAssertIntrSignal(VISAAssertInterruptSignal)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
mode
errorout
statusID
errorin
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page324
Section3:VISAFrameworkBindings
3.2.42viMapTrigger(VISAMapTrigger)
Inputs
Outputs
mode
VISAresourcenameout
VISAresourcename
errorout
triggersource
triggerdestination
errorin
3.2.43viUnmapTrigger(VISAUnmapTrigger)
Inputs
Outputs
VISAresourcename
VISAresourcenameout
triggersource
errorout
triggerdestination
errorin
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page325
3.2.44viUsbControlOut(VISAUSBControlOut)
Inputs
Outputs
index
VISAresourcenameout
value
errorout
VISAresourcename
requesttype
request
writebuffer
errorin
3.2.45viUsbControlIn(VISAUSBControlIn)
Inputs
Outputs
index
VISAresourcenameout
value
readbuffer
VISAresourcename
errorout
requesttype
request
length
errorin
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page326
Section3:VISAFrameworkBindings
3.3CompletionandErrorCodes
Table3.3.1liststheCompletionandErrorcodesdefinedforallGbasedframeworkbindings.
Table3.3.1.CompletionandErrorCodes
CompletionandErrorCodes
Values
VI_SUCCESS
VI_SUCCESS_EVENT_EN
3FFF0002h
VI_SUCCESS_EVENT_DIS
3FFF0003h
VI_SUCCESS_QUEUE_EMPTY
3FFF0004h
VI_SUCCESS_TERM_CHAR
3FFF0005h
VI_SUCCESS_MAX_CNT
3FFF0006h
VI_SUCCESS_DEV_NPRESENT
3FFF007Dh
VI_SUCCESS_TRIG_MAPPED
3FFF007Eh
VI_SUCCESS_QUEUE_NEMPTY
3FFF0080h
VI_SUCCESS_NCHAIN
3FFF0098h
VI_SUCCESS_NESTED_SHARED
3FFF0099h
VI_SUCCESS_NESTED_EXCLUSIVE
3FFF009Ah
VI_SUCCESS_SYNC
3FFF009Bh
VI_WARN_QUEUE_OVERFLOW
3FFF000Ch
VI_WARN_CONFIG_NLOADED
3FFF0077h
VI_WARN_NULL_OBJECT
3FFF0082h
VI_WARN_NSUP_ATTR_STATE
3FFF0084h
VI_WARN_UNKNOWN_STATUS
3FFF0085h
VI_WARN_NSUP_BUF
3FFF0088h
VI_WARN_EXT_FUNC_NIMPL
3FFF00A9h
VI_ERROR_SYSTEM_ERROR
BFFF0000h
VI_ERROR_INV_OBJECT
BFFF000Eh
VI_ERROR_INV_SESSION
BFFF000Eh
VI_ERROR_RSRC_LOCKED
BFFF000Fh
VI_ERROR_INV_EXPR
BFFF0010h
VI_ERROR_RSRC_NFOUND
BFFF0011h
VI_ERROR_INV_RSRC_NAME
BFFF0012h
VI_ERROR_INV_ACC_MODE
BFFF0013h
VI_ERROR_TMO
BFFF0015h
VI_ERROR_CLOSING_FAILED
BFFF0016h
VI_ERROR_INV_DEGREE
BFFF001Bh
VI_ERROR_INV_JOB_ID
BFFF001Ch
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page327
(continues)
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page328
Section3:VISAFrameworkBindings
Table3.3.1.CompletionandErrorCodes(Continued)
CompletionandErrorCodes
Values
VI_ERROR_NSUP_ATTR_STATE
BFFF001Eh
VI_ERROR_ATTR_READONLY
BFFF001Fh
VI_ERROR_INV_LOCK_TYPE
BFFF0020h
VI_ERROR_INV_ACCESS_KEY
BFFF0021h
VI_ERROR_INV_EVENT
BFFF0026h
VI_ERROR_INV_MECH
BFFF0027h
VI_ERROR_HNDLR_NINSTALLED
BFFF0028h
VI_ERROR_INV_HNDLR_REF
BFFF0029h
VI_ERROR_INV_CONTEXT
BFFF002Ah
VI_ERROR_NENABLED
BFFF002Fh
VI_ERROR_ABORT
BFFF0030h
VI_ERROR_RAW_WR_PROT_VIOL
BFFF0034h
VI_ERROR_RAW_RD_PROT_VIOL
BFFF0035h
VI_ERROR_OUTP_PROT_VIOL
BFFF0036h
VI_ERROR_INP_PROT_VIOL
BFFF0037h
VI_ERROR_BERR
BFFF0038h
VI_ERROR_IN_PROGRESS
BFFF0039h
VI_ERROR_INV_SETUP
BFFF003Ah
VI_ERROR_QUEUE_ERROR
BFFF003Bh
VI_ERROR_ALLOC
BFFF003Ch
VI_ERROR_INV_MASK
BFFF003Dh
VI_ERROR_IO
BFFF003Eh
VI_ERROR_INV_FMT
BFFF003Fh
VI_ERROR_NSUP_FMT
BFFF0041h
VI_ERROR_LINE_IN_USE
BFFF0042h
VI_ERROR_NSUP_MODE
BFFF0046h
VI_ERROR_SRQ_NOCCURRED
BFFF004Ah
VI_ERROR_INV_SPACE
BFFF004Eh
VI_ERROR_INV_OFFSET
BFFF0051h
VI_ERROR_INV_WIDTH
BFFF0052h
VI_ERROR_NSUP_OFFSET
BFFF0054h
VI_ERROR_NSUP_VAR_WIDTH
BFFF0055h
VI_ERROR_WINDOW_NMAPPED
BFFF0057h
VI_ERROR_RESP_PENDING
BFFF0059h
VI_ERROR_NLISTENERS
BFFF005Fh
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page329
(continues)
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page330
Section3:VISAFrameworkBindings
Table3.3.1.CompletionandErrorCodes(Continued)
CompletionandErrorCodes
Values
VI_ERROR_NSUP_ATTR
BFFF001Dh
VI_ERROR_NCIC
BFFF0060h
VI_ERROR_NSYS_CNTLR
BFFF0061h
VI_ERROR_NSUP_OPER
BFFF0067h
VI_ERROR_INTR_PENDING
BFFF0068h
VI_ERROR_ASRL_PARITY
BFFF006Ah
VI_ERROR_ASRL_FRAMING
BFFF006Bh
VI_ERROR_ASRL_OVERRUN
BFFF006Ch
VI_ERROR_TRIG_NMAPPED
BFFF006Eh
VI_ERROR_NSUP_ALIGN_OFFSET
BFFF0070h
VI_ERROR_USER_BUF
BFFF0071h
VI_ERROR_RSRC_BUSY
BFFF0072h
VI_ERROR_NSUP_WIDTH
BFFF0076h
VI_ERROR_INV_PARAMETER
BFFF0078h
VI_ERROR_INV_PROT
BFFF0079h
VI_ERROR_INV_SIZE
BFFF007Bh
VI_ERROR_WINDOW_MAPPED
BFFF0080h
VI_ERROR_NIMPL_OPER
BFFF0081h
VI_ERROR_INV_LENGTH
BFFF0083h
VI_ERROR_INV_MODE
BFFF0091h
VI_ERROR_SESN_NLOCKED
BFFF009Ch
VI_ERROR_MEM_NSHARED
BFFF009Dh
VI_ERROR_LIBRARY_NFOUND
BFFF009Eh
VI_ERROR_NSUP_INTR
BFFF009Fh
VI_ERROR_INV_LINE
BFFF00A0h
VI_ERROR_FILE_ACCESS
BFFF00A1h
VI_ERROR_FILE_IO
BFFF00A2h
VI_ERROR_NSUP_LINE
BFFF00A3h
VI_ERROR_NSUP_MECH
BFFF00A4h
VI_ERROR_INTF_NUM_NCONFIG
BFFF00A5h
VI_ERROR_CONN_LOST
BFFF00A6h
OBSERVATION3.3.1
Noticethatallsuccessandwarningcodes(Completioncodes)haveavaluethatisgreaterthanorequalto
0,whileallErrorcodeshaveavaluethatislessthan0.Therefore,anapplicationshoulddetermine
whetheraninvocationofagivenoperationfailsbycheckingtoseewhetherthereturnvalueislessthan0
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page331
(asopposedtonotequalto0).ApplicationsusingtheGlanguagecanalsojustcheckthestatusmemberof
theerrorclusteroutput,whichissetwheneveranerrorhasoccurred.
3.4AttributeOperations
ThePropertyNode,showninFigure3.4.1,isusedtogetand/orsetvaluesforparticularVISAattributes.
Figure3.4.1.PropertyNode
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page332
Section3:VISAFrameworkBindings
3.4.1Attributes
Table3.4.1liststheGLanguagebindingandaccessprivilegeforeachVISAattribute.
Table3.4.1.Attributes
AttributeName
GLanguageBinding
AccessPrivilege
VI_ATTR_RSRC_NAME
ResourceName
ReadOnly
VI_ATTR_RSRC_IMPL_VERSION
VersionofImplementation
ReadOnly
VI_ATTR_RSRC_LOCK_STATE
ResourceLockState
ReadOnly
VI_ATTR_MAX_QUEUE_LENGTH
MaximumQueueLength
Read/Write
VI_ATTR_USER_DATA
UserData
Read/Write
VI_ATTR_FDC_CHNL
FastDataChannel:ChannelNumber
Read/Write
VI_ATTR_FDC_MODE
FastDataChannel:ChannelMode
Read/Write
VI_ATTR_FDC_GEN_SIGNAL_EN
FastDataChannel:SignalEnable
Read/Write
VI_ATTR_FDC_USE_PAIR
FastDataChannel:UseChannel
Pairs
Read/Write
VI_ATTR_SEND_END_EN
SendEndEnable
Read/Write
VI_ATTR_TERMCHAR
TerminationCharacter
Read/Write
VI_ATTR_TMO_VALUE
TimeoutValue
Read/Write
VI_ATTR_IO_PROT
IOProtocol
Read/Write
VI_ATTR_ASRL_BAUD
BaudRate
Read/Write
VI_ATTR_ASRL_DATA_BITS
DataBits
Read/Write
VI_ATTR_ASRL_PARITY
Parity
Read/Write
VI_ATTR_ASRL_STOP_BITS
StopBits
Read/Write
VI_ATTR_ASRL_FLOW_CNTRL
FlowControl
Read/Write
VI_ATTR_SUPPRESS_END_EN
SuppressEndEnable
Read/Write
VI_ATTR_TERMCHAR_EN
TerminationCharacterEnable
Read/Write
VI_ATTR_SRC_INCREMENT
SourceIncrementCount
Read/Write
VI_ATTR_DEST_INCREMENT
DestinationIncrementCount
Read/Write
VI_ATTR_CMDR_LA
VXICommanderLogicalAddress
ReadOnly
VI_ATTR_MAINFRAME_LA
MainframeLogicalAddress
ReadOnly
VI_ATTR_WIN_BASE_ADDR
WindowBaseAddress
ReadOnly
VI_ATTR_WIN_SIZE
WindowSize
ReadOnly
VI_ATTR_ASRL_AVAIL_NUM
NumberofBytesatSerialPort
ReadOnly
VI_ATTR_MEM_BASE
VXIMemoryBaseAddress
ReadOnly
VI_ATTR_ASRL_END_IN
EndModeforReads
Read/Write
VI_ATTR_ASRL_END_OUT
EndModeforWrites
Read/Write
VI_ATTR_INTR_STATUS_ID
InterruptStatusID
ReadOnly
VI_ATTR_RECV_INTR_LEVEL
ReceivedInterruptLevel
ReadOnly
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page333
VXILogicalAddress
VI_ATTR_VXI_LA
ReadOnly
(continues)
Table3.4.1Attributes(Continued)
AttributeName
GLanguageBinding
AccessPrivilege
VI_ATTR_WIN_ACCESS
WindowAccess
ReadOnly
VI_ATTR_MEM_SPACE
VXIMemoryAddressSpace
ReadOnly
VI_ATTR_MODEL_CODE
ModelCode
ReadOnly
VI_ATTR_SLOT
Slot
ReadOnly
VI_ATTR_IMMEDIATE_SERV
ImmediateServant
ReadOnly
VI_ATTR_INTF_PARENT_NUM
InterfaceNumberofParent
ReadOnly
VI_ATTR_RSRC_SPEC_VERSION
VersionofSpecification
ReadOnly
VI_ATTR_INTF_TYPE
InterfaceType
ReadOnly
VI_ATTR_GPIB_PRIMARY_ADDR
PrimaryAddress
ReadOnly
VI_ATTR_GPIB_SECONDARY_ADDR
SecondaryAddress
ReadOnly
VI_ATTR_RSRC_MANF_NAME
ResourceManufacturerName
ReadOnly
VI_ATTR_RSRC_MANF_ID
ResourceManufacturerIdentification
ReadOnly
VI_ATTR_INTF_NUM
InterfaceNumber
ReadOnly
VI_ATTR_TRIG_ID
TriggerIdentifier
Read/Write
VI_ATTR_INTF_INST_NAME
InterfaceDescription
ReadOnly
VI_ATTR_GPIB_READDR_EN
Readdressing
Read/Write
VI_ATTR_GPIB_UNADDR_EN
Unaddressing
Read/Write
VI_ATTR_SRC_ACCESS_PRIV
SourceAccessPrivilege
Read/Write
VI_ATTR_DEST_ACCESS_PRIV
DestinationAccessPrivilege
Read/Write
VI_ATTR_WIN_ACCESS_PRIV
WindowAccessPrivilege
Read/Write
VI_ATTR_SRC_BYTE_ORDER
SourceByteOrder
Read/Write
VI_ATTR_DEST_BYTE_ORDER
DestinationByteOrder
Read/Write
VI_ATTR_WIN_BYTE_ORDER
WindowByteOrder
Read/Write
VI_ATTR_ASRL_CTS_STATE
ModemLineSettings:LineCTSState
ReadOnly
VI_ATTR_ASRL_DCD_STATE
ModemLineSettings:LineDCDState
ReadOnly
VI_ATTR_ASRL_DSR_STATE
ModemLineSettings:LineDSR
State
ReadOnly
VI_ATTR_ASRL_DTR_STATE
ModemLineSettings:LineDTR
State
Read/Write
VI_ATTR_ASRL_RI_STATE
ModemLineSettings:LineRIState
ReadOnly
VI_ATTR_ASRL_RTS_STATE
ModemLineSettings:LineRTSState
Read/Write
VI_ATTR_EVENT_TYPE
EventType
ReadOnly
VI_ATTR_SIGP_STATUS_ID
SignalProcessorStatusID
ReadOnly
VI_ATTR_RECV_TRIG_ID
ReceivedTriggerID
ReadOnly
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page334
Section3:VISAFrameworkBindings
VI_ATTR_MANF_ID
ManufacturerIdentification
ReadOnly
VI_ATTR_MEM_SIZE
VXIMemorySize
ReadOnly
VI_ATTR_ASRL_REPLACE_CHAR
ErrorReplacementCharacter
Read/Write
(continues)
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page335
Table3.4.1Attributes(Continued)
AttributeName
GLanguageBinding
AccessPrivilege
VI_ATTR_ASRL_XON_CHAR
FlowControlXONCharacter
Read/Write
VI_ATTR_ASRL_XOFF_CHAR
FlowControlXOFFCharacter
Read/Write
VI_ATTR_GPIB_REN_STATE
LineRENState
ReadOnly
VI_ATTR_DMA_ALLOW_EN
AllowDMATransfers
Read/Write
VI_ATTR_GPIB_ATN_STATE
LineATNState
ReadOnly
VI_ATTR_GPIB_ADDR_STATE
AddressedState
ReadOnly
VI_ATTR_GPIB_CIC_STATE
CICState
ReadOnly
VI_ATTR_GPIB_NDAC_STATE
LineNDACState
ReadOnly
VI_ATTR_GPIB_SRQ_STATE
LineSRQState
ReadOnly
VI_ATTR_GPIB_SYS_CNTRL_STATE
SystemControllerState
Read/Write
VI_ATTR_GPIB_HS488_CBL_LEN
HS488CableLength
Read/Write
VI_ATTR_VXI_DEV_CLASS
VXIDeviceClass
ReadOnly
VI_ATTR_MANF_NAME
ManufacturerName
ReadOnly
VI_ATTR_MODEL_NAME
ModelName
ReadOnly
VI_ATTR_VXI_VME_INTR_STATUS
AssertedVXI/VMEInterruptLines
ReadOnly
VI_ATTR_VXI_TRIG_STATUS
AssertedVXITriggerLines
ReadOnly
VI_ATTR_VXI_VME_SYSFAIL_STATE
VXI/VMESystemFailureState
ReadOnly
VI_ATTR_DEV_STATUS_BYTE
DeviceStatusByte
Read/Write
VI_ATTR_FILE_APPEND_EN
FileAppendEnable
Read/Write
VI_ATTR_VXI_TRIG_SUPPORT
SupportedVXITriggerLines
ReadOnly
VI_ATTR_TCPIP_ADDR
DotNotationAddress
ReadOnly
VI_ATTR_TCPIP_HOSTNAME
ComputerHostname
ReadOnly
VI_ATTR_TCPIP_PORT
PortNumber
ReadOnly
VI_ATTR_GPIB_RECV_CIC_STATE
ReceivedCICState
ReadOnly
VI_ATTR_RSRC_CLASS
ResourceClass
ReadOnly
VI_ATTR_TCPIP_DEVICE_NAME
LANDeviceName
ReadOnly
VI_ATTR_TCPIP_NODELAY
NoPacketDelay
Read/Write
VI_ATTR_TCPIP_KEEPALIVE
KeepAlivePackets
Read/Write
VI_ATTR_RECV_TCPIP_ADDR
ReceivedTCP/IPAddress
ReadOnly
VI_ATTR_4882_COMPLIANT
Is488.2Compliant
SerialNumber
USBInterfaceNumber
USBProtocol
MaximumInterruptSize
USBReceivedInterruptSize
ReadOnly
ReadOnly
ReadOnly
ReadOnly
Read/Write
ReadOnly
(continues)
VI_ATTR_USB_SERIAL_NUM
VI_ATTR_USB_INTFC_NUM
VI_ATTR_USB_PROTOCOL
VI_ATTR_USB_MAX_INTR_SIZE
VI_ATTR_USB_RECV_INTR_SIZE
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page336
Section3:VISAFrameworkBindings
Table3.4.1Attributes(Continued)
VI_ATTR_PXI_DEV_NUM
VI_ATTR_PXI_FUNC_NUM
VI_ATTR_PXI_BUS_NUM
VI_ATTR_PXI_CHASSIS
VI_ATTR_PXI_SLOTPATH
VI_ATTR_PXI_SLOT_LBUS_LEFT
VI_ATTR_PXI_SLOT_LBUS_RIGHT
VI_ATTR_PXI_TRIG_BUS
VI_ATTR_PXI_STAR_TRIG_BUS
VI_ATTR_PXI_STAR_TRIG_LINE
VI_ATTR_PXI_MEM_TYPE_BAR0
VI_ATTR_PXI_MEM_TYPE_BAR1
VI_ATTR_PXI_MEM_TYPE_BAR2
VI_ATTR_PXI_MEM_TYPE_BAR3
VI_ATTR_PXI_MEM_TYPE_BAR4
VI_ATTR_PXI_MEM_TYPE_BAR5
VI_ATTR_PXI_MEM_BASE_BAR0
VI_ATTR_PXI_MEM_BASE_BAR1
VI_ATTR_PXI_MEM_BASE_BAR2
VI_ATTR_PXI_MEM_BASE_BAR3
VI_ATTR_PXI_MEM_BASE_BAR4
VI_ATTR_PXI_MEM_BASE_BAR5
VI_ATTR_PXI_MEM_SIZE_BAR0
VI_ATTR_PXI_MEM_SIZE_BAR1
VI_ATTR_PXI_MEM_SIZE_BAR2
VI_ATTR_PXI_MEM_SIZE_BAR3
VI_ATTR_PXI_MEM_SIZE_BAR4
VI_ATTR_PXI_MEM_SIZE_BAR5
VI_ATTR_STATUS
VI_ATTR_PXI_IS_EXPRESS
VI_ATTR_PXI_SLOT_LWIDTH
VI_ATTR_PXI_MAX_LWIDTH
VI_ATTR_PXI_ACTUAL_LWIDTH
VI_ATTR_PXI_DSTAR_BUS
VI_ATTR_PXI_DSTAR_SET
VI_ATTR_TCPIP_HISLIP_OVERLAP_EN
VI_ATTR_TCPIP_HISLIP_VERSION
VI_ATTR_TCPIP_HISLIP_MAX_MESSAG
E_KB
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
PCIDeviceNumber
PCIFunctionNumber
PCIBusNumber
PXIChassisNumber
SlotPath
SlotLocalBusLeft
SlotLocalBusRight
TriggerBusNumber
StarTriggerBusNumber
StarTriggerLine
PCIResources:BAR0AddressType
PCIResources:BAR1AddressType
PCIResources:BAR2AddressType
PCIResources:BAR3AddressType
PCIResources:BAR4AddressType
PCIResources:BAR5AddressType
PCIResources:BAR0AddressBase
PCIResources:BAR1AddressBase
PCIResources:BAR2AddressBase
PCIResources:BAR3AddressBase
PCIResources:BAR4AddressBase
PCIResources:BAR5AddressBase
PCIResources:BAR0AddressSize
PCIResources:BAR1AddressSize
PCIResources:BAR2AddressSize
PCIResources:BAR3AddressSize
PCIResources:BAR4AddressSize
PCIResources:BAR5AddressSize
Status
ExpressSettings:IsPCIExpress
ExpressSettings:SlotLinkWidth
ExpressSettings:MaximumLink
Width
ExpressSettings:ActualLinkWidth
ExpressSettings:DStarBusNumber
ExpressSettings:DStarSet
OverlappedMessageModeEnabled
HiSLIPProtocolVersionOnServer
MaximumHiSLIPMessageSize
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
ReadOnly
Read/Write
ReadOnly
Read/Write
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page337
RULE3.4.1
AllattributeoperationsspecifiedinSection3.4SHALLbeimplementedasspecified.
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page338
Section3:VISAFrameworkBindings
3.5EventTypeValues
Table3.5.1showstheeventtypevaluesusedforallGbasedframeworkbindings.
Table3.5.1.EventTypeValues
AttributeNames
Note:
Values
VI_EVENT_IO_COMPLETION
3FFF2009h
VI_EVENT_TRIG
BFFF200Ah
VI_EVENT_SERVICE_REQ
3FFF200Bh
VI_EVENT_CLEAR
3FFF200Dh
VI_EVENT_GPIB_CIC
3FFF2012h
VI_EVENT_GPIB_TALK
3FFF2013h
VI_EVENT_GPIB_LISTEN
3FFF2014h
VI_EVENT_VXI_VME_SYSFAIL
3FFF201Dh
VI_EVENT_VXI_VME_SYSRESET
3FFF201Eh
VI_EVENT_VXI_SIGP
3FFF2020h
VI_EVENT_VXI_VME_INTR
BFFF2021h
VI_EVENT_TCPIP_CONNECT
3FFF2036h
VI_EVENT_USB_INTR
3FFF2037h
VI_EVENT_PXI_INTR
3FFF2022h
VI_ALL_ENABLED_EVENTS
3FFF7FFFh
TheVI_EVENT_EXCEPTIONeventisnotsupportedintheGbasedframeworksfortworeasons:
Exceptionsrequirecallbacksupport.
TheGbasedframeworksalreadyprovideanexceptiondataflowmechanismusingerrorclusters.
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page339
3.6ValuesandRanges
Table3.6.1showsthevaluesusedinallGbasedframeworkbindings.
Table3.6.1.ValuesandRanges
Name
Value
Name
Value
256
VI_TRIG_TTL5
VI_NULL
VI_TRIG_TTL6
VI_TRUE
VI_TRIG_TTL7
VI_FALSE
VI_TRIG_ECL0
VI_INTF_GPIB
VI_TRIG_ECL1
VI_INTF_VXI
VI_TRIG_PANEL_IN
27
VI_INTF_GPIB_VXI
VI_TRIG_PANEL_OUT
28
VI_INTF_ASRL
VI_TRIG_PROT_DEFAULT
VI_INTF_TCPIP
VI_TRIG_PROT_ON
VI_NORMAL
VI_TRIG_PROT_OFF
VI_FDC
VI_TRIG_PROT_SYNC
VI_HS488
VI_READ_BUF
VI_ASRL488
VI_WRITE_BUF
VI_FDC_NORMAL
VI_READ_BUF_DISCARD
VI_FDC_STREAM
VI_WRITE_BUF_DISCARD
VI_A16_SPACE
VI_ASRL_IN_BUF
16
VI_A24_SPACE
VI_ASRL_OUT_BUF
32
VI_A32_SPACE
VI_ASRL_IN_BUF_DISCARD
64
VI_UNKNOWN_SLOT
VI_ASRL_OUT_BUF_DISCARD
128
VI_UNKNOWN_LA
VI_FLUSH_ON_ACCESS
VI_UNKNOWN_LEVEL
VI_FLUSH_WHEN_FULL
VI_QUEUE
VI_FLUSH_DISABLE
VI_HNDLR
VI_NMAPPED
VI_SUSPEND_HNDLR
VI_USE_OPERS
VI_DEREF_ADDR
3
0
VI_FIND_BUFLEN
VI_ALL_MECH
FFFFh
VI_ANY_HNDLR
VI_TMO_IMMEDIATE
VI_TRIG_SW
VI_TMO_INFINITE
VI_TRIG_TTL0
VI_NO_LOCK
VI_TRIG_TTL1
VI_EXCLUSIVE_LOCK
VI_TRIG_TTL2
VI_SHARED_LOCK
VI_NO_SEC_ADDR
VXIplug&playSystemsAlliance
FFFFFFFFh
FFFFh
(continues)
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
Page340
Section3:VISAFrameworkBindings
Table3.6.1.ValuesandRanges(Continued)
Name
Value
Name
Value
VI_TRIG_TTL3
VI_ASRL_PAR_NONE
VI_TRIG_TTL4
VI_ASRL_PAR_ODD
VI_ASRL_PAR_EVEN
VI_DATA_PRIV
VI_ASRL_PAR_MARK
VI_DATA_NPRIV
VI_ASRL_PAR_SPACE
VI_PROG_PRIV
VI_ASRL_STOP_ONE
10
VI_PROG_NPRIV
VI_ASRL_STOP_ONE5
15
VI_BLCK_PRIV
VI_ASRL_STOP_TWO
20
VI_BLCK_NPRIV
VI_ASRL_FLOW_NONE
VI_D64_PRIV
VI_ASRL_FLOW_XON_XOFF
VI_D64_NPRIV
VI_ASRL_FLOW_RTS_CTS
VI_LOCAL_SPACE
VI_ASRL_FLOW_DTR_DSR
VI_GPIB_REN_DEASSERT
VI_ASRL_END_NONE
VI_GPIB_REN_ASSERT
VI_ASRL_END_LAST_BIT
VI_GPIB_REN_DEASSERT_GTL
VI_ASRL_END_TERMCHAR
VI_GPIB_REN_ASSERT_ADDRESS
VI_ASRL_END_BREAK
VI_GPIB_REN_ASSERT_LLO
VI_BIG_ENDIAN
VI_GPIB_REN_ASSERT_ADDRESS_LLO
VI_LITTLE_ENDIAN
VI_GPIB_REN_ADDRESS_GTL
VI_WIDTH_8
VI_VXI_CMD16
0200h
VI_WIDTH_16
VI_VXI_CMD16_RESP16
0202h
VI_WIDTH_32
VI_VXI_RESP16
0002h
VI_STATE_ASSERTED
VI_VXI_CMD32
0400h
VI_STATE_UNASSERTED
VI_VXI_CMD32_RESP16
0402h
VI_STATE_UNKNOWN
VI_VXI_CMD32_RESP32
0404h
VI_LOAD_CONFIG
VI_VXI_RESP32
0004h
VI_GPIB_HS488_DISABLED
VI_GPIB_ATN_DEASSERT
VI_GPIB_HS488_NIMPL
VI_GPIB_ATN_ASSERT
VI_VXI_CLASS_MEMORY
VI_GPIB_ATN_DEASSERT_HANDSHAKE
VI_VXI_CLASS_EXTENDED
VI_GPIB_ATN_ASSERT_IMMEDIATE
VI_VXI_CLASS_MESSAGE
VI_ASSERT_SIGNAL
VI_VXI_CLASS_REGISTER
VI_ASSERT_USE_ASSIGNED
VI_VXI_CLASS_OTHER
VI_ASSERT_IRQ1
VI_UTIL_ASSERT_SYSRESET
VI_ASSERT_IRQ2
VI_UTIL_ASSERT_SYSFAIL
VI_ASSERT_IRQ3
VI_UTIL_DEASSERT_SYSFAIL
VI_ASSERT_IRQ4
VPP4.3.3:VISAImpl.Spec.fortheGLanguage
VXIplug&playSystemsAlliance
Section3:VISAFrameworkBindings
Page341
(continues)
Table3.6.1.ValuesandRanges(Continued)
Name
Value
Name
Value
VI_TRIG_ALL
VI_ASSERT_IRQ5
VI_ASSERT_IRQ7
VI_ASSERT_IRQ6
VI_GPIB_UNADDRESSED
VI_IO_IN_BUF
16
VI_GPIB_TALKER
VI_IO_OUT_BUF
32
VI_GPIB_LISTENER
VI_IO_IN_BUF_DISCARD
64
VI_PROT_4882_STRS
VI_IO_OUT_BUF_DISCARD
128
VI_INTF_USB
VI_PROT_NORMAL
VI_PROT_FDC
VI_PROT_HS488
VI_PROT_USBTMC_VENDOR
VI_UNKNOWN_CHASSIS
1
1
VI_OPAQUE_SPACE
FFFFh
VI_INTF_PXI
VI_UNKNOWN_TRIG
VI_PXI_ALLOC_SPACE
VI_PXI_LBUS_STAR_TRIG_BUS_0
1000
10
VI_PXI_LBUS_STAR_TRIG_BUS_1
1001
VI_PXI_BAR0_SPACE
11
VI_PXI_LBUS_STAR_TRIG_BUS_2
1002
VI_PXI_BAR1_SPACE
12
VI_PXI_LBUS_STAR_TRIG_BUS_3
1003
VI_PXI_BAR2_SPACE
13
VI_PXI_LBUS_STAR_TRIG_BUS_4
1004
14
VI_PXI_LBUS_STAR_TRIG_BUS_5
1005
VI_PXI_BAR4_SPACE
15
VI_PXI_LBUS_STAR_TRIG_BUS_6
1006
VI_PXI_BAR5_SPACE
16
VI_PXI_LBUS_STAR_TRIG_BUS_7
1007
VI_PXI_ADDR_NONE
VI_PXI_LBUS_STAR_TRIG_BUS_8
1008
VI_PXI_ADDR_MEM
VI_PXI_LBUS_STAR_TRIG_BUS_9
1009
VI_PXI_ADDR_IO
VI_PXI_STAR_TRIG_CONTROLLER
1413
VI_PXI_ADDR_CFG
VI_TRIG_PROT_RESERVE
VI_TRIG_PROT_UNRESERVE
VI_PXI_CFG_SPACE
VI_PXI_BAR3_SPACE
RULE3.6.1
TherangeoftheattributeVI_ATTR_USER_DATASHALLbe0toFFFFFFFFh.
VXIplug&playSystemsAlliance
VPP4.3.3:VISAImpl.Spec.fortheGLanguage