A general-use LabVIEW project to be used for LabVIEW demo stations, supporting both passive content (graphics, QR codes, etc.), as well as interactive content (editing/running VIs in the LabVIEW IDE).
The LabVIEW Demo Station works in LabVIEW 2020 and later.
No external packages or toolkits outside of core LabVIEW are required.
Pull down the repo (click the green Code button above and select Download ZIP). Unzip the file, then open and run LabVIEW Demo Station.vi.
Open LabVIEW Demo Station.ini to view and edit the various configuration settings for the demo station that can be used to customize its appearance and behavior without modifying any code.
The LabVIEW Demo Station is fully plugin-based. You can add your own passive content and interactive content as desired, without making any changes to the demo station code. Follow these instructions:
- Look through some existing demos to become familiar with their implementations. They are located in the Demos folder.
- Make a copy of the Demo Template folder for your new demo. Place this copied folder in the appropriate subfolder of the Demos folder.
- Rename the copied folder to match your demo name. For example, if you are demoing the 'Create While Loop Widget' feature, then you would rename the copied folder Create While Loop Widget.
- Rename the demo VI in the copied folder to match your demo name, with a "demo_" prefix. So for the example in the previous step, it would be renamed demo_Create While Loop Widget.vi.
- When implementing your demo VI, make sure that there is no extra whitespace on the edges of pasted images. Likewise, make sure that free labels are resized to fit the text with very little extra space on the sides. This will ensure that your demo VI is properly centered in the main demo station UI.
- If your demo is going to include a "Try It" exercise, then perform the same rename operation on the "try_" VI. So for the example in the previous step, it would be renamed try_Create While Loop Widget.vi. If your demo is not going to include a "Try It" exercise, you can delete the "try_" VI in your copied folder.
- Follow the instructions in the "demo_" and "try_" VIs to implement your new demo.
- Assuming you followed the above steps correctly, your new demo should appear in the Demos list the next time you run the demo station.