LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

"NI Example Finder" like browser control?

Need a good suggestion,

on how to create a similar to "NI Example Finder" like browser control? Is it based on a table control or is a kind of a tree control? I have to implement easy editable table like control that should represent test sequences, each consisting a number of commands.
Something like:

Sequence 1:
command 1
command 2
command 3
Sequence 2:
command 1
Sequence 3:
command 5
command 10
......
I am going to implement 8 editing command buttons:

Sequence: add a new sequence,
Command: add a new command to the selected sequence,
Delete (Sequence or Command): depending on the selected item,
Edit: depending on the selected item (sequence repetition) or command (type, parameters),

Save: as simple xml data file,
Load: from simple xml file
�Up arrow� as a picture button: to move the selected sequence (command) one level up,
�Down arrow� as a picture button: to move the selected item one level down,

The "NI Example Finder" browser table (or tree) looks really elegant�
May be there is already an example that should be not difficult to customize for my needs?
I think it is quite common task and may be make a sense to extend the ATE or the logger standard CVI example to customize the virtual test sequences.

Thanks,
Nikolai
0 Kudos
Message 1 of 3
(3,213 Views)
Hello

CVI 7 and higher has a tree control that you can use for this purpose. One of the custom controls based on the tree control is called the file browser control. This basically displays all the files and folders like the Example finder does. Ofcourse you can always customize the behavior has well. You can download the evaluation version of CVI 7.1 and see if this fits your needs.

Hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 3
(3,213 Views)
Thanks,

We have bought �Measurement Studio� Enterprise edition with one year support, and I received for some time the update of CVI 7.1. I have installed it today and I found a nice example �TreeBusDigitalGraph� and I customized the tree control in my program. Anyway I think it is a good idea to add a sample of such test command sequences editor to the standard examples of CVI in a next release. So you can demonstrate basic tree operation such delete, add, and change tree nodes, and in the same time this could be a good demo for loading of xml based file in tree. All this examples already exist on a different form but it could help to have such editor, because it is a common test automation task.

Regards,
Nikolai
0 Kudos
Message 3 of 3
(3,213 Views)