UI Interest Group Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Demo of dynamic tabs (reorder, detach…) as in modern web browser

[Update] XControl available here [Update]

 

Web browsers have democratized the "dynamic" tab i.e create on the go, reorder, detach, merge…

Having the same behavior is not so easy in LabVIEW.

 

I propose one solution here, with an exe demo (see the zip file, need LVRT 2009 to run).

The behavior and the lok&feel is "inspired" by Apple's web browser, SAFARI.

 

The demo consist in a little app, named PictureViewer, displaying picture file (*.jpg, *.png and *.bmp).

You just have to drag&drop file from explorer window to selected tab.

You can reorder the pictures, detach them to display on second display, etc…

 

There are still bugs to fix or improvements to make but I hope it's not too bad.

 

Last thing, this is a full LabVIEW development.

 

Comments, ideas and so on are welcome.

 


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
Comments
LabBEAN
Active Participant
Active Participant
on

Looks good; can you provide the source code to do this (e.g. drag and drop tabs with preview of tab contents)?


Certified LabVIEW Architect
TestScript: Free Python/LabVIEW Connector

One global to rule them all,
One double-click to find them,
One interface to bring them all
and in the panel bind them.
WG-
Member
Member
on

Can't call it very memory efficient... The process takes nearly 65 MB ram... when no picture is loaded.

Olivier-JOURDAN
Active Participant Active Participant
Active Participant
on

@LabBEAN : I'm sorry, but I can't provide source code because is part of non-released project we are developing right now.

However, the d&d with preview is manage by a "dynamic" VI responsible of the picture display and the mouse position.

@ WouterG : I agree, it's not memory efficient at all Actually this is the result of a performance issue workaround. Indeed, width of each tab is dependent of the window width. Redrawing tab can be really cpu consuming, so, in first and quick approach, I've decided to load tab pictures into memory at the initialization to avoid redraw. There are a lot ways to improve this, work is in progress…


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
Thoric
Trusted Enthusiast Trusted Enthusiast
Trusted Enthusiast
on

This is an awesome display of XControls. Thank you for pushing the boundaries of LabVIEW that little bit further, and demonstrating just how powerful it can be!

Thoric (CLA, CLED, CTD and LabVIEW Champion)


Olivier-JOURDAN
Active Participant Active Participant
Active Participant
on

@Thoric : IMO, XControls are great to implement Ui and in very elegant way. They have some limitation, but can be really useful and powerful.


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
brijesh
Member
Member
on

I congratulate for your effort.

It is really nice.

Keep it up.

Kudos.

CLAD
Labiew programmer
FraggerFox
Active Participant Active Participant
Active Participant
on

Looks nice! Did you use any Win32 dll calls in this application?

-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
Olivier-JOURDAN
Active Participant Active Participant
Active Participant
on

This a full LabVIEW development.


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
FraggerFox
Active Participant Active Participant
Active Participant
on

Cool! I would like to know how you activate the "preview pane" which appears when we drag the tabs to other position.

-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
Olivier-JOURDAN
Active Participant Active Participant
Active Participant
on

Don't repeat it to others, but it's possible that we deliver this XControl and some others soon. It should be provided with the code of the demo and maybe full access to XControl code. If you're interested in, feel free to join our group https://decibel.ni.com/content/groups/saphir-toolkit to be warned of the release.


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
Pandiyan
Member
Member
on

hi dude

Really nice work...

Raj
viScience
Active Participant
Active Participant
on

Very Nice work.  I am working on a project to emulate the NI Distributed System Manager for DAQmx and TDMS.  I gave up on the dynamic tabs but do have it working well with subpanels and drag and drop hypergraph vi's.  Maybe we can work out a trade

catkin
Member
Member
on

very cool,thanks

Olivier-JOURDAN
Active Participant Active Participant
Active Participant
on

Free toolkit including this XControl is now available here --> https://forums.ni.com/t5/SAPHIR-Toolkits-Documents/ViBox-XControls-datasheet/ta-p/3531683


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!