LOL. Come on, guys !!!! Please read instructions or maybe I am not making myself clear enough. I am trying to remove the "MOD" from the list of channels. The program that you posted is removing the other channels and keeping the MOD. I know how to remove the "MOD", but I will have to hardcode every single non "MOD" channels, but I do not want to hardcode it like that. So basically, I want to remove the MOD from the list without doing any hardcoding of the non "MOD" channels.
I hope I am clear enough now.
This is what I did:
This is what I am getting:
This is what I was expecting to get:
Okay. Well think about Boolean operations, Instead of wanting something that is True, you want something that is False (otherwise known as NOT true).
The hint on what you can use is in that sentence.
EDIT: There is a mistake in the snippet, the Channel Name should be wired to the Delete Channel, not the "Mod" search term. Sorry.
Here's a snippet as an early holiday gift. (If you don't know what a snippet is, please look it up.)
ONE Problem: Whatever you used to make the TDMS file, please don't post it to this thread, is corrupting the file. What I am saying is your example TDMS file is problematic; use a non-corrupted file to test your VIs. Your hint that the file is bad, having to put a Clear Error after every TDMS operation.
Oops, the comment I was about to make has already been made ...
Don't take the wrong way, but
this thread, and the posted code, is starting to remind me of a Stephen King novel. 🙂
Kind of like that movie with Kathy Bates, what was it called?
PS How do I unsubscribe??
Lmao. You are funny. You just made my day. I forgot the title of the movie. I like this thread!!!!
Anyway, I completely understand your last posted code. So I copied it and I'm trying to verify if the the channels with "MOD" are deleted using TDMS content list. I kept getting error -2532.
Alos I do not see how you change the tunnel on the for loop to auto indexing. I right clicked on the tunnel and I couldn't disable that tunnel.
This is what I did:
This is how I wired the false part of the case structure:
PS The movie is "Misery".
For only the Thermocouples channel
mcDuff!!! You and Bob are awesome. I know I get on your damn nerves, but you guys still show me love. I appreciate it. I wish I could get you guys something for christmas. You guys made my day. My problem is solved. Thanks for the constructive criticism. I will go back and review the tutorials. You, guys, are the best!!!!