Transcript
Page 1: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ActiveXPropertiesandMethodsforLabVIEWThisbookdescribestheLabVIEWpropertiesandmethodsthatthird-partysoftwarecanaccessthroughtheActiveXprotocol.

(Windows)Toviewrelatedtopics,clicktheLocatebutton,shownatleft,onthetoolbaratthetopofthiswindow.TheLabVIEWHelphighlightsthistopicintheContentstabsoyoucannavigatetherelatedtopics.

Page 2: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ApplicationPropertiesandMethodsThisbookcontainsthepropertyandmethodreferenceinformationfortheApplicationclass.

Page 3: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ApplicationMethods(ActiveX)InstalledWith:BasePackageAnApplicationobjectexportsmethodsthataffectLabVIEW.

NoteMethodparametersdenotedby[]areoptionalforthatmethod.

RefertotheActiveXEnumerationsformoreinformationabouttheenumerationsusedinvariousmethods.

Method DescriptionBringToFront OnWindowsandMacOS,bringsthe

applicationwindowstothefront.DetailsBrowseDataSocket LaunchestheNationalInstruments

DataSocketBrowserdialogboxtoestablishaconnectiontoaDataSocketitem.Details

CreateLibrary CreatesanewLabVIEWprojectlibrary.DetailsGetVIReference PlacesaVIinmemoryandreturnsthe

IDispatchpointerfortheVI.DetailsGetVIVersion ReturnstheversionofLabVIEWinwhichthe

VIwaslastsaved.LabVIEWdoesnotopentheVIwhenretrievingtheversioninformation.IfyouspecifyapathtoafilethatisnotaVI,LabVIEWreturnserror6559.Details

LibraryGetFileLVVersion ReturnstheversionofLabVIEWinwhichtheLabVIEWprojectlibrarywascreated.Details

MassCompile LoadsandcompilesalltheVIsinadirectory,includinganyVIsinsubdirectories,forthespecifiedapplicationinstance.Details

NewProject Createsanew,emptyLabVIEWproject.YoualsocanusetheLabVIEWProjectExplorerwindowtocreateanewproject.Details

OpenLibrary OpenstheLabVIEWprojectlibrary.DetailsOpenProject LoadsaLabVIEWprojectfromdisk.Ifthe

projectisalreadyinmemory,thismethodreturnsareferencetotheexistingproject.You

Page 4: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

canusethisreferencewiththeProjectproperties.InLabVIEW,youalsocanselectFile»OpenProjecttonavigatetoandopenaproject.Details

Quit Quitstheapplication.Details

Page 5: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

BringToFrontMethodInstalledWith:BasePackageClass:ApplicationMethods(ActiveX)OnWindowsandMacOS,bringstheapplicationwindowstothefront.

Page 6: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.BringToFront()

Page 7: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 8: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

BrowseDataSocketMethodInstalledWith:BasePackageClass:ApplicationMethods(ActiveX)LaunchestheNationalInstrumentsDataSocketBrowserdialogboxtoestablishaconnectiontoaDataSocketitem.

Page 9: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.BrowseDataSocket([prompt],[selectedURL])

Page 10: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionprompt String SpecifiesthetitleoftheDataSocketBrowser

dialogbox.selectedURL String ReturnstheURLoftheconnectionspecifiedbythe

userintheDataSocketBrowserdialogbox.

Page 11: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 12: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

CreateLibraryMethodInstalledWith:BasePackageClass:ApplicationMethods(ActiveX)CreatesanewLabVIEWprojectlibrary.

Page 13: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.CreateLibrary([createPalette])

Page 14: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptioncreatePalette Boolean Specifieswhetheryouwanttosetadefault

paletteforallVIstheprojectlibraryowns.ThedefaultisFALSE,whichdoesnotsetadefaultpalette.

Page 15: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueLibrary*

Page 16: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

GetVIReferenceMethodInstalledWith:BasePackageClass:ApplicationMethods(ActiveX)PlacesaVIinmemoryandreturnstheIDispatchpointerfortheVI.

Page 17: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.GetVIReference(viPath,[password],[resvForCall],[options])

Page 18: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionviPath String AbsolutepathtotheVIplacedinmemory.password String IftheVIispassword-protected,youmustenter

thepasswordtomakeanyedits.resvForCall Boolean IfTRUE,theVIissettoanexecutionstatecalled

reserved.YoucannoteditareservedVIbecausetheVIcanbecalledasasubVIatanytimewhileitsparentVIruns.SettingtheVItoreservedatthetimeofthereferencespeedsupcallstotheVI.However,thisstatedoesnotsupportanyoftheeditmodepropertiesormethods.TobringtheVIoutofthereservedexecutionstate,closethisreferenceandopenanewreferencebysettingresvForCalltoFALSE.

IfyouareworkingwithareentrantVI,itisimportanttosetthisparametertoTRUEsothatLabVIEWcancalltheVIefficiently.

options unsignedlong

AbitsetthatspecifieshowtheVIreferenceistreated.optionscanbeacombinationofthefollowingvalues.Thedefaultis0x10.0x01 Recordmodifications.Anasterisk(*)

appearsbytheVItitletoindicatethatchangeshavebeenmadeusingVIServer.TheVImustbeineditmodeforLabVIEWtorecordthemodifications.

0x02 Opentemplatesforediting.Thisoptionopenstheoriginal.vitfile.Ifyoudonotselectthisoption,LabVIEWopensanewinstanceofthetemplateVI.Editsmadetoaninstancedonotaffecttheoriginal.vitfile.Thisoptionhasnoeffectonnon-templatefiles.

0x04 PromptusertosavechangeswhenthisVIreferenceclosesifallthefollowing

Page 19: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

conditionsaretrue:ThereferencedVIoritssubVIscontainunsavedchanges.TherearenootheropenreferencestothereferencedVI.ThereferencedVIisabletoleavememory.AVIisabletoleavememory,forexample,ifnootherVIscalltheVI,thefrontpaneloftheVIisclosed,andtheVIisnotamemberofanopenprojectlibrary,andsoon.

0x08 Prepareforreentrantrun.ReservesthetargetVIsoitcannotbeeditedandifthetargetVIisreentrant,allocatesadedicatedparalleldataspaceforthisVIreference.IfthetargetVIisnotreentrant,thismethodreturnsanerror.WhenyoureleasetheVIreference,LabVIEWunreservesthereentranttargetVIanddeallocatesaparalleldataspace.UsethisoptionwiththeRunmethodtorunmultipleinstancesofareentrantVIsimultaneously.IfyoutargetareentrantVIanddonotusethisoption,thismethodreturnsareferencetotheVIwithoutallocatingaparalleldataspacefortheVIreference.Whenyoudonotusethisoption,multiplecallstothismethodforareentrantVIreturnreferencestothesameVIwiththesamedataspace,andthismethoddoesnotclonetheVI.

0x10 PromptusertofindmissingsubVIsofthereferencedVI.

0x20 DonotdisplaytheloadingdialogboxwhensearchingformissingsubVIsofthereferencedVI.

Page 20: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

NoteThisoptiondoesnotaffectwhetherLabVIEWpromptsyoutofindthemissingVIsornot.

Page 21: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueVirtualInstrument*

Page 22: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

GetVIVersionMethodInstalledWith:BasePackageClass:ApplicationMethods(ActiveX)ReturnstheversionofLabVIEWinwhichtheVIwaslastsaved.LabVIEWdoesnotopentheVIwhenretrievingtheversioninformation.IfyouspecifyapathtoafilethatisnotaVI,LabVIEWreturnserror6559.

Page 23: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.GetVIVersion(viPath,versNum)

Page 24: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionviPath String PathtotheVIwhoseversionyouwanttoget.versNum unsigned

longReturnstheversionnumberoftheVIspecifiedinviPath.

Page 25: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueString

Page 26: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LibraryGetFileLVVersionMethodInstalledWith:BasePackageClass:ApplicationMethods(ActiveX)ReturnstheversionofLabVIEWinwhichtheLabVIEWprojectlibrarywascreated.

Page 27: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.LibraryGetFileLVVersion(libPath,[versNum])

Page 28: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionlibPath path Specifiesthepathtothelibrary.versNum Long* Returnstheversionnumber.

Page 29: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueString

Page 30: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

MassCompileMethodInstalledWith:BasePackageClass:ApplicationMethods(ActiveX)LoadsandcompilesalltheVIsinadirectory,includinganyVIsinsubdirectories,forthespecifiedapplicationinstance.ThismethodissimilartotheMassCompileoptionontheMassCompiledialogbox.

Page 31: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.MassCompile(directory,[logFile],[appendLog],[viCacheSize],[reloadLVSBs],[UserStopped])

Page 32: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptiondirectory String Directorywherethemasscompilebegins.logFile String Filepathwheretheresultsofthemasscompile

areplaced.Thedefaultisnologfile.appendLog Boolean Indicateswhetherresultsareappendedtothe

logfile.ThedefaultisFALSE.viCacheSize Long NumberofVIsallowedtobeinmemoryduring

themasscompile.Thedefaultisnone.reloadLVSBs Boolean IfTRUE,ignoresCINsinVIsandtheapplication

searchesforthem.UsethisparameterwhenalargenumberofCINshavebeenrecompiledandneedtobereloaded.ThedefaultisFALSE.

UserStopped

Booleanindicator

Indicateswhethertheuserstoppedthemasscompileoperation.

Page 33: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 34: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

NewProjectMethodInstalledWith:BasePackageClass:ApplicationMethods(ActiveX)Createsanew,emptyLabVIEWproject.YoualsocanusetheLabVIEWProjectExplorerwindowtocreateanewproject.

Page 35: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.NewProject()

Page 36: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueProject*

Page 37: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

OpenLibraryMethodInstalledWith:BasePackageClass:ApplicationMethods(ActiveX)OpenstheLabVIEWprojectlibrary.

Page 38: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.OpenLibrary(path)

Page 39: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionpath String Specifiesthepathtotheprojectlibrarytoopen.

Page 40: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueLibrary*

Page 41: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

OpenProjectMethodInstalledWith:BasePackageClass:ApplicationMethods(ActiveX)LoadsaLabVIEWprojectfromdisk.Iftheprojectisalreadyinmemory,thismethodreturnsareferencetotheexistingproject.YoucanusethisreferencewiththeProjectproperties.InLabVIEW,youalsocanselectFile»OpenProjecttonavigatetoandopenaproject.

Page 42: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.OpenProject(path)

Page 43: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionpath String Pathtotheproject.

Page 44: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueProject*

Page 45: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

QuitMethodInstalledWith:BasePackageClass:ApplicationMethods(ActiveX)Quitstheapplication.

Page 46: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Quit()

Page 47: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValue

Page 48: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ApplicationProperties(ActiveX)InstalledWith:BasePackageAnApplicationobjectexportspropertiesthataffectLabVIEW.

NotePropertyparametersdenotedby[]areoptionalforthatpropertyormethod.

RefertotheActiveXEnumerationsformoreinformationabouttheenumerationsusedinvariousproperties.

Property DescriptionAllProjects Returnsanarrayofreferences

toeachLabVIEWprojectinmemory.YoucanusethesereferenceswiththeProjectproperties.Details

AllVIsInMemory ReturnsalistofVIsinmemoryforthecallingVIapplicationinstance.ThispropertyreturnsanerrorifyouuseittoreturnalistofremoteVIs.UsetheExportedVIspropertytoreturnalistofexportedVIs.Thispropertyisreadonly.ThispropertyisavailableonlyinthelocalversionsofLabVIEW.Details

AppKind IndicatestheLabVIEWinstancetheVIisrunningin,includinginvalidapplicationtypes.Details

ApplicationDirectory Absolutepathtothedirectorywheretheapplicationislocated.Thispropertyisreadonly.Details

AppName Filenameoftheapplication.Thispropertyisreadonly.Details

AppTargetCPU IndicatesthetargetCPUofan

Page 49: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

application.Thispropertyisreadonly.Details

AppTargetOS Indicatestheoperatingsystemforwhichtheapplicationwasbuilt.Thispropertyisreadonly.Details

AutomaticClose Specifieswhethertheapplicationcloseswhenallthereferencestoitarereleased.ThedefaultisTRUE.Details

CmdArgs Returnsanarrayofuser-definedcommand-lineargumentspassedwhenLabVIEWlaunched.Details

DefaultDataLocation PathtotheLabVIEWDatadirectory.Details

ExportedVIs ReturnsalistofexportedVIsinmemory.Thispropertyisreadonly.Details

Language IndicatesthelanguageoftheLabVIEWenvironmentorstand-aloneapplicationasastringaccordingtoISO639.Valuesincludeen,de,fr,ja,ko,andzh-cn.Details

OSName Nameoftheoperatingsystemwheretheapplicationisactuallyrunning.ThisstringvalueisthesameasAppTargetOS,exceptamongversionsofWindows—specifically,AppTargetOShasoneenumerationonWindows2000/XPwhileOSNamereturnstheexactversionofWindowsyourapplicationisrunningon.Thispropertyisreadonly.Details

Page 50: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

OSVersion Versionnumberoftheactualoperatingsystem.Thispropertyisreadonly.Details

PrintDefaultPrinter GetsorsetsthenameofthedefaultprinterinLabVIEW.Details

PrintersAvailable Returnsanalphabetizedarrayofprinternamesavailableonthecomputer.Details

PrintingColorDepth IfTRUE,LabVIEWsendscolor/grayscaleoutputtotheprinter.IfFALSE,LabVIEWsendsmonochromeoutputtotheprinter.Details

PrintMethod GetsorsetshowLabVIEWprints.Details

PrintSetupCustomConnector SpecifieswhethertoprinttheconnectorpaneandiconofVIswhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Details

PrintSetupCustomControlDesc SpecifieswhethertoprintdescriptionsoffrontpanelcontrolswhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Details

PrintSetupCustomControls SpecifieswhethertoprintLabVIEWfrontpanelcontrolinformationwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Thispropertydoesnotaffecttheimageofthefrontpanel,justthelistofcontrolsandindicatorsin

Page 51: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

thegenerateddocumentation.Details

PrintSetupCustomControlTypes SpecifieswhethertoprintdatatypeinformationforLabVIEWfrontpanelcontrolswhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Details

PrintSetupCustomDescription SpecifieswhethertoprintVIdescriptionswhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Details

PrintSetupCustomDiagram SpecifieswhethertoprintLabVIEWblockdiagramswhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Details

PrintSetupCustomDiagramHidden SpecifieswhethertoprintthehiddenframesinLabVIEWCaseandStackedSequencestructuresthatmightbepresentontheblockdiagramwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Details

PrintSetupCustomDiagramRepeat SpecifieswhethertoprintvisiblesubdiagramsofeachCase,Event,andStackedSequencestructureinsequencewiththenon-visiblesubdiagramswhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Ifyouprintthevisibleframesinsequence,thoseframeswillprinttwice.Details

Page 52: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomExpressVIConfigInfo SpecifieswhethertoprinttheconfigurationinformationforanyLabVIEWExpressVIsontheblockdiagramwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Details

PrintSetupCustomHierarchy SpecifieswhethertoprintthehierarchyoftheVIinmemorywhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Details

PrintSetupCustomHistory SpecifieswhethertoprinttheVIrevisionhistoryinformationwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Details

PrintSetupCustomLabel Specifieswhethertoprintthelabeland/orcaptionforeachcontrolwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Details

PrintSetupCustomPanel SpecifieswhethertoprinttheLabVIEWfrontpanelwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Details

PrintSetupCustomPanelBorder SpecifieswhethertoprinttheLabVIEWfrontpanelwithaborderwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Details

Page 53: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomSubVIs SpecifieswhethertoprintalistoftheLabVIEWsubVIsandExpressVIsincludingtheicon,name,andpathwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.IfapolymorphicVIisasubVI,LabVIEWprintstheinstanceusedinthetop-levelVIincludingtheicon,name,andpath.Ifthetop-levelVIispolymorphic,LabVIEWprintsalistofalltheinstancesofthepolymorphicVIincludingtheicon,name,andpathofeachinstance.Details

PrintSetupFileWrapText Maximumnumberofcharactersonasinglelineinafile.AffectsthePrintVIToHTML,PrintVIToRTF,andPrintVIToTextmethods.Setthispropertyto0toprintallthecharactersononelinesothetextdoesnotwrap.Details

PrintSetupJPEGQuality Percentagevaluefrom0to100specifyingthelevelofqualityyouwantfortheJPEGgraphicinVIsprintedeitherinteractivelyorwiththePrintVIToHTMLmethod.Thescalebalancesimagequalityandfilesize.Avalueinthe75-95rangeproducesacompressedfilewithahigh-qualityimage,andavaluebelow50producesasmallerfilesizewithalow-qualityimage.Thedefaultis80.Details

PrintSetupPNGCompressLevel Numberbetween–1and9that

Page 54: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

specifiesthelevelofcompressionyouwantforthePNGfileforgraphicsinVIsprintedeitherinteractivelyorwiththePrintVIToHTMLmethod.Thequalityofthegraphicisnotaffectedbythecompression,butthegraphicfilesizeandspeedofcompressionareaffectedbythisvalue.Validvaluesrangefrom–1to9andbalancefilecompressionwithspeed.0designatesnocompression.1designatesthebestspeedwithsomecompression.9designatesthebestcompression,butslowerspeed.–1(thedefaultvalue)designatesthebestcombinationofgoodcompressionandspeed.Details

RTHostConnected Ifyouarenottargetedtoareal-time(RT)platform,thispropertyisalwaysTRUE.IfyouaretargetedtoanRT-platformandthehostisconnected,thispropertyisTRUE.WhenthispropertyisFALSE,thehostisnotconnected,requiringthattheRTModuleapplicationmustbeabletohandlealloperationsindependentofthehost.Usethispropertytodeterminewhenitissafetodisplayadialogboxthatrequiresuserinteraction.Details

SaveVersions AnarrayoftheLabVIEWversionstowhichthisversionof

Page 55: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LabVIEWcansave.Thearrayisinreversechronologicalorder,withtheelementatpositionzerointhearraybeingthecurrentversionofLabVIEW.EachelementofthearrayisavalidversiontopasstoVIserverfunctionswhichsavetopreviousversions.Details

ShowFPTipStrips Writingtheproperty:SettingthispropertytoTRUEenablesthedisplayoftipstripsonLabVIEWfrontpanelcontrols.SettingthepropertytoFALSEpreventsthemfrombeingdisplayed.Readingtheproperty:Specifieswhethertipstripsdisplaywhenidlingovercontrolsonthefrontpanel.Details

UserName Usernameusedtoopentheapplication.Thispropertyisreadonly.Details

Version Versionnumberoftheapplication.Thispropertyisreadonly.Details

VIServerPort GetsorsetstheLabVIEWVIserverport.LabVIEWreturnsanerrorifyouattempttoaccessthispropertyonaremoteapplication.Details

Page 56: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AllProjectsPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)ReturnsanarrayofreferencestoeachLabVIEWprojectinmemory.YoucanusethesereferenceswiththeProjectproperties.

Page 57: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AllProjects

Page 58: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeArrayofprojects

Page 59: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AllVIsInMemoryPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)ReturnsalistofVIsinmemoryforthecallingVIapplicationinstance.ThispropertyreturnsanerrorifyouuseittoreturnalistofremoteVIs.UsetheExportedVIspropertytoreturnalistofexportedVIs.Thispropertyisreadonly.ThispropertyisavailableonlyinthelocalversionsofLabVIEW.

NoteIfyouhavemultipleapplicationinstancesopensimultaneously,besuretowireanapplicationreferencetothereferenceinput.Forexample,LabVIEWopensanewapplicationinstanceeachtimeyoucreateaLabVIEWprojectoratargetforaLabVIEWproject.

Page 60: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AllVIsInMemory

Page 61: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeArrayofstrings

Page 62: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AppKindPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)IndicatestheLabVIEWinstancetheVIisrunningin,includinginvalidapplicationtypes.

1. DevelopmentSystem,includingtheBasePackage,FullDevelopmentSystem,orProfessionalDevelopmentSystem

2. Run-TimeSystem3. StudentEdition4. EmbeddedLabVIEW,includingLabVIEWReal-Time5. Evaluation6. Custom

Page 63: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AppKind

Page 64: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeAppKindEnum

Page 65: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ApplicationDirectoryPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Absolutepathtothedirectorywheretheapplicationislocated.Thispropertyisreadonly.

Page 66: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ApplicationDirectory

Page 67: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeString

Page 68: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AppNamePropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Filenameoftheapplication.Thispropertyisreadonly.

Page 69: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AppName

Page 70: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeString

Page 71: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AppTargetCPUPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)IndicatesthetargetCPUofanapplication.Thispropertyisreadonly.

Page 72: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AppTargetCPU

Page 73: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeAppTargCPUEnum

Page 74: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AppTargetOSPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Indicatestheoperatingsystemforwhichtheapplicationwasbuilt.Thispropertyisreadonly.

Page 75: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AppTargetOS

Page 76: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeAppTargOSEnum

Page 77: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AutomaticClosePropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Specifieswhethertheapplicationcloseswhenallthereferencestoitarereleased.ThedefaultisTRUE.

Page 78: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AutomaticClose

Page 79: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 80: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

CmdArgsPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Returnsanarrayofuser-definedcommand-lineargumentspassedwhenLabVIEWlaunched.User-definedargumentsstartaftertwohyphens(--)surroundedbyspacesinthecommandline.Thefirststringinthearrayisthenameoftheexecutablelaunched.ThispropertydoesnotreturnthenameoftheVIlaunchedortheLLBthatcontainstheVI.Ifauser-definedcommand-lineargumentcontainsdoublequotationmarks("),thispropertyreturnstheargumentwithoutthequotationmarks.Ifyouusethispropertyinastand-aloneapplication,youcanpassallargumentsasuser-definedargumentssoyoudonotneedtoenterthetwohyphensbeforeuser-definedargumentsinthecommandline.ThispropertyissimilartothePassallcommandlineargumentstoapplicationoptionontheAdvancedpageoftheLabVIEWApplicationPropertiesdialogbox.

Page 81: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.CmdArgs

Page 82: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeArrayofstrings

Page 83: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DefaultDataLocationPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)PathtotheLabVIEWDatadirectory.YoucanusethisdirectorytostorethedatafilesLabVIEWgenerates,suchas.lvmor.txtfiles.WhenyouinstallLabVIEW,theinstallercreatesaLabVIEWDatasubdirectoryinthedefaultfiledirectoryfortheoperatingsystemtohelpyouorganizeandlocatethedatafilesLabVIEWgenerates.

Page 84: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.DefaultDataLocation

Page 85: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeString

Page 86: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ExportedVIsPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)ReturnsalistofexportedVIsinmemory.Thispropertyisreadonly.

Page 87: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ExportedVIs

Page 88: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeArrayofstrings

Page 89: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LanguagePropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)IndicatesthelanguageoftheLabVIEWenvironmentorstand-aloneapplicationasastringaccordingtoISO639.Valuesincludeen,de,fr,ja,ko,andzh-cn.

Page 90: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Language

Page 91: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeString

Page 92: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

OSNamePropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Nameoftheoperatingsystemwheretheapplicationisactuallyrunning.ThisstringvalueisthesameasAppTargetOS,exceptamongversionsofWindows—specifically,AppTargetOShasoneenumerationonWindows2000/XPwhileOSNamereturnstheexactversionofWindowsyourapplicationisrunningon.Thispropertyisreadonly.

Page 93: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.OSName

Page 94: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 95: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

OSVersionPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Versionnumberoftheactualoperatingsystem.Thispropertyisreadonly.

Page 96: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.OSVersion

Page 97: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 98: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintDefaultPrinterPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)GetsorsetsthenameofthedefaultprinterinLabVIEW.Tosetthedefaultprinter,enterthefullpathtotheprinter,suchas\\myprinter\ab01.

Page 99: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintDefaultPrinter

Page 100: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeString

Page 101: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintersAvailablePropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Returnsanalphabetizedarrayofprinternamesavailableonthecomputer.

Page 102: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintersAvailable

Page 103: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeArrayofstrings

Page 104: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintingColorDepthPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)IfTRUE,LabVIEWsendscolor/grayscaleoutputtotheprinter.IfFALSE,LabVIEWsendsmonochromeoutputtotheprinter.

Page 105: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintingColorDepth

Page 106: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 107: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintMethodPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)GetsorsetshowLabVIEWprints.

Page 108: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintMethod

Page 109: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypePrintMethodsEnum

Page 110: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomConnectorPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)SpecifieswhethertoprinttheconnectorpaneandiconofVIswhenusingthecustomformatwithoneoftheprintdocumentationVImethods.

Page 111: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomConnector

Page 112: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 113: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomControlDescPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)SpecifieswhethertoprintdescriptionsoffrontpanelcontrolswhenusingthecustomformatwithoneoftheprintdocumentationVImethods.

Page 114: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomControlDesc

Page 115: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 116: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomControlsPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)SpecifieswhethertoprintLabVIEWfrontpanelcontrolinformationwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Thispropertydoesnotaffecttheimageofthefrontpanel,justthelistofcontrolsandindicatorsinthegenerateddocumentation.

Page 117: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomControls

Page 118: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 119: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomControlTypesPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)SpecifieswhethertoprintdatatypeinformationforLabVIEWfrontpanelcontrolswhenusingthecustomformatwithoneoftheprintdocumentationVImethods.

Page 120: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomControlTypes

Page 121: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 122: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomDescriptionPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)SpecifieswhethertoprintVIdescriptionswhenusingthecustomformatwithoneoftheprintdocumentationVImethods.

Page 123: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomDescription

Page 124: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 125: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomDiagramPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)SpecifieswhethertoprintLabVIEWblockdiagramswhenusingthecustomformatwithoneoftheprintdocumentationVImethods.

Page 126: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomDiagram

Page 127: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 128: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomDiagramHiddenPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)SpecifieswhethertoprintthehiddenframesinLabVIEWCaseandStackedSequencestructuresthatmightbepresentontheblockdiagramwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.

Page 129: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomDiagramHidden

Page 130: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 131: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomDiagramRepeatPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)SpecifieswhethertoprintvisiblesubdiagramsofeachCase,Event,andStackedSequencestructureinsequencewiththenon-visiblesubdiagramswhenusingthecustomformatwithoneoftheprintdocumentationVImethods.Ifyouprintthevisibleframesinsequence,thoseframeswillprinttwice.

Page 132: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomDiagramRepeat

Page 133: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 134: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomExpressVIConfigInfoPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)SpecifieswhethertoprinttheconfigurationinformationforanyLabVIEWExpressVIsontheblockdiagramwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.

Page 135: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomExpressVIConfigInfo

Page 136: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 137: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomHierarchyPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)SpecifieswhethertoprintthehierarchyoftheVIinmemorywhenusingthecustomformatwithoneoftheprintdocumentationVImethods.

Page 138: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomHierarchy

Page 139: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 140: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomHistoryPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)SpecifieswhethertoprinttheVIrevisionhistoryinformationwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.

Page 141: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomHistory

Page 142: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 143: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomLabelPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Specifieswhethertoprintthelabeland/orcaptionforeachcontrolwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.

Page 144: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomLabel

Page 145: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypePrintSetupCustomLabelEnum

Page 146: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomPanelPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)SpecifieswhethertoprinttheLabVIEWfrontpanelwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.

Page 147: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomPanel

Page 148: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 149: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomPanelBorderPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)SpecifieswhethertoprinttheLabVIEWfrontpanelwithaborderwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.

Page 150: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomPanelBorder

Page 151: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 152: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomSubVIsPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)SpecifieswhethertoprintalistoftheLabVIEWsubVIsandExpressVIsincludingtheicon,name,andpathwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.IfapolymorphicVIisasubVI,LabVIEWprintstheinstanceusedinthetop-levelVIincludingtheicon,name,andpath.Ifthetop-levelVIispolymorphic,LabVIEWprintsalistofalltheinstancesofthepolymorphicVIincludingtheicon,name,andpathofeachinstance.

Page 153: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupCustomSubVIs

Page 154: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 155: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupFileWrapTextPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Maximumnumberofcharactersonasinglelineinafile.AffectsthePrintVIToHTML,PrintVIToRTF,andPrintVIToTextmethods.Setthispropertyto0toprintallthecharactersononelinesothetextdoesnotwrap.

Page 156: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupFileWrapText

Page 157: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypelong

Page 158: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupJPEGQualityPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Percentagevaluefrom0to100specifyingthelevelofqualityyouwantfortheJPEGgraphicinVIsprintedeitherinteractivelyorwiththePrintVIToHTMLmethod.Thescalebalancesimagequalityandfilesize.Avalueinthe75-95rangeproducesacompressedfilewithahigh-qualityimage,andavaluebelow50producesasmallerfilesizewithalow-qualityimage.Thedefaultis80.

Page 159: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupJPEGQuality

Page 160: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypelong

Page 161: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupPNGCompressLevelPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Numberbetween–1and9thatspecifiesthelevelofcompressionyouwantforthePNGfileforgraphicsinVIsprintedeitherinteractivelyorwiththePrintVIToHTMLmethod.Thequalityofthegraphicisnotaffectedbythecompression,butthegraphicfilesizeandspeedofcompressionareaffectedbythisvalue.Validvaluesrangefrom–1to9andbalancefilecompressionwithspeed.0designatesnocompression.1designatesthebestspeedwithsomecompression.9designatesthebestcompression,butslowerspeed.–1(thedefaultvalue)designatesthebestcombinationofgoodcompressionandspeed.

Page 162: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintSetupPNGCompressLevel

Page 163: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypelong

Page 164: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

RTHostConnectedPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Ifyouarenottargetedtoareal-time(RT)platform,thispropertyisalwaysTRUE.IfyouaretargetedtoanRT-platformandthehostisconnected,thispropertyisTRUE.WhenthispropertyisFALSE,thehostisnotconnected,requiringthattheRTModuleapplicationmustbeabletohandlealloperationsindependentofthehost.Usethispropertytodeterminewhenitissafetodisplayadialogboxthatrequiresuserinteraction.

Page 165: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.RTHostConnected

Page 166: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 167: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SaveVersionsPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)AnarrayoftheLabVIEWversionstowhichthisversionofLabVIEWcansave.Thearrayisinreversechronologicalorder,withtheelementatpositionzerointhearraybeingthecurrentversionofLabVIEW.EachelementofthearrayisavalidversiontopasstoVIserverfunctionswhichsavetopreviousversions.

Page 168: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SaveVersions

Page 169: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypevariant

Page 170: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ShowFPTipStripsPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Writingtheproperty:SettingthispropertytoTRUEenablesthedisplayoftipstripsonLabVIEWfrontpanelcontrols.SettingthepropertytoFALSEpreventsthemfrombeingdisplayed.Readingtheproperty:Specifieswhethertipstripsdisplaywhenidlingovercontrolsonthefrontpanel.

Page 171: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ShowFPTipStrips

Page 172: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 173: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

UserNamePropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Usernameusedtoopentheapplication.Thispropertyisreadonly.

Page 174: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.UserName

Page 175: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 176: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VersionPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)Versionnumberoftheapplication.Thispropertyisreadonly.

Page 177: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Version

Page 178: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 179: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VIServerPortPropertyInstalledWith:BasePackageClass:ApplicationProperties(ActiveX)GetsorsetstheLabVIEWVIserverport.LabVIEWreturnsanerrorifyouattempttoaccessthispropertyonaremoteapplication.

Page 180: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.VIServerPort

Page 181: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeunsignedlong

Page 182: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ActiveXEnumerationsThefollowingenumerationsareusedinthevariouspropertiesandmethods.AppKindEnumAppTargCPUEnumAppTargOSEnumExecStateEnumFPRunTimePosEnumFPStateEnumHTMLImageFormatEnumLibraryItemScopeEnumPageOrientationEnumPrintFormatEnumPrintMarginsEnumPrintMethodsEnumVIExecSysEnumVIFPBehaviorEnumVILockStateEnumVIPriorityEnumVITypeEnum

Page 183: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AppKindEnumIndicatesthetypeofapplication.

Name Value DescriptioneInvalidAppKind 0 InvalidapplicationkindeDevSysKind 1 LabVIEWDevelopmentSystem,includingthe

BasePackage,FullDevelopmentSystem,orProfessionalDevelopmentSystem

eRunTimeSysKind 2 Run-TimeSystemeStudEdKind 3 LabVIEWStudentEditioneEmbeddedKind 4 EmbeddedSystem,includingLabVIEWReal-

TimeeEvaluation 5 Evaluationversion

Page 184: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AppTargCPUEnumIndicatesthecentralprocessingunit(CPU)ofthemachineonwhichtheapplicationisrunning.

Name Value DescriptioneInvalidTargCPU 0 InvalidtargetCPUeMotorola68kCPU 1 Motorola68KePowerPCCPU 2 VxWorksPowerPCeIntelx86CPU 3 Intelx86eSPARCCPU 4 SPARCePARISCCPU 5 PA-RISCeMIPSCPU 6 MIPSeAlphaCPU 7 Alpha

Page 185: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AppTargOSEnumIndicatesthetypeofoperatingsystem(OS)onwhichtheapplicationisrunning.MacOSreferstoMacOSversions8and9.CarbonreferstoMacOSX.

Name Value DescriptioneInvalidTargOS 0 InvalidTargetOSeMacOS 1 MacOSeWin31OS 2 Windows3.1eWin95NTOS 3 Windows95/NTeSolaris1OS 4 Solaris1eSolaris2OS 5 Solaris2eHPUXOS 6 HP-UXePowerMaxOS 7 PowerMaxeLinuxOS 8 LinuxeIrixOS 9 IrixeRhapsodyOS 10 RhapsodyeBeOS 11 BeOSeAIXOS 12 AIXeOSF1OS 13 OSF1eVxWorksOS 14 VxWorksePharlapOS 15 PharLapeCarbonOS 16 CarboneRTXOS 17 RTXeWin64OS 18 Windowsx64eLinux64OS 19 Linuxx64

Page 186: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ExecStateEnumIndicatestheexecutionstateofaVI.

Name Value DescriptioneBad 0 VIhaserrors;itcannotrun.eIdle 1 VIisnotrunning,buttheVIisinmemory.eRunTopLevel 2 VIisrunningasatop-levelVI.eRunning 3 VIisrunningasasubVI.

Page 187: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPRunTimePosEnumIndicatestherun-timeLabVIEWfrontpanelposition.

Name Value DescriptioneRTPUnchanged 0 UnchangedeRTPCentered 1 CenteredeRTPMaximized 2 MaximizedeRTPMinimized 3 MinimizedeRTPCustom 4 Custom

Page 188: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPStateEnumIndicateshowLabVIEWdisplaysthefrontpanelwindow.

Name Value DescriptionInvalid 0 Ifyoureadthispropertyandanerroroccurs,the

propertyreturnsthisvalue.Ifyousetthepropertytothisvalue,thepropertyreturnsanerror.

Standard 1 Thefrontpanelwindowisopenbutisnotminimized,maximized,orhidden.

Closed 2 Thefrontpanelwindowisnotopen.Ifyousetthepropertytothisvalue,thepropertyreturnsanerror.

Hidden 3 ThefrontpanelwindowisfloatingbutisnotvisiblebecauseLabVIEWisnottheactiveapplication.Ifyousetthepropertytothisvalueandcloseallreferencestothefrontpanel,thewindowremainsopenbuthidden.BecausetheVIisopen,theGettingStartedwindowdoesnotappear.Tosolvethisproblem,opentheVIfromtheoperatingsystem.Forexample,double-clicktheVIinWindowsExplorertoopentheVI.

Minimized 4 Thefrontpanelwindowisminimized.Maximized 5 Thefrontpanelwindowismaximized.

Page 189: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

HTMLImageFormatEnumIndicatestheHTMLimageformattouseforprintingtoanHTMLfile.

Name Value DescriptionePNG 0 PNGformateJPEG 1 JPEGformateGIF 2 GIFformat

Page 190: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LibraryItemScopeEnumIndicatestheLibraryItemscope.

Name Value DescriptioneLibScopeInvalid 0 InvalidScopeeLibScopePublic 1 PubliceLibScopePrivate 2 PrivateeProtected 3 Protected

Page 191: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintFormatEnumIndicatestheimageformattouseforprinting.

Name Value DescriptioneCustom 0 UsetheApplicationpropertiestospecifytheformat.eStandard 1 PrintstheVIdescription,iconandconnectorpane,

frontpanel,andblockdiagram.eUsingPanel 2 PrintstheVIdescription,frontpanel,andcontrols

andindicators,includingdatatypes,names,anddescriptions.LabVIEWprintsthecontrolsandindicatorsintabbingorder.

eUsingSubVI 3 PrintstheVIdescription,iconandconnectorpane,andconnectedcontrolsandindicators,includingdatatypes,names,anddescriptions.LabVIEWprintsthecontrolsandindicatorsintabbingorder.

eComplete 4 PrintstheVIdescription;iconandconnectorpane;frontpanel;controlsandindicators,includingdatatypes,names,anddescriptions;blockdiagram;alistofsubVIs,includingicons,names,andpaths;revisionhistoryinformation;andtheVIhierarchy.

Page 192: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintMarginsEnumArrayofvariantsthatincludethefollowingelements:

Element Type Descriptionelement1 (float) topelement2 (float) leftelement3 (float) bottomelement4 (float) rightelement5 (byte) measurementsystem(0=Inches,1=cm)

Page 193: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintSetupCustomLabelEnumIndicateswhethertoprintthelabeland/orcaptionforeachcontrolwhenusingthecustomformatwithoneoftheprintdocumentationVImethods.

Name Value DescriptionLabel 0 Printsonlythelabelofthefrontpanelcontrol.Caption 1 Printsonlythecaptionofthefrontpanelcontrol.Caption[Label] 2 Printsthecaptionandthelabelinsquarebrackets

ofthefrontpanelcontrol.

Page 194: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VIExecSysEnumIndicatestheexecutionsysteminwhichaVIruns.

Name Value DescriptioneESysInvalid 0 InvalidexecutionsystemeESysUserInterface 1 UserinterfaceeESysNormal 2 StandardeESysInstrIO 3 InstrumentI/OeESysDAQ 4 Dataacquisition(DAQ)eESysOther1 5 Other1eESysOther2 6 Other2eESysSameAsCaller 7 Sameascaller

Page 195: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VILockStateEnumIndicatesthelockstateofaVI.

Name Value DescriptioneInvalidLockState 0 InvalidVIlockstateeUnlockedState 1 UnlockedeLockedNoPwdState 2 Locked,nopasswordePwdProtectedState 3 Password-protected

Page 196: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VIPriorityEnumIndicatestheexecutionpriorityofaVI.

Name Value DescriptionePriInvalid 0 InvalidpriorityePriBackground 1 BackgroundePriNormal 2 NormalePriAboveNormal 3 AbovenormalePriHigh 4 HighePriCritical 5 CriticalePriSubroutine 6 Subroutine

Page 197: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VITypeEnumIndicatesthetypeofaVI.

Name Value DescriptioneInvalidVIType 0 InvalidVItypeeStandardVIType 1 StandardVIeControlVIType 2 ControlVIeGlobalVIType 3 GlobalVIePolymorphicVIType 4 PolymorphicVIeConfigurationVIType 5 ConfigurationVIeSubSystemVIType 6 SubSystemeFacadeVIType 7 FacadeVIeMethodVIType 8 MethodVI

Page 198: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ProjectPropertiesandMethodsThisbookcontainsthepropertyandmethodreferenceinformationfortheProjectclass.

Page 199: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ProjectMethods(ActiveX)InstalledWith:BasePackage

Method DescriptionClose ClosesaLabVIEWprojectandallreferencestoall

itemsintheproject.ThismethodalsoclosestheLabVIEWProjectExplorerwindowifitisopenandclosesanyVIsthatareopeninanyapplicationinstanceownedbytheproject.InLabVIEW,youalsocanselectFile»CloseAlltoclosetheprojectandtheProjectExplorerwindow.Details

CloseWindow ClosesonlytheLabVIEWProjectExplorerwindow.ThismethoddoesnotcloseVIwindows.Details

DeployItems DeploysanarrayofitemsintheLabVIEWproject.Details

OpenWindow DisplaystheLabVIEWProjectExplorerwindow.Details

Save SavestheLabVIEWprojecttothepaththattheprojectwaspreviouslysavedtoorloadedfromortoaspecifiedpath.Details

SaveForPrevious SavesacopyoftheLabVIEWprojectthatisreadablebyLabVIEWversion8.0andlater.Details

Page 200: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

CloseMethodInstalledWith:BasePackageClass:ProjectMethods(ActiveX)ClosesaLabVIEWprojectandallreferencestoallitemsintheproject.ThismethodalsoclosestheLabVIEWProjectExplorerwindowifitisopenandclosesanyVIsthatareopeninanyapplicationinstanceownedbytheproject.InLabVIEW,youalsocanselectFile»CloseAlltoclosetheprojectandtheProjectExplorerwindow.

Page 201: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Close()

Page 202: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 203: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

CloseWindowMethodInstalledWith:BasePackageClass:ProjectMethods(ActiveX)ClosesonlytheLabVIEWProjectExplorerwindow.ThismethoddoesnotcloseVIwindows.InLabVIEW,youalsocanselectFile»ExittoclosetheProjectExplorerwindowandanyVIsthatareopen.

Page 204: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.CloseWindow()

Page 205: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 206: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DeployItemsMethodInstalledWith:BasePackageClass:ProjectMethods(ActiveX)DeploysanarrayofitemsintheLabVIEWproject.

Page 207: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.DeployItems(items,silent)

Page 208: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionitems ProjectItem* Specifiesanarrayofreferencestoitemsinthe

project.silent Boolean IfTRUE,LabVIEWdoesnotdisplayanydialog

boxesduringthedeployoperation.

Page 209: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 210: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

OpenWindowMethodInstalledWith:BasePackageClass:ProjectMethods(ActiveX)DisplaystheLabVIEWProjectExplorerwindow.

Page 211: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.OpenWindow()

Page 212: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 213: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SaveMethodInstalledWith:BasePackageClass:ProjectMethods(ActiveX)SavestheLabVIEWprojecttothepaththattheprojectwaspreviouslysavedtoorloadedfromortoaspecifiedpath.Iftheprojecthasnotbeensavedandthevalueofthepathparameteris<NotAPath>orpathisnotspecified,thismethodreturnsanerror.

Page 214: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Save(path)

Page 215: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionpath String Pathtotheproject.

Page 216: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 217: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SaveForPreviousMethodInstalledWith:BasePackageClass:ProjectMethods(ActiveX)SavesacopyoftheLabVIEWprojectthatisreadablebyLabVIEWversion8.0andlater.

Page 218: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SaveForPrevious(Path)

Page 219: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionPath Path

controlPathtowhereyouwanttosaveacopyoftheproject.

Page 220: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 221: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ProjectProperties(ActiveX)InstalledWith:BasePackageInthefollowingtopics,anasterisk(*)attheendofadatatypenameindicatesthatthepropertyisapointer.

Property DescriptionActiveItemsInTree IftheLabVIEWProjectExplorerwindowhas

focus,returnsanarrayofreferencestotheselectedprojectitemsintheProjectExplorerwindow.IftheProjectExplorerwindowdoesnothavefocus,returnsareferencetotheprojectitemassociatedwiththeVIwindowthathasfocus.YoucanusethesereferenceswiththeProjectItemproperties.Details

Application ReturnstheapplicationreferencefortheLabVIEWproject.YoucanusethisreferencewiththeApplicationproperties.Details

Description GetsorsetsthedescriptionoftheLabVIEWproject.Details

MyComputer ReturnsareferencetoMyComputerintheProjectExplorerwindowfortheLabVIEWproject.YoucanusethisreferencewiththeTargetItemproperties.Details

Name GetsthenameoftheLabVIEWproject.Iftheprojecthasbeensaved,thispropertyreturnsthefilenamewiththefileextension.Iftheprojecthasnotbeensaved,thispropertyreturnsuntitledprojectx.Details

Path GetsthepathtothesavedLabVIEWprojectondisk.Thispathincludesthefilenameoftheproject.Details

Root ReturnsareferencetotheprojectrootintheLabVIEWProjectExplorerwindow.TheprojectrootisthetopitemthatrepresentstheLabVIEWprojectintheProjectExplorerwindow.YoucanusethisreferencewiththeProjectItemproperties.

Page 222: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DetailsSelectedItemsInTree Returnsanarrayofreferencestotheprojectitems

currentlyselectedintheLabVIEWProjectExplorerwindow.YoucanusethesereferenceswiththeProjectItemproperties.Details

Targets ReturnsanarrayofreferencestoalltargetsinthecurrentLabVIEWproject.YoucanusethesereferenceswiththeTargetItemproperties.Details

WindowState ReturnsthestateoftheLabVIEWProjectExplorerwindow.Details

Page 223: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ActiveItemsInTreePropertyInstalledWith:BasePackageClass:ProjectProperties(ActiveX)IftheLabVIEWProjectExplorerwindowhasfocus,returnsanarrayofreferencestotheselectedprojectitemsintheProjectExplorerwindow.IftheProjectExplorerwindowdoesnothavefocus,returnsareferencetotheprojectitemassociatedwiththeVIwindowthathasfocus.YoucanusethesereferenceswiththeProjectItemproperties.

Page 224: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ActiveItemsInTree

Page 225: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataType1DarrayofProjectItems

Page 226: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ApplicationPropertyInstalledWith:BasePackageClass:ProjectProperties(ActiveX)ReturnstheapplicationreferencefortheLabVIEWproject.YoucanusethisreferencewiththeApplicationproperties.Iftheprojecthasmultipletargets,eachtargetisassociatedwithasingleapplicationinstance.

Page 227: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Application

Page 228: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeApplication*

Page 229: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DescriptionPropertyInstalledWith:BasePackageClass:ProjectProperties(ActiveX)GetsorsetsthedescriptionoftheLabVIEWproject.

Page 230: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Description

Page 231: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeString

Page 232: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

MyComputerPropertyInstalledWith:BasePackageClass:ProjectProperties(ActiveX)ReturnsareferencetoMyComputerintheProjectExplorerwindowfortheLabVIEWproject.YoucanusethisreferencewiththeTargetItemproperties.

Page 233: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.MyComputer

Page 234: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeTargetItem*

Page 235: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

NamePropertyInstalledWith:BasePackageClass:ProjectProperties(ActiveX)GetsthenameoftheLabVIEWproject.Iftheprojecthasbeensaved,thispropertyreturnsthefilenamewiththefileextension.Iftheprojecthasnotbeensaved,thispropertyreturnsuntitledprojectx.

Page 236: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Name

Page 237: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 238: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PathPropertyInstalledWith:BasePackageClass:ProjectProperties(ActiveX)GetsthepathtothesavedLabVIEWprojectondisk.Thispathincludesthefilenameoftheproject.

Page 239: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Path

Page 240: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 241: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

RootPropertyInstalledWith:BasePackageClass:ProjectProperties(ActiveX)ReturnsareferencetotheprojectrootintheLabVIEWProjectExplorerwindow.TheprojectrootisthetopitemthatrepresentstheLabVIEWprojectintheProjectExplorerwindow.YoucanusethisreferencewiththeProjectItemproperties.

Page 242: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Root

Page 243: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeProjectItem*

Page 244: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SelectedItemsInTreePropertyInstalledWith:BasePackageClass:ProjectProperties(ActiveX)ReturnsanarrayofreferencestotheprojectitemscurrentlyselectedintheLabVIEWProjectExplorerwindow.YoucanusethesereferenceswiththeProjectItemproperties.

Page 245: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SelectedItemsInTree

Page 246: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataType1DarrayofProjectItems

Page 247: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

TargetsPropertyInstalledWith:BasePackageClass:ProjectProperties(ActiveX)ReturnsanarrayofreferencestoalltargetsinthecurrentLabVIEWproject.YoucanusethesereferenceswiththeTargetItemproperties.

Page 248: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Targets

Page 249: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataType1DarrayofTargetItems

Page 250: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

WindowStatePropertyInstalledWith:BasePackageClass:ProjectProperties(ActiveX)ReturnsthestateoftheLabVIEWProjectExplorerwindow.

Page 251: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Values0 eInvalidFPState—Ifyoureadthispropertyandanerroroccurs,thepropertyreturnsthisvalue.

1 eVisible—TheProjectExplorerwindowisopenbutisnotminimized,maximized,orhidden.

2 eClosed—TheProjectExplorerwindowisnotopen.3 eHidden—TheProjectExplorerwindowisfloatingbutisnotvisiblebecauseLabVIEWisnottheactiveapplication.

4 eMinimized—TheProjectExplorerwindowisminimized.5 eMaximized—TheProjectExplorerwindowismaximized.

Page 252: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.WindowState

Page 253: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeFPStateEnum

Page 254: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ProjectItemPropertiesandMethodsThisbookcontainsthepropertyandmethodreferenceinformationfortheProjectItemclass.

Page 255: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ProjectItemMethods(ActiveX)InstalledWith:BasePackage

Method DescriptionAddFile AddsafileatthespecifiedpathtotheLabVIEW

projectwiththereferencedprojectitemastheparent.Details

AddItem AddsanewprojectitemofthespecifiedtypetotheLabVIEWprojectwiththereferenceditemastheparent.Details

AddItemFromMemory AddsanitemthatexistsinmemorytotheLabVIEWprojectwiththereferencedprojectitemastheparent.Details

Delete RemovesthereferencedprojectitemfromtheLabVIEWproject.Iftheitemhaschildren,thechildrenalsoaredeleted.Details

DeleteTag RemovesthenamedtagfromtheLabVIEWprojectitem.Details

GetAllDescendents ReturnsLabVIEWprojectitemsthataredescendentsofthereferenceditem.Ifyouspecifyavaluefortype,thismethodonlyreturnsprojectitemsofthespecifiedtype.Details

GetTag ReturnsatagvalueassociatedwiththeLabVIEWprojectitem.Details

GetTagNames ReturnsanarrayoftagnamesofalltagsonthereferencedLabVIEWprojectitem.Details

GetXMLTag ReturnsthevalueinanXMLtag.DetailsSetTag SetsatagvalueassociatedwiththeLabVIEW

project.DetailsSetXMLTag SetthevalueofanXMLtagassociatedwiththe

LabVIEWproject.Details

Page 256: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AddFileMethodInstalledWith:BasePackageClass:ProjectItemMethods(ActiveX)AddsafileatthespecifiedpathtotheLabVIEWprojectwiththereferencedprojectitemastheparent.

Page 257: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AddFile(path)

Page 258: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionpath String Pathtothefileyouwanttoadd.

Page 259: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueProjectItem*

Page 260: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AddItemMethodInstalledWith:BasePackageClass:ProjectItemMethods(ActiveX)AddsanewprojectitemofthespecifiedtypetotheLabVIEWprojectwiththereferenceditemastheparent.Thismethodreturnsanerrorifthespecifiedtypecannotbecreatedunderthecurrentitem.Themethodalsoreturnsanerrorwhenyoutrytoaddasharedvariabletoalibrarythatisnotopenedinaproject.

Page 261: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AddItem(name,path,type)

Page 262: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionname String Nameoftheprojectitemyouwanttoadd.path String Pathtotheprojectitemyouwanttoadd.type String Specifiestheprojectitemtype.Thefollowingvaluesare

themostcommontypevalues:VIFolderLibraryXControlEXEDLLSourceDistributionInstallerZipFileHyperlink

SomeofthevalueslistedabovearesupportedonlyoncertainLabVIEWDevelopmentSystems.Refertoni.com/labviewformoreinformationaboutLabVIEWDevelopmentSystems.

Todeterminethevalueoftypeforaprojectitemthatisnotlistedabove,usetheTypeStringpropertytoprogrammaticallyreturnthetypeoftheitem.Forcross-languagereasons,thisstringisalwaysinEnglish.

Page 263: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueProjectItem*

Page 264: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AddItemFromMemoryMethodInstalledWith:BasePackageClass:ProjectItemMethods(ActiveX)AddsanitemthatexistsinmemorytotheLabVIEWprojectwiththereferencedprojectitemastheparent.

Page 265: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AddItemFromMemory(name)

Page 266: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionname String Namethatexistsinmemory,suchasfoo.vi,oftheproject

itemyouwanttoadd.

Page 267: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueProjectItem*

Page 268: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DeleteMethodInstalledWith:BasePackageClass:ProjectItemMethods(ActiveX)RemovesthereferencedprojectitemfromtheLabVIEWproject.Iftheitemhaschildren,thechildrenalsoaredeleted.

Page 269: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Delete()

Page 270: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 271: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DeleteTagMethodInstalledWith:BasePackageClass:ProjectItemMethods(ActiveX)RemovesthenamedtagfromtheLabVIEWprojectitem.

Page 272: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.DeleteTag(tagName)

Page 273: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptiontagName String Nameofthetag.UsetheGetTagNamesmethodto

retrievethetagnames.

Page 274: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueBoolean

Page 275: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

GetAllDescendentsMethodInstalledWith:BasePackageClass:ProjectItemMethods(ActiveX)ReturnsLabVIEWprojectitemsthataredescendentsofthereferenceditem.Ifyouspecifyavaluefortype,thismethodonlyreturnsprojectitemsofthespecifiedtype.Thismethodreturnsaflatlistthatincludesalldescendentsunlessyouusethetype,excludeDependencies,excludeBuilds,andexcludeTargetsparameterstolimitwhatthemethodreturns.

Page 276: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.GetAllDescendents(type,[excludeDependencies],[excludeBuilds],[excludeTargets])

Page 277: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptiontype String Specifiestheprojectitemtype.The

followingvaluesarethemostcommontypevalues:

VIFolderLibraryXControlEXEDLLSourceDistributionInstallerZipFileHyperlink

SomeofthevalueslistedabovearesupportedonlyoncertainLabVIEWDevelopmentSystems.Refertoni.com/labviewformoreinformationaboutLabVIEWDevelopmentSystems.

Todeterminethevalueoftypeforaprojectitemthatisnotlistedabove,usetheTypeStringpropertytoprogrammaticallyreturnthetypeoftheitem.Forcross-languagereasons,thisstringisalwaysinEnglish.

excludeDependencies Boolean IfTRUE,doesnotreturnDependenciesoranyitemsunderDependencies.ThedefaultisFALSE.

excludeBuilds Boolean IfTRUE,doesnotreturnBuildSpecificationsoranyitemsunderBuildSpecifications.ThedefaultisFALSE.

Page 278: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

excludeTargets Boolean IfTRUE,doesnotreturnanytargetsoranyitemsundertargets.ThedefaultisFALSE.

Page 279: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValue1DarrayofProjectItems

Page 280: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

GetTagMethodInstalledWith:BasePackageClass:ProjectItemMethods(ActiveX)ReturnsatagvalueassociatedwiththeLabVIEWprojectitem.

Page 281: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.GetTag(tagName,value,[isPersistent])

Page 282: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptiontagName String Nameofthetag.UsetheGetTagNamesmethod

toretrievethetagnames.value variant Specifiesthetagvalueasavariant.isPersistent Boolean* ReturnsTRUEifLabVIEWsavesthetag

informationwhenyousavetheLabVIEWproject.ReturnsFALSEotherwise.

Page 283: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueBoolean

Page 284: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

GetTagNamesMethodInstalledWith:BasePackageClass:ProjectItemMethods(ActiveX)ReturnsanarrayoftagnamesofalltagsonthereferencedLabVIEWprojectitem.

Page 285: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.GetTagNames()

Page 286: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueArrayofstrings

Page 287: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

GetXMLTagMethodInstalledWith:BasePackageClass:ProjectItemMethods(ActiveX)ReturnsthevalueinanXMLtag.UsetheSetXMLTagmethodtosetthevalueinanXMLtag.

Page 288: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.GetXMLTag(tagName,[value],[isPersistent])

Page 289: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptiontagName String Nameofthetag.UsetheGetTagNamesmethod

toretrievethetagnames.value String* ReturnsthevalueoftheXMLtagasastring.isPersistent Boolean* ReturnsTRUEifLabVIEWsavesthetag

informationwhenyousavetheLabVIEWproject.ReturnsFALSEotherwise.

Page 290: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueBoolean

Page 291: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SetTagMethodInstalledWith:BasePackageClass:ProjectItemMethods(ActiveX)SetsatagvalueassociatedwiththeLabVIEWproject.

Page 292: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SetTag(tagName,value,[isPersistent])

Page 293: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptiontagName String Nameofthetag.UsetheGetTagNamesmethod

toretrievethetagnames.value variant Specifiesthetagvalueasavariant.isPersistent Boolean IfTRUE,LabVIEWsavesthetaginformation

whenyousavetheLabVIEWproject.ThedefaultisFALSE.

Page 294: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 295: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SetXMLTagMethodInstalledWith:BasePackageClass:ProjectItemMethods(ActiveX)SetthevalueofanXMLtagassociatedwiththeLabVIEWproject.

Page 296: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SetXMLTag(tagName,value,[isPersistent])

Page 297: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptiontagName String Nameofthetag.UsetheGetTagNamesmethod

toretrievethetagnames.value variant Specifiesthetagvalueasavariant.isPersistent Boolean IfTRUE,LabVIEWsavesthetaginformation

whenyousavetheLabVIEWproject.ThedefaultisFALSE.

Page 298: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 299: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ProjectItemProperties(ActiveX)InstalledWith:BasePackageInthefollowingtopics,anasterisk(*)attheendofadatatypenameindicatesthatthepropertyisapointer.

Property DescriptionChildren Returnsanarrayofreferencestoallchildrenof

thereferencedLabVIEWprojectitem.YoucanusethesereferenceswiththeProjectItemproperties.Details

ContainsConflicts ReturnsTRUEifthisitemoritemsbeneaththisitemintheprojecttreeareinconflict.Details

DisplayName Gets,asastring,thenameoftheLabVIEWprojectitemasthenameappearsintheLabVIEWProjectExplorerwindow.Details

FindCallers Returnsanarrayofreferencestoallprojectitemsthatreferencetheprojectitemyouselect.Details

FindConflicts Returnsanarrayofreferencestoallprojectitemsthatareinconflictwiththeprojectitemyouselect.Details

FindItemsWithNoCallers Returnsanarrayofreferencestoalltop-levelprojectitemsthatcallnootherprojectitems.Details

FindSubVIs ReturnsanarrayofreferencestoallprojectitemsthataresubVIsoftheitemyouselect.Details

Icon GetstheiconoftheprojectitemintheLabVIEWProjectExplorerwindowusingtheIconcluster,whichlimitssizeandcolordepth.Details

InConflict ReturnsTRUEifthereferencedLabVIEWprojectitemconflictswithanotheritemwithadifferentpathunderthesametarget.Details

ItemID GetstheitemIDofthereferencedLabVIEW

Page 300: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

projectitemasastring.YoucanusethisitemIDtouniquelyidentifythereferenceditemevenifthepath,name,orlocationintheLabVIEWProjectExplorerwindowchanges.Details

LibraryItemType GetsthetypeoftheLabVIEWprojectitemasitexistsintheprojectlibraryasaGUIDstring.UsetheLibraryItemTypeStringpropertytoreturnthetypeasahuman-readablestring.Details

LibraryItemTypeString ReturnsthetypeoftheLabVIEWprojectitemasitexistsintheprojectlibraryasastring.UsetheLibraryItemTypepropertytoreturnthetypeasaGUID.Details

Name GetsthenameofthereferencedLabVIEWprojectitemasitissavedinthefile.Details

Parent ReturnsareferencetotheparentofthereferencedLabVIEWprojectitem.YoucanusethisreferencewiththeProjectItemproperties.Details

Path GetsthepathofthereferencedLabVIEWprojectitem.Details

Project ReturnsareferencetotheLabVIEWprojecttowhichthereferencedprojectitembelongs.YoucanusethisreferencewiththeProjectproperties.Details

Target ReturnsareferencetothetargetthatcontainsthereferencedLabVIEWprojectitem.YoucanusethisreferencewiththeTargetItemproperties.Details

TypeGUID GetsthetypeoftheLabVIEWprojectitemasaGUIDstring.UsetheTypeStringpropertytoreturnthetypeasastring.Details

TypeString GetsthetypeoftheLabVIEWprojectitemasastring.UsetheTypeGUIDpropertytoreturnthetypeasaGUID.Details

Page 301: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VI IftheLabVIEWprojectitemreferstoaVI,thispropertyreturnsareferencetotheVI.Otherwise,thispropertyreturnsNULL.Details

VINoLoad IftheprojectitemreferstoaVIinmemory,thispropertyreturnsareferencetotheVI.IftheprojectitemreferstoaVInotinmemoryortosomethingthatisnotaVI,thispropertyreturnsNotaRefnum.YoucanusethisreferencewiththeVIproperties.Details

VisibleInTree IfTRUE,indicatesthattheLabVIEWProjectExplorerwindowisvisibleandancestorsoftheLabVIEWprojectitemareexpandedintheProjectExplorerwindowuptotherootoftheprojectitem.Details

Page 302: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ChildrenPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)ReturnsanarrayofreferencestoallchildrenofthereferencedLabVIEWprojectitem.YoucanusethesereferenceswiththeProjectItemproperties.

Page 303: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Children

Page 304: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataType1DarrayofProjectItems

Page 305: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ContainsConflictsPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)ReturnsTRUEifthisitemoritemsbeneaththisitemintheprojecttreeareinconflict.

Page 306: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ContainsConflicts

Page 307: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 308: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DisplayNamePropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)Gets,asastring,thenameoftheLabVIEWprojectitemasthenameappearsintheLabVIEWProjectExplorerwindow.

Page 309: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.DisplayName

Page 310: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 311: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FindCallersPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)Returnsanarrayofreferencestoallprojectitemsthatreferencetheprojectitemyouselect.

Page 312: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FindCallers

Page 313: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataType

Page 314: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FindConflictsPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)Returnsanarrayofreferencestoallprojectitemsthatareinconflictwiththeprojectitemyouselect.

Page 315: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FindConflicts

Page 316: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataType1DarrayofProjectItems

Page 317: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FindItemsWithNoCallersPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)Returnsanarrayofreferencestoalltop-levelprojectitemsthatcallnootherprojectitems.

Page 318: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FindItemsWithNoCallers

Page 319: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataType1DarrayofProjectItems

Page 320: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FindSubVIsPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)ReturnsanarrayofreferencestoallprojectitemsthataresubVIsoftheitemyouselect.

Page 321: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FindSubVIs

Page 322: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataType1DarrayofProjectItems

Page 323: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

IconPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)GetstheiconoftheprojectitemintheLabVIEWProjectExplorerwindowusingtheIconcluster,whichlimitssizeandcolordepth.

Page 324: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Icon

Page 325: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeImageData

Page 326: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

InConflictPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)ReturnsTRUEifthereferencedLabVIEWprojectitemconflictswithanotheritemwithadifferentpathunderthesametarget.

Page 327: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.InConflict

Page 328: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 329: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ItemIDPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)GetstheitemIDofthereferencedLabVIEWprojectitemasastring.YoucanusethisitemIDtouniquelyidentifythereferenceditemevenifthepath,name,orlocationintheLabVIEWProjectExplorerwindowchanges.

Page 330: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ItemID

Page 331: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 332: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LibraryItemTypePropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)GetsthetypeoftheLabVIEWprojectitemasitexistsintheprojectlibraryasaGUIDstring.UsetheLibraryItemTypeStringpropertytoreturnthetypeasahuman-readablestring.Iftheitemisnotpartofalibrary,thispropertyreturnsanerror.

Page 333: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.LibraryItemType

Page 334: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 335: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LibraryItemTypeStringPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)ReturnsthetypeoftheLabVIEWprojectitemasitexistsintheprojectlibraryasastring.UsetheLibraryItemTypepropertytoreturnthetypeasaGUID.ThispropertyisvalidonlyiftheLabVIEWprojectitemexistsinaprojectlibrary.

Page 336: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.LibraryItemTypeString

Page 337: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 338: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

NamePropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)GetsthenameofthereferencedLabVIEWprojectitemasitissavedinthefile.UsetheDisplayNamepropertytogetthenameasitappearsintheLabVIEWProjectExplorerwindow.

Page 339: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Name

Page 340: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 341: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParentPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)ReturnsareferencetotheparentofthereferencedLabVIEWprojectitem.YoucanusethisreferencewiththeProjectItemproperties.

Page 342: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Parent

Page 343: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeProjectItem*

Page 344: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PathPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)GetsthepathofthereferencedLabVIEWprojectitem.

Page 345: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Path

Page 346: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 347: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ProjectPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)ReturnsareferencetotheLabVIEWprojecttowhichthereferencedprojectitembelongs.YoucanusethisreferencewiththeProjectproperties.

Page 348: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Project

Page 349: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeProject*

Page 350: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

TargetPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)ReturnsareferencetothetargetthatcontainsthereferencedLabVIEWprojectitem.YoucanusethisreferencewiththeTargetItemproperties.

Page 351: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Target

Page 352: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeTargetItem*

Page 353: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

TypeGUIDPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)GetsthetypeoftheLabVIEWprojectitemasaGUIDstring.UsetheTypeStringpropertytoreturnthetypeasastring.

Page 354: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.TypeGUID

Page 355: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 356: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

TypeStringPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)GetsthetypeoftheLabVIEWprojectitemasastring.UsetheTypeGUIDpropertytoreturnthetypeasaGUID.

Page 357: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.TypeString

Page 358: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 359: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VIPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)IftheLabVIEWprojectitemreferstoaVI,thispropertyreturnsareferencetotheVI.Otherwise,thispropertyreturnsNULL.

NoteThispropertydoesnotrecordchangestotheVI.IfyouusethisreferenceforeditingtheVIyouwillnotbepromptedtosavewhenthereferencecloses.

Page 360: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.VI

Page 361: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeVirtualInstrument*

Page 362: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VINoLoadPropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)IftheprojectitemreferstoaVIinmemory,thispropertyreturnsareferencetotheVI.IftheprojectitemreferstoaVInotinmemoryortosomethingthatisnotaVI,thispropertyreturnsNotaRefnum.YoucanusethisreferencewiththeVIproperties.

Page 363: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.VINoLoad

Page 364: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeVIObjRef

Page 365: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VisibleInTreePropertyInstalledWith:BasePackageClass:ProjectItemProperties(ActiveX)IfTRUE,indicatesthattheLabVIEWProjectExplorerwindowisvisibleandancestorsoftheLabVIEWprojectitemareexpandedintheProjectExplorerwindowuptotherootoftheprojectitem.

Page 366: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.VisibleInTree

Page 367: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 368: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LibraryPropertiesandMethodsThisbookcontainsthepropertyandmethodreferenceinformationfortheLibraryclass.

Page 369: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LibraryMethods(ActiveX)InstalledWith:BasePackageInheritsfromProjectItem.UsethesemethodstoconfigureLabVIEWprojectlibraries.

Method DescriptionDeleteLibTag DeletesatagfromtheLabVIEWprojectlibrary.

DetailsDisconnectFromLibrary DisconnectsaLabVIEWprojectlibrarythatisa

sublibraryofanotherprojectlibraryfromtheowningprojectlibrary.Details

GetLibTag RetrievesatagsetontheLabVIEWprojectlibrary.Details

GetLockState ReturnsthelockstateoftheLabVIEWprojectlibraryandindicateswhetherthepasswordfortheprojectlibraryisinthepasswordcache.Details

GetSourceScope RetrievestheaccessscopeforanitemthattheLabVIEWprojectlibraryowns,suchaspublicorprivateaccess.Details

GetTagNames RetrievesalistofnamesforalltagssetontheLabVIEWprojectlibrary.Details

HiliteInProjectWindow DisplaysthislibraryinaProjectExplorerwindow.IfthelibraryisalreadyinaProjectExplorerwindow,thismethoddisplaystheProjectExplorerwindowandsetsfocustothelibraryiteminthewindow.Ifthelibraryisalreadyinastand-aloneprojectlibrarywindowforwhichthelibraryistherootitem,thismethoddisplaysthestand-aloneprojectlibrarywindow.Ifthelibraryisnotinanywindow,thismethodopensastand-aloneprojectlibrarywindowcontainingthelibrary.Details

Save SavestheLabVIEWprojectlibraryfile.Youalsocanright-clicktheprojectlibraryintheLabVIEW

Page 370: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ProjectExplorerwindowandselectSaveAsfromtheshortcutmenutosavetheprojectlibraryfile.Details

SaveCopy SavesacopyoftheLabVIEWprojectlibraryfile.Details

SaveForPrevious SavesacopyoftheLabVIEWprojectlibrarythatisreadablebyLabVIEWversion8.0andlater.Details

SetLibTag SetsatagontheLabVIEWprojectlibrary.Details

SetLockState SetsthelevelofeditingpermissionforaLabVIEWprojectlibrary,includingthepassword.Details

SetSourceScope SetstheaccessscopeofanitemthattheLabVIEWprojectlibraryowns,suchaspublicorprivateaccess.Details

Page 371: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DeleteLibTagMethodInstalledWith:BasePackageClass:LibraryMethods(ActiveX)DeletesatagfromtheLabVIEWprojectlibrary.

Page 372: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.DeleteLibTag(tagName,[itemRef])

Page 373: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptiontagName String Nameofthetag.UsetheGetTagNamesmethod

toretrievethetagnames.itemRef ProjectItem* ReferencetotheProjectLibraryItem.

Page 374: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueBoolean

Page 375: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DisconnectFromLibraryMethodInstalledWith:BasePackageClass:LibraryMethods(ActiveX)DisconnectsaLabVIEWprojectlibrarythatisasublibraryofanotherprojectlibraryfromtheowningprojectlibrary.

Page 376: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.DisconnectFromLibrary()

Page 377: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 378: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

GetLibTagMethodInstalledWith:BasePackageClass:LibraryMethods(ActiveX)RetrievesatagsetontheLabVIEWprojectlibrary.

Page 379: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.GetLibTag(tagName,[value],[isPersistent],[itemRef])

Page 380: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptiontagName String Nameofthetag.UsetheGetTagNames

methodtoretrievethetagnames.value variant Returnsthevalueofthetag.isPersistent Boolean* ReturnsTRUEifLabVIEWsavesthetag

informationwhenyousavetheLabVIEWproject.ReturnsFALSEotherwise.

itemRef ProjectItem* ReferencetotheProjectLibraryItem.

Page 381: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueBoolean

Page 382: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

GetLockStateMethodInstalledWith:BasePackageClass:LibraryMethods(ActiveX)ReturnsthelockstateoftheLabVIEWprojectlibraryandindicateswhetherthepasswordfortheprojectlibraryisinthepasswordcache.ThismethodissimilartotheProtectionboxontheGeneralSettingspageoftheProjectLibraryPropertiesdialogbox.

Page 383: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.GetLockState([pwdInCache])

Page 384: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionpwdInCache Boolean

byrefIndicateswhetherthepasswordiscurrentlyinthepasswordcache.

Page 385: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueVILockStateEnum

Page 386: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

GetSourceScopeMethodInstalledWith:BasePackageClass:LibraryMethods(ActiveX)RetrievestheaccessscopeforanitemthattheLabVIEWprojectlibraryowns,suchaspublicorprivateaccess.

Page 387: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.GetSourceScope(sourceRef,[inherited])

Page 388: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionsourceRef ProjectItem* Referencetotheitemintheprojectlibraryfor

whichyouwanttoretrievescope.inherited Boolean Indicateswhetherthespecifieditemis

inherited.

Page 389: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueLibraryItemScopeEnum

Page 390: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

GetTagNamesMethodInstalledWith:BasePackageClass:LibraryMethods(ActiveX)RetrievesalistofnamesforalltagssetontheLabVIEWprojectlibrary.

Page 391: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.GetTagNames([itemRef])

Page 392: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionitemRef ProjectItem* ReferencetotheProjectLibraryItem.

Page 393: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueArrayofstrings

Page 394: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

HiliteInProjectWindowMethodInstalledWith:BasePackageClass:LibraryMethods(ActiveX)DisplaysthislibraryinaProjectExplorerwindow.IfthelibraryisalreadyinaProjectExplorerwindow,thismethoddisplaystheProjectExplorerwindowandsetsfocustothelibraryiteminthewindow.Ifthelibraryisalreadyinastand-aloneprojectlibrarywindowforwhichthelibraryistherootitem,thismethoddisplaysthestand-aloneprojectlibrarywindow.Ifthelibraryisnotinanywindow,thismethodopensastand-aloneprojectlibrarywindowcontainingthelibrary.

Page 395: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.HiliteInProjectWindow()

Page 396: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 397: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SaveMethodInstalledWith:BasePackageClass:LibraryMethods(ActiveX)SavestheLabVIEWprojectlibraryfile.Youalsocanright-clicktheprojectlibraryintheLabVIEWProjectExplorerwindowandselectSaveAsfromtheshortcutmenutosavetheprojectlibraryfile.

Page 398: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Save([path])

Page 399: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionpath String PathtotheLabVIEWprojectlibraryfile.

Page 400: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 401: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SaveCopyMethodInstalledWith:BasePackageClass:LibraryMethods(ActiveX)SavesacopyoftheLabVIEWprojectlibraryfile.

Page 402: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SaveCopy(destDir,[newName],[newLibPath])

Page 403: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptiondestDir String Specifiesthedestinationdirectoryforthecopyof

theprojectlibrary.newName String Specifiesthenameofthecopyoftheprojectlibrary.newLibPath String Returnsthepathtothecopyoftheprojectlibrary.

Page 404: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 405: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SaveForPreviousMethodInstalledWith:BasePackageClass:LibraryMethods(ActiveX)SavesacopyoftheLabVIEWprojectlibrarythatisreadablebyLabVIEWversion8.0andlater.

Page 406: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SaveForPrevious(Path)

Page 407: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionPath Path

controlPathtothedirectorywhereyouwanttosavetheLabVIEWprojectlibrary.

Page 408: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 409: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SetLibTagMethodInstalledWith:BasePackageClass:LibraryMethods(ActiveX)SetsatagontheLabVIEWprojectlibrary.

Page 410: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SetLibTag(tagName,[value],[isPersistent],[itemRef])

Page 411: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptiontagName String Nameofthetag.UsetheGetTagNames

methodtoretrievethetagnames.value variant Specifiesthevalueofthetag.isPersistent Boolean* ReturnsTRUEifLabVIEWsavesthetag

informationwhenyousavetheLabVIEWproject.ReturnsFALSEotherwise.

itemRef ProjectItem* ReferencetotheProjectLibraryItem.

Page 412: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 413: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SetLockStateMethodInstalledWith:BasePackageClass:LibraryMethods(ActiveX)SetsthelevelofeditingpermissionforaLabVIEWprojectlibrary,includingthepassword.ThismethodissimilartotheProtectionboxontheGeneralSettingspageoftheLabVIEWProjectLibraryPropertiesdialogbox.

Page 414: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SetLockState(lockState,[Interactive],[Password],[putInCache])

Page 415: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionlockState VILockStateEnum Lockstate.Interactive Boolean Specifieswhethertodisplayadialog

boxthatpromptsyoutochangethelockstate.ThedefaultisFALSE.

Password String IflockStateisPassword-protected,Passwordisthenewpassword.IfyouarechanginglockStatefromPassword-protected,Passwordistheoldpassword.Thedefaultisanemptystring.

putInCache Boolean IflockStateisPassword-protected,putinCachespecifieswhethertoplacethenewpasswordinthecache.ThedefaultisFALSE.

Page 416: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 417: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SetSourceScopeMethodInstalledWith:BasePackageClass:LibraryMethods(ActiveX)SetstheaccessscopeofanitemthattheLabVIEWprojectlibraryowns,suchaspublicorprivateaccess.ThismethodissimilartotheAccessScopeboxontheItemSettingspageoftheLabVIEWProjectLibraryPropertiesdialogbox.

Page 418: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SetSourceScope(sourceRef,[scope])

Page 419: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionsourceRef ProjectItem* Referencetotheitemintheproject

libraryforwhichyouwanttosetscope.

scope LibraryItemScopeEnum Specifiestheaccesssettingfortheitem.

Public—Theitemisvisiblewhenusersviewtheprojectlibrary.OtherVIsandapplicationscancallpublicVIs.Private—Theitemdoesnotappearvisiblewhenusersviewtheprojectlibraryorpalettesifyoulocktheprojectlibrary.OtherVIsandapplicationsthattheprojectlibrarydoesnotowncannotcallaprivateVI.

Page 420: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 421: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LibraryProperties(ActiveX)InstalledWith:BasePackageInheritsfromProjectItem.UsethesepropertiestoconfigureLabVIEWprojectlibraries.

Property DescriptionAlarmsEventsDBComputer Specifiesthenameofthecomputer

wherethealarmsandeventsdatabaseresides.Details

AlarmsEventsDBName SpecifiesthenameofthedatabasewheretheLabVIEWSharedVariableEnginelogsalarmsandevents.Details

AlarmsEventsDBPath SpecifiesthefilepathtothedatabasewheretheLabVIEWSharedVariableEnginelogsalarmsandevents.Details

AlarmsEventsEnable EnablesalarmsandeventsloggingcapabilityifsettoTRUE.Details

AlarmsEventsUseDataLoggingDB Setsthealarmsandeventsdatabasetobethesameasthedatabasethatlogsdata.IfsettoTRUE,LabVIEWignorespropertiessetontheAlarmsEventsdatabase.Details

DataLoggingDBComputer Specifiesthenameofthecomputerwherethedatabaseresides.Details

DataLoggingDBName SpecifiesthenameofthedatabasewheretheLabVIEWSharedVariableEnginelogsdata.Details

DataLoggingDBPath SpecifiesthefilepathtothedatabasewheretheLabVIEWSharedVariableEnginelogsdata.Details

DataLoggingEnable EnablesdataloggingcapabilityifsettoTRUE.Details

Page 422: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataLoggingLifespan Setsthelifespan(indays)oftheloggeddatainthedatabase.Ifvalueis0,thendataisalwaysavailable,otherwisethedatabasecandestroydataafterthenumberofspecifieddays.Details

Description SpecifiesthedescriptionoftheLabVIEWprojectlibraryfortheContextHelpwindow.Details

HelpDocumentPath PathorsymbolicpathtoanHTMLfile(.htmor.html)orcompiledhelpfile(.chmor.hlp)towhichtheLabVIEWprojectlibraryislinked.Details

HelpDocumentTag IndexkeywordorHTMLfilenameforatopicinthecompiledhelpfiletowhichtheLabVIEWprojectlibraryislinked.TolinktoabookmarkwithinanHTMLfile,add#followedbythenameofthebookmarktotheendofthefilename.Details

LocalName Thelocalizednameoftheitem.Details

Version TheversionnumberoftheLabVIEWprojectlibrary.Details

Page 423: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AlarmsEventsDBComputerPropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)Specifiesthenameofthecomputerwherethealarmsandeventsdatabaseresides.

Page 424: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AlarmsEventsDBComputer

Page 425: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 426: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AlarmsEventsDBNamePropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)SpecifiesthenameofthedatabasewheretheLabVIEWSharedVariableEnginelogsalarmsandevents.

Page 427: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AlarmsEventsDBName

Page 428: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 429: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AlarmsEventsDBPathPropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)SpecifiesthefilepathtothedatabasewheretheLabVIEWSharedVariableEnginelogsalarmsandevents.

Page 430: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AlarmsEventsDBPath

Page 431: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 432: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AlarmsEventsEnablePropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)EnablesalarmsandeventsloggingcapabilityifsettoTRUE.

Page 433: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AlarmsEventsEnable

Page 434: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 435: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AlarmsEventsUseDataLoggingDBPropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)Setsthealarmsandeventsdatabasetobethesameasthedatabasethatlogsdata.IfsettoTRUE,LabVIEWignorespropertiessetontheAlarmsEventsdatabase.

Page 436: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AlarmsEventsUseDataLoggingDB

Page 437: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 438: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataLoggingDBComputerPropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)Specifiesthenameofthecomputerwherethedatabaseresides.

Page 439: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.DataLoggingDBComputer

Page 440: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 441: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataLoggingDBNamePropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)SpecifiesthenameofthedatabasewheretheLabVIEWSharedVariableEnginelogsdata.

Page 442: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.DataLoggingDBName

Page 443: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 444: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataLoggingDBPathPropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)SpecifiesthefilepathtothedatabasewheretheLabVIEWSharedVariableEnginelogsdata.

Page 445: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.DataLoggingDBPath

Page 446: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 447: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataLoggingEnablePropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)EnablesdataloggingcapabilityifsettoTRUE.

Page 448: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.DataLoggingEnable

Page 449: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 450: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataLoggingLifespanPropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)Setsthelifespan(indays)oftheloggeddatainthedatabase.Ifvalueis0,thendataisalwaysavailable,otherwisethedatabasecandestroydataafterthenumberofspecifieddays.Thedatabaseonlydiscardsdataifnewdataislogged.ThispropertyaffectsalldatafromtheLabVIEWprojectlibrarystoredinthedatabase,notjustthemostrecentdata.Forexample,ifyousetthispropertytofourdaysandyouhavethreedaysofdata,thedatabasedoesnotdestroyanydata.However,ifyousetthissamepropertytotwodaysfromfourdaysandyouhavethreedaysofdata,thedatabasecandestroyanydatacollectedmorethantwodaysago.

Page 451: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.DataLoggingLifespan

Page 452: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeLong

Page 453: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DescriptionPropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)SpecifiesthedescriptionoftheLabVIEWprojectlibraryfortheContextHelpwindow.IfyouwanttodisplayacarriagereturnintheLabVIEWContextHelpwindow,youmustseparateparagraphswithtwocarriagereturns.

Page 454: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Description

Page 455: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 456: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

HelpDocumentPathPropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)PathorsymbolicpathtoanHTMLfile(.htmor.html)orcompiledhelpfile(.chmor.hlp)towhichtheLabVIEWprojectlibraryislinked.Ifthepathistoacompiledhelpfile,usetheHelpDocumentTagpropertytodeterminethespecifictopicinthathelpfile.ThispropertyissimilartotheHelppathtextboxontheDocumentationpageoftheLabVIEWProjectLibraryPropertiesdialogbox.

Page 457: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.HelpDocumentPath

Page 458: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 459: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

HelpDocumentTagPropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)IndexkeywordorHTMLfilenameforatopicinthecompiledhelpfiletowhichtheLabVIEWprojectlibraryislinked.TolinktoabookmarkwithinanHTMLfile,add#followedbythenameofthebookmarktotheendofthefilename.UsethispropertyonlywhenHelpDocumentPathisapathtoacompiledhelpfile(.chmor.hlp).For.chmfiles,thispropertycanbeanHTMLfilenameorindexkeyword.For.hlpfiles,thispropertycanbeanindexkeyword.ThispropertyissimilartotheHelptagtextboxontheDocumentationpageoftheLabVIEWProjectLibraryPropertiesdialogbox.

Page 460: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.HelpDocumentTag

Page 461: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 462: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LocalNamePropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)Thelocalizednameoftheitem.ThispropertyissimilartotheLocalizedNametextboxontheDocumentationpageoftheLabVIEWProjectLibraryPropertiesdialogbox.

Page 463: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.LocalName

Page 464: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 465: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VersionPropertyInstalledWith:BasePackageClass:LibraryProperties(ActiveX)TheversionnumberoftheLabVIEWprojectlibrary.ThispropertyissimilartotheVersionNumbercomponentontheGeneralSettingspageoftheLabVIEWProjectLibraryPropertiesdialogbox.

Page 466: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Version

Page 467: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeLVLibraryVersion

Page 468: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

XInterfaceLibraryPropertiesandMethodsThisbookcontainsthepropertyandmethodreferenceinformationfortheXInterfaceLibraryclass.

Page 469: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

XInterfaceLibraryMethods(ActiveX)InstalledWith:BasePackageInheritsfromProjectItem»Library.

Method DescriptionAddAbility Createsanewabilityofthespecifiedtype.DetailsAddMethod Createsanewmethod.DetailsNewProperty Createsanewpropertyfolderandreturnsareferenceto

it.Details

Page 470: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AddAbilityMethodInstalledWith:BasePackageClass:XInterfaceLibraryMethods(ActiveX)Createsanewabilityofthespecifiedtype.

Page 471: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AddAbility(name,[viPath],[folder])

Page 472: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionname String Namefortheabilityyouwanttocreate.viPath path IfyouspecifyviPath,LabVIEWusesanexistingVI

fortheability.IfyoudonotspecifyviPath,LabVIEWcreatesanewVIfortheability.

folder ProjectItem* Createstheabilityinthespecifiedfolder.

Page 473: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueProjectItem*

Page 474: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AddMethodMethodInstalledWith:BasePackageClass:XInterfaceLibraryMethods(ActiveX)Createsanewmethod.

Page 475: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AddMethod([viPath],[folder])

Page 476: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionviPath path IfyouspecifyviPath,LabVIEWusesanexistingVI

forthemethod.IfyoudonotspecifyviPath,LabVIEWcreatesanewVIforthemethod.

folder ProjectItem* Createsthemethodinthespecifiedfolder.

Page 477: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueProjectItem*

Page 478: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

NewPropertyMethodInstalledWith:BasePackageClass:XInterfaceLibraryMethods(ActiveX)Createsanewpropertyfolderandreturnsareferencetoit.

Page 479: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.NewProperty(name,folder)

Page 480: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionname String Nameofthenewpropertyfoldertocreate.folder ProjectItem* Folderinwhichtocreatethenewpropertyfolder.

Page 481: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuePropertyFolder*

Page 482: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

XInterfaceLibraryProperties(ActiveX)InstalledWith:BasePackageInheritsfromProjectItem»Library.Nopropertiesarespecifictothisclass.

Page 483: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PropertyFolderPropertiesandMethodsThisbookcontainsthepropertyandmethodreferenceinformationforthePropertyFolderclass.

Page 484: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PropertyFolderMethods(ActiveX)InstalledWith:BasePackageInheritsfromProjectItem.

Method DescriptionAddPropertyVI CreatesanewreadorwritepropertyVIifyoudonotset

viPath.IfyousetviPath,LabVIEWusesanexistingVIasapropertyVI.Details

Page 485: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AddPropertyVIMethodInstalledWith:BasePackageClass:PropertyFolderMethods(ActiveX)CreatesanewreadorwritepropertyVIifyoudonotsetviPath.IfyousetviPath,LabVIEWusesanexistingVIasapropertyVI.

Page 486: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AddPropertyVI([read],[viPath])

Page 487: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionread Boolean IfTRUE,createsareadpropertyVI.IfFALSE,creates

awritepropertyVI.ThedefaultisTRUE.viPath path PathtothepropertyVI.Thisparameterisoptional.If

youspecifyapath,LabVIEWusesanexistingVIasapropertyVI.

Page 488: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueProjectItem*

Page 489: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

XPropertyFolderPropertiesandMethodsThisbookcontainsthepropertyandmethodreferenceinformationfortheXPropertyFolderclass.

Page 490: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

XPropertyFolderProperties(ActiveX)InstalledWith:BasePackageInheritsfromProjectItem»PropertyFolder.

Property DescriptionDescription Setsorgetsthedescriptionofthepropertyfolder.DetailsHelpTag Setsorgetsthehelptagofthepropertyfolder.DetailsIdentifier Setsorgetsthepropertyidentifierofthepropertyfolder.

DetailsLongName Setsorgetsthelongnameofthepropertyfolder.Details

Page 491: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DescriptionPropertyInstalledWith:BasePackageClass:XPropertyFolderProperties(ActiveX)Setsorgetsthedescriptionofthepropertyfolder.

Page 492: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Description

Page 493: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 494: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

HelpTagPropertyInstalledWith:BasePackageClass:XPropertyFolderProperties(ActiveX)Setsorgetsthehelptagofthepropertyfolder.

Page 495: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.HelpTag

Page 496: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 497: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

IdentifierPropertyInstalledWith:BasePackageClass:XPropertyFolderProperties(ActiveX)Setsorgetsthepropertyidentifierofthepropertyfolder.

Page 498: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Identifier

Page 499: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 500: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LongNamePropertyInstalledWith:BasePackageClass:XPropertyFolderProperties(ActiveX)Setsorgetsthelongnameofthepropertyfolder.

Page 501: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.LongName

Page 502: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 503: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

XPropertyFolderMethods(ActiveX)InstalledWith:BasePackageInheritsfromProjectItem»PropertyFolder.Nomethodsarespecifictothisclass.

Page 504: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

TargetItemPropertiesandMethodsThisbookcontainsthepropertyandmethodreferenceinformationfortheTargetItemclass.

Page 505: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

TargetItemMethods(ActiveX)InstalledWith:BasePackageInheritsfromProjectItem.

Method DescriptionRefreshDependencies RefreshesDependenciesunderthistargetinthe

LabVIEWProjectExplorerwindow.YoualsocanusetheProjectExplorerwindowtorefreshdependencies.Details

Page 506: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

RefreshDependenciesMethodInstalledWith:BasePackageClass:TargetItemMethods(ActiveX)RefreshesDependenciesunderthistargetintheLabVIEWProjectExplorerwindow.YoualsocanusetheProjectExplorerwindowtorefreshdependencies.

Page 507: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.RefreshDependencies()

Page 508: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 509: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

TargetItemProperties(ActiveX)InstalledWith:BasePackageInheritsfromProjectItem.Inthefollowingtopics,anasterisk(*)attheendofadatatypenameindicatesthatthepropertyisapointer.

Property DescriptionBuildSpecifications ReturnsareferencetoBuildSpecificationsunder

thecurrenttargetintheLabVIEWProjectExplorerwindow.YoucanusethisreferencewiththeProjectItemproperties.Details

Dependencies ReturnsareferencetoDependenciesunderthecurrenttargetintheLabVIEWProjectExplorerwindow.YoucanusethisreferencewiththeProjectItemproperties.Details

Page 510: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

BuildSpecificationsPropertyInstalledWith:BasePackageClass:TargetItemProperties(ActiveX)ReturnsareferencetoBuildSpecificationsunderthecurrenttargetintheLabVIEWProjectExplorerwindow.YoucanusethisreferencewiththeProjectItemproperties.

Page 511: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.BuildSpecifications

Page 512: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeProjectItem*

Page 513: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DependenciesPropertyInstalledWith:BasePackageClass:TargetItemProperties(ActiveX)ReturnsareferencetoDependenciesunderthecurrenttargetintheLabVIEWProjectExplorerwindow.YoucanusethisreferencewiththeProjectItemproperties.

Page 514: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Dependencies

Page 515: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeProjectItem*

Page 516: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VIPropertiesandMethodsThisbookcontainsthepropertyandmethodreferenceinformationfortheVIclass.

Page 517: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VIMethods(ActiveX)InstalledWith:BasePackageAVirtualInstrumentobjectexportsmethodsthataffectagivenVI.AVirtualInstrumentobjectisinstantiatedbyinvokingtheGetVIReferencemethodontheApplicationobject.

NoteMethodsparametersdenotedby[]areoptionalforthatmethod.

RefertoActiveXEnumerationsformoreinformationaboutenumerationsusedinvariousproperties.

Method DescriptionAbort AbortstheVIexecution.DetailsCall CallstheVIasasubVI.DetailsCall2 CallstheVIasasubVI.Optionally,you

canopenthefrontpaneloftheVIandcloseitafterthecallisover.YoualsocansuspendtheVIwhencalled.Details

CenterFrontPanel SpecifieswhethertoautomaticallycentertheLabVIEWfrontpanelwindowonthecomputerscreen.Details

CloseFrontPanel ClosestheLabVIEWfrontpanelwindow.Details

DisconnectFromLibrary DisconnectstheVIfromtheowningLabVIEWprojectlibrary.Details

ExportVIStrings ExportsthefollowingstringsaboutVIandLabVIEWfrontpanelobjectstoataggedtextfile:VInameanddescription,objectcaptionlabels,objectfreelabels,defaultdata(string,table,path,andarraydefaultdata),privatedata(listboxitemnames,tablerowandcolumnheaders,graphplotnames,graphcursornames,graphannotationnames,andtabcontrolpagecaptions),andpolymorphicVIdata(instance

Page 518: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

namesinthepolymorphicVIandselectorshortcutmenus).Details

FPGetRuntimePos ReturnsthepositionoftheLabVIEWwindowatruntime.Details

FPRunTimePosRunCentered SetsaVItocenteritsfrontpaneleverytimetheVIruns.Details

FPRunTimePosRunCustom SetsacustompositionfortheVItomoveitsfrontpaneltoeverytimetheVIruns.Details

FPRunTimePosRunMax SetsaVItomaximizeitsfrontpaneleverytimetheVIruns.Details

FPRunTimePosRunMin SetsaVItominimizeitsfrontpaneleverytimetheVIruns.Details

FPRunTimePosRunUnchanged SetstheVItonotmoveitsfrontpanelwhentheVIruns.Details

GenerateCCodeVariant Containsthecodegenerationattributes(name,valuepairs)thatdeterminehowtheLabVIEWCCodeGeneratorgeneratestheCcodefromtheblockdiagram.Anyattributesyoudonotsetusethedefaultbehavior.Details

GetControlValue GetsthevalueofthenamedLabVIEWcontrolorindicatorasvariantdata.UsetheLabVIEWVarianttoDatafunctiontoconvertthedatatoanotherLabVIEWdatatype.Details

GetLockState ReturnsthelockstateoftheVIandindicateswhetherthepasswordfortheVIisinthepasswordcache.Details

ImportVIStrings ImportsthefollowingstringsaboutVIandLabVIEWfrontpanelobjectsfromataggedtextfile:VInameanddescription,objectcaptionlabels,objectfreelabels,defaultdata(string,table,path,andarraydefaultdata),privatedata(listboxitemnames,tablerowand

Page 519: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

columnheaders,graphplotnames,graphcursornames,graphannotationnames,andtabcontrolpagecaptions),andpolymorphicVIdata(instancenamesinthepolymorphicVIandselectorshortcutmenus).Details

MakeCurValueDefault ChangesthedefaultsofallcontrolsontheLabVIEWfrontpaneltobethecurrentvalues.Thismethodisavailableonlyineditmode.Details

OpenFrontPanel OpenstheLabVIEWfrontpanelwindow.Ifthefrontpanelisalreadyopen,thismethodchangesthestateofthefrontpanelwindowtothestateyouwiretothismethod.UsetheCloseFrontPanelmethodtoclosethefrontpanelwindow.YoualsocanusetheFPStatepropertytosetthestateofafrontpanelwindowthatisalreadyopen.Details

PrintPanel PrintsjusttheLabVIEWfrontpaneltothecurrentprinter.Youcannotusethismethodtoprintablockdiagram,listofcontrols,orpolymorphicVIfrontpanel.Details

PrintVIToHTML SavestheVIinformationtoanHTMLfileandsavesthegraphicsinexternalfiles.Details

PrintVIToPrinter PrintstheVIinformationtoaprinter.Ifyouusethismethodinastand-aloneapplicationorDLL,LabVIEWprintsonlythefrontpanel.Details

PrintVIToRTF SavestheVIinformationtoanRTFfile.Details

PrintVIToText SavestheVIinformationtoatextfile.Youcannotsavetheicon,connector

Page 520: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

pane,frontpanel,blockdiagram,subVIicons,andVIhierarchytotext.Details

ReinitializeAllToDefault ChangesthecurrentvaluesofallcontrolsontheLabVIEWfrontpaneltotheirdefaults.Details

Revert DiscardschangesandreloadsaVIfromdisk.Details

Run StartstheVIexecution,similartotheRunbuttoninLabVIEW.ThismethodisdifferentthancallingaVIbecauseitusesthecurrentvaluesofallfrontpanelcontrolsforexecutionratherthanusingdatapassedinthroughparameters.ThismethodalsoignorestheShowFPOnCallpropertyofaVIandtheCloseFPAfterCallproperty.YoucannotusethismethodtorunaVIthatisalreadyreservedforexecutionbyanotherVI.Details

SaveForPrevious SavesacopyoftheVIthatisreadablebyLabVIEWversion8.0andlater.Details

SaveInstrument SavesaVIandsynchronizestheVIwiththeeditedversioninotherapplicationinstancesbeforesaving.Details

SaveRunTimeMenu SavestheLabVIEWrun-timemenutoafilespecifiedbyfilePath.ThismethodworksonlywhentheVIisrunning.Itsavesonlymenuitemswithvalidtags.Details

SetControlValue SetsthevalueofanamedLabVIEWcontrolorindicator.Details

SetLockState SetsthelockstateofaVI.IfInteractiveisFALSE(default),youcanusePasswordtounlockapassword-

Page 521: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

protectedVIorsetthepasswordofanunprotectedVI.IfInteractiveisTRUE,LabVIEWignoresPasswordanddisplaysadialogboxthatpromptsyoutochangethelockstate.Details

SetVIIcon SetstheimageofaVIiconfromafile.Details

Page 522: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AbortMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)AbortstheVIexecution.ThismethodissimilartotheAbortExecutionbuttonontheLabVIEWtoolbar.

Page 523: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Abort()

Page 524: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueBoolean

Page 525: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

CallMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)CallstheVIasasubVI.

Page 526: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Call([paramNames],[paramVals])

Page 527: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionparamNames arrayof

stringsbyref

NamesoftheLabVIEWfrontpanelobjectsthatactasinputandoutputparameterstothecall.

paramVals arrayofvariantsbyref

InputvaluesfortheinputparametersandreturnvaluesfromtheoutputparametersintheorderinwhichthenameswerespecifiedinparamNames.Designatesthefrontpanelobjectvaluesfortheinputparameters.Thevaluesofparameterscanbenumeric,Boolean,string,orarray.AclusterinLabVIEWisrepresentedasanarrayofvariantsinActiveX.

Page 528: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 529: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Call2MethodInstalledWith:BasePackageClass:VIMethods(ActiveX)CallstheVIasasubVI.Optionally,youcanopenthefrontpaneloftheVIandcloseitafterthecallisover.YoualsocansuspendtheVIwhencalled.

Page 530: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Call2([paramNames],[paramVals],[openFP],[closeFPAfterCall],[suspendOnCall])

Page 531: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionparamNames arrayof

stringsbyref

NamesoftheLabVIEWfrontpanelobjectsthatactasinputandoutputparameterstothecall.

paramVals arrayofvariantsbyref

InputvaluesfortheinputparametersandreturnvaluesfromtheoutputparametersintheorderinwhichthenameswerespecifiedinparamNames.Designatesthefrontpanelobjectvaluesfortheinputparameters.Thevaluesofparameterscanbenumeric,Boolean,string,orarray.AclusterinLabVIEWisrepresentedasanarrayofvariantsinActiveX.

openFP Boolean OpenfrontpaneloftheVIcloseFPAfterCall Boolean ClosefrontpaneloftheVIafterthecallifit

wasnotalreadyopen.suspendOnCall Boolean SuspendtheVI(Pausetheexecution)on

call.

Page 532: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 533: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

CenterFrontPanelMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SpecifieswhethertoautomaticallycentertheLabVIEWfrontpanelwindowonthecomputerscreen.

Page 534: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.CenterFrontPanel()

Page 535: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 536: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

CloseFrontPanelMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)ClosestheLabVIEWfrontpanelwindow.UsetheOpenFrontPanelmethodtoopenafrontpanelwindow.

Page 537: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.CloseFrontPanel()

Page 538: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 539: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DisconnectFromLibraryMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)DisconnectstheVIfromtheowningLabVIEWprojectlibrary.

Page 540: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.DisconnectFromLibrary()

Page 541: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 542: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ExportVIStringsMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)ExportsthefollowingstringsaboutVIandLabVIEWfrontpanelobjectstoataggedtextfile:VInameanddescription,objectcaptionlabels,objectfreelabels,defaultdata(string,table,path,andarraydefaultdata),privatedata(listboxitemnames,tablerowandcolumnheaders,graphplotnames,graphcursornames,graphannotationnames,andtabcontrolpagecaptions),andpolymorphicVIdata(instancenamesinthepolymorphicVIandselectorshortcutmenus).

Page 543: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ExportVIStrings(stringFile,[interactive],[logFile],[captions],[diagram])

Page 544: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionstringFile String PathoftheVIstringsfileincludingthefilename.If

youdonotenterafilename,setinteractivetoTRUEsotheusercansettheVIstringsfilename.

interactive Boolean SpecifieswhethertodisplaythefiledialogboxtoselectthenameoftheVIstringsfile.ThedefaultvalueisFALSE.

logFile String PathofthelogfilecreatedtolisterrorsthatoccurredwhileexportingVIstringstoataggedtextfile.Thedefaultisnologging.

captions Boolean Specifieswhethercontrolcaptionsshouldbeautomaticallycreated.ThedefaultvalueisFALSE.

diagram Boolean Specifieswhethertoexportblockdiagramstrings.ThedefaultvalueisFALSE.

Page 545: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 546: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPGetRuntimePosMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)ReturnsthepositionoftheLabVIEWwindowatruntime.Forsingle-panefrontpanels,minimumsizereferstothecontentareaofthatpane,notincludingthescrollbars.Formulti-panefrontpanels,minimumsizereferstotheentirefrontpanel,includinganyvisiblescrollbars.

Page 547: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPGetRuntimePos([type],[position],[size],[monitor],[useCurPos],[useCurSize])

Page 548: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptiontype FPRuntimePos Returnswhetherthefrontpanelis

unchanged,centered,maximized,minimized,orhasacustomsetting.

position 16-bitinteger Aclusteroftopandleftpairsthatindicatethefrontpanelwindowposition.

size 16-bitinteger Aclusterofheightandwidthpairsthatindicatethesizeinpixelsofthefrontpanel.

monitor short Specifiesthemonitoronwhichthefrontpanelwindowappears,ifyouhavemultiplemonitors.Thevalue0istheprimarymonitorandisthedefaultvalue.Ifyouspecifyavalueotherthan0,theVIrunsonthatmonitor.Ifyouspecifyamonitornumbergreaterthanthenumberofmonitorsonthesystem,orifyouspecifyanegativenumber,LabVIEWreturnsanerror.Themonitornumbercorrespondstothevideocardyouplugthemonitorinto.

useCurPos Boolean ReturnsthevalueoftheUseCurrentPositioncheckboxintheWindowRun-TimePositiondialogboxinLabVIEW.

useCurSize Boolean ReturnsthevalueoftheUseCurrentSizecheckboxintheWindowRun-TimePositiondialogboxinLabVIEW.

Page 549: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueFPRunTimePosEnum

Page 550: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPRunTimePosRunCenteredMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SetsaVItocenteritsfrontpaneleverytimetheVIruns.Forsingle-panefrontpanels,minimumsizereferstothecontentareaofthatpane,notincludingthescrollbars.Formulti-panefrontpanels,minimumsizereferstotheentirefrontpanel,includinganyvisiblescrollbars.

Page 551: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPRunTimePosRunCentered([monitor],[size])

Page 552: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionmonitor short Specifiesthemonitoronwhichthefrontpanelwindow

appears,ifyouhavemultiplemonitors.Thevalue0istheprimarymonitorandisthedefaultvalue.Ifyouspecifyavalueotherthan0,theVIrunsonthatmonitor.Ifyouspecifyamonitornumbergreaterthanthenumberofmonitorsonthesystem,orifyouspecifyanegativenumber,LabVIEWreturnsanerror.Themonitornumbercorrespondstothevideocardyouplugthemonitorinto.

size 16-bitinteger

Aclusterofheightandwidthpairsthatindicatethesizeinpixelsofthefrontpanel.

Page 553: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 554: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPRunTimePosRunCustomMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SetsacustompositionfortheVItomoveitsfrontpaneltoeverytimetheVIruns.Forsingle-panefrontpanels,minimumsizereferstothecontentareaofthatpane,notincludingthescrollbars.Formulti-panefrontpanels,minimumsizereferstotheentirefrontpanel,includinganyvisiblescrollbars.

Page 555: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPRunTimePosRunCustom([position],[size])

Page 556: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionposition 16-bit

integerAclusteroftopandleftpairsthatindicatethefrontpanelwindowposition.

size 16-bitinteger

Aclusterofheightandwidthpairsthatindicatethesizeinpixelsofthefrontpanel.

Page 557: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 558: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPRunTimePosRunMaxMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SetsaVItomaximizeitsfrontpaneleverytimetheVIruns.

Page 559: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPRunTimePosRunMax([monitor])

Page 560: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionmonitor short Specifiesthemonitoronwhichthefrontpanelwindow

appears,ifyouhavemultiplemonitors.Thevalue0istheprimarymonitorandisthedefaultvalue.Ifyouspecifyavalueotherthan0,theVIrunsonthatmonitor.Ifyouspecifyamonitornumbergreaterthanthenumberofmonitorsonthesystem,orifyouspecifyanegativenumber,LabVIEWreturnsanerror.Themonitornumbercorrespondstothevideocardyouplugthemonitorinto.

Page 561: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 562: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPRunTimePosRunMinMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SetsaVItominimizeitsfrontpaneleverytimetheVIruns.

Page 563: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPRunTimePosRunMin([monitor])

Page 564: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionmonitor short Specifiesthemonitoronwhichthefrontpanelwindow

appears,ifyouhavemultiplemonitors.Thevalue0istheprimarymonitorandisthedefaultvalue.Ifyouspecifyavalueotherthan0,theVIrunsonthatmonitor.Ifyouspecifyamonitornumbergreaterthanthenumberofmonitorsonthesystem,orifyouspecifyanegativenumber,LabVIEWreturnsanerror.Themonitornumbercorrespondstothevideocardyouplugthemonitorinto.

Page 565: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 566: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPRunTimePosRunUnchangedMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SetstheVItonotmoveitsfrontpanelwhentheVIruns.

Page 567: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPRunTimePosRunUnchanged()

Page 568: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 569: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

GenerateCCodeVariantMethodInstalledWith:MicroprocessorSDKClass:VIMethods(ActiveX)Containsthecodegenerationattributes(name,valuepairs)thatdeterminehowtheLabVIEWCCodeGeneratorgeneratestheCcodefromtheblockdiagram.Anyattributesyoudonotsetusethedefaultbehavior.

Page 570: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.GenerateCCodeVariant()

Page 571: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 572: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

GetControlValueMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)GetsthevalueofthenamedLabVIEWcontrolorindicatorasvariantdata.UsetheLabVIEWVarianttoDatafunctiontoconvertthedatatoanotherLabVIEWdatatype.ThefirsttimeyoucallthismethodonaVIwhosefrontpanelisnotopen,thismethodreturnsthedefaultvaluesofthecontrolorindicatorratherthantheactualvalues.Thereafter,itreturnstheactualvalue.Foroptimizationpurposes,LabVIEWdoesnotkeeptrackofdatavaluesoncontrolsandindicatorsuntilLabVIEWdeterminesyouwantthem,thatis,untilyoucallthismethodordisplaythefrontpanel.Whenyoudisplaythefrontpanel,LabVIEWbeginskeepingtrackofthevalues.

Page 573: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.GetControlValue(controlName)

Page 574: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptioncontrolName String Nameofthecontrolorindicatorwhosevalueyou

want.

Page 575: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuevariant

Page 576: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

GetLockStateMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)ReturnsthelockstateoftheVIandindicateswhetherthepasswordfortheVIisinthepasswordcache.

Page 577: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.GetLockState([pwdInCache])

Page 578: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionpwdInCache Boolean

byrefIndicateswhetherthepasswordiscurrentlyinthepasswordcache.

Page 579: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValueVILockStateEnum

Page 580: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

GetPanelImageMethodInstalledWith:BasePackageClass:VIMethodsReturnsanimageoftheLabVIEWfrontpanel.Ifafrontpanelisnotvisible,LabVIEWdoesnotupdatethevaluesintheobjectsonthefrontpanel.IfyoucallaVIwhosefrontpanelisnotvisibleandyouusetheGetPanelImagemethodtocreateanimageofthefrontpanel,theimagedoesnotreflectanyvaluechangesthatoccurredwhenyourantheVI.Ifyouwanttheimagetoreflectvaluechanges,makesurethefrontpanelisopenbeforeanyvalueschange.

Page 581: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.GetPanelImage([visibleonly],[imgdepth],[img],[colors],[bounds])

Page 582: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionvisibleonly Boolean Setswhetherthepanelimageincludesjust

theobjectsinthevisibleareaofthefrontpanelorallthefrontpanelobjects.ThedefaultisTRUE.

imgdepth Long Colordepth(numberofsupportedcolors)forthegraphics.Thevaluesare2(blackandwhite),16,256and224(truecolor).

img 1Darrayofbytesbyref

Returnstheimagebitmapasanarrayofbytes.

colors 1Darrayofunsignedlongbyref

Returnsthecolortableasanarrayoflongs.

bounds 1Darrayofshorts(fourelements)byref

Returnstheboundingrectangleoftheimageastop,left,bottom,andrightvalues.

Page 583: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 584: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ImportVIStringsMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)ImportsthefollowingstringsaboutVIandLabVIEWfrontpanelobjectsfromataggedtextfile:VInameanddescription,objectcaptionlabels,objectfreelabels,defaultdata(string,table,path,andarraydefaultdata),privatedata(listboxitemnames,tablerowandcolumnheaders,graphplotnames,graphcursornames,graphannotationnames,andtabcontrolpagecaptions),andpolymorphicVIdata(instancenamesinthepolymorphicVIandselectorshortcutmenus).

Page 585: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ImportVIStrings(stringFile,[interactive],[logFile])

Page 586: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionstringFile String PathoftheVIstringsfileincludingthefilename.If

youdonotenterafilename,setinteractivetoTRUEsotheusercansettheVIstringsfilename.

interactive Boolean IfTRUE,theusercanseethefiledialogboxtoselectthenameoftheVIstringsfile.ThedefaultisFALSE.

logFile String PathofthelogfilecreatedtolisterrorsthatoccurredwhileimportingVIstringsfromataggedtextfile.Thedefaultisnologging.

Page 587: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 588: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

MakeCurValueDefaultMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)ChangesthedefaultsofallcontrolsontheLabVIEWfrontpaneltobethecurrentvalues.Thismethodisavailableonlyineditmode.

Page 589: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.MakeCurValueDefault()

Page 590: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 591: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

OpenFrontPanelMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)OpenstheLabVIEWfrontpanelwindow.Ifthefrontpanelisalreadyopen,thismethodchangesthestateofthefrontpanelwindowtothestateyouwiretothismethod.UsetheCloseFrontPanelmethodtoclosethefrontpanelwindow.YoualsocanusetheFPStatepropertytosetthestateofafrontpanelwindowthatisalreadyopen.

Page 592: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.OpenFrontPanel([activate],[state])

Page 593: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionactivate Boolean IfTRUE(default),thefrontpanelwindowopens

astheactivewindow.state FPStateEnum Setsthestateinwhichtoopenthefrontpanel

window.

Page 594: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 595: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintPanelMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)PrintsjusttheLabVIEWfrontpaneltothecurrentprinter.Youcannotusethismethodtoprintablockdiagram,listofcontrols,orpolymorphicVIfrontpanel.

Page 596: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintPanel([entirePanel])

Page 597: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionentirePanel Boolean Indicateswhethertheentirefrontpanelisprinted.

IfFALSE(default),onlythecurrentlyvisibleportionofthefrontpanelisprinted.

Page 598: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 599: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintVIToHTMLMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SavestheVIinformationtoanHTMLfileandsavesthegraphicsinexternalfiles.

Page 600: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintVIToHTML(htmlFilePath,[append],[format],[imageFormat],[imageDepth],[imageDirectory])

Page 601: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionhtmlFilePath String PathtotheHTMLfilein

whichyouwanttosavetheVIinformation.Thedirectoryinwhichyouwanttosavethefilemustalreadyexist,andyoumustwireafullpathincludingtheHTMLfilename.

append Boolean Specifieswhetherthenewinformationwillbeappendedtoanexistingfile.ThedefaultisFALSE.

format PrintFormatEnum SpecifieswhichVIinformationtoprintandtheformatoftheprintout.YoucanselectfromeCustom,eStandard,eUsingPanel,eUsingSubVI,oreComplete.

imageFormat HTMLImageFormatEnum Formatofthegraphicfiles.SelectfromePNGoreJPEG.

imageDepth Long Setsthecolordepth,ornumberofsupportedcolors,oftheimage:1(1-bit,blackandwhite),4(4-bit,16colors),8(8-bit,256colors),or24(24-bit,truecolor).Thedefaultis8.

imageDirectory String Pathtothedirectoryinwhichyouwanttosavethegraphicfiles.Thedirectoryinwhichyouwanttosavethefilesmustalreadyexist.Ifnotspecified,LabVIEW

Page 602: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

savestheimagefilesinthesamedirectoryastheHTMLorRTFfile.

Page 603: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 604: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintVIToPrinterMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)PrintstheVIinformationtoaprinter.Ifyouusethismethodinastand-aloneapplicationorDLL,LabVIEWprintsonlythefrontpanel.

Page 605: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintVIToPrinter([format],[scalePanel],[scaleDiagram],[pageHeaders],[pageBreaks],[sectionHeaders])

Page 606: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionformat PrintFormatEnum SpecifieswhichVIinformationto

printandtheformatoftheprintout.YoucanselectfromeCustom,eStandard,eUsingPanel,eUsingSubVI,oreComplete.

scalePanel Boolean Specifieswhetherthefrontpanelwillbescaledtofitthepage.ThedefaultisTRUE.

scaleDiagram Boolean Specifieswhethertheblockdiagramwillbescaledtofitthepage.ThedefaultisTRUE.

pageHeaders Boolean Specifieswhetherpageheaders(whichincludethepagenumber,VIname,andlastmodificationdata)willbeprinted.ThedefaultisTRUE.

pageBreaks Boolean Specifieswhetherpagebreakswillbeinsertedbetweenthefollowingsections:connectoriconanddescription,frontpanel,listoffrontpanelcontroldetails,blockdiagram,blockdiagramdetails,VIhierarchy,andlistofsubVIs.ThedefaultisFALSE.

sectionHeaders Boolean Specifieswhethertoprintheadersforeachsectionlistedabove.IfformatiseCustom,eStandard,oreComplete,thedefaultisTRUE.Otherwise,thedefaultisFALSE.

Page 607: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 608: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintVIToRTFMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SavestheVIinformationtoanRTFfile.

Page 609: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintVIToRTF(rtfFilePath,[append],[format],[imageFormat],[imageDepth],[imageDirectory],[helpFormat])

Page 610: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionrtfFilePath String PathtotheRTFfileinwhichyou

wanttosavetheVIinformation.Thedirectoryinwhichyouwanttosavethefilemustalreadyexist,andyoumustspecifyafullpathincludingtheRTFfilename.

append Boolean Specifieswhetherthenewinformationwillbeappendedtoanexistingfile.ThedefaultisFALSE.

format PrintFormatEnum SpecifieswhichVIinformationtoprintandtheformatoftheprintout.YoucanselectfromeCustom,eStandard,eUsingPanel,eUsingSubVI,oreComplete.

imageFormat Long Formatofthegraphicsfile.Thedefaultis0,whichcorrespondstotheBMPformat.BMPistheonlyformatsupported.

imageDepth Long Setsthecolordepth,ornumberofsupportedcolors,oftheimage:1(1-bit,blackandwhite),4(4-bit,16colors),8(8-bit,256colors),or24(24-bit,truecolor).Thedefaultis8.

imageDirectory String Pathtothedirectoryinwhichyouwanttosavethegraphicfiles.Thedirectoryinwhichyouwanttosavethefilesmustalreadyexist.Ifnotspecified,LabVIEWsavestheimagefilesinthesamedirectoryastheHTMLorRTFfile.

helpFormat Boolean SpecifieswhethertosavethegraphicsexternallyandplacereferencesintheRTFfile.Setthis

Page 611: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

parametertoTRUEifyouarecreatingahelpfile.ThedefaultisFALSE.

Page 612: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 613: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintVIToTextMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SavestheVIinformationtoatextfile.Youcannotsavetheicon,connectorpane,frontpanel,blockdiagram,subVIicons,andVIhierarchytotext.

Page 614: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintVIToText(textFilePath,[append],[format])

Page 615: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptiontextFilePath String Pathtothetextfileinwhichyouwantto

savetheVIinformation.Thedirectoryinwhichyouwanttosavethefilemustalreadyexist,andyoumustspecifyafullpathincludingthetextfilename.

append Boolean Specifieswhetherthenewinformationwillbeappendedtoanexistingfile.ThedefaultisFALSE.

format PrintFormatEnum SpecifieswhichVIinformationtoprintandtheformatoftheprintout.YoucanselectfromeCustom,eStandard,eUsingPanel,eUsingSubVI,oreComplete.

NoteTheeCustom,eStandard,eUsingPanel,andeUsingSubVIparametersprintonlyconnectorpanecontrols.

Page 616: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 617: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReinitializeAllToDefaultMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)ChangesthecurrentvaluesofallcontrolsontheLabVIEWfrontpaneltotheirdefaults.

Page 618: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ReinitializeAllToDefault()

Page 619: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 620: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

RevertMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)DiscardschangesandreloadsaVIfromdisk.

Page 621: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Revert()

Page 622: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 623: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

RunMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)StartstheVIexecution,similartotheRunbuttoninLabVIEW.ThismethodisdifferentthancallingaVIbecauseitusesthecurrentvaluesofallfrontpanelcontrolsforexecutionratherthanusingdatapassedinthroughparameters.ThismethodalsoignorestheShowFPOnCallpropertyofaVIandtheCloseFPAfterCallproperty.YoucannotusethismethodtorunaVIthatisalreadyreservedforexecutionbyanotherVI.

Page 624: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Run([async])

Page 625: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type Descriptionasync Boolean IfTRUE,youdonotneedtowaitfortheVItofinish

running.ThedefaultisFALSE.

Page 626: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 627: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SaveForPreviousMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SavesacopyoftheVIthatisreadablebyLabVIEWversion8.0andlater.

Page 628: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SaveForPrevious(viPath,[warnings])

Page 629: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionviPath String PathtowhereyouwanttosavetheVI.warnings String Returnsanywarningsthatoccurredwhilesavingthe

VI.

Page 630: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 631: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SaveInstrumentMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SavesaVIandsynchronizestheVIwiththeeditedversioninotherapplicationinstancesbeforesaving.

Page 632: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SaveInstrument([viPath],[saveACopy],[withoutDiagram])

Page 633: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionviPath String PathoftheVIfile.Thedefaultisthecurrent

location.saveACopy Boolean IndicateswhethertosaveacopyoftheVIto

anotherfile.withoutDiagram Boolean IndicateswhethertosavetheVIwithoutthe

blockdiagram.

Page 634: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 635: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SaveRunTimeMenuMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SavestheLabVIEWrun-timemenutoafilespecifiedbyfilePath.ThismethodworksonlywhentheVIisrunning.Itsavesonlymenuitemswithvalidtags.

Page 636: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SaveRunTimeMenu(filePath)

Page 637: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionfilePath String Pathtowhereyouwanttosavetherun-timemenu.

Page 638: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 639: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SetControlValueMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SetsthevalueofanamedLabVIEWcontrolorindicator.

Page 640: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SetControlValue(controlName,value)

Page 641: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptioncontrolName String Nameofthefrontpanelcontrol.value variant Newvalueofthefrontpanelcontrol.Thisvalue

canbenumeric,Boolean,string,orarray.AclusterinLabVIEWisrepresentedasanarrayofvariantsinActiveX.

Page 642: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 643: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SetLockStateMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SetsthelockstateofaVI.IfInteractiveisFALSE(default),youcanusePasswordtounlockapassword-protectedVIorsetthepasswordofanunprotectedVI.IfInteractiveisTRUE,LabVIEWignoresPasswordanddisplaysadialogboxthatpromptsyoutochangethelockstate.

Page 644: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SetLockState(lockState,[Interactive],[Password],[putInCache])

Page 645: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionlockState VILockStateEnum Lockstate.Interactive Boolean Specifieswhethertodisplayadialog

boxthatpromptsyoutochangethelockstate.ThedefaultisFALSE.

Password String IflockStateisPassword-protected,Passwordisthenewpassword.IfyouarechanginglockStatefromPassword-protected,Passwordistheoldpassword.Thedefaultisanemptystring.

putInCache Boolean IflockStateisPassword-protected,putinCachespecifieswhethertoplacethenewpasswordinthecache.ThedefaultisFALSE.

Page 646: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 647: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SetVIIconMethodInstalledWith:BasePackageClass:VIMethods(ActiveX)SetstheimageofaVIiconfromafile.

Page 648: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SetVIIcon(imageFile)

Page 649: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ParametersName Type DescriptionimageFile String PathtotheimageyouwanttousefortheVIicon.

Page 650: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReturnValuenone

Page 651: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VIProperties(ActiveX)InstalledWith:BasePackageAVirtualInstrumentobjectexportspropertiesthataffectagivenVI.AVirtualInstrumentobjectisinstantiatedbyinvokingtheGetVIReferencemethodontheApplicationobject.Inthefollowingtopics,anasterisk(*)attheendofadatatypenameindicatesthatthepropertyisapointer.Propertyparametersdenotedby[]areoptionalforthatproperty.RefertoActiveXEnumerationsformoreinformationaboutenumerationsusedinvariousproperties.

Property DescriptionAllowDebugging IfTRUE,youcanusedebuggingtools

ontheVI.SetthispropertytoFALSEtoreducememoryrequirementsandtoimproveperformanceslightlyfortheVI.Details

BDModificationBitSet IndicateswhetherchangesweremadetotheblockdiagramsincetheVIwassavedoropened,dependingonwhichwaslast.Ifthevalueiszero,nochangesweremade.Ifthevalueisnonzero,changesweremade.Thispropertyisreadonly.Details

BDSize SizeoftheLabVIEWblockdiagraminbytes.Thispropertyisreadonly.Details

Callees ReturnsalistofallthesubVIsorcalleesinaVI.ThispropertyexcludesanysubVIsorcalleesfromthecalleeslistiftheyarelocatedinanunusedcaseofacasestructure.Thispropertyisreadonly.Details

Callers ReturnsalistofalltheloadedVIsthatcallthereferencedVI.Thispropertyisreadonly.Details

Page 652: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

CloneName NameofthecloneVI.ReturnsanerroriftheVIisnotaclone.Details

CloseFPAfterCall IndicateswhethertoclosetheLabVIEWfrontpanelaftertheVIruns.Details

CodeSize AmountofmemoryusedforVIcodeinbytes.Thispropertyisreadonly.Details

DataSize Amountofmemoryallocatedfordatainbytes.YoucannotreadthispropertyiftheVIisrunning.Thispropertyisreadonly.Details

Description DescriptionoftheVIthatappearsintheLabVIEWContextHelpwindowwhenyoumovethecursorovertheVIiconandinVIdocumentationyougenerate.Details

EditMode IfTRUE,theVIopensineditmode.IfFALSE,theVIopensinrunmode,andthetitlebar,menubar,andtoolbardonotappear.Details

ExecPriority IndicatesthepriorityoftheVIwhenitrunsinparallelwithothertasks.Details

ExecState IndicatestheexecutionstateoftheVI.Details

ExpandWhenDroppedAsSubVI ExpandstoshowterminalswhendroppedasasubVI.Details

FPAllowRTPopup IndicateswhethertodisplayshortcutmenusforLabVIEWfrontpanelobjectswhiletheVIruns.Ifyoudonotdisplaydefaultrun-timeshortcutmenus,youcancontinuetoincludecustomizedshortcutmenus.Details

FPBehavior SetsthebehavioroftheLabVIEW

Page 653: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

frontpanelwindow.Validvaluesinclude0(Invalid),1(Default),2(Floating),3(Floating/Auto-Hide),and4(Modal).Details

FPHiliteReturnButton IndicateswhethertohighlightBooleancontrolsthathaveashortcutkeyof<Enter>.Details

FPKeepWinProps IndicateswhethertheLabVIEWfrontpanelwindowadjustsitssizeinproportionwithachangeinmonitorresolution.Thewindowchangessizesoitcoversthesamepercentageofthescreenthatitcoveredatitsoriginalresolution.Details

FPMinimizable IndicateswhethertheusercanminimizetheLabVIEWfrontpanelwindowwhiletheVIruns.Details

FPModificationBitSet IndicateswhetherchangesweremadetotheLabVIEWfrontpanelsincetheVIwassaved.Ifthevalueiszero,nochangeswheremade.Ifthevalueisnonzero,changesweremade.Details

FPMonitor ThemonitoronwhichtheLabVIEWfrontpanelwindowappears,ifyouhavemultiplemonitors.Thevalue0istheprimarymonitor.Details

FPResizable IndicateswhethertheusercanresizetheLabVIEWfrontpanelwindowwhiletheVIruns.Details

FPRunTransparently SetstheVItoruntransparently.Details

FPShowMenuBar IndicateswhethertodisplaythemenubarontheLabVIEWfrontpanelwhiletheVIruns.Details

FPSize SizeoftheLabVIEWfrontpanelinbytes.Thispropertyisreadonly.

Page 654: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DetailsFPState CurrentstateoftheLabVIEWfront

panelwindow.Validvaluesinclude0(Invalid),1(Standard),2(Closed),3(Hidden),4(Minimized),and5(Maximized).AstateofStandardorMaximizedindicatesthatthefrontpanelwindowisvisibletotheuser.Ifyouattempttosetthispropertyforafrontpanelwindowthatisnotopen,thepropertyreturnsanerror.Details

FPTitleBarVisible IndicateswhethertodisplayatitlebarontheLabVIEWfrontpanelwhiletheVIruns.Details

FPTransparency SetsthewindowtransparencyleveloftheVI.Theleveloftransparencyisapercentagewhere0isopaqueand100isinvisible.Thispropertyreturnsanerrorifyouspecifyavalueoutsidetherangeof0to100.IfyousetFPRunTransparentlytoFalse,changingthispropertyhasnoeffect.Details

FPWinBounds Thefourelementsintheclusterarethetop,left,bottom,andrightvaluesoftheLabVIEWfrontpanelwindow,whichincludestheinteriorregion,scrollbars,titlebar,menubar,andtoolbar.Theyareinglobalscreencoordinates,thatis,thenumbersrefertocoordinateswithinacomputermonitor'sscreen(ratherthananopenwindow).YoucansetthispropertyonlyforVIswithopenfrontpanels.IfyoudonotwanttheVIforwhichyouwanttosetthispropertytoappeartousers,usetheHiddenvalueofthe

Page 655: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPStateEnumdatatypefortheFPStatepropertytohidethefrontpaneloftheVI.Details

FPWinClosable IndicateswhethertheclosebuttonintheLabVIEWtitlebarisdisabledandtheCloseitemintheLabVIEWFilemenuisdisabled.Details

FPWinCustomTitle IndicateswhethertheVIhasacustomtitlestring.WriteFALSEtoremovethecustomtitlestring.Details

FPWinIsFrontMost WritingTRUEtothisvaluebringsthefrontpaneltothefront.ThispropertyappliesonlyintheapplicationinstanceofthecallingVI.WritingFALSEtothisvaluehasnoeffect.Ifyoureadthisproperty,itindicateswhetherthefrontpanelwindowisthefrontwindow(ignoringfloatingwindows).Details

FPWinOpen NationalInstrumentsrecommendsyouusetheOpenFrontPanelmethodinsteadofthisproperty.Details

FPWinPanelBounds Thefourelementsintheclusterarethetop,left,bottom,andrightvaluesoftheinteriorportionoftheLabVIEWfrontpanel,notincludingthescrollbars,titlebar,menubar,andtoolbar.Theclusterelementsareinglobalscreencoordinates,thatis,thenumbersrefertocoordinateswithinacomputermonitor'sscreen(ratherthananopenwindow).YoucansetthispropertyonlyforVIswithopenfrontpanels.IfyoudonotwanttheVIforwhichyouwanttosetthispropertytoappeartousers,usetheHiddenvalueoftheFPStateEnumdatatypefortheFPStatepropertytohidethefront

Page 656: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

paneloftheVI.Details

FPWinTitle StringthatappearsintheLabVIEWtitlebar.ThisstringdoesnothavetomatchtheVIfilename.Details

HelpDocumentPath PathtoanHTMLfile(.htmor.html)orcompiledhelpfile(.chmor.hlp)towhichtheVIislinked.Ifthepathistoacompiledhelpfile,usetheHelpDocumentTagpropertytodeterminethespecifictopicinthathelpfile.Details

HelpDocumentTag IndexkeywordorHTMLfilenameforatopicinthecompiledhelpfiletowhichtheVIislinked.TolinktoabookmarkwithinanHTMLfile,add#followedbythenameofthebookmarktotheendofthefilename.UsethispropertyonlywhenHelpDocumentPathisapathtoacompiledhelpfile(.chmor.hlp).For.chmfiles,thispropertycanbeanHTMLfilenameorindexkeyword.For.hlpfiles,thispropertycanbeanindexkeyword.Details

HistAddCommentsAtSave IndicateswhethertoaddacommenttotheVIrevisionhistoryeverytimetheVIissaved.Details

HistoryText ReturnsallthetextthatwasaddedtotheVIrevisionhistory.Thispropertyisreadonly.Details

HistPromptAtClose IndicateswhethertopromptforaVIrevisionhistorycommentwhentheVIcloses.Details

HistPromptForCommentsAtSave IndicateswhethertopromptforaVIrevisionhistorycommentwhentheVIissaved.Details

Page 657: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

HistRecordAppComments IndicateswhethertoaddcommentstotheVIrevisionhistorywhencertaineventsoccur,suchasconversiontoanewversionofLabVIEW,subVIchanges,andchangestothenameorpathoftheVI.Details

HistUseDefaults Indicateswhethertousetheglobaldefaulthistoryortousethevaluesenteredinotherhistoryproperties.Details

IsCloneVI ReturnsTRUEiftheVIisacloneVI.Details

IsProbe ReturnsTRUEiftheVIisrunningasaprobeandtheprobeVIisopen.Details

IsReentrant IndicateswhetheraVIcanbereentrant.Details

Library ReturnsthenameoftheLabVIEWprojectlibrary,XControl,orLabVIEWclassthatownstheVI.Ifnolibrary,XControl,orclassownstheVI,thepropertyreturnsNULL.Details

LogAtFinish IndicateswhethertowriteLabVIEWfrontpanelvaluestoadatalogfileaftertheVIruns.Details

LogFilePath PathofthedatalogfileinwhichLabVIEWfrontpaneldataandatimestamparewritten.Details

Name NameoftheVIfile.YoucanwritethispropertyonlyiftheVIhasnotbeensavedtodisk.IfaLabVIEWprojectlibraryownstheVI,thispropertyreturnsthequalifiednameoftheVI,whichincludestheprojectlibraryfilename.Details

OwningApp ReturnsareferencetotheApplication

Page 658: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

thatownsthisVI.Closethisreferencewhenyouarefinishedusingit.Details

Path PathtotheVIfile.Thispropertyisreadonly.Details

PreferredExecSystem IndicatestheexecutionsysteminwhichtheVIruns.Details

PrintHeaderDatePrint IfTRUE,LabVIEWincludesthedateprintedintheheadersfortheVI.UsethePrintingHeaderspropertytosetwhetherLabVIEWprintstheheadersfortheVI.Details

PrintHeaderModifyDate IfTRUE,LabVIEWincludesthelastmodifieddateintheheadersfortheVI.UsethePrintingHeaderspropertytosetwhetherLabVIEWprintstheheadersfortheVI.Details

PrintHeaderPageNumber IfTRUE,LabVIEWincludesthepagenumberintheheadersfortheVI.UsethePrintingHeaderspropertytosetwhetherLabVIEWprintstheheadersfortheVI.Details

PrintHeaderVIIcon IfTRUE,LabVIEWincludestheVIiconintheheadersfortheVI.UsethePrintingHeaderspropertytosetwhetherLabVIEWprintstheheadersfortheVI.Details

PrintHeaderVIName IfTRUE,LabVIEWincludestheVInameintheheadersfortheVI.UsethePrintingHeaderspropertytosetwhetherLabVIEWprintstheheadersfortheVI.Details

PrintingBDScaling IfTRUE,LabVIEWscalestheblockdiagramtofitontheprintedpage.Details

PrintingFPScaling IfTRUE,LabVIEWscalesthefront

Page 659: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

paneltofitontheprintedpage.DetailsPrintingHeaders IfTRUE,LabVIEWprintsheadersfor

theVI.UsethePrintHeaderpropertiesinthisclasstocustomizethecontentsoftheheaders.Details

PrintingHeaderVIPath IfTRUE,LabVIEWincludestheVIpathintheheadersfortheVI.UsethePrintingHeaderspropertytosetwhetherLabVIEWprintstheheadersfortheVI.Details

PrintingOrientation GetsorsetsthepageorientationtousewhenprintingtheVI.Details

PrintLogFileAtFinish IndicateswhethertoprinttheLabVIEWfrontpanelaftertheVIruns.Details

PrintMargins GetsorsetsthepagemarginstousewhenprintingtheVIininchesorcentimeters.Details

ReentrancyType IndicatesthetypeofreentrancyLabVIEWusesforareentrantVI.ThispropertyissimilartooptionsontheExecutionPropertiespageoftheVIPropertiesdialogbox.Details

RevisionNumber CurrentrevisionnumberoftheVI.Details

RunOnOpen IndicateswhethertoruntheVIwhenitopens.Details

RunTimeMenuPath Whenread,thispropertyreturnstherun-timemenupathoftheVI.Whenwritten,thispropertyupdatestherun-timemenupathoftheVI.IftheVIisrunningwhenyouwritethisproperty,itupdatesthemenuwithdatafromthenewpath.Details

ShowFPOnCall Indicateswhethertoshowthe

Page 660: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LabVIEWfrontpanelwhentheVIiscalled.Details

ShowFPOnLoad IndicateswhethertoshowtheLabVIEWfrontpanelwhentheVIisloaded.Details

SuspendOnCall IndicateswhethertheVIshouldbesuspendedwhenitiscalledasasubVI.UsethispropertycarefullywithreentrantVIs.Details

TBShowAbortButton IndicateswhethertodisplaytheAbortExecutionbuttonontheLabVIEWtoolbarwhiletheVIruns.Details

TBShowFreeRunButton IndicateswhethertodisplaytheRunContinuouslybuttonontheLabVIEWtoolbarwhiletheVIruns.Details

TBShowRunButton IndicateswhethertodisplaytheRunbuttonontheLabVIEWtoolbarwhiletheVIruns.Details

TBVisible IndicateswhethertodisplaytheLabVIEWtoolbarwhiletheVIruns.Details

VIModificationBitSet2 IndicateswhetherchangesweremadetotheVIsincetheVIwaslastsaved.Ifthevalueiszero,nochangeshavebeenmade.Ifthevalueisnonzero,changeshavebeenmade.Thispropertyisreadonly.Details

VIType IndicatesthetypeoftheVI.Details

Page 661: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

AllowDebuggingPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IfTRUE,youcanusedebuggingtoolsontheVI.SetthispropertytoFALSEtoreducememoryrequirementsandtoimproveperformanceslightlyfortheVI.YoucannotdebugareentrantVI.

NoteWritingthispropertycausestheVItoberecompiled.WritingTRUEcausesextracodeanddatatobegeneratedfortheVI.ThiscodeanddataenablesLabVIEWtosetbreakpointsandsingle-stepthroughtheVI.WritingFALSEremovesthiscodeanddata,reducingthetotalsizeoftheVI.

Page 662: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.AllowDebugging

Page 663: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 664: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

BDModificationBitSetPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhetherchangesweremadetotheblockdiagramsincetheVIwassavedoropened,dependingonwhichwaslast.Ifthevalueiszero,nochangesweremade.Ifthevalueisnonzero,changesweremade.Thispropertyisreadonly.

Page 665: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.BDModificationBitSet

Page 666: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypelong

Page 667: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

BDSizePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)SizeoftheLabVIEWblockdiagraminbytes.Thispropertyisreadonly.

Page 668: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.BDSize

Page 669: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypelong

Page 670: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

CalleesPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)ReturnsalistofallthesubVIsorcalleesinaVI.ThispropertyexcludesanysubVIsorcalleesfromthecalleeslistiftheyarelocatedinanunusedcaseofacasestructure.Thispropertyisreadonly.

Page 671: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Callees

Page 672: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeArrayofstrings

Page 673: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

CallersPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)ReturnsalistofalltheloadedVIsthatcallthereferencedVI.Thispropertyisreadonly.

Page 674: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Callers

Page 675: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeArrayofstrings

Page 676: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

CloneNamePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)NameofthecloneVI.ReturnsanerroriftheVIisnotaclone.

Page 677: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.CloneName

Page 678: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 679: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

CloseFPAfterCallPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertoclosetheLabVIEWfrontpanelaftertheVIruns.

Page 680: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.CloseFPAfterCall

Page 681: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 682: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

CodeSizePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)AmountofmemoryusedforVIcodeinbytes.Thispropertyisreadonly.

Page 683: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.CodeSize

Page 684: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypelong

Page 685: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataSizePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)Amountofmemoryallocatedfordatainbytes.YoucannotreadthispropertyiftheVIisrunning.Thispropertyisreadonly.

Page 686: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.DataSize

Page 687: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypelong

Page 688: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DescriptionPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)DescriptionoftheVIthatappearsintheLabVIEWContextHelpwindowwhenyoumovethecursorovertheVIiconandinVIdocumentationyougenerate.YoucanformatthetextinthedescriptiontoappearboldintheContextHelpwindow.

Page 689: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Description

Page 690: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeString

Page 691: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

EditModePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IfTRUE,theVIopensineditmode.IfFALSE,theVIopensinrunmode,andthetitlebar,menubar,andtoolbardonotappear.Towritethisproperty,youmustcallitbeforeyouopenthefrontpaneloftheVI.

Page 692: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.EditMode

Page 693: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 694: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ExecPriorityPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicatesthepriorityoftheVIwhenitrunsinparallelwithothertasks.

Page 695: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ExecPriority

Page 696: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeVIPriorityEnum

Page 697: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ExecStatePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicatestheexecutionstateoftheVI.

Page 698: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ExecState

Page 699: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeExecStateEnum

Page 700: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ExpandWhenDroppedAsSubVIPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)ExpandstoshowterminalswhendroppedasasubVI.

Page 701: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ExpandWhenDroppedAsSubVI

Page 702: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 703: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPAllowRTPopupPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertodisplayshortcutmenusforLabVIEWfrontpanelobjectswhiletheVIruns.Ifyoudonotdisplaydefaultrun-timeshortcutmenus,youcancontinuetoincludecustomizedshortcutmenus.

Page 704: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPAllowRTPopup

Page 705: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 706: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPBehaviorPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)SetsthebehavioroftheLabVIEWfrontpanelwindow.Validvaluesinclude0(Invalid),1(Default),2(Floating),3(Floating/Auto-Hide),and4(Modal).

Page 707: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPBehavior

Page 708: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeVIFPBehaviorEnum

Page 709: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPHiliteReturnButtonPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertohighlightBooleancontrolsthathaveashortcutkeyof<Enter>.

Page 710: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPHiliteReturnButton

Page 711: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 712: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPKeepWinPropsPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertheLabVIEWfrontpanelwindowadjustsitssizeinproportionwithachangeinmonitorresolution.Thewindowchangessizesoitcoversthesamepercentageofthescreenthatitcoveredatitsoriginalresolution.

Page 713: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPKeepWinProps

Page 714: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 715: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPMinimizablePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertheusercanminimizetheLabVIEWfrontpanelwindowwhiletheVIruns.IfyouloadtheVIinasubpanelcontrol,thispropertyisreadonlyandalwaysreturnsavalueofFALSE.ThispropertyissimilartotheAllowusertominimizewindowcheckboxintheLabVIEWCustomizeWindowAppearancedialogbox.

Page 716: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPMinimizable

Page 717: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 718: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPModificationBitSetPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhetherchangesweremadetotheLabVIEWfrontpanelsincetheVIwassaved.Ifthevalueiszero,nochangeswheremade.Ifthevalueisnonzero,changesweremade.

Page 719: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPModificationBitSet

Page 720: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypelong

Page 721: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPMonitorPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)ThemonitoronwhichtheLabVIEWfrontpanelwindowappears,ifyouhavemultiplemonitors.Thevalue0istheprimarymonitor.

Page 722: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPMonitor

Page 723: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeshort

Page 724: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPResizablePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertheusercanresizetheLabVIEWfrontpanelwindowwhiletheVIruns.IfyouloadtheVIinasubpanelcontrol,thispropertyisreadonlyandalwaysreturnsavalueofFALSE.ThispropertyissimilartotheAllowusertoresizewindowcheckboxintheLabVIEWCustomizeWindowAppearancedialogbox.

Page 725: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPResizable

Page 726: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 727: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPRunTransparentlyPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)SetstheVItoruntransparently.

Page 728: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPRunTransparently

Page 729: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 730: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPShowMenuBarPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertodisplaythemenubarontheLabVIEWfrontpanelwhiletheVIruns.IfyouloadtheVIinasubpanelcontrol,thispropertyisreadonlyandalwaysreturnsavalueofFALSE.

Page 731: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPShowMenuBar

Page 732: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 733: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPSizePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)SizeoftheLabVIEWfrontpanelinbytes.Thispropertyisreadonly.ThispropertyissimilartotheFrontPanelObjectsoptionontheMemoryUsagepageoftheLabVIEWVIPropertiesdialogbox.

Page 734: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPSize

Page 735: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypelong

Page 736: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPStatePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)CurrentstateoftheLabVIEWfrontpanelwindow.Validvaluesinclude0(Invalid),1(Standard),2(Closed),3(Hidden),4(Minimized),and5(Maximized).AstateofStandardorMaximizedindicatesthatthefrontpanelwindowisvisibletotheuser.Ifyouattempttosetthispropertyforafrontpanelwindowthatisnotopen,thepropertyreturnsanerror.

Page 737: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPState

Page 738: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeFPStateEnum

Page 739: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPTitleBarVisiblePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertodisplayatitlebarontheLabVIEWfrontpanelwhiletheVIruns.IfyouloadtheVIinasubpanelcontrol,thispropertyisreadonlyandalwaysreturnsavalueofFALSE.ThispropertyissimilartotheWindowhastitlebaroptionontheLabVIEWCustomizeWindowAppearancedialogbox.

Page 740: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPTitleBarVisible

Page 741: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 742: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPTransparencyPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)SetsthewindowtransparencyleveloftheVI.Theleveloftransparencyisapercentagewhere0isopaqueand100isinvisible.Thispropertyreturnsanerrorifyouspecifyavalueoutsidetherangeof0to100.IfyousetFPRunTransparentlytoFalse,changingthispropertyhasnoeffect.

Page 743: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPTransparency

Page 744: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypechar

Page 745: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPWinBoundsPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)Thefourelementsintheclusterarethetop,left,bottom,andrightvaluesoftheLabVIEWfrontpanelwindow,whichincludestheinteriorregion,scrollbars,titlebar,menubar,andtoolbar.Theyareinglobalscreencoordinates,thatis,thenumbersrefertocoordinateswithinacomputermonitor'sscreen(ratherthananopenwindow).YoucansetthispropertyonlyforVIswithopenfrontpanels.IfyoudonotwanttheVIforwhichyouwanttosetthispropertytoappeartousers,usetheHiddenvalueoftheFPStateEnumdatatypefortheFPStatepropertytohidethefrontpaneloftheVI.Whenyoureadthisproperty,LabVIEWreturnsthewindowboundsoftheVI.IfthefrontpaneloftheVIisnotopen,LabVIEWreturnsthewindowboundsoftheVIinthepositionitwaslastsaved.IfyouloadtheVIinasubpanelcontrol,thispropertyisreadonly.

Page 746: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPWinBounds

Page 747: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeArrayofshortvariants(fourelements)

Page 748: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPWinClosablePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertheclosebuttonintheLabVIEWtitlebarisdisabledandtheCloseitemintheLabVIEWFilemenuisdisabled.ThispropertypreventsusersfromclosingaVIduringexecution.IfyouloadtheVIinasubpanelcontrol,thispropertyisreadonlyandalwaysreturnsavalueofFALSE.

Page 749: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPWinClosable

Page 750: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 751: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPWinCustomTitlePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertheVIhasacustomtitlestring.WriteFALSEtoremovethecustomtitlestring.

Page 752: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPWinCustomTitle

Page 753: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 754: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPWinIsFrontMostPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)WritingTRUEtothisvaluebringsthefrontpaneltothefront.ThispropertyappliesonlyintheapplicationinstanceofthecallingVI.WritingFALSEtothisvaluehasnoeffect.Ifyoureadthisproperty,itindicateswhetherthefrontpanelwindowisthefrontwindow(ignoringfloatingwindows).

Page 755: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPWinIsFrontMost

Page 756: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 757: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPWinOpenPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)NationalInstrumentsrecommendsyouusetheOpenFrontPanelmethodinsteadofthisproperty.Readingthispropertyindicateswhetherthewindowcurrentlyisopen.Incertainsituations,thevaluereturnedbythispropertymightnotbeaccurate.Forexample,ifthewindowishiddenandyoureadthisproperty,thepropertyreturnsavalueofTRUE.However,thewindowisnotvisibletotheuser.UsetheOpenFrontPanelmethodtosetthestateofthewindowwhenyoudisplayit.UsetheFPStatepropertyformoreaccurateinformationaboutthecurrentstateofthewindow.UsetheCloseFrontPanelmethodtoclosethewindow.IfyousetthispropertytoTRUE,LabVIEWdisplaysthefrontpanelwindow.IfFALSE,LabVIEWclosesthewindow.IfnootherreferencestotheVIareopen,LabVIEWremovestheVIfrommemory.IfyousetthispropertytoFALSEinastand-aloneapplication,theapplicationstops.IfyouloadtheVIinasubpanelcontrol,thispropertyisreadonlyandalwaysreturnsavalueofTRUE.Ifyousettheboundariesofafrontpaneltobeoutsidetheboundariesofthescreen,LabVIEWignoresthosesettingswhenyouopenthefrontpanel.LabVIEWdisplaysaportionofthewindowtitlebarsoyoucandragthewindowtoanotherlocationonthescreen.UsetheFPWinPanelBoundspropertytosettheboundsofthefrontpanelwindow.

Page 758: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPWinOpen

Page 759: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypenone

Page 760: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPWinPanelBoundsPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)Thefourelementsintheclusterarethetop,left,bottom,andrightvaluesoftheinteriorportionoftheLabVIEWfrontpanel,notincludingthescrollbars,titlebar,menubar,andtoolbar.Theclusterelementsareinglobalscreencoordinates,thatis,thenumbersrefertocoordinateswithinacomputermonitor'sscreen(ratherthananopenwindow).YoucansetthispropertyonlyforVIswithopenfrontpanels.IfyoudonotwanttheVIforwhichyouwanttosetthispropertytoappeartousers,usetheHiddenvalueoftheFPStateEnumdatatypefortheFPStatepropertytohidethefrontpaneloftheVI.Whenyoureadthisproperty,LabVIEWreturnsthefrontpanelboundsoftheVI.IfthefrontpaneloftheVIisnotopen,LabVIEWreturnsthefrontpanelboundsoftheVIinthepositionitwaslastsaved.IfyouloadtheVIinasubpanelcontrol,thispropertyisreadonly.

Page 761: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPWinPanelBounds

Page 762: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataType1Darrayofshorts(fourelements)byref

Page 763: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

FPWinTitlePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)StringthatappearsintheLabVIEWtitlebar.ThisstringdoesnothavetomatchtheVIfilename.ThispropertyissimilartotheWindowtitleoptionontheWindowAppearancepageoftheLabVIEWVIPropertiesdialogbox.

Page 764: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.FPWinTitle

Page 765: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeString

Page 766: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

HelpDocumentPathPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)PathtoanHTMLfile(.htmor.html)orcompiledhelpfile(.chmor.hlp)towhichtheVIislinked.Ifthepathistoacompiledhelpfile,usetheHelpDocumentTagpropertytodeterminethespecifictopicinthathelpfile.ThispropertyissimilartotheHelpPathtextboxontheDocumentationpageoftheLabVIEWVIPropertiesdialogbox.

Page 767: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.HelpDocumentPath

Page 768: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 769: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

HelpDocumentTagPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndexkeywordorHTMLfilenameforatopicinthecompiledhelpfiletowhichtheVIislinked.TolinktoabookmarkwithinanHTMLfile,add#followedbythenameofthebookmarktotheendofthefilename.UsethispropertyonlywhenHelpDocumentPathisapathtoacompiledhelpfile(.chmor.hlp).For.chmfiles,thispropertycanbeanHTMLfilenameorindexkeyword.For.hlpfiles,thispropertycanbeanindexkeyword.ThispropertyissimilartotheHelpTagtextboxontheDocumentationpageoftheLabVIEWVIPropertiesdialogbox.

Page 770: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.HelpDocumentTag

Page 771: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 772: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

HistAddCommentsAtSavePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertoaddacommenttotheVIrevisionhistoryeverytimetheVIissaved.ThispropertyissimilartotheoptionsavailableintheLabVIEWHistorywindow.

Page 773: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.HistAddCommentsAtSave

Page 774: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 775: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

HistoryTextPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)ReturnsallthetextthatwasaddedtotheVIrevisionhistory.Thispropertyisreadonly.

Page 776: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.HistoryText

Page 777: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 778: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

HistPromptAtClosePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertopromptforaVIrevisionhistorycommentwhentheVIcloses.ThispropertyissimilartotheoptionsavailableintheLabVIEWHistorywindow.

Page 779: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.HistPromptAtClose

Page 780: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 781: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

HistPromptForCommentsAtSavePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertopromptforaVIrevisionhistorycommentwhentheVIissaved.ThispropertyissimilartotheoptionsavailableintheLabVIEWHistorywindow.

Page 782: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.HistPromptForCommentsAtSave

Page 783: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 784: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

HistRecordAppCommentsPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertoaddcommentstotheVIrevisionhistorywhencertaineventsoccur,suchasconversiontoanewversionofLabVIEW,subVIchanges,andchangestothenameorpathoftheVI.ThispropertyissimilartotheoptionsavailableintheLabVIEWRevisionHistoryPropertiespageoftheVIPropertiesdialogboxortheRevisionHistoryOptionspageoftheOptionsdialogbox.

Page 785: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.HistRecordAppComments

Page 786: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 787: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

HistUseDefaultsPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)Indicateswhethertousetheglobaldefaulthistoryortousethevaluesenteredinotherhistoryproperties.ThispropertyissimilartotheoptionsavailableintheRevisionHistorypageoftheLabVIEWVIPropertiesdialogbox.YoucanspecifytheglobaldefaulthistoryintheLabVIEWVIPropertiesdialogbox.

Page 788: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.HistUseDefaults

Page 789: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 790: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

IsCloneVIPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)ReturnsTRUEiftheVIisacloneVI.

Page 791: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.IsCloneVI

Page 792: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 793: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

IsProbePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)ReturnsTRUEiftheVIisrunningasaprobeandtheprobeVIisopen.

Page 794: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.IsProbe

Page 795: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 796: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

IsReentrantPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhetheraVIcanbereentrant.

Page 797: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.IsReentrant

Page 798: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 799: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LibraryPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)ReturnsthenameoftheLabVIEWprojectlibrary,XControl,orLabVIEWclassthatownstheVI.Ifnolibrary,XControl,orclassownstheVI,thepropertyreturnsNULL.

Page 800: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Library

Page 801: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeLibrary*

Page 802: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LogAtFinishPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertowriteLabVIEWfrontpanelvaluestoadatalogfileaftertheVIruns.

NoteIfyousetLogAtFinishwithouthavingsettheLogFilePathproperty,thenexttimethisVIfinishesexecuting,adialogboxappearspromptingyoutospecifythefilepath.

Page 803: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.LogAtFinish

Page 804: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 805: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

LogFilePathPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)PathofthedatalogfileinwhichLabVIEWfrontpaneldataandatimestamparewritten.

NoteUsethispropertyinconjunctionwiththeLogAtFinishproperty,whichspecifieswhethertologthedata.IfyousettheLogAtFinishpropertywithoutalsosettingthisproperty,adialogboxappearsatruntime,promptingyoutospecifyafilepath.

Page 806: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.LogFilePath

Page 807: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 808: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

NamePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)NameoftheVIfile.YoucanwritethispropertyonlyiftheVIhasnotbeensavedtodisk.IfaLabVIEWprojectlibraryownstheVI,thispropertyreturnsthequalifiednameoftheVI,whichincludestheprojectlibraryfilename.

Page 809: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Name

Page 810: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 811: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

OwningAppPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)ReturnsareferencetotheApplicationthatownsthisVI.Closethisreferencewhenyouarefinishedusingit.

Page 812: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.OwningApp

Page 813: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeApplication*

Page 814: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PathPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)PathtotheVIfile.Thispropertyisreadonly.

Page 815: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.Path

Page 816: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 817: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PreferredExecSystemPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicatestheexecutionsysteminwhichtheVIruns.

Page 818: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PreferredExecSystem

Page 819: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeVIExecSysEnum

Page 820: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintHeaderDatePrintPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IfTRUE,LabVIEWincludesthedateprintedintheheadersfortheVI.UsethePrintingHeaderspropertytosetwhetherLabVIEWprintstheheadersfortheVI.

Page 821: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintHeaderDatePrint

Page 822: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 823: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintHeaderModifyDatePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IfTRUE,LabVIEWincludesthelastmodifieddateintheheadersfortheVI.UsethePrintingHeaderspropertytosetwhetherLabVIEWprintstheheadersfortheVI.

Page 824: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintHeaderModifyDate

Page 825: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 826: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintHeaderPageNumberPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IfTRUE,LabVIEWincludesthepagenumberintheheadersfortheVI.UsethePrintingHeaderspropertytosetwhetherLabVIEWprintstheheadersfortheVI.

Page 827: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintHeaderPageNumber

Page 828: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 829: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintHeaderVIIconPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IfTRUE,LabVIEWincludestheVIiconintheheadersfortheVI.UsethePrintingHeaderspropertytosetwhetherLabVIEWprintstheheadersfortheVI.

Page 830: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintHeaderVIIcon

Page 831: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 832: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintHeaderVINamePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IfTRUE,LabVIEWincludestheVInameintheheadersfortheVI.UsethePrintingHeaderspropertytosetwhetherLabVIEWprintstheheadersfortheVI.

Page 833: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintHeaderVIName

Page 834: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 835: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintingBDScalingPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IfTRUE,LabVIEWscalestheblockdiagramtofitontheprintedpage.ThispropertyissimilartotheScaleprintedblockdiagramtofitpagecheckboxonthePrintOptionspageoftheLabVIEWVIPropertiesdialogbox.

Page 836: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintingBDScaling

Page 837: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 838: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintingFPScalingPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IfTRUE,LabVIEWscalesthefrontpaneltofitontheprintedpage.ThispropertyissimilartotheScaleprintedfrontpaneltofitpagecheckboxonthePrintOptionspageoftheLabVIEWVIPropertiesdialogbox.

Page 839: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintingFPScaling

Page 840: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 841: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintingHeadersPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IfTRUE,LabVIEWprintsheadersfortheVI.UsethePrintHeaderpropertiesinthisclasstocustomizethecontentsoftheheaders.ThispropertyissimilartothePrintheader(name,date,pagenumber)checkboxonthePrintOptionspageoftheLabVIEWVIPropertiesdialogbox.

Page 842: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintingHeaders

Page 843: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 844: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintingHeaderVIPathPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IfTRUE,LabVIEWincludestheVIpathintheheadersfortheVI.UsethePrintingHeaderspropertytosetwhetherLabVIEWprintstheheadersfortheVI.

Page 845: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintingHeaderVIPath

Page 846: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 847: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintingOrientationPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)GetsorsetsthepageorientationtousewhenprintingtheVI.

Page 848: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintingOrientation

Page 849: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypePageOrientationEnum

Page 850: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintLogFileAtFinishPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertoprinttheLabVIEWfrontpanelaftertheVIruns.

Page 851: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintLogFileAtFinish

Page 852: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 853: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintMarginsPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)GetsorsetsthepagemarginstousewhenprintingtheVIininchesorcentimeters.ThispropertyissimilartotheUsecustompagemarginscheckboxonthePrintOptionspageoftheLabVIEWVIPropertiesdialogbox.

Page 854: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.PrintMargins

Page 855: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypePrintMarginsEnum

Page 856: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ReentrancyTypePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicatesthetypeofreentrancyLabVIEWusesforareentrantVI.ThispropertyissimilartooptionsontheExecutionPropertiespageoftheVIPropertiesdialogbox.Youcanselectfromthefollowingoptions:

Shareclonesbetweeninstances—AllocatesclonesofthereentrantVIon-demandforeachcalltothereentrantVI.DonotselectthisoptionifacloneVImustpreservestateinformationacrosscallsoriftheVIispartofanapplicationthatneedstominimizejitter.Preallocatecloneforeachinstance—AllocatesclonesofthereentrantVIforeachcalltothereentrantVI.ThisoptionisrecommendedforVIsthataretorunwithlowjitteronLabVIEWReal-Time.

Page 857: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ReentrancyType

Page 858: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypekReentrancyTypeTD

Page 859: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

RevisionNumberPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)CurrentrevisionnumberoftheVI.Whenwritingthisproperty,youcanwriteonlyavaluegreaterthanthecurrentrevisionnumber.Ifyouattempttowritearevisionnumberwhosevalueislessthanthecurrentrevisionnumber,thepropertyreturnsanerror.ThispropertyissimilartotheoptionsavailableintheRevisionHistorypageoftheLabVIEWVIPropertiesdialogbox.

Page 860: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.RevisionNumber

Page 861: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypelong

Page 862: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

RunOnOpenPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertoruntheVIwhenitopens.

Page 863: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.RunOnOpen

Page 864: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 865: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

RunTimeMenuPathPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)Whenread,thispropertyreturnstherun-timemenupathoftheVI.Whenwritten,thispropertyupdatestherun-timemenupathoftheVI.IftheVIisrunningwhenyouwritethisproperty,itupdatesthemenuwithdatafromthenewpath.Usethispropertytoprogrammaticallyspecifythepathforarun-timemenu(.rtm)file.Thisisusefulifyouaredevelopingmultilingualapplicationsandyouwanttoswitchmenusforeachlanguageprogrammatically.

Page 866: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.RunTimeMenuPath

Page 867: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypestring

Page 868: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ShowFPOnCallPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertoshowtheLabVIEWfrontpanelwhentheVIiscalled.

Page 869: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ShowFPOnCall

Page 870: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 871: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

ShowFPOnLoadPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertoshowtheLabVIEWfrontpanelwhentheVIisloaded.

Page 872: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.ShowFPOnLoad

Page 873: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 874: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

SuspendOnCallPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertheVIshouldbesuspendedwhenitiscalledasasubVI.UsethispropertycarefullywithreentrantVIs.

Page 875: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.SuspendOnCall

Page 876: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 877: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

TBShowAbortButtonPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertodisplaytheAbortExecutionbuttonontheLabVIEWtoolbarwhiletheVIruns.ThispropertyissimilartotheShowAbortbuttonoptionontheLabVIEWCustomizeWindowAppearancedialogbox.

Page 878: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.TBShowAbortButton

Page 879: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 880: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

TBShowFreeRunButtonPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertodisplaytheRunContinuouslybuttonontheLabVIEWtoolbarwhiletheVIruns.

Page 881: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.TBShowFreeRunButton

Page 882: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 883: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

TBShowRunButtonPropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertodisplaytheRunbuttonontheLabVIEWtoolbarwhiletheVIruns.

Page 884: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.TBShowRunButton

Page 885: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 886: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

TBVisiblePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhethertodisplaytheLabVIEWtoolbarwhiletheVIruns.

Page 887: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.TBVisible

Page 888: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeBoolean

Page 889: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VIModificationBitSet2PropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicateswhetherchangesweremadetotheVIsincetheVIwaslastsaved.Ifthevalueiszero,nochangeshavebeenmade.Ifthevalueisnonzero,changeshavebeenmade.Thispropertyisreadonly.

Page 890: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.VIModificationBitSet2

Page 891: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypehyper

Page 892: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VITypePropertyInstalledWith:BasePackageClass:VIProperties(ActiveX)IndicatesthetypeoftheVI.

Page 893: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

Syntaxobject.VIType

Page 894: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

DataTypeVITypeEnum

Page 895: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PageOrientationEnumIndicatesthepageorientationwhenLabVIEWprintstheVI.

Name Value DescriptionPortrait 0 Printsthereportsotheshortedgeofthepaperisthe

topofthepage.Landscape 1 Printsthereportsothelongedgeofthepaperisthe

topofthepage.RotatedPortrait

2 Rotatesthepaper90degreescounterclockwiseandprintsthereportusingaportraitorientation.

RotatedLandscape

3 Rotatesthepaper90degreescounterclockwiseandprintsthereportusingalandscapeorientation.

Page 896: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

PrintMethodsEnumIndicateshowLabVIEWprintsthedata.

Name Value DescriptionStandard 0 TranslatestheVIprintdata(frontpanel,block

diagram,icon,andsoon)andsendsittotheprinterusingthestandardoperatingsystemdrawingcommands.YoumustusethisoptioniftheprinterdoesnothavePostScriptsupportorifyouwanttheprinterdrivertohandlethePostScripttranslationinsteadofLabVIEW.

PostScript 1 TranslatestheVIprintdatainPostScript(.ps)formatandsendsittotheprinterasPostScriptcommands.DonotusethisoptioniftheprinterorprinterdriverdoesnotsupportPostScriptprinting.PostScriptprintoutsreproducetheimageofthescreen,includingpatterns,linestyles,andfonts,moreaccurately.

Bitmap 2 Createsabitmap,drawsalldataforthatpageintothebitmap,andsendsthebitmaptotheprinter.

Page 897: ActiveX Properties and Methods for LabVIEWActiveX Properties and Methods for LabVIEW This book describes the LabVIEW properties and methods that third-party software can access through

VIFPBehaviorEnumIndicateshowLabVIEWdisplaysthefrontpanelwindow.

Name Value DescriptionInvalid 0 Ifyoureadthispropertyandanerroroccurs,the

propertyreturnsthisvalue.Ifyousetthepropertytothisvalue,thepropertyreturnsanerror.

Default 1 Thefrontpanelwindowisnotfloatingormodal.Floating 2 Thefrontpanelwindowstaysontopofallother

non-modalLabVIEWwindows.TheJust-In-TimeAdvicewindowisanexampleofafloatingwindow.

Floating/Auto-Hide

3 ThefrontpanelwindowisfloatingandwhenyouswitchfromLabVIEWtoanotherapplication,thewindowdoesnotappear.

Modal 4 ThefrontpanelwindowstaysontopofallotherLabVIEWwindowsuntilyouclosethewindoworopenanothermodalwindow.


Recommended