@almighty22 ,
When you say you can't access it , what do you mean ? Do you mean you can't see the table or do you mean the table is not performing the action you expect it to perform ?
It is also possible that you could be opening the tables as invisible or private. So, here is my advice:
1. Run the code step by step
2. Identify where the issue is
3. In your response, provide screenshots of what is happening and what you expect to happen Alternatively provide random subset of your data or test what you are having problem with using Sample data
?
@almighty22, There are many ways to get to what you want. The following is just one:
dt = Current Data Table(); // Get reference to the current data table dt << Select Where(:Name("Freq(Hz)") >= 10 * 10^6 & :Name("Freq(Hz)") <= 100 * 10^6); Wait(0); // Approach 1 dt1 = dt << Subset(""); <BR />Current Data Table(dt1); max_s11 = Col Max(dt1:Name("S11(DB)")); min_s11 = Col Min(dt1:Name("S11(DB)")); max_s21 = Col Max(dt1:Name("S21(DB)")); min_s21 = Col Max(dt1:Name("S21(DB)")); // Check Show(max_s11); Show(min_s11); Show(max_s21); Show(min_s21);
For this to work, you will need to have the data table shown in the screenshot open. If you already have a reference to that datatable, you can just replace that reference in place of dt.
What if I wanna use the way like this? But when I debug it the issues showing.