Upload
others
View
26
Download
2
Embed Size (px)
Citation preview
CompactRIO™ReferenceandProcedures(ScanInterface)July2008,372603A-01UsethisbookasareferenceforinformationaboutusingLabVIEW,CompactRIOdevices,andCSeriesmoduleswiththeNIScanEngine.
Toviewrelatedtopics,clicktheLocatebutton,shownatleft,inthetoolbaratthetopofthiswindow.TheLabVIEWHelphighlightsthistopicintheContentstabsoyoucannavigatetherelatedtopics.
TocommentonNationalInstrumentsdocumentation,refertotheNationalInstrumentsWebsite.©2008NationalInstrumentsCorporation.Allrightsreserved.
CompactRIORelatedDocumentation(ScanInterface)CompactRIOincludesthefollowingdocumentation.
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.
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.
ReadmeDocumentsNI-RIOReadme—Usethisfiletolearnimportantlast-minuteinformationaboutNI-RIO,includinginstallationinstructionsanddescriptionsofknownissuesforinstallingandusingNI-RIO.AccesstheNI-RIOReadmeontheNI-RIOinstallationCD.SoftwareSupportforCompactRIO,CompactDAQ,andRSeriesDevices—UsethisNIDeveloperZonedocumenttodeterminewhatversionsoftheNI-RIOsoftware,theLabVIEWReal-TimeModule,andtheLabVIEWFPGAModuleyouneedfortheCSeriesmodules,CompactRIOchassis,CompactRIOcontrollers,Single-BoardRIOdevices,andRSeriesdevicesyouareusing.
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.
UsingCompactRIO(ScanInterface)UsethisbookasareferenceforinformationaboutusingLabVIEWwithCompactRIOdevices.
Toviewrelatedtopics,clicktheLocatebutton,shownatleft,inthetoolbaratthetopofthiswindow.TheLabVIEWHelphighlightsthistopicintheContentstabsoyoucannavigatetherelatedtopics.
CompactRIOChassisPropertiesDialogBoxRight-clickaCompactRIOchassisintheProjectExplorerwindowandselectPropertiesfromtheshortcutmenutodisplaythisdialogbox.UsethisdialogboxtoconfigureaCompactRIOchassis.Thisdialogboxincludesthefollowingcomponents:
Name—Specifiesthenameofthechassis,whichappearsintheProjectExplorerwindow.Youcanusethisfieldtogivethechassisadescriptivename.Type—Specifiesthetypeofchassis.Youcannotchangethisvalue.ProgrammingMode—Youcanspecifytheprogrammingmodeforthechassishere.
ScanInterface—EnablesyoutouseCSeriesmodulesdirectlyfromLabVIEWReal-Time.ModulesthatyouuseinScanInterfacemodeappeardirectlyunderthechassisitemintheProjectExplorerwindow.LabVIEWFPGAInterface—EnablesyoutouseCSeriesmodulesfromLabVIEWFPGAVIs.ModulesthatyouuseinLabVIEWFPGAInterfacemodeappeardirectlyundertheFPGATargetintheProjectExplorerwindow.
NoteChangingtheprogrammingmodewilltakeeffectthenexttimeyoudeploysettingtothechassis.Todeploysettings,right-clickthechassisitemintheProjectExplorerwindowandselectDeployfromtheshortcutmenu.
CompactRIODiscoveryStatusDialogBoxWhenyouaddaCompactRIOcontrollerorchassisoraSingle-BoardRIOdevicetoaLabVIEWproject,LabVIEWfindsallCSeriesmodulesinthenewsystem.ThisdialogboxappearswhenLabVIEWreturnserrorswhilelookingforCSeriesmodulesinstalledinthesystem.Thedialogboxlistsanyerrorsthatoccurduringthediscoveryprocess.TheDescriptionfieldofthedialogboxcontainsadetaileddescriptionofeachtypeoferrorcondition.
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.
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
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
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
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
U16orU32datatypewhentheactualnumberofbytesinthefile(asreportedbythedirectory)wasnotanintegermultipleofthenumberofbytesinthereaddatatype.
65563 AproblemwasfoundwiththeformatoftheSDcard.VerifythattheSDcardisformattedwithavalidFAT16filesystem.
65577 Anopenthermocouplewasdetectedonatleastonechannel.Checkthemoduleconnections.
65578 Thecommon-modevoltageisoutsideofacceptablelimitsonatleastonechannel.Checktheterminalsforanyfaultconditionthatcouldbecausinganout-of-rangevoltageonthechannels.
ConfiguringaProjectforaCompactRIOReconfigurableorIntegratedSystem(ScanInterface)CompletethefollowingstepstoaddacRIO-910xReconfigurableEmbeddedsystemorcRIO-9074Integratedcontrollerandchassissystemtoaneworexistingproject.
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.
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.
Somemodulesdonothaveanysettingstoconfigureotherthanthemodulenameandchassisslotlocation.ClicktheHelpbuttonontheCSeriesModulePropertiesdialogboxforinformationaboutthemodulesettings.
NewCSeriesModuleDialogBoxRight-clickthechassisintheProjectExplorerwindowandselectNew»CSeriesModulesfromtheshortcutmenutodisplaytheAddTargetsandDevicesonChassisdialogbox.SelectNewtargetordevice,selectCSeriesModule,andclicktheOKbuttontodisplaytheNewCSeriesModuledialogbox.Usethisdialogboxtoselectamodulename,thetypeofmodule,andthechassisslotinwhichthemoduleisinstalled.Thisdialogboxincludesthefollowingcomponents:
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmoduleyouwanttoaddtothechassisintheProjectExplorerwindow.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
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.
SelectProgrammingModeDialogBoxUsethisdialogboxtoselecttheprogrammingmodeyouwanttostartprogrammingthesystemwith.YoucanchangetheprogrammingmodelaterusingtheCompactRIOChassisPropertiesdialogbox.TheSelectProgrammingModedialogboxappearswhenyouaddachassisthatsupportstheScanInterfacetoyourprojectandyouhavetheLabVIEWFPGAModuleinstalledonthehostcomputer.
ScanInterfaceModeScanInterfacemodeenablesyoutouseCSeriesmodulesdirectlyfromLabVIEWReal-Time.ModulesthatyouuseinScanInterfacemodeappeardirectlyundertheChassisitemintheProjectExplorerwindowandI/OchannelsappearasI/Ovariablesunderthemodules.TouseI/Ovariables,youdraganddropthemtoLabVIEWReal-TimeVIs.InScanInterfacemode,youdonotneedtodoanyLabVIEWFPGAdevelopmentorprogramcommunicationbetweenFPGAandHostVIs.YoualsodonotneedtowaitforVIstobecompiledtotheFPGAbeforedeployingandrunningthem.InScanInterfacemode,LabVIEWprogramstheFPGAontheCompactRIOtargettoworkwiththevariables.
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.
SupportedCompactRIOHardware(ScanInterface)ScanInterfacemodesupportsthefollowingCompactRIOhardware.
CompactRIOControllerscRIO-9074IntegratedReal-TimeControllerandChassiscRIO-9012IntelligentReal-TimeControllercRIO-9014IntelligentReal-TimeController
CompactRIOChassiscRIO-9074IntegratedReal-TimeControllerandChassiscRIO-9103ReconfigurableEmbeddedChassiscRIO-9104ReconfigurableEmbeddedChassis
CSeriesModulesAnalogInput
NI9201NI9203NI9205NI9206NI9211NI9213NI9215NI9217NI9219NI9221NI9229NI9233NI9234NI9237NI9239
AnalogOutputNI9263NI9264NI9265
DigitalInputNI9401NI9403NI9411NI9421NI9422NI9423NI9425NI9426NI9435
DigitalOutput
NI9401NI9403NI9472NI9474NI9475NI9476NI9477NI9481NI9485
MotionNI9512NI9514NI9516
UsingtheRIODeviceI/OControlPlacetheRIODeviceI/OcontrolonthefrontpanelofaVI.UsetheI/Ocontrolpull-downmenutoselectaRIOdevice.
SelectingaRIODeviceinaProjectVITargetedtoMyComputerIftheVIispartofaprojectandistargetedtoMyComputer,theI/Ocontrolpull-downmenushowsthefollowingsectionsfromtoptobottom.
RIOdevicesintheprojectLocalRIOdevicesandlocalRIOaliasesBrowse,whichopenstheBrowseRIODevicesdialogboxRecentlyusedRIOdevices
SelectingaRIODeviceinaProjectVITargetedtoanRTControllerIftheVIispartofaprojectandistargetedtoanRTcontroller,theI/Ocontrolpull-downmenushowsthefollowingsection.
RIOdeviceslocaltothecontroller
SelectingaRIODeviceinaNon-ProjectVIIftheVIisnotpartofaproject,theI/Ocontrolpull-downmenushowsthefollowingsectionsfromtoptobottom.
LocalRIOdevicesandlocalRIOaliasesBrowse,whichopenstheBrowseRIODevicesdialogboxRecentlyusedRIOdevices
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.
NI9201(ScanInterface)CompactRIO8-Channel,±10V,12-BitAnalogInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.
ModuleChannelsTheNI9201hasthefollowingchannels.
Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9201,xis0to7.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9201.Right-clicktheNI9201intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9201/9221OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9203(ScanInterface)CompactRIO8-Channel,±20mA,16-BitAnalogInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainamps.
ModuleChannelsTheNI9203hasthefollowingchannels.
Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9203,xis0to7.
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.
HardwareDocumentationRefertotheNI9203OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9205(ScanInterface)CompactRIO32-ChannelSingle-Ended/16-ChannelDifferential,±200mVto±10V,16-BitAnalogInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.
ModuleChannelsTheNI9205hasthefollowingchannels.
Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9205,xis0to31.
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).
HardwareDocumentationRefertotheNI9205OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9206(ScanInterface)CompactRIO32-ChannelSingle-Ended/16-ChannelDifferential,±200mVto±10V,16-BitAnalogInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.
ModuleChannelsTheNI9206hasthefollowingchannels.
Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9206,xis0to31.
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).
HardwareDocumentationRefertotheNI9206OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9211(ScanInterface)CompactRIO4-Channel,±80mV,24-BitThermocoupleInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainunitsasspecifiedontheCSeriesModulePropertiesdialogbox.
ModuleChannelsTheNI9211hasthefollowingchannels.
Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9211,xis0to3.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9211.Right-clicktheNI9211intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.ThermocoupleType—Specifiesthetypeofthermocoupleconnectedtothechannel.MeasurementUnits—Specifiestheunitsyouwantdatatobereturnedinforthechannel.YoucanselectRawVolts,DegreesKelvin,DegreesCelsius,DegreesFahrenheit,orDegreesRankine.
HardwareDocumentationRefertotheNI9211OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9213(ScanInterface)CompactRIO16-Channel,±78mV,24-BitThermocoupleInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainunitsasspecifiedontheCSeriesModulePropertiesdialogbox.
ModuleChannelsTheNI9213hasthefollowingchannels.
Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9213,xis0to15.
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.
HardwareDocumentationRefertotheNI9213OperatingInstructionsandSpecifications,shippedwiththeNI9213,tolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9215(ScanInterface)CompactRIO4-Channel,±10V,16-BitSimultaneousAnalogInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.
ModuleChannelsTheNI9215hasthefollowingchannels.
Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9215,xis0to3.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9215.Right-clicktheNI9215intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9215OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9217(ScanInterface)CompactRIO4-Channel,24-Bit,100ΩRTDAnalogInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainunitsasspecifiedontheCSeriesModulePropertiesdialogbox.
ModuleChannelsTheNI9217hasthefollowingchannels.
Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9217,xis0to3.
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.
HardwareDocumentationRefertotheNI9217OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9219(ScanInterface)CompactRIO4-Channel,24-BitUniversalAnalogInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdataorBooleandatainunitsdeterminedbythemeasurementmodeyouselectontheCSeriesModulePropertiesdialogbox.Thefollowingtableshowstheunitsforthedifferentmodes.
Mode DataUnitsVoltage VoltsCurrent AmpsResistance OhmsThermocouple VoltsorTemperatureUnitsRTD OhmsorTemperatureUnitsBridge Volts/VoltDigitalIn BooleanOpenContact Boolean
ModuleChannelsTheNI9219hasthefollowingchannels.
Channel DescriptionCHx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9219,xis0to3.
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.
HardwareDocumentationRefertotheNI9219OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9221(ScanInterface)CompactRIO8-Channel,±60V,12-BitAnalogInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.
ModuleChannelsTheNI9221hasthefollowingchannels.
Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9221,xis0to7.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9221.Right-clicktheNI9221intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9201/9221OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9229(ScanInterface)CompactRIO4-Channel,±60V,24-BitSimultaneousAnalogInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.
ModuleChannelsTheNI9229hasthefollowingchannels.
Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9229,xis0to3.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9229.Right-clicktheNI9229intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9229/9239OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9233(ScanInterface)CompactRIO4-Channel,±5V,24-BitIEPEAnalogInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.
ModuleChannelsTheNI9233hasthefollowingchannels.
Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9233,xis0to3.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9233.Right-clicktheNI9233intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9233OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9234(ScanInterface)CompactRIO4-Channel,±5V,51.2KS/s,24-BitSoftwareSelectableIEPEandAC/DCAnalogInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.
ModuleChannelsTheNI9234hasthefollowingchannels.
Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9234,xis0to3.
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.
HardwareDocumentationRefertotheNI9234OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9237(ScanInterface)CompactRIO4-Channel,24-BitHalf/Full-BridgeAnalogInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts/volts(channelvoltage/excitationvoltage).
ModuleChannelsTheNI9237hasthefollowingchannels.
Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9237,xis0to3.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9237.Right-clicktheNI9237intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.ExcitationVoltage—Specifiestheexcitationvoltageforthemoduletooutputtobridges,orspecifiesexternalexcitation.EnableHalf-BridgeCompletion—Enableshalf-bridgecompletionforindividualchannels.
HardwareDocumentationRefertotheNI9237OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9239(ScanInterface)CompactRIO4-Channel,±10V,24-BitSimultaneousAnalogInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariablesforthechannelsreturncalibratedfloating-pointdatainvolts.
ModuleChannelsTheNI9239hasthefollowingchannels.
Channel DescriptionAIx Analoginputchannelx,wherexisthenumberofthechannel.
FortheNI9239,xis0to3.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9239.Right-clicktheNI9239intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9229/9239OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9263(ScanInterface)CompactRIO4-Channel,±10V,16-BitSimultaneousAnalogOutputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariableswritefloating-pointvaluestothechannelsinvolts.
ModuleChannelsTheNI9263hasthefollowingchannels.
Channel DescriptionAOx Analogoutputchannelx,wherexisthenumberofthe
channel.FortheNI9263,xis0to3.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9263.Right-clicktheNI9263intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9263OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9264(ScanInterface)CompactRIO16-Channel,±10V,16-BitSimultaneousAnalogVoltageOutputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariableswritefloating-pointvaluestothechannelsinvolts.
ModuleChannelsTheNI9264hasthefollowingchannels.
Channel DescriptionAOx Analogoutputchannelx,wherexisthenumberofthe
channel.FortheNI9264,xis0to15.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9264.Right-clicktheNI9264intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9264OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9265(ScanInterface)CompactRIO4-Channel,0–20mA,16-BitSimultaneousAnalogCurrentOutputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/Ovariableswritefloating-pointvaluestothechannelsinamps.
ModuleChannelsTheNI9265hasthefollowingchannels.
Channel DescriptionAOx Analogoutputchannelx,wherexisthenumberofthe
channel.FortheNI9265,xis0to3.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9265.Right-clicktheNI9265intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9265OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9401(ScanInterface)CompactRIO8-Channel,TTLDigitalInput/OutputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreadandwriteBooleanvalues.
ModuleChannelsTheNI9401hasthefollowingchannels.
Channel DescriptionDIOx Digitalinput/outputchannelx,wherexisthenumberofthe
channel.FortheNI9401,xis0to7.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9401.Right-clicktheNI9401intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.InitialLineDirection—Specifiestheinitiallinedirectionofeachfour-channelportasinputoroutput.
SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforpulse-widthmodulationoutput,counterinput,orquadratureinput.
HardwareDocumentationRefertotheNI9401OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9403(ScanInterface)CompactRIO32-Channel,TTLDigitalInput/OutputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreadandwriteBooleanvalues.
ModuleChannelsTheNI9403hasthefollowingchannels.
Channel DescriptionDIOx Digitalinput/outputchannelx,wherexisthenumberofthe
channel.FortheNI9403,xis0to31.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9403.Right-clicktheNI9403intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.Channels—Specifiesthechannel(s)forwhichyouwanttoconfiguresettings.InitialLineDirection—Specifiestheinitiallinedirectionoftheselectedchannel(s)asinputoroutput.
HardwareDocumentationRefertotheNI9403OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9411(ScanInterface)CompactRIO6-Channel,DifferentialorTTLDigitalInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreturndataasBooleanvalues.
ModuleChannelsTheNI9411hasthefollowingchannels.
Channel DescriptionDIx Digitalinputchannelx,wherexisthenumberofthechannel.
FortheNI9411,xis0to5.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9411.Right-clicktheNI9411intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounterinputorquadratureinput.
HardwareDocumentationRefertotheNI9411OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9421(ScanInterface)CompactRIO8-Channel,24V,SinkingDigitalInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreturndataasBooleanvalues.
ModuleChannelsTheNI9421hasthefollowingchannels.
Channel DescriptionDIx Digitalinputchannelx,wherexisthenumberofthechannel.
FortheNI9421,xis0to7.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9421.Right-clicktheNI9421intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounterinputorquadratureinput.
HardwareDocumentationRefertotheNI9421/9423OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9422(ScanInterface)CompactRIO8-Channel,24V,Sinking/SourcingDigitalInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreturndataasBooleanvalues.
ModuleChannelsTheNI9422hasthefollowingchannels.
Channel DescriptionDIx Digitalinputchannelx,wherexisthenumberofthechannel.
FortheNI9422,xis0to7.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9422.Right-clicktheNI9422intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounterinputorquadratureinput.
HardwareDocumentationRefertotheNI9422OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9423(ScanInterface)CompactRIO8-Channel,24V,High-SpeedDigitalInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreturndataasBooleanvalues.
ModuleChannelsTheNI9423hasthefollowingchannels.
Channel DescriptionDIx Digitalinputchannelx,wherexisthenumberofthechannel.
FortheNI9423,xis0to7.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9423.Right-clicktheNI9423intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounterinputorquadratureinput.
HardwareDocumentationRefertotheNI9421/9423OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9425(ScanInterface)CompactRIO32-Channel,24V,SinkingDigitalInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreturndataasBooleanvalues.
ModuleChannelsTheNI9425hasthefollowingchannels.
Channel DescriptionDIx Digitalinputchannelx,wherexisthenumberofthechannel.
FortheNI9425,xis0to31.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9425.Right-clicktheNI9425intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9425OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9426(ScanInterface)CompactRIO32-Channel,24V,SourcingDigitalInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreturndataasBooleanvalues.
ModuleChannelsTheNI9426hasthefollowingchannels.
Channel DescriptionDIx Digitalinputchannelx,wherexisthenumberofthechannel.
FortheNI9426,xis0to31.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9426.Right-clicktheNI9426intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9426OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9435(ScanInterface)CompactRIO4-Channel,AC/DCUniversalDigitalInputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariablesforthechannelsreturndataasBooleanvalues.
ModuleChannelsTheNI9435hasthefollowingchannels.
Channel DescriptionDIx Digitalinputchannelx,wherexisthenumberofthechannel.
FortheNI9435,xis0to3.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9435.Right-clicktheNI9435intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounterinputorquadratureinput.
HardwareDocumentationRefertotheNI9435OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9472(ScanInterface)CompactRIO8-Channel,24V,SourcingDigitalOutputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariableswriteBooleanvaluestothechannels.
ModuleChannelsTheNI9472hasthefollowingchannels.
Channel DescriptionDOx Digitaloutputchannelx,wherexisthenumberofthechannel.
FortheNI9472,xis0to7.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9472.Right-clicktheNI9472intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounter-drivenoutputorpulse-widthmodulationoutput.
HardwareDocumentationRefertotheNI9472/9474OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9474(ScanInterface)CompactRIO8-Channel,24V,High-Speed,SourcingDigitalOutputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariableswriteBooleanvaluestothechannels.
ModuleChannelsTheNI9474hasthefollowingchannels.
Channel DescriptionDOx Digitaloutputchannelx,wherexisthenumberofthechannel.
FortheNI9474,xis0to7.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9474.Right-clicktheNI9474intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounter-drivenoutputorpulse-widthmodulationoutput.
HardwareDocumentationRefertotheNI9472/9474OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9475(ScanInterface)CompactRIO8-Channel,60V,High-Speed,SourcingDigitalOutputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariableswriteBooleanvaluestothechannels.
ModuleChannelsTheNI9475hasthefollowingchannels.
Channel DescriptionDOx Digitaloutputchannelx,wherexisthenumberofthechannel.
FortheNI9475,xis0to7.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9475.Right-clicktheNI9475intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
SpecialtyDigitalConfigurationYoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfigurechannelsofthismoduleforcounter-drivenoutputorpulse-widthmodulationoutput.
HardwareDocumentationRefertotheNI9475OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9476(ScanInterface)CompactRIO32-Channel,24V,High-Speed,SourcingDigitalOutputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariableswriteBooleanvaluestothechannels.
ModuleChannelsTheNI9476hasthefollowingchannels.
Channel DescriptionDOx Digitaloutputchannelx,wherexisthenumberofthechannel.
FortheNI9476,xis0to31.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9476.Right-clicktheNI9476intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9476OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9477(ScanInterface)CompactRIO32-Channel,5–60V,SinkingDigitalOutputModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariableswriteBooleanvaluestothechannels.
ModuleChannelsTheNI9477hasthefollowingchannels.
Channel DescriptionDOx Digitaloutputchannelx,wherexisthenumberofthechannel.
FortheNI9477,xis0to31.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9477.Right-clicktheNI9477intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9477OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9481(ScanInterface)CompactRIO4-Channel,FormAElectromechanicalRelayModule
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariableswriteBooleanvaluestothechannels.
ModuleChannelsTheNI9481hasthefollowingchannels.
Channel DescriptionDOx Digitaloutputchannelx,wherexisthenumberofthechannel.
FortheNI9481,xis0to3.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9481.Right-clicktheNI9481intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9481OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9485(ScanInterface)CompactRIO8-Channel,Solid-StateRelay(SSR)Module
ModuleI/OVariablesTouseI/OfromthismoduleinaVI,draganddropI/OvariablesfromtheProjectExplorerwindowtotheblockdiagramoftheVI.TheI/OvariableswriteBooleanvaluestothechannels.
ModuleChannelsTheNI9485hasthefollowingchannels.
Channel DescriptionDOx Digitaloutputchannelx,wherexisthenumberofthechannel.
FortheNI9485,xis0to7.
CSeriesModulePropertiesDialogBoxUsethisdialogboxtoconfiguretheNI9485.Right-clicktheNI9485intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9485OperatingInstructionsandSpecificationstolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
MotionModules(ScanInterface)UsethisbookasareferenceforinformationaboutconfiguringCSeriesmotionmodulesontheCSeriesModulePropertiesdialogbox.
Toviewrelatedtopics,clicktheLocatebutton,shownatleft,inthetoolbaratthetopofthiswindow.TheLabVIEWHelphighlightsthistopicintheContentstabsoyoucannavigatetherelatedtopics.
NI9512(ScanInterface)One-axisstepperdriveinterfacemodulewithquadratureencoderfeedback
UsetheNISoftMotionController,installedwiththeNI-Motionsoftware,toconfigureaxesforthismodule.RefertotheNI-MotionLabVIEWHelpforinformationaboutconfiguringandusingthismodule.YoucanfindtheNI-MotionLabVIEWHelpbyselectingHelp»NI-MotionLabVIEWHelpfromwithinLabVIEW.
CSeriesModulePropertiesDialogBoxRight-clicktheNI9512intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9512OperatingInstructionsandSpecificationsandtheNI951xUserManualtolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9514(ScanInterface)One-axisservodriveinterfacemodulewithquadratureencoderfeedback
UsetheNISoftMotionController,installedwiththeNI-Motionsoftware,toconfigureaxesforthismodule.RefertotheNI-MotionLabVIEWHelpforinformationaboutconfiguringandusingthismodule.YoucanfindtheNI-MotionLabVIEWHelpbyselectingHelp»NI-MotionLabVIEWHelpfromwithinLabVIEW.
CSeriesModulePropertiesDialogBoxRight-clicktheNI9514intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9514OperatingInstructionsandSpecificationsandtheNI951xUserManualtolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
NI9516(ScanInterface)One-axisservodriveinterfacemodulewithdualquadratureencoderfeedback
UsetheNISoftMotionController,installedwiththeNI-Motionsoftware,toconfigureaxesforthismodule.RefertotheNI-MotionLabVIEWHelpforinformationaboutconfiguringandusingthismodule.YoucanfindtheNI-MotionLabVIEWHelpbyselectingHelp»NI-MotionLabVIEWHelpfromwithinLabVIEW.
CSeriesModulePropertiesDialogBoxRight-clicktheNI9516intheProjectExplorerwindowandselectPropertiestodisplaythisdialogbox.Youcanconfigurethefollowingoptions.
Name—SpecifiesthenameoftheCSeriesmodule,whichappearsintheProjectExplorerwindow.LabVIEWassignsadefaultnametothemodulebasedontheslotnumber.Youcanusethisfieldtogivethemoduleadescriptivename.ModuleType—SpecifiesthetypeofCSeriesmodule.Youcannotchangethisvalue.Location—SpecifiesaslotinthechassisfortheCSeriesmodule.
HardwareDocumentationRefertotheNI9516OperatingInstructionsandSpecificationsandtheNI951xUserManualtolearnaboutmodulespecificationsandhowtousethemodule.RefertotheCompactRIORelatedDocumentation(ScanInterface)topicforfurtherinformationaboutCompactRIOdocumentation.
SpecialtyDigitalConfiguration(ScanInterface)YoucanusetheSpecialtyDigitalConfigurationpageoftheCSeriesModulePropertiesdialogboxtoconfiguresomeCSeriesdigitalinputandoutputmodulesforspecialtydigitalfunctions.Specialtydigitalfunctionsincludecountinput,counter-drivenoutput,pulse-widthmodulationoutput,andquadratureinput.IfthechassisisinScanInterfacemode,youcanconfiguremodulesinuptotwoslotsforspecialtydigitalfunctions.Ifyouwanttoconfiguremorethantwomodulesforspecialtydigitalfunctions,youmustchangetheprogrammingmodeofthechassistoFPGAInterfacemode.YoustillusetheScanInterfaceforthemodulesthatyouconfigureforspecialtydigitalfunctions.Themaximumupdaterateformodulesconfiguredforspecialtydigitalfunctionsisapproximately4mHz.
ConfiguringCounters(ScanInterface)YoucanconfigurechannelsofsomeCSeriesdigitalinputmodulesascounters.Countersmeasuredigitalsignals.Countersareusedcommonlytocountedgesandfortimemeasurements,suchasmeasuringthefrequencyorperiodofasignal.
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.
SelectingtheMeasurementModeYoucanselectoneoffourcountermeasurementmodesforeachcounterchannel:CountEdges,PeriodMeasurement,Pulse-WidthMeasurement,orFrequencyMeasurement.
ConfiguringaCountertoCountEdges(ScanInterface)Youcanconfigureacountertocountsignaledgesandperformanactiononanotherchannelwhenthecountreachesaspecifiednumber,theterminalcount.Youcanconfigurethefollowingoptionsforedgecounting.
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.
TerminalCountYoucanspecifyaterminalcountuptoamaximumof232=4,294,967,296.Whenthecounterreachestheterminalcount,itresetsandstartscountingagainfromzero.
TerminalCountOutputModeYoucanselectoneofthefollowingfouractionstoperformonadigitaloutputchannelonanothermodulewhenthecounterreachesthespecifiedterminalcount.
Toggle,ResetOff—Thecounter-drivenchannelstartsintheoffstateandchangesstateeachtimethecounterchannelreachestheterminalcount.Toggle,ResetOn—Thecounter-drivenchannelstartsintheonstateandchangesstateeachtimethecounterchannelreachestheterminalcount.OnPulse—Thecounter-drivenchannelturnsoneachtimethecounterchannelreachestheterminalcountandremainsonuntilthenextcounterincrement.OffPulse—Thecounter-drivenchannelturnsoffeachtimethecounterchannelreachestheterminalcountandremainsoffuntilthenextcounterincrement.
NoteInorderforthecountertodriveanoutputchannel,youmustconfigurethemodulethattheoutputchannelisonforcounter-drivenoutput.Thecounter-drivenoutputchannelhasthesamenumberasthecounterchannelthatdrivesit.Forexample,CTR3drivesDO3onaneight-channeldigitaloutputmoduleinanotherslotinthesamechassis.
CounterEventRisingEdge—Thecountercountsrisingedges.FallingEdge—Thecountercountsfallingedges.AnyEdge—Thecountercountsalledges.
CountDownIfthisboxischecked,thecountercountsbackwardfromtheterminalcount.Whenthecounterreacheszero,itresetsandstartscountingagainfromtheterminalcount.
CounterSourceYoucanselectThisChanneltocountedgesonaninputsignalconnectedtothischannel,orTerminalCountofPreviousChanneltoincrementthecounterwhenthepreviouschannelreachestheterminalcount.Youcanusethisoptiontocreatecounterswithterminalcountslargerthan4,294,967,296.
GateModeYoucanselectAlwaysEnabled,whichmeansthatthecounteralwayscountsedges,orNextChannel,whichmeansthatthecounterincrementsonlywhenthenexthigherchannelisintheonstate.
ConfiguringaCountertoMeasurePeriod(ScanInterface)Youcanconfigureadigitalinputchannelasacountertomeasuretheperiodofasignalconnectedtothechannel.Thecounterreturnsdatainµs.Youcanconfigurethefollowingoptionsforaperiodmeasurementcounter.UsetheMeasurementEdgecontroltospecifyRisingEdgeorFallingEdge.
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.
SelectingtheMeasurementEdgeRisingEdge—Thecountermeasuresthetimefromonerisingedgetothenextrisingedge.FallingEdge—Thecountermeasuresthetimefromonefallingedgetothenextfallingedge.
ConfiguringaCountertoMeasurePulseWidth(ScanInterface)Youcanconfigureadigitalinputchannelasacountertomeasurethepulsewidthofasignalconnectedtothechannel.Thecounterreturnsdatainµs.Youcanconfigurethefollowingoptionsforapulse-widthmeasurementcounter.
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.
SelectingtheMeasurementTypeHighPulse—Thecounterreturnsthetimethattheconnectedsignalishigh.LowPulse—Thecounterreturnsthetimethattheconnectedsignalislow.MostRecent—Thecounterreturnsthelengthsofthemostrecenthighandlowpulses.
ConfiguringaCountertoMeasureFrequency(ScanInterface)Youcanconfigureacountertomeasurethefrequencyofasignalconnectedtothechannel.ThecountercountsthenumberofrisingorfallingsignaledgesduringthelengthoftheFrequencyTimebase,dividesthatnumberbytheFrequencyTimebaseinµs,andreturnsthefrequencyinkHz.Youcanconfigurethefollowingoptionsforafrequencymeasurementcounter.
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.
SelectingtheMeasurementEdgeRising—Thecountercountsrisingedges.Falling—Thecountercountsfallingedges.
SelectingtheFrequencyTimebaseSelectingaFrequencyTimebaseisatradeoffbetweenresolutionandresponsespeed.Ashortertimebaseprovideslowerresolutionbutthedataitreturnsismoreuptodate.Alongertimebaseprovideshigherresolutionbutmaylagbehindormisschangesinsignalfrequency.
NoteForfrequencieslowerthan1kHz,configureacountertomeasureperiodandcalculatethefrequencyusingtheinverseofthemeasurement.
ConfiguringCounter-DrivenOutputs(ScanInterface)Counter-drivenoutputchannelsrespondinapredeterminedwaywhenacounterchannelonadigitalinputmodulereachestheterminalcount.YoumustconfigureadigitalinputchannelonanothermoduleforedgecountingandselectanactionfortheTerminalCountOutputMode.Thenyouselectthedigitaloutputchannelwiththesamechannelnumberandconfigureitasacounter-drivenoutput.Youcanconfigurethefollowingoptionsforacounter-drivenoutput.
DrivefromSlotUsethiscontroltoselectaslotwithadigitalinputmodulethathasatleastonechannelconfiguredtocountedges.RefertotheProjectExplorerwindowandselectaslotthathasachannelcalledCTRx,wherexisthenumberoftheselectedoutputchannel.
DriveChannelfromCounterPlaceacheckinthisboxtodrivetheselectedchannelusingthecounterchannelselectedwiththeDrivefromSlotcontrol.Ifthisboxischecked,LabVIEWremovestheI/OvariablefortheselectedchannelfromtheProjectExplorerwindow.IfanI/OvariablefortheselectedchannelisusedinablockdiagramofaVI,theVIwillnotrun.
ConfiguringaChannelforPulse-WidthModulation(ScanInterface)Youcanconfigureadigitaloutputchanneltooutputasignalwithasetfrequencyandperiod.UseacontrolonthefrontpanelofaVItocontroltheontime(alsocalledtheactivetimeordutycycle)ofthepulse.
ConfiguringaModuleforQuadratureInput(ScanInterface)Youcanconfigureadigitalinputmoduleforquadratureinput.Aquadratureinputreturnspositionandvelocitydatabasedonthevaluesofthreechannels.Inquadratureinputmode,channels0,1,and2aretheA,B,andIndexchannels,respectively,ofQuadrature0.Ifthemodulehassixormorechannels,channels3,4,and5canformasecondquadratureinput,Quadrature1.ACSeriesmodulecanhaveonlytwoquadratureinputs.Quadratureinputsreturndimensionlesspositiondataandvelocityincountspersecond.Youcanconfigurethefollowingoptionsforquadratureinput.
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.
SelectingtheVelocityTimebaseSelectingaVelocityTimebaseisatradeoffbetweenresolutionandresponsespeed.Ashortertimebaseprovideslowerresolutionbutthedataitreturnsismoreuptodate.Alongertimebaseprovideshigherresolutionbutmaylagbehindormisschangesinvelocity.
SelectingtheIndexModeIfyouenableanIndexMode,thepositionisresettozerowhenAandBhavethespecifiedvaluesandtheIndexisintheonstate.
Disabled—Thepositionisneverresettozero.PhaseB0A0—ThepositionisresettozerowhenBandAarebothintheoffstateandtheIndexisintheonstate.PhaseB0A1—ThepositionisresettozerowhenBisintheoffstateandAandtheIndexarebothintheonstate.PhaseB1A0—ThepositionisresettozerowhenBisintheonstate,Aisintheoffstate,andtheIndexisintheonstate.PhaseB1A1—ThepositionisresettozerowhenA,B,andtheIndexareallintheonstate.