09-07-2017 03:56 PM
I am using Data Finder to search one signal across multiple data files.
For example, I search Q1_Voltage*, returned 20 results (Q1_Voltage, Q1_Voltage_Time as one pair). Now I want to plot these 20 pairs signals in one sheet by using script. Search results are dynamic, not always 20. Script can find out how many research results, need help on plotting multiple data pairs in one sheet. Thanks.
09-08-2017 11:01 AM
Hi llx,
I would recommend looking at some of the DIAdem examples that have similar functionality. I would recommend looking at Brake_Test.vbs.
In this script, we are searching for data sets and then loading this data into the Data Portal. From there, you can reference "Programmatically Create Graph in Report and Plot to it".
Programmatically Create Graph in Report and Plot to it: https://forums.ni.com/t5/Community-Documents/DIAdem-Script-Programatically-Create-Graph-in-Report-an...
Thanks,
Andy
09-21-2017 06:20 PM
Hi IIx,
If each pair of "Q1_Voltage_Time" and "Q1_Voltage" channels are from the same group and file, and if they appear in that order (X first, then Y), then you may be able to use an example that ships with DIAdem to automatically load and plot XY pairs.
Are they?
Brad Turpin
DIAdem Product Support Engineer
National Instrumetns