253
CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO devices, and C Series modules with the NI Scan Engine . To view related topics, click the Locate button, shown at left, in the toolbar at the top of this window. The LabVIEW Help highlights this topic in the Contents tab so you can navigate the related topics. To comment on National Instruments documentation, refer to the National Instruments Web site . © 2008 National Instruments Corporation. All rights reserved.

CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

  • Upload
    others

  • View
    35

  • Download
    2

Embed Size (px)

Citation preview

Page 1: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CompactRIO™ReferenceandProcedures(ScanInterface)July2008,372603A-01UsethisbookasareferenceforinformationaboutusingLabVIEW,CompactRIOdevices,andCSeriesmoduleswiththeNIScanEngine.

Toviewrelatedtopics,clicktheLocatebutton,shownatleft,inthetoolbaratthetopofthiswindow.TheLabVIEWHelphighlightsthistopicintheContentstabsoyoucannavigatetherelatedtopics.

TocommentonNationalInstrumentsdocumentation,refertotheNationalInstrumentsWebsite.©2008NationalInstrumentsCorporation.Allrightsreserved.

Page 2: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CompactRIORelatedDocumentation(ScanInterface)CompactRIOincludesthefollowingdocumentation.

Page 3: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HelpResourcesLabVIEWHelp—UsethishelpfiletoaccessreferenceinformationaboutCSeriesmodulesandinstructionsforusingLabVIEWwithCompactRIOdevices.UsingtheContentstab,navigatetoReal-TimeModule»CompactRIOReferenceandProcedures(ScanInterface).YoucanfindhelptopicsforthemoduleyouareusingbynavigatingontheContentstabtoReal-TimeModule»CompactRIOReferenceandProcedures(ScanInterface)»ModuleType»NI9xxx.Measurement&AutomationExplorer(MAX)HelpforCompactRIO—UsethishelpfiletoaccessinstructionsforconfiguringtheCompactRIOcontrollerandenablingthecRIO-910xReconfigurableEmbeddedchassisforusewithLabVIEW.AfteryoulaunchMAX,selectHelp»MAXHelpandnavigatetoMeasurement&AutomationExplorerHelp»InstalledProducts»MAXHelpforCompactRIOontheContentstab.

Page 4: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

PDFDocumentsThesedocumentsareavailableasPDFsintheCompactRIO\manualsdirectory.Thelatestversionsofthesedocumentsareonlineatni.com/manuals.YoumusthaveAdobeReaderwithSearchandAccessibility5.0.5orlaterinstalledtoviewthePDFs.YoumusthaveAdobeReaderwithSearchandAccessibility6.xorlaterinstalledtosearchPDFversionsofthesemanuals.RefertotheAdobeSystemsIncorporatedWebsitetodownloadAcrobatReader.

CompactRIOReconfigurableEmbeddedSystemInstallationInstructions—UsetheseinstallationinstructionstolearnhowtoinstallthecRIO-910xReconfigurableEmbeddedchassis.CompactRIOcRIO-9012/9014OperatingInstructionsandSpecifications—Usetheseoperatinginstructionstolearnhowtoconnectthecontrollertothenetworkandusethefeaturesofthecontroller.CompactRIOcRIO-9072/9074OperatingInstructionsandSpecifications—Usetheseoperatinginstructionstolearnhowtoconnecttheintegratedchassis/controllertothenetworkandusethefeaturesoftheintegratedchassis/controller.GettingStartedwithCompactRIOandLabVIEW—UsethistutorialtolearnhowtodevelopaCompactRIOapplicationinLabVIEW.Whiledevelopingtheapplication,youcanlearnconceptsandtechniquesthatyoucanapplywhenyoudevelopyourownCompactRIOapplication.Thistutorialisavailableonlineatni.com/manuals.NI9xxxOperatingInstructionsandSpecifications—UsetheoperatinginstructionsfortheCSeriesmoduletolearnaboutmodulespecificationsandhowtousethemodule.Forexample,usetheNI9403OperatingInstructionsandSpecificationstolearnabouttheNI9403.

Page 5: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ReadmeDocumentsNI-RIOReadme—Usethisfiletolearnimportantlast-minuteinformationaboutNI-RIO,includinginstallationinstructionsanddescriptionsofknownissuesforinstallingandusingNI-RIO.AccesstheNI-RIOReadmeontheNI-RIOinstallationCD.SoftwareSupportforCompactRIO,CompactDAQ,andRSeriesDevices—UsethisNIDeveloperZonedocumenttodeterminewhatversionsoftheNI-RIOsoftware,theLabVIEWReal-TimeModule,andtheLabVIEWFPGAModuleyouneedfortheCSeriesmodules,CompactRIOchassis,CompactRIOcontrollers,Single-BoardRIOdevices,andRSeriesdevicesyouareusing.

Page 6: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SearchingPDFVersionsofCompactRIOManuals(ScanInterface)UseAdobeReaderwithSearchandAccessibility6.xorlatertosearchPDFversionsofalltheCompactRIOmanuals.RefertotheAdobeSystemsIncorporatedWebsitetodownloadAcrobatReader.CompletethefollowingstepstosearchallthePDFversionsofCompactRIOmanuals.

1. InAdobeReader,selectEdit»SearchtodisplaytheSearchPDFwindow.

2. EnterawordorphraseintheWhatwordorphrasewouldyouliketosearchfortextbox.

3. ClicktheAllPDFDocumentsinbuttonandselectBrowseforLocationfromthedrop-downlist.TheBrowseforFolderdialogboxappears.

a. NavigatetotheCompactRIO\manualsdirectory.b. ClicktheOKbuttontoclosethedialogboxandreturnto

theSearchPDFwindow.4. ClicktheSearchbutton.

RefertotheAdobeReaderHelpformoreinformationaboutsearchingallthePDFdocumentsinadirectoryforawordorphrase.

Page 7: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

UsingCompactRIO(ScanInterface)UsethisbookasareferenceforinformationaboutusingLabVIEWwithCompactRIOdevices.

Toviewrelatedtopics,clicktheLocatebutton,shownatleft,inthetoolbaratthetopofthiswindow.TheLabVIEWHelphighlightsthistopicintheContentstabsoyoucannavigatetherelatedtopics.

Page 8: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CompactRIOChassisPropertiesDialogBoxRight-clickaCompactRIOchassisintheProjectExplorerwindowandselectPropertiesfromtheshortcutmenutodisplaythisdialogbox.UsethisdialogboxtoconfigureaCompactRIOchassis.Thisdialogboxincludesthefollowingcomponents:

Name—Specifiesthenameofthechassis,whichappearsintheProjectExplorerwindow.Youcanusethisfieldtogivethechassisadescriptivename.Type—Specifiesthetypeofchassis.Youcannotchangethisvalue.ProgrammingMode—Youcanspecifytheprogrammingmodeforthechassishere.

ScanInterface—EnablesyoutouseCSeriesmodulesdirectlyfromLabVIEWReal-Time.ModulesthatyouuseinScanInterfacemodeappeardirectlyunderthechassisitemintheProjectExplorerwindow.LabVIEWFPGAInterface—EnablesyoutouseCSeriesmodulesfromLabVIEWFPGAVIs.ModulesthatyouuseinLabVIEWFPGAInterfacemodeappeardirectlyundertheFPGATargetintheProjectExplorerwindow.

NoteChangingtheprogrammingmodewilltakeeffectthenexttimeyoudeploysettingtothechassis.Todeploysettings,right-clickthechassisitemintheProjectExplorerwindowandselectDeployfromtheshortcutmenu.

Page 9: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CompactRIODiscoveryStatusDialogBoxWhenyouaddaCompactRIOcontrollerorchassisoraSingle-BoardRIOdevicetoaLabVIEWproject,LabVIEWfindsallCSeriesmodulesinthenewsystem.ThisdialogboxappearswhenLabVIEWreturnserrorswhilelookingforCSeriesmodulesinstalledinthesystem.Thedialogboxlistsanyerrorsthatoccurduringthediscoveryprocess.TheDescriptionfieldofthedialogboxcontainsadetaileddescriptionofeachtypeoferrorcondition.

Page 10: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CompactRIOErrorCodesI/OvariablescanreturnthefollowingerrorcodesforCompactRIO.

Code Description−65580 TheFPGApersonalityrunningontheRIOtargetdoesnothave

enoughspecialtydigitalresourcestosupportthismodule.−65537 Themodulethatwasdetectedisdifferentthanthemodulethat

wasexpected.Makesuretheslotthemoduleisconfiguredforinsoftwarematchesthephysicallocationofthemodule.

−65407 Toomanyspecialtydigitalslots.InScanInterfacemode,youcanconfigureonlytwoslotsforspecialtydigitalI/O.Ifyouwantmorespecialtydigitalslots,addanFPGAtargetunderthechassistoputthechassisinLabVIEWFPGAinterfacemode.

65000 Unabletomountdrive.Thegivendeviceiseithernotpresentornotrecognizableasamountabledevice.

65001 Nopartitionsfound.Thepartitiontableonthedeviceiscorruptorthedevicehaszeropartitionsonit.

65002 Invaliddrivehandle.Thegivenhandledoesnotrepresentanactivemounteddrive.

65003 Drivealreadymounted.Thegivendeviceisalreadymountedasadrive.

65004 Thechannel,slot,orconnectornumberyouwiredtothemethodinputisinvalid.ChangethemethodinputtomatchtheconfigurationoftheCompactRIOsystem.

65005 TheCSeriesmoduleatthespecifiedlocationdoesnotsupportTEDSorTEDSaccessisnotenabledforthemodule.

65006 Communicationwiththemoduletimedout.ThemoduleisbusyperforminganotheractionorLabVIEWisunabletocommunicatewiththemodule.

65007 NoTEDSsensorwasdetectedonthespecifiedchannel.MakesurethattheCSeriesmoduleandsensorareproperlyconnected.Makesurethespecifiedlocationmatchesthesensorlocation.

65008 CompactRIOdoesnotsupporttheTEDSsensorconnectedtothischannel.

Page 11: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

65009 ThePXItriggerthatyouhaveselectedtoreserveorunreserveisinvalid.ValidPXItriggersare0through7,inclusive.

65200 DIOLineAccessConflict.Invalidmoduleconfiguration.AsinglephysicalDIOlinecannotbeaccessedbymultipletypesofoutputnodeswhentheNumberofSynchronizingRegisters=0andanyoftheoutputaccessesisinaSingle-CycleTimedLoop.EitherchangethenumberofSynchronizingRegistersto1inthemodule'spropertiesdialog,oraccesstheresourceexclusivelyasaportoranindividualline,notboth.

65201 DuplicateTerminalsInTheSameNode.AnFPGAI/ONodehasduplicateterminals.DeletetheduplicateterminalfromtheI/ONode.

65202 DigitalResourceAccessConflict.ThedigitalI/OresourcecannotbeaccessedinaSingle-CycleTimedLoopfrombothaDigitalOutputfunctionandaDigitalPortOutputfunction.IfyouneedtoaccessthisresourceinaSingle-CycleTimedLoop,pleaseexclusivelyusejusttheDigitalOutputfunctionorDigitalPortOutputfunction,notboth.

65203 ModuleTimebaseConfigurationError.LabVIEWdetectedaninvalidconfigurationforanFPGAI/ONodethatcontainschannelsfromamodulewithaconfigurabletimebase.IfchannelsofmultiplemoduleswithaconfigurabletimebaseareinthesameFPGAI/ONode,makesureyouconfigurethemodulestosharethesametimebase.UsetheCSeriesModulePropertiesdialogboxtoconfigurethemoduletimebase.RefertotheLabVIEWHelpforinformationabouthowtosynchronizemultipleCSeriesmodules.

65204 DigitalResourceAccessConflict.ThedigitalI/OresourcecannotbeaccessedfrombothaDigitalOutputfunctionandaDigitalPortOutputfunctioniftheNeverArbitrateoptionisused.PleasechangethearbitrationoftheDigitalLineand/orDigitalPorttosomethingotherthanNeverArbitrate,orexclusivelyusejusttheDigitalOutputfunctionorDigitalPortOutputfunction,notboth.

65205 InvalidCSeriesModuleConfiguration.Possiblereasonsfortheinvalidconfigurationincludethatthemastertimebasesourcemoduleisunabletobeidentified,themastertimebasesource

Page 12: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

moduleisnotconfiguredtoexportitstimebase,orthemastertimebasesourcemoduleisnotavalidmoduletype.UsetheCSeriesModulePropertiesdialogboxtoconfigurethemoduletimebase.RefertotheLabVIEWHelpforinformationabouthowtosynchronizemultipleCSeriesmodules.

65206 Invalidtop-levelclock.Youmustuseatop-levelclockof40MHzwhenusingthismodule.Tochangethetop-levelclock,rightclickonyourFPGAtargetintheLabVIEWProjectExplorerandselectproperties.FromtheTop-LevelClockcategory,choosea40MHzclock.

65207 ThedigitaloutputresourcecannotbeaccessedfrombothaDigitalOutputfunctionandaDigitalPortOutputfunction.PleaseexclusivelyusejusttheDigitalOutputfunctionorDigitalPortOutputfunction,notboth.

65208 ThecRIO-9151RSeriesExpansionchassisnolongersupportssynchronizingmultipleNI9225/9229/923xmodules.UsetheCSeriesModulePropertiesdialogboxtosetthemastertimebasesourceoftheslavemodule(s)totheonboardclock.Right-clickthemoduleintheprojectandselectPropertiestodisplaytheCSeriesModulePropertiesdialogbox.ContactNationalInstrumentstechnicalsupportwithquestionsorconcerns.

65209 YoucannotwritetotheSleepchannelifyouareusingtheScanInterfacewithanymodulesinthesystem.

65400 TheFPGAtargetiseitherrunninganFPGAVIorhasloadedanFPGAVI.

65401 OneormorediscoveredCSeriesmodulesarenotsupportedbythecurrentversionsofLabVIEWandNI-RIO.

65402 AninternalsoftwareerrorinNI-RIOhasoccurred.PleasecontactNationalInstrumentstechnicalsupportatni.com/support.

65403 AnunexpectederroroccurredwhenDiscoveringCSeriesModules.MakesuretheLabVIEWProjectissetupproperly.

65404 Thecontrolleryouselectedhasanunconfigured(0.0.0.0)IPaddress.Ifthecontrollerisonline,configureitinMeasurement&AutomationExplorer(MAX),thenmakesuretheIPaddressin

Page 13: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

LabVIEWmatchestheIPaddressinMAX.Ifitisoffline,youcannotdiscoverconnectedtargetsanddevices,butyoucanaddnew,offlinetargetsanddevices.

65405 Modulenotfound.Themodulewhoseconfigurationyoudeployedisnotpresentinthechassis.

65406 Differentmodule.Themodulewhoseconfigurationyoudeployeddoesnotmatchthemodelcurrentlyinthechassis.

65407 Toomanyspecialtydigitalslots.InScanInterfacemode,youcanconfigureonlytwoslotsforspecialtydigitalI/O.Ifyouwantmorespecialtydigitalslots,addanFPGAtargetunderthechassistoputthechassisinLabVIEWFPGAInterfacemode.

65536 Unabletocommunicatewiththemodule.Reinsertthemoduleandcheckconnections.

65537 Themodulethatwasdetectedisdifferentthanthemodulethatwasexpected.Makesuretheslotthemoduleisconfiguredforinsoftwarematchesthephysicallocationofthemodule.

65538 Theoperationfailedtocompleteintime.Makesurethemoduleisnotbusyandthesystemisconfiguredproperly.

65539 Theinputfunctionmissedoneormoredatapoints.Makesuretheloopcanexecuteasfastasthemoduledatarate.

65540 TheI/OResourceisnotincommunicationmode.Youmuststartcommunicationmodebeforeyoucanperformthisoperation.

65541 TheI/OResourceisincommunicationmode.Youmuststopcommunicationmodebeforeyoucanperformthisoperation.

65542 Oneormorechannelshavedetectedanopencurrentloop.Checkthemoduleconnections.

65543 Thepowersupplyvoltagelevelisoutofrange.Checkthesupplyvoltageandthemoduleconnections.

65544 Oneormorechannelsareinovercurrentprotectionmode.Thedeviceconnectedtothechannelispassingmorecurrentthanisallowedthroughthechannel.Checkforpossibleshortsorexternaldevicefailure.

65545 Aninputparameter,oracombinationofparameters,isinvalid.65546 YourapplicationusesafeaturethatisnotsupportedbyyourC

Page 14: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

Serieshardware.65547 ToomanyCANbuserrorframesaredetected.Pleasereferto

thedescriptionofthe'ErrorTerminals'formoreinformation.65548 Oneormorechannelsareinovercurrentorovervoltage

protectionmode.Checktheterminalsforanyfaultconditionthatcouldbecausinganout-of-rangevoltageorcurrentonthechannels.

65549 Ageneralorundefinederrorhasoccurred.Verifythatthecardisinsertedproperlyandthatthedoorisclosed.Iftheerroroccursagain,runCHKDSKonthecard.

65550 Aproblemwasfoundinthefilesystem.RemovetheSDcardandrunCHKDSK.

65551 TheSDcardisinusebyRT.TryagainafterRTunmountsthecard.

65552 TheSDcardisnotready.Verifythatthecardisinsertedproperlyandthatthedoorisclosed.

65553 TheSDcarddoorwasopenedwhileafileonthecardwasopen.

65554 Thespecifiedfiledoesnotexistonthecard.65555 TheOpenmethodtriedtoopenanewfileforwriting,butafile

withthesamenamealreadyexistsonthedisk.65556 AReadorWritemethodtriedtoaccessafilethatwasnot

openedintherequiredmode.65558 AClosemethodtriedtocloseafilethatwasnotopen.65559 AmethodtriedtoopenafileontheSDcardwhenafilewas

alreadyopen.Thisdevicesupportsonlyonefileopenatatime.ThiserrorisalsoreturnedwhenanillegalattempttocalltheDeleteFileorGetFileSizemethodismadewhenafileisopenonthecard.

65560 Anattempttoallocatestoragefailedbecausethefilesystemisfull.

65561 Attemptedtoexceedthelimitof512rootdirectoryentries.65562 AReadmethodtriedtoreadbeyondtheendofafile.Thismay

haveoccurredwhenthemethodreadtheendofafileusinga

Page 15: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

U16orU32datatypewhentheactualnumberofbytesinthefile(asreportedbythedirectory)wasnotanintegermultipleofthenumberofbytesinthereaddatatype.

65563 AproblemwasfoundwiththeformatoftheSDcard.VerifythattheSDcardisformattedwithavalidFAT16filesystem.

65577 Anopenthermocouplewasdetectedonatleastonechannel.Checkthemoduleconnections.

65578 Thecommon-modevoltageisoutsideofacceptablelimitsonatleastonechannel.Checktheterminalsforanyfaultconditionthatcouldbecausinganout-of-rangevoltageonthechannels.

Page 16: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringaProjectforaCompactRIOReconfigurableorIntegratedSystem(ScanInterface)CompletethefollowingstepstoaddacRIO-910xReconfigurableEmbeddedsystemorcRIO-9074Integratedcontrollerandchassissystemtoaneworexistingproject.

Page 17: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringaProjectwithConnectedHardwareCompletethefollowingstepstoconfiguretheprojectifyouhavehardwareinstalled.ThecontrollermustbeattachedtoachassiswithCSeriesmodulesinstalled,connectedtothesamesubnetasthehostcomputer,andpoweredon.Refertothecontrolleroperatinginstructionsforinformationaboutinstallingthecontrolleronachassis,connectingthecontrollertoanetwork,andwiringpowertothecontroller.ThecontrolleralsomustbeconfiguredinMeasurement&AutomationExplorer(MAX).RefertotheMeasurement&AutomationExplorer(MAX)HelpforCompactRIOforinformationaboutconfiguringthecontroller.

1. Createanewprojectoropenanexistingproject.2. Right-clicktheprojectrootintheProjectExplorerwindowand

selectNew»TargetsandDevicesfromtheshortcutmenutodisplaytheAddTargetsandDevicesdialogbox.

3. SelecttheappropriatecontrollerunderReal-TimeCompactRIOandclicktheOKbutton.IfyouareusingacontrollerandchassisthataresupportedinScanInterfacemode,theSelectProgrammingModedialogboxappears.

4. IftheSelectProgrammingModedialogboxappears,selectScanInterfaceandclicktheContinuebuttontoputthesystemintoScanInterfacemode.

5. ClicktheDiscoverbuttonintheDiscoverCSeriesModules?dialogboxthatappears.LabVIEWaddsitemsforthecontroller,thechassis,andallinstalledCSeriesmodulestotheproject.LabVIEWalsoaddsI/OvariablestotheprojectforallinstalledCSeriesmoduleI/Ochannels.

6. Right-clickamoduleitemintheProjectExplorerwindowandselectPropertiesfromtheshortcutmenutoconfiguremodule-specificsettingsintheCSeriesModulePropertiesdialogbox.Somemodulesdonothaveanysettingstoconfigureotherthanthemodulenameandchassisslotlocation.ClicktheHelpbuttonontheCSeriesModulePropertiesdialogboxforinformationaboutthemodulesettings.

Page 18: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringaProjectwithOfflineHardwareCompletethefollowingstepstoconfiguretheprojectifyoudonothavehardwareinstalled.

1. Createanewprojectoropenanexistingproject.2. Right-clicktheprojectrootintheProjectExplorerwindowand

selectNew»TargetsandDevicesfromtheshortcutmenutodisplaytheAddTargetsandDevicesdialogbox.

3. ClicktheNewtargetordeviceradiobutton,selectacontrollerthatsupportstheScanInterfaceunderReal-TimeCompactRIO,andclicktheOKbutton.LabVIEWaddsanRTtargetitemforthecontrollertotheproject.

4. Right-clicktheRTCompactRIOTargetintheProjectExplorerwindowandselectNew»TargetsandDevicesfromtheshortcutmenutodisplaytheAddTargetsandDevicesdialogbox.

5. ClicktheNewtargetordeviceradiobutton,selectachassisthatsupportstheScanInterfaceunderCompactRIOChassis,andclicktheOKbutton.LabVIEWaddsachassisitemtotheproject.

NoteIfyouselectedthecRIO-9074Integratedcontrollerinstep3,youmustselectthecRIO-9074Integratedchassisinthisstep.

6. Right-clickthechassisitemintheProjectExplorerwindowandselectNew»CSeriesModulesfromtheshortcutmenutodisplaytheAddTargetsandDevicesdialogbox.

7. ClicktheNewtargetordeviceradiobutton,selectCSeriesModule,andclicktheOKbuttontodisplaytheNewCSeriesModuledialogbox.

8. SelecttheappropriateCSeriesmodulefromtheModuleTypepull-downmenuandclicktheOKbutton.LabVIEWaddsamoduleitemandI/OvariablesforthemoduleI/Ochannelstotheproject.

9. Repeatsteps6through8toaddadditionalCSeriesmodulestotheproject.

10. Right-clickamoduleitemintheProjectExplorerwindowandselectPropertiesfromtheshortcutmenutoconfiguremodule-specificsettingsintheCSeriesModulePropertiesdialogbox.

Page 19: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

Somemodulesdonothaveanysettingstoconfigureotherthanthemodulenameandchassisslotlocation.ClicktheHelpbuttonontheCSeriesModulePropertiesdialogboxforinformationaboutthemodulesettings.

Page 20: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NewCSeriesModuleDialogBoxRight-clickthechassisintheProjectExplorerwindowandselectNew»CSeriesModulesfromtheshortcutmenutodisplaytheAddTargetsandDevicesonChassisdialogbox.SelectNewtargetordevice,selectCSeriesModule,andclicktheOKbuttontodisplaytheNewCSeriesModuledialogbox.Usethisdialogboxtoselectamodulename,thetypeofmodule,andthechassisslotinwhichthemoduleisinstalled.Thisdialogboxincludesthefollowingcomponents:

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmoduleyouwanttoaddtothechassisintheProjectExplorerwindow.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 21: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ReadingfromCompactRIOChannels(ScanInterface)CompletethefollowingstepstoreaddatafromaCompactRIOchannel.

1. ConfiguretheCompactRIOsystem.2. MakesuretheI/Ovariablefortheinputchannelappearsunder

themoduleitemintheProjectExplorerwindow.3. Right-clicktheRTtargetitemforthecontrollerintheProject

ExplorerwindowandselectNew»VIfromtheshortcutmenutoaddanewLabVIEWReal-TimeVItotheCompactRIOsystem.

4. PlaceaTimedStructureontheblockdiagramoftheVI.5. ConfiguretheTimedStructureasneeded.6. PlacetheI/OvariableforthechannelintheTimedStructure.7. Right-clicktheoutputterminaloftheI/Ovariableandselect

Create»Indicator.8. Right-clicktheerroroutterminaloftheI/Ovariableandselect

Create»Indicator.9. RuntheVI.

Page 22: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SelectProgrammingModeDialogBoxUsethisdialogboxtoselecttheprogrammingmodeyouwanttostartprogrammingthesystemwith.YoucanchangetheprogrammingmodelaterusingtheCompactRIOChassisPropertiesdialogbox.TheSelectProgrammingModedialogboxappearswhenyouaddachassisthatsupportstheScanInterfacetoyourprojectandyouhavetheLabVIEWFPGAModuleinstalledonthehostcomputer.

Page 23: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ScanInterfaceModeScanInterfacemodeenablesyoutouseCSeriesmodulesdirectlyfromLabVIEWReal-Time.ModulesthatyouuseinScanInterfacemodeappeardirectlyundertheChassisitemintheProjectExplorerwindowandI/OchannelsappearasI/Ovariablesunderthemodules.TouseI/Ovariables,youdraganddropthemtoLabVIEWReal-TimeVIs.InScanInterfacemode,youdonotneedtodoanyLabVIEWFPGAdevelopmentorprogramcommunicationbetweenFPGAandHostVIs.YoualsodonotneedtowaitforVIstobecompiledtotheFPGAbeforedeployingandrunningthem.InScanInterfacemode,LabVIEWprogramstheFPGAontheCompactRIOtargettoworkwiththevariables.

Page 24: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

LabVIEWFPGAInterfaceModeLabVIEWFPGAInterfacemodeenablesyoutouseCSeriesmodulesfromLabVIEWFPGAVIs.ModulesthatyouuseinLabVIEWFPGAInterfacemodeappeardirectlyundertheFPGATargetitemintheProjectExplorerwindowandI/OchannelsappearasFPGAI/OitemsundertheFPGATarget.ToaccesstheI/Ochannels,youconfigureFPGAI/ONodesinFPGAVIs.InLabVIEWFPGAInterfacemode,youcanuseLabVIEWFPGAprogrammingtoaddmoreflexibility,customization,anddeterministictimingtoyourapplications.TousetheCompactRIOsysteminLabVIEWFPGAInterfacemode,youmusteitherhavetheLabVIEWFPGAModuleinstalledonthehostcomputer,orhaveaccesstoacompiledbitfilethatyoucandownloadtotheFPGA.Ineithercase,youusetheOpenFPGAVIReferencefunctioninahostVItoaccesstheFPGAVIorbitfile.InLabVIEWFPGAInterfacemode,youcanstillusetheScanInterfaceforsomemodules.DraganddropamoduletotheChassisitemtousetheScanInterfaceforthatmodule,anddraganddropamoduletotheFPGATargetitemtodevelopFPGAVIsforthatmodule.YoumaywanttousethechassisinFPGAInterfacemodeandsomemodulesinScanInterfacemodeif,forexample,youneedmorethantwomodulestodospecialtydigitalfunctions.WhenyoucompiletheFPGAVIs,theresultingbitfiledownloadedtothechassisincludesthelogicneededtocommunicatewithmodulesusingtheScanInterface.YoumustensurethatthebitfileisrunningontheFPGAbeforeaccessingI/Ovariables.

NoteIfthechassisisinLabVIEWFPGAInterfacemode,youmustalwaysusetheOpenFPGAVIReferencefunctiontodownloadacompiledbitfiletotheFPGAbeforeusingtheI/OvariablesofmodulesthataredirectlyundertheChassisitem.

NoteIfthechassisisinLabVIEWFPGAInterfacemode,havingmodulesdirectlyundertheChassisitemusestwoDMAchannels.

Page 25: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SupportedCompactRIOHardware(ScanInterface)ScanInterfacemodesupportsthefollowingCompactRIOhardware.

Page 26: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CompactRIOControllerscRIO-9074IntegratedReal-TimeControllerandChassiscRIO-9012IntelligentReal-TimeControllercRIO-9014IntelligentReal-TimeController

Page 27: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CompactRIOChassiscRIO-9074IntegratedReal-TimeControllerandChassiscRIO-9103ReconfigurableEmbeddedChassiscRIO-9104ReconfigurableEmbeddedChassis

Page 28: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulesAnalogInput

NI9201NI9203NI9205NI9206NI9211NI9213NI9215NI9217NI9219NI9221NI9229NI9233NI9234NI9237NI9239

AnalogOutputNI9263NI9264NI9265

DigitalInputNI9401NI9403NI9411NI9421NI9422NI9423NI9425NI9426NI9435

DigitalOutput

Page 29: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9401NI9403NI9472NI9474NI9475NI9476NI9477NI9481NI9485

MotionNI9512NI9514NI9516

Page 30: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

UsingtheRIODeviceI/OControlPlacetheRIODeviceI/OcontrolonthefrontpanelofaVI.UsetheI/Ocontrolpull-downmenutoselectaRIOdevice.

Page 31: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SelectingaRIODeviceinaProjectVITargetedtoMyComputerIftheVIispartofaprojectandistargetedtoMyComputer,theI/Ocontrolpull-downmenushowsthefollowingsectionsfromtoptobottom.

RIOdevicesintheprojectLocalRIOdevicesandlocalRIOaliasesBrowse,whichopenstheBrowseRIODevicesdialogboxRecentlyusedRIOdevices

Page 32: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SelectingaRIODeviceinaProjectVITargetedtoanRTControllerIftheVIispartofaprojectandistargetedtoanRTcontroller,theI/Ocontrolpull-downmenushowsthefollowingsection.

RIOdeviceslocaltothecontroller

Page 33: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SelectingaRIODeviceinaNon-ProjectVIIftheVIisnotpartofaproject,theI/Ocontrolpull-downmenushowsthefollowingsectionsfromtoptobottom.

LocalRIOdevicesandlocalRIOaliasesBrowse,whichopenstheBrowseRIODevicesdialogboxRecentlyusedRIOdevices

Page 34: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

WritingtoCompactRIOChannels(ScanInterface)CompletethefollowingstepstowritetoaCompactRIOchannel.

1. ConfiguretheCompactRIOsystem.2. MakesuretheI/Ovariablefortheoutputchannelappearsunder

themoduleitemintheProjectExplorerwindow.3. Right-clicktheRTtargetitemforthecontrollerintheProject

ExplorerwindowandselectNew»VIfromtheshortcutmenutoaddanewLabVIEWReal-TimeVItotheCompactRIOsystem.

4. PlaceaTimedStructureontheblockdiagramoftheVI.5. ConfiguretheTimedStructureasneeded.6. PlacetheI/OvariableforthechannelintheTimedStructure.7. Right-clicktheinputterminaloftheI/Ovariableandselect

Create»Control.8. Right-clicktheerroroutterminaloftheI/Ovariableandselect

Create»Indicator.9. RuntheVI.

Page 35: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9201(ScanInterface)CompactRIO8-Channel,±10V,12-BitAnalogInputModule

Page 36: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.

Page 37: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9201hasthefollowingchannels.

Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9201,xis0to7.

Page 38: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9201.Right-clicktheNI9201intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 39: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9201/9221OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 40: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9203(ScanInterface)CompactRIO8-Channel,±20mA,16-BitAnalogInputModule

Page 41: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainamps.

Page 42: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9203hasthefollowingchannels.

Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9203,xis0to7.

Page 43: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9203.Right-clicktheNI9203intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.ChannelConfiguration—Youcanspecifytheinputrangeforeachchannel.

Channels—Specifiesthechannel(s)forwhichyouwanttoselecttheinputrange.InputRange—Specifiestheinputrangefortheselectedchannel(s)aseither0–20mAor±20mA.

Page 44: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9203OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 45: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9205(ScanInterface)CompactRIO32-ChannelSingle-Ended/16-ChannelDifferential,±200mVto±10V,16-BitAnalogInputModule

Page 46: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.

Page 47: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9205hasthefollowingchannels.

Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9205,xis0to31.

Page 48: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9205.Right-clicktheNI9205intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.ChannelConfiguration—Youcanspecifytheinputrangeforeachchannel.

Channels—Specifiesthechannel(s)forwhichyouwanttoselecttheinputrange.InputRange—Specifiestheinputrangefortheselectedchannel(s)as±10V,±5V,±1V,or±200mV.TerminalMode—Specifiestheterminalmodefortheselectedchannel(s)asRSE(referencedsingle-ended),NRSE(nonreferencedsingle-ended),orDIFF(differential).

Page 49: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9205OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 50: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9206(ScanInterface)CompactRIO32-ChannelSingle-Ended/16-ChannelDifferential,±200mVto±10V,16-BitAnalogInputModule

Page 51: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.

Page 52: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9206hasthefollowingchannels.

Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9206,xis0to31.

Page 53: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9206.Right-clicktheNI9206intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.ChannelConfiguration—Youcanspecifytheinputrangeforeachchannel.

Channels—Specifiesthechannel(s)forwhichyouwanttoselecttheinputrange.InputRange—Specifiestheinputrangefortheselectedchannel(s)as±10V,±5V,±1V,or±200mV.TerminalMode—Specifiestheterminalmodefortheselectedchannel(s)asRSE(referencedsingle-ended),NRSE(nonreferencedsingle-ended),orDIFF(differential).

Page 54: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9206OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 55: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9211(ScanInterface)CompactRIO4-Channel,±80mV,24-BitThermocoupleInputModule

Page 56: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainunitsasspecifiedontheCSeriesModulePropertiesdialogbox.

Page 57: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9211hasthefollowingchannels.

Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9211,xis0to3.

Page 58: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9211.Right-clicktheNI9211intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.ThermocoupleType—Specifiesthetypeofthermocoupleconnectedtothechannel.MeasurementUnits—Specifiestheunitsyouwantdatatobereturnedinforthechannel.YoucanselectRawVolts,DegreesKelvin,DegreesCelsius,DegreesFahrenheit,orDegreesRankine.

Page 59: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9211OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 60: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9213(ScanInterface)CompactRIO16-Channel,±78mV,24-BitThermocoupleInputModule

Page 61: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainunitsasspecifiedontheCSeriesModulePropertiesdialogbox.

Page 62: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9213hasthefollowingchannels.

Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9213,xis0to15.

Page 63: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9213.Right-clicktheNI9213intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.ConversionTime—Determinesthetimeittakestoacquireonepointofdatafromoneormorechannels.YoucanselectHighSpeedorHighResolution.RefertotheNI9213OperatingInstructionsandSpecificationsformoreinformationabouttheHighSpeedandHighResolutionconversiontimes.Channels—Specifiesthechannel(s)forwhichyouwanttoconfiguresettings.ThermocoupleType—Specifiesthetypeofthermocoupleconnectedtothechannel.MeasurementUnits—Specifiestheunitsyouwantdatatobereturnedinforthechannel.YoucanselectRawVolts,DegreesKelvin,DegreesCelsius,DegreesFahrenheit,orDegreesRankine.

Page 64: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9213OperatingInstructionsandSpecifications,shippedwiththeNI9213,tolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 65: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9215(ScanInterface)CompactRIO4-Channel,±10V,16-BitSimultaneousAnalogInputModule

Page 66: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.

Page 67: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9215hasthefollowingchannels.

Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9215,xis0to3.

Page 68: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9215.Right-clicktheNI9215intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 69: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9215OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 70: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9217(ScanInterface)CompactRIO4-Channel,24-Bit,100ΩRTDAnalogInputModule

Page 71: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainunitsasspecifiedontheCSeriesModulePropertiesdialogbox.

Page 72: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9217hasthefollowingchannels.

Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9217,xis0to3.

Page 73: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9217.Right-clicktheNI9217intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.ConversionTime—Specifiesthetimeittakestoacquireonepointofdatafromallchannels.Youcanselect200msor2.5ms.MeasurementUnits—Specifiestheunitsyouwantdatatobereturnedinforthechannel.YoucanselectRawOhms,DegreesKelvin,DegreesCelsius,DegreesFahrenheit,orDegreesRankine.IftheRTDdoesnothaveatemperaturecoefficientofresistance(TCR)of3851,youmustselectRawOhmsandusetheConvertRTDReadingVItoconvertvaluestotemperatureunits.

Page 74: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9217OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 75: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9219(ScanInterface)CompactRIO4-Channel,24-BitUniversalAnalogInputModule

Page 76: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdataorBooleandatainunitsdeterminedbythemeasurementmodeyouselectontheCSeriesModulePropertiesdialogbox.Thefollowingtableshowstheunitsforthedifferentmodes.

Mode DataUnitsVoltage VoltsCurrent AmpsResistance OhmsThermocouple VoltsorTemperatureUnitsRTD OhmsorTemperatureUnitsBridge Volts/VoltDigitalIn BooleanOpenContact Boolean

Page 77: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9219hasthefollowingchannels.

Channel DescriptionCHx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9219,xis0to3.

Page 78: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9219.Right-clicktheNI9219intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.Channels—Specifiesthechannel(s)forwhichyouwanttoconfiguresettings.Mode—Specifiesthemeasurementmodefortheselectedchannel(s).Range—Specifiestherangefortheselectedchannel(s).Type—Specifiesthetypeofthermocoupleconnectedtoachannelinthermocouplemode.MeasurementUnits—Specifiestheunitsfordatatobereturnedfromtheselectedchannel(s)configuredforthermocoupleorRTDmode.Threshold—Specifiestheminimumhighlevelinvoltsfortheselectedchannel(s)configuredforDigitalInmode.Therangeofvalidthresholdvaluesis0–60.ConversionTime—Determinesthetimeittakestoreadallchannelsofthemodule.YoucanselectHighSpeed,Best60HzRejection,Best50HzRejection,orHighResolution.RefertotheNI9219OperatingInstructionsandSpecificationsformoreinformationabouttheseconversiontimes.

Page 79: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9219OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 80: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9221(ScanInterface)CompactRIO8-Channel,±60V,12-BitAnalogInputModule

Page 81: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.

Page 82: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9221hasthefollowingchannels.

Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9221,xis0to7.

Page 83: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9221.Right-clicktheNI9221intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 84: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9201/9221OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 85: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9229(ScanInterface)CompactRIO4-Channel,±60V,24-BitSimultaneousAnalogInputModule

Page 86: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.

Page 87: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9229hasthefollowingchannels.

Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9229,xis0to3.

Page 88: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9229.Right-clicktheNI9229intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 89: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9229/9239OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 90: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9233(ScanInterface)CompactRIO4-Channel,±5V,24-BitIEPEAnalogInputModule

Page 91: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.

Page 92: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9233hasthefollowingchannels.

Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9233,xis0to3.

Page 93: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9233.Right-clicktheNI9233intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 94: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9233OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 95: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9234(ScanInterface)CompactRIO4-Channel,±5V,51.2KS/s,24-BitSoftwareSelectableIEPEandAC/DCAnalogInputModule

Page 96: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.

Page 97: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9234hasthefollowingchannels.

Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9234,xis0to3.

Page 98: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9234.Right-clicktheNI9234intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.Channels—Specifiesthechannel(s)forwhichyouwanttoselecttheinputconfiguration.InputConfiguration—Specifiestheinputconfigurationfortheselectedchannel(s).Youcanselectoneofthreemodes:ACcoupled,DCcoupled,orIEPEACcoupled.

Page 99: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9234OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 100: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9237(ScanInterface)CompactRIO4-Channel,24-BitHalf/Full-BridgeAnalogInputModule

Page 101: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts/volts(channelvoltage/excitationvoltage).

Page 102: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9237hasthefollowingchannels.

Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9237,xis0to3.

Page 103: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9237.Right-clicktheNI9237intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.ExcitationVoltage—Specifiestheexcitationvoltageforthemoduletooutputtobridges,orspecifiesexternalexcitation.EnableHalf-BridgeCompletion—Enableshalf-bridgecompletionforindividualchannels.

Page 104: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9237OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 105: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9239(ScanInterface)CompactRIO4-Channel,±10V,24-BitSimultaneousAnalogInputModule

Page 106: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.

Page 107: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9239hasthefollowingchannels.

Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.

FortheNI9239,xis0to3.

Page 108: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9239.Right-clicktheNI9239intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 109: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9229/9239OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 110: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9263(ScanInterface)CompactRIO4-Channel,±10V,16-BitSimultaneousAnalogOutputModule

Page 111: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariableswritefloating-pointvaluestothechannelsinvolts.

Page 112: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9263hasthefollowingchannels.

Channel DescriptionAOx Analogoutputchannelx,wherexisthenumberofthe

channel.FortheNI9263,xis0to3.

Page 113: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9263.Right-clicktheNI9263intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 114: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9263OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 115: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9264(ScanInterface)CompactRIO16-Channel,±10V,16-BitSimultaneousAnalogVoltageOutputModule

Page 116: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariableswritefloating-pointvaluestothechannelsinvolts.

Page 117: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9264hasthefollowingchannels.

Channel DescriptionAOx Analogoutputchannelx,wherexisthenumberofthe

channel.FortheNI9264,xis0to15.

Page 118: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9264.Right-clicktheNI9264intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 119: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9264OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 120: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9265(ScanInterface)CompactRIO4-Channel,0–20mA,16-BitSimultaneousAnalogCurrentOutputModule

Page 121: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariableswritefloating-pointvaluestothechannelsinamps.

Page 122: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9265hasthefollowingchannels.

Channel DescriptionAOx Analogoutputchannelx,wherexisthenumberofthe

channel.FortheNI9265,xis0to3.

Page 123: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9265.Right-clicktheNI9265intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 124: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9265OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 125: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9401(ScanInterface)CompactRIO8-Channel,TTLDigitalInput/OutputModule

Page 126: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreadandwriteBooleanvalues.

Page 127: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9401hasthefollowingchannels.

Channel DescriptionDIOx Digitalinput/outputchannelx,wherexisthenumberofthe

channel.FortheNI9401,xis0to7.

Page 128: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9401.Right-clicktheNI9401intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.InitialLineDirection—Specifiestheinitiallinedirectionofeachfour-channelportasinputoroutput.

Page 129: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforpulse-widthmodulationoutput,counterinput,orquadratureinput.

Page 130: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9401OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 131: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9403(ScanInterface)CompactRIO32-Channel,TTLDigitalInput/OutputModule

Page 132: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreadandwriteBooleanvalues.

Page 133: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9403hasthefollowingchannels.

Channel DescriptionDIOx Digitalinput/outputchannelx,wherexisthenumberofthe

channel.FortheNI9403,xis0to31.

Page 134: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9403.Right-clicktheNI9403intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.Channels—Specifiesthechannel(s)forwhichyouwanttoconfiguresettings.InitialLineDirection—Specifiestheinitiallinedirectionoftheselectedchannel(s)asinputoroutput.

Page 135: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9403OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 136: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9411(ScanInterface)CompactRIO6-Channel,DifferentialorTTLDigitalInputModule

Page 137: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreturndataasBooleanvalues.

Page 138: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9411hasthefollowingchannels.

Channel DescriptionDIx Digitalinputchannelx,wherexisthenumberofthechannel.

FortheNI9411,xis0to5.

Page 139: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9411.Right-clicktheNI9411intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 140: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounterinputorquadratureinput.

Page 141: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9411OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 142: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9421(ScanInterface)CompactRIO8-Channel,24V,SinkingDigitalInputModule

Page 143: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreturndataasBooleanvalues.

Page 144: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9421hasthefollowingchannels.

Channel DescriptionDIx Digitalinputchannelx,wherexisthenumberofthechannel.

FortheNI9421,xis0to7.

Page 145: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9421.Right-clicktheNI9421intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 146: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounterinputorquadratureinput.

Page 147: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9421/9423OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 148: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9422(ScanInterface)CompactRIO8-Channel,24V,Sinking/SourcingDigitalInputModule

Page 149: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreturndataasBooleanvalues.

Page 150: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9422hasthefollowingchannels.

Channel DescriptionDIx Digitalinputchannelx,wherexisthenumberofthechannel.

FortheNI9422,xis0to7.

Page 151: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9422.Right-clicktheNI9422intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 152: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounterinputorquadratureinput.

Page 153: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9422OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 154: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9423(ScanInterface)CompactRIO8-Channel,24V,High-SpeedDigitalInputModule

Page 155: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreturndataasBooleanvalues.

Page 156: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9423hasthefollowingchannels.

Channel DescriptionDIx Digitalinputchannelx,wherexisthenumberofthechannel.

FortheNI9423,xis0to7.

Page 157: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9423.Right-clicktheNI9423intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 158: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounterinputorquadratureinput.

Page 159: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9421/9423OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 160: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9425(ScanInterface)CompactRIO32-Channel,24V,SinkingDigitalInputModule

Page 161: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreturndataasBooleanvalues.

Page 162: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9425hasthefollowingchannels.

Channel DescriptionDIx Digitalinputchannelx,wherexisthenumberofthechannel.

FortheNI9425,xis0to31.

Page 163: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9425.Right-clicktheNI9425intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 164: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9425OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 165: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9426(ScanInterface)CompactRIO32-Channel,24V,SourcingDigitalInputModule

Page 166: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreturndataasBooleanvalues.

Page 167: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9426hasthefollowingchannels.

Channel DescriptionDIx Digitalinputchannelx,wherexisthenumberofthechannel.

FortheNI9426,xis0to31.

Page 168: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9426.Right-clicktheNI9426intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 169: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9426OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 170: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9435(ScanInterface)CompactRIO4-Channel,AC/DCUniversalDigitalInputModule

Page 171: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreturndataasBooleanvalues.

Page 172: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9435hasthefollowingchannels.

Channel DescriptionDIx Digitalinputchannelx,wherexisthenumberofthechannel.

FortheNI9435,xis0to3.

Page 173: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9435.Right-clicktheNI9435intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 174: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounterinputorquadratureinput.

Page 175: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9435OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 176: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9472(ScanInterface)CompactRIO8-Channel,24V,SourcingDigitalOutputModule

Page 177: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariableswriteBooleanvaluestothechannels.

Page 178: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9472hasthefollowingchannels.

Channel DescriptionDOx Digitaloutputchannelx,wherexisthenumberofthechannel.

FortheNI9472,xis0to7.

Page 179: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9472.Right-clicktheNI9472intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 180: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounter-drivenoutputorpulse-widthmodulationoutput.

Page 181: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9472/9474OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 182: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9474(ScanInterface)CompactRIO8-Channel,24V,High-Speed,SourcingDigitalOutputModule

Page 183: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariableswriteBooleanvaluestothechannels.

Page 184: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9474hasthefollowingchannels.

Channel DescriptionDOx Digitaloutputchannelx,wherexisthenumberofthechannel.

FortheNI9474,xis0to7.

Page 185: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9474.Right-clicktheNI9474intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 186: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounter-drivenoutputorpulse-widthmodulationoutput.

Page 187: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9472/9474OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 188: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9475(ScanInterface)CompactRIO8-Channel,60V,High-Speed,SourcingDigitalOutputModule

Page 189: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariableswriteBooleanvaluestothechannels.

Page 190: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9475hasthefollowingchannels.

Channel DescriptionDOx Digitaloutputchannelx,wherexisthenumberofthechannel.

FortheNI9475,xis0to7.

Page 191: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9475.Right-clicktheNI9475intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 192: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounter-drivenoutputorpulse-widthmodulationoutput.

Page 193: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9475OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 194: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9476(ScanInterface)CompactRIO32-Channel,24V,High-Speed,SourcingDigitalOutputModule

Page 195: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariableswriteBooleanvaluestothechannels.

Page 196: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9476hasthefollowingchannels.

Channel DescriptionDOx Digitaloutputchannelx,wherexisthenumberofthechannel.

FortheNI9476,xis0to31.

Page 197: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9476.Right-clicktheNI9476intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 198: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9476OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 199: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9477(ScanInterface)CompactRIO32-Channel,5–60V,SinkingDigitalOutputModule

Page 200: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariableswriteBooleanvaluestothechannels.

Page 201: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9477hasthefollowingchannels.

Channel DescriptionDOx Digitaloutputchannelx,wherexisthenumberofthechannel.

FortheNI9477,xis0to31.

Page 202: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9477.Right-clicktheNI9477intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 203: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9477OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 204: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9481(ScanInterface)CompactRIO4-Channel,FormAElectromechanicalRelayModule

Page 205: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariableswriteBooleanvaluestothechannels.

Page 206: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9481hasthefollowingchannels.

Channel DescriptionDOx Digitaloutputchannelx,wherexisthenumberofthechannel.

FortheNI9481,xis0to3.

Page 207: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9481.Right-clicktheNI9481intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 208: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9481OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 209: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9485(ScanInterface)CompactRIO8-Channel,Solid-StateRelay(SSR)Module

Page 210: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariableswriteBooleanvaluestothechannels.

Page 211: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ModuleChannelsTheNI9485hasthefollowingchannels.

Channel DescriptionDOx Digitaloutputchannelx,wherexisthenumberofthechannel.

FortheNI9485,xis0to7.

Page 212: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9485.Right-clicktheNI9485intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 213: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9485OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 214: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

MotionModules(ScanInterface)UsethisbookasareferenceforinformationaboutconfiguringCSeriesmotionmodulesontheCSeriesModulePropertiesdialogbox.

Toviewrelatedtopics,clicktheLocatebutton,shownatleft,inthetoolbaratthetopofthiswindow.TheLabVIEWHelphighlightsthistopicintheContentstabsoyoucannavigatetherelatedtopics.

Page 215: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9512(ScanInterface)One-axisstepperdriveinterfacemodulewithquadratureencoderfeedback

UsetheNISoftMotionController,installedwiththeNI-Motionsoftware,toconfigureaxesforthismodule.RefertotheNI-MotionLabVIEWHelpforinformationaboutconfiguringandusingthismodule.YoucanfindtheNI-MotionLabVIEWHelpbyselectingHelp»NI-MotionLabVIEWHelpfromwithinLabVIEW.

Page 216: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxRight-clicktheNI9512intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 217: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9512OperatingInstructionsandSpecificationsandtheNI951xUserManualtolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 218: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9514(ScanInterface)One-axisservodriveinterfacemodulewithquadratureencoderfeedback

UsetheNISoftMotionController,installedwiththeNI-Motionsoftware,toconfigureaxesforthismodule.RefertotheNI-MotionLabVIEWHelpforinformationaboutconfiguringandusingthismodule.YoucanfindtheNI-MotionLabVIEWHelpbyselectingHelp»NI-MotionLabVIEWHelpfromwithinLabVIEW.

Page 219: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxRight-clicktheNI9514intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 220: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9514OperatingInstructionsandSpecificationsandtheNI951xUserManualtolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 221: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

NI9516(ScanInterface)One-axisservodriveinterfacemodulewithdualquadratureencoderfeedback

UsetheNISoftMotionController,installedwiththeNI-Motionsoftware,toconfigureaxesforthismodule.RefertotheNI-MotionLabVIEWHelpforinformationaboutconfiguringandusingthismodule.YoucanfindtheNI-MotionLabVIEWHelpbyselectingHelp»NI-MotionLabVIEWHelpfromwithinLabVIEW.

Page 222: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CSeriesModulePropertiesDialogBoxRight-clicktheNI9516intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.

Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.

Page 223: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

HardwareDocumentationRefertotheNI9516OperatingInstructionsandSpecificationsandtheNI951xUserManualtolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.

Page 224: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SpecialtyDigitalConfiguration(ScanInterface)YoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfiguresomeCSeriesdigitalinputandoutputmodulesforspecialtydigitalfunctions.Specialtydigitalfunctionsincludecountinput,counter-drivenoutput,pulse-widthmodulationoutput,andquadratureinput.IfthechassisisinScanInterfacemode,youcanconfiguremodulesinuptotwoslotsforspecialtydigitalfunctions.Ifyouwanttoconfiguremorethantwomodulesforspecialtydigitalfunctions,youmustchangetheprogrammingmodeofthechassistoFPGAInterfacemode.YoustillusetheScanInterfaceforthemodulesthatyouconfigureforspecialtydigitalfunctions.Themaximumupdaterateformodulesconfiguredforspecialtydigitalfunctionsisapproximately4mHz.

Page 225: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringCounters(ScanInterface)YoucanconfigurechannelsofsomeCSeriesdigitalinputmodulesascounters.Countersmeasuredigitalsignals.Countersareusedcommonlytocountedgesandfortimemeasurements,suchasmeasuringthefrequencyorperiodofasignal.

Page 226: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringtheInputFilterYoucanaddaninputfiltertoallinputchannelsofthemodule.Afilterremovesnoise,glitches,andspikesoninputsbyrejectingsignalswithperiodsshorterthanthespecifiedlength.Youcanselectoneofthefollowingoptions.

Disabled—Thehardwaresynchronizesthedigitalinputsusinga4MHztimebase.Pulseslongerthan250nsarealwaysdetected.Pulsesshorterthan250nsmayberejected.1µs—Pulsesshorterthan1µsarerejected.Pulsesbetween1µsand2µsaresometimesdetected.Pulseslongerthan2µsarealwaysdetected.16µs—Pulsesshorterthan16µsarerejected.Pulsesbetween16µsand32µsaresometimesdetected.Pulseslongerthan32µsarealwaysdetected.256µs—Pulsesshorterthan256µsarerejected.Pulsesbetween256µsand512µsaresometimesdetected.Pulseslongerthan512µsarealwaysdetected.4096µs—Pulsesshorterthan4096µsarerejected.Pulsesbetween4096µsand8192µsaresometimesdetected.Pulseslongerthan8192µsarealwaysdetected.

Page 227: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SelectingtheMeasurementModeYoucanselectoneoffourcountermeasurementmodesforeachcounterchannel:CountEdges,PeriodMeasurement,Pulse-WidthMeasurement,orFrequencyMeasurement.

Page 228: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringaCountertoCountEdges(ScanInterface)Youcanconfigureacountertocountsignaledgesandperformanactiononanotherchannelwhenthecountreachesaspecifiednumber,theterminalcount.Youcanconfigurethefollowingoptionsforedgecounting.

Page 229: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringtheInputFilterYoucanaddaninputfiltertoallinputchannelsofthemodule.Afilterremovesnoise,glitches,andspikesoninputsbyrejectingsignalswithperiodsshorterthanthespecifiedlength.Youcanselectoneofthefollowingoptions.

Disabled—Thehardwaresynchronizesthedigitalinputsusinga4MHztimebase.Pulseslongerthan250nsarealwaysdetected.Pulsesshorterthan250nsmayberejected.1µs—Pulsesshorterthan1µsarerejected.Pulsesbetween1µsand2µsaresometimesdetected.Pulseslongerthan2µsarealwaysdetected.16µs—Pulsesshorterthan16µsarerejected.Pulsesbetween16µsand32µsaresometimesdetected.Pulseslongerthan32µsarealwaysdetected.256µs—Pulsesshorterthan256µsarerejected.Pulsesbetween256µsand512µsaresometimesdetected.Pulseslongerthan512µsarealwaysdetected.4096µs—Pulsesshorterthan4096µsarerejected.Pulsesbetween4096µsand8192µsaresometimesdetected.Pulseslongerthan8192µsarealwaysdetected.

Page 230: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

TerminalCountYoucanspecifyaterminalcountuptoamaximumof232=4,294,967,296.Whenthecounterreachestheterminalcount,itresetsandstartscountingagainfromzero.

Page 231: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

TerminalCountOutputModeYoucanselectoneofthefollowingfouractionstoperformonadigitaloutputchannelonanothermodulewhenthecounterreachesthespecifiedterminalcount.

Toggle,ResetOff—Thecounter-drivenchannelstartsintheoffstateandchangesstateeachtimethecounterchannelreachestheterminalcount.Toggle,ResetOn—Thecounter-drivenchannelstartsintheonstateandchangesstateeachtimethecounterchannelreachestheterminalcount.OnPulse—Thecounter-drivenchannelturnsoneachtimethecounterchannelreachestheterminalcountandremainsonuntilthenextcounterincrement.OffPulse—Thecounter-drivenchannelturnsoffeachtimethecounterchannelreachestheterminalcountandremainsoffuntilthenextcounterincrement.

NoteInorderforthecountertodriveanoutputchannel,youmustconfigurethemodulethattheoutputchannelisonforcounter-drivenoutput.Thecounter-drivenoutputchannelhasthesamenumberasthecounterchannelthatdrivesit.Forexample,CTR3drivesDO3onaneight-channeldigitaloutputmoduleinanotherslotinthesamechassis.

Page 232: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CounterEventRisingEdge—Thecountercountsrisingedges.FallingEdge—Thecountercountsfallingedges.AnyEdge—Thecountercountsalledges.

Page 233: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CountDownIfthisboxischecked,thecountercountsbackwardfromtheterminalcount.Whenthecounterreacheszero,itresetsandstartscountingagainfromtheterminalcount.

Page 234: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

CounterSourceYoucanselectThisChanneltocountedgesonaninputsignalconnectedtothischannel,orTerminalCountofPreviousChanneltoincrementthecounterwhenthepreviouschannelreachestheterminalcount.Youcanusethisoptiontocreatecounterswithterminalcountslargerthan4,294,967,296.

Page 235: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

GateModeYoucanselectAlwaysEnabled,whichmeansthatthecounteralwayscountsedges,orNextChannel,whichmeansthatthecounterincrementsonlywhenthenexthigherchannelisintheonstate.

Page 236: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringaCountertoMeasurePeriod(ScanInterface)Youcanconfigureadigitalinputchannelasacountertomeasuretheperiodofasignalconnectedtothechannel.Thecounterreturnsdatainµs.Youcanconfigurethefollowingoptionsforaperiodmeasurementcounter.UsetheMeasurementEdgecontroltospecifyRisingEdgeorFallingEdge.

Page 237: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringtheInputFilterYoucanaddaninputfiltertoallinputchannelsofthemodule.Afilterremovesnoise,glitches,andspikesoninputsbyrejectingsignalswithperiodsshorterthanthespecifiedlength.Youcanselectoneofthefollowingoptions.

Disabled—Thehardwaresynchronizesthedigitalinputsusinga4MHztimebase.Pulseslongerthan250nsarealwaysdetected.Pulsesshorterthan250nsmayberejected.1µs—Pulsesshorterthan1µsarerejected.Pulsesbetween1µsand2µsaresometimesdetected.Pulseslongerthan2µsarealwaysdetected.16µs—Pulsesshorterthan16µsarerejected.Pulsesbetween16µsand32µsaresometimesdetected.Pulseslongerthan32µsarealwaysdetected.256µs—Pulsesshorterthan256µsarerejected.Pulsesbetween256µsand512µsaresometimesdetected.Pulseslongerthan512µsarealwaysdetected.4096µs—Pulsesshorterthan4096µsarerejected.Pulsesbetween4096µsand8192µsaresometimesdetected.Pulseslongerthan8192µsarealwaysdetected.

Page 238: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SelectingtheMeasurementEdgeRisingEdge—Thecountermeasuresthetimefromonerisingedgetothenextrisingedge.FallingEdge—Thecountermeasuresthetimefromonefallingedgetothenextfallingedge.

Page 239: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringaCountertoMeasurePulseWidth(ScanInterface)Youcanconfigureadigitalinputchannelasacountertomeasurethepulsewidthofasignalconnectedtothechannel.Thecounterreturnsdatainµs.Youcanconfigurethefollowingoptionsforapulse-widthmeasurementcounter.

Page 240: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringtheInputFilterYoucanaddaninputfiltertoallinputchannelsofthemodule.Afilterremovesnoise,glitches,andspikesoninputsbyrejectingsignalswithperiodsshorterthanthespecifiedlength.Youcanselectoneofthefollowingoptions.

Disabled—Thehardwaresynchronizesthedigitalinputsusinga4MHztimebase.Pulseslongerthan250nsarealwaysdetected.Pulsesshorterthan250nsmayberejected.1µs—Pulsesshorterthan1µsarerejected.Pulsesbetween1µsand2µsaresometimesdetected.Pulseslongerthan2µsarealwaysdetected.16µs—Pulsesshorterthan16µsarerejected.Pulsesbetween16µsand32µsaresometimesdetected.Pulseslongerthan32µsarealwaysdetected.256µs—Pulsesshorterthan256µsarerejected.Pulsesbetween256µsand512µsaresometimesdetected.Pulseslongerthan512µsarealwaysdetected.4096µs—Pulsesshorterthan4096µsarerejected.Pulsesbetween4096µsand8192µsaresometimesdetected.Pulseslongerthan8192µsarealwaysdetected.

Page 241: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SelectingtheMeasurementTypeHighPulse—Thecounterreturnsthetimethattheconnectedsignalishigh.LowPulse—Thecounterreturnsthetimethattheconnectedsignalislow.MostRecent—Thecounterreturnsthelengthsofthemostrecenthighandlowpulses.

Page 242: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringaCountertoMeasureFrequency(ScanInterface)Youcanconfigureacountertomeasurethefrequencyofasignalconnectedtothechannel.ThecountercountsthenumberofrisingorfallingsignaledgesduringthelengthoftheFrequencyTimebase,dividesthatnumberbytheFrequencyTimebaseinµs,andreturnsthefrequencyinkHz.Youcanconfigurethefollowingoptionsforafrequencymeasurementcounter.

Page 243: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringtheInputFilterYoucanaddaninputfiltertoallinputchannelsofthemodule.Afilterremovesnoise,glitches,andspikesoninputsbyrejectingsignalswithperiodsshorterthanthespecifiedlength.Youcanselectoneofthefollowingoptions.

Disabled—Thehardwaresynchronizesthedigitalinputsusinga4MHztimebase.Pulseslongerthan250nsarealwaysdetected.Pulsesshorterthan250nsmayberejected.1µs—Pulsesshorterthan1µsarerejected.Pulsesbetween1µsand2µsaresometimesdetected.Pulseslongerthan2µsarealwaysdetected.16µs—Pulsesshorterthan16µsarerejected.Pulsesbetween16µsand32µsaresometimesdetected.Pulseslongerthan32µsarealwaysdetected.256µs—Pulsesshorterthan256µsarerejected.Pulsesbetween256µsand512µsaresometimesdetected.Pulseslongerthan512µsarealwaysdetected.4096µs—Pulsesshorterthan4096µsarerejected.Pulsesbetween4096µsand8192µsaresometimesdetected.Pulseslongerthan8192µsarealwaysdetected.

Page 244: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SelectingtheMeasurementEdgeRising—Thecountercountsrisingedges.Falling—Thecountercountsfallingedges.

Page 245: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SelectingtheFrequencyTimebaseSelectingaFrequencyTimebaseisatradeoffbetweenresolutionandresponsespeed.Ashortertimebaseprovideslowerresolutionbutthedataitreturnsismoreuptodate.Alongertimebaseprovideshigherresolutionbutmaylagbehindormisschangesinsignalfrequency.

NoteForfrequencieslowerthan1kHz,configureacountertomeasureperiodandcalculatethefrequencyusingtheinverseofthemeasurement.

Page 246: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringCounter-DrivenOutputs(ScanInterface)Counter-drivenoutputchannelsrespondinapredeterminedwaywhenacounterchannelonadigitalinputmodulereachestheterminalcount.YoumustconfigureadigitalinputchannelonanothermoduleforedgecountingandselectanactionfortheTerminalCountOutputMode.Thenyouselectthedigitaloutputchannelwiththesamechannelnumberandconfigureitasacounter-drivenoutput.Youcanconfigurethefollowingoptionsforacounter-drivenoutput.

Page 247: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

DrivefromSlotUsethiscontroltoselectaslotwithadigitalinputmodulethathasatleastonechannelconfiguredtocountedges.RefertotheProjectExplorerwindowandselectaslotthathasachannelcalledCTRx,wherexisthenumberoftheselectedoutputchannel.

Page 248: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

DriveChannelfromCounterPlaceacheckinthisboxtodrivetheselectedchannelusingthecounterchannelselectedwiththeDrivefromSlotcontrol.Ifthisboxischecked,LabVIEWremovestheI/OvariablefortheselectedchannelfromtheProjectExplorerwindow.IfanI/OvariablefortheselectedchannelisusedinablockdiagramofaVI,theVIwillnotrun.

Page 249: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringaChannelforPulse-WidthModulation(ScanInterface)Youcanconfigureadigitaloutputchanneltooutputasignalwithasetfrequencyandperiod.UseacontrolonthefrontpanelofaVItocontroltheontime(alsocalledtheactivetimeordutycycle)ofthepulse.

Page 250: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringaModuleforQuadratureInput(ScanInterface)Youcanconfigureadigitalinputmoduleforquadratureinput.Aquadratureinputreturnspositionandvelocitydatabasedonthevaluesofthreechannels.Inquadratureinputmode,channels0,1,and2aretheA,B,andIndexchannels,respectively,ofQuadrature0.Ifthemodulehassixormorechannels,channels3,4,and5canformasecondquadratureinput,Quadrature1.ACSeriesmodulecanhaveonlytwoquadratureinputs.Quadratureinputsreturndimensionlesspositiondataandvelocityincountspersecond.Youcanconfigurethefollowingoptionsforquadratureinput.

Page 251: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

ConfiguringtheInputFilterYoucanaddaninputfiltertoallinputchannelsofthemodule.Afilterremovesnoise,glitches,andspikesoninputsbyrejectingsignalswithperiodsshorterthanthespecifiedlength.Youcanselectoneofthefollowingoptions.

Disabled—Thehardwaresynchronizesthedigitalinputsusinga4MHztimebase.Pulseslongerthan250nsarealwaysdetected.Pulsesshorterthan250nsmayberejected.1µs—Pulsesshorterthan1µsarerejected.Pulsesbetween1µsand2µsaresometimesdetected.Pulseslongerthan2µsarealwaysdetected.16µs—Pulsesshorterthan16µsarerejected.Pulsesbetween16µsand32µsaresometimesdetected.Pulseslongerthan32µsarealwaysdetected.256µs—Pulsesshorterthan256µsarerejected.Pulsesbetween256µsand512µsaresometimesdetected.Pulseslongerthan512µsarealwaysdetected.4096µs—Pulsesshorterthan4096µsarerejected.Pulsesbetween4096µsand8192µsaresometimesdetected.Pulseslongerthan8192µsarealwaysdetected.

Page 252: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SelectingtheVelocityTimebaseSelectingaVelocityTimebaseisatradeoffbetweenresolutionandresponsespeed.Ashortertimebaseprovideslowerresolutionbutthedataitreturnsismoreuptodate.Alongertimebaseprovideshigherresolutionbutmaylagbehindormisschangesinvelocity.

Page 253: CompactRIO (Scan Interface)CompactRIO™ Reference and Procedures (Scan Interface) July 2008, 372603A-01 Use this book as a reference for information about using LabVIEW, CompactRIO

SelectingtheIndexModeIfyouenableanIndexMode,thepositionisresettozerowhenAandBhavethespecifiedvaluesandtheIndexisintheonstate.

Disabled—Thepositionisneverresettozero.PhaseB0A0—ThepositionisresettozerowhenBandAarebothintheoffstateandtheIndexisintheonstate.PhaseB0A1—ThepositionisresettozerowhenBisintheoffstateandAandtheIndexarebothintheonstate.PhaseB1A0—ThepositionisresettozerowhenBisintheonstate,Aisintheoffstate,andtheIndexisintheonstate.PhaseB1A1—ThepositionisresettozerowhenA,B,andtheIndexareallintheonstate.