From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cylce through all cRIO inputs.

I purchased an 8 bay cRIO with 8 NI NI-9209 (32 channel voltage measurement). That gives me 256 voltage inputs (quite a lot !) I'm running the cRIO in scan mode in case that matters. 

 

I now want to scan though all of those inputs in a for loop so each channel is read in turn so it can be used in my program. How can I iterate though  each input and then each module without manually dropping each analogue input into my code?

0 Kudos
Message 1 of 2
(1,949 Views)

This white paper will get you started on how to access the channels programmatically.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019VYLSA2&l=en-US

—Ben
Prevent your computer from sleeping programmatically!
Use Power Requests
Download from GitHub

Message 2 of 2
(1,894 Views)