PerformanceonLabVIEWReal-Time
NI-SerialusersonLabVIEWReal-Timehavecontroloverwhether
secondaryinterrupthandlingisenabled.Whensecondaryinterrupt
handlingisenabled,I/Oisprocessedataprioritylowerthantime-critical.
Usingsecondaryinterrupthandlingreducesjitterfortime-criticalloops
andmakesserialhardwareinterruptsmoredeterministic.However,it
mayalsoreduceI/Operformanceandcanincreasethepossibilityof
overflowingtheRXFIFObuffer.Secondaryinterrupthandlingisasetting
atthesystem-widelevelandisenabledbydefault.
Toenableordisablethisfeature,completethefollowingsteps:
1. Copytoyourhosttheniserial.dbsfileinthe/ni-rt/systemdirectory
ontheRTtarget.
2. Intheniserial.dbsfile,findtheentrySecondaryInterruptsand
modifyitaccordingly:
Toenablesecondaryinterrupthandling,set
SecondaryInterruptsto1.
Todisablesecondaryinterrupthandling,set
SecondaryInterruptsto0.
3. Downloadtheupdatedniserial.dbsfiletothetarget,overwritingthe
existingfileinthe/ni-rt/systemdirectory.
4. RebootyourRTtarget.