|
Prev: Can I add custom properties to a channel of a TDM file inLabVIEW7.1?
Next: Using NI 9481 and 9474 to control digital output and relays
From: Scott-D on 6 May 2008 14:40 Hi all, here is my case. I have a csv file as signal analysis report produced by MatLab. The file will have ~1000 rows and each row is formatted as ?Signal ID, 1 or 0 as Pass/Fail indicator, and then follows 10 more fields that are statistic values describing that signal. The tool I like to build with LabView is to read the file, and then display all signals using LED indicators (e.g green is a Pass, Red is a Fail) as a data review quick look. Then I can move my mouse or click on one particular LED to see more details about that signal. Another idea is instead of display all 1000 signals at front panel, I may group these 1000 signal into 6~ 8 categories, using pull down menu on the fly to select what category signals I want to see and another pull down menu to pick individual signals. First I thought I can read the file into an array and feed the Signal ID and 1/0 to another 1-D array of a cluster with three elements (string indicator, LED indicator, Boolean control for click on if you like to see details). It seems not an easy quick for me as I have to figure out how index of the array and search works. Before I go further, I am just wondering if there are any better and easier options out there. Thanks much in advance! Scott
From: smercurio_fc on 6 May 2008 16:10 Doing an initial grouping is probably a good idea since it would be difficult to look at over 1000 rows to find something. As for providing some way of updating a side indicator on more details given the array element selected, that's not difficult to do. Take a look at <a href="http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=247041#M247041" target="_blank">this example</a>, which provides the index of the element where the mouse cursor is.
From: johnsold on 6 May 2008 16:40 An initial grouping sounds like a good idea. You could feed the signal IDs to a listbox with the pass/fail 1/0 selecting a symbol which resembles a boolean.Here is a quick and dirty mockup in LV 8.5.Lynn Visualize.vi: http://forums.ni.com/attachments/ni/170/321540/1/Visualize.vi
From: Scott-D on 6 May 2008 17:10 Thanks much for your suggestions and I'll go through these examples.
From: Scott-D on 6 May 2008 17:10
Hi Lynn, I love to see the attachment, but unfortunately I only have 8.2 installed and was not able to open it. Is it too much for your to generate screenshots for me to view your mockup? Thanks a lot, Scott |