LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

parse out global channels

Solved!
Go to solution

I have cDAQ 9172. The users will enter different global channels and I want to parse out the digital channels and have them in a seperate array. The other channels should be in the same order as the user selects. I am reading in global channels that will always be in the same format but never in the same order. Example: 9401-DI-1:2 .... and 9205-VI-1:3 and 9237-PI-1:2 would end up in two tasks. The Analog In tasks will be 9205-VI-1:3, 9237-PI-1:2 and I would then have a different task for the Digital Input 9401-DI-1:2. The user should be able to enter tasks in any order.

0 Kudos
Message 1 of 2
(2,245 Views)
Solution
Accepted by topic author bassinbc

Well I solved this myself. Didn't see the Match Regular Expression Function. That allows the use of the or function and makes things a whole lot earier.

 

0 Kudos
Message 2 of 2
(2,236 Views)