12-22-2019 11:27 AM
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:
12-22-2019 11:30 AM
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.
12-22-2019 11:45 AM - edited 12-22-2019 12:34 PM
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.
mcduff
12-22-2019 11:54 AM - edited 12-22-2019 11:57 AM
Oops, the comment I was about to make has already been made ...
12-22-2019 11:59 AM
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?
mcduff
PS How do I unsubscribe??
12-22-2019 12:38 PM
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:
12-22-2019 12:51 PM
mcduff
PS The movie is "Misery".
12-22-2019 01:09 PM
For only the Thermocouples channel
12-22-2019 01:40 PM
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!!!!