Implementing a Custom Device
- Updated2025-04-08
- 2 minute(s) read
Develop a custom device to fit your requirements.
-
Depending on your goal, complete any of the following tasks to configure the
appearance and components of your custom device.
Goal Task Add custom device channels and waveforms Add channels and waveforms to a custom device by using the appropriate VI within a Custom Device Library VI that runs on the host computer. Add custom device item properties Use VIs on the Item Properties palette to get and set properties of custom device items. Add custom device pages Add pages to a custom device by creating the extra page VIs and GUIDs, adding the extra pages to the custom device build specifications, and defining the pages in the Custom Device XML file. Implement a custom device hierarchy Implement a flat or nested hierarchy for your custom device. Add custom glyphs, shortcut menus, and toolbar buttons Use elements in the Custom Device XML to configure custom user interface components, such as glyphs, toolbar buttons, and shortcut menus. Add custom error codes Build custom error codes for your custom device using the General Error Handler VI or the Error Code File Editor. Automate responses to user actions Use action VI templates with the custom device XML file to automate responses to user actions. -
Depending on your goal, complete any of the following tasks to customize the
custom device engine by completing the following tasks.
Goal Task Sync an asynchronous custom device with the PCL Configure an asynchronous custom device to run synchronously with VeriStand by configuring the custom device to use the same timing source as the Primary Control Loop (PCL). Read and write waveforms in the custom device engine Use waveforms in custom devices to publish waveform data or read waveform data from other sources in the VeriStand Engine. - Use tools to benchmark and debug the custom device.
Related Information
- Planning a Custom Device
It is important to plan the major components of a custom device before writing any LabVIEW code.
- Adding Custom Device Channels and Waveforms
Add channels and waveforms to a custom device by using the appropriate VI within a Custom Device Library VI that runs on the host computer.
- Adding Custom Device Item Properties
Use VIs on the Item Properties palette to get and set properties of custom device items.
- Adding Custom Device Pages
Add pages to a custom device by creating the extra page VIs and GUIDs, adding the extra pages to the custom device build specifications, and defining the pages in the Custom Device XML file.
- Implementing a Custom Device Hierarchy
Implement a flat or nested hierarchy for your custom device.
- Adding Custom Glyphs, Shortcut Menus, and Toolbar Buttons
Use elements in the Custom Device XML to configure custom user interface components, such as glyphs, toolbar buttons, and shortcut menus.
- Adding Custom Error Codes in a Custom Device
Build custom error codes for your custom device using the General Error Handler VI or the Error Code File Editor.
- Automating Responses to User Actions with Action VIs
Use action VI templates with the custom device XML file to automate responses to user actions.
- Synchronizing an Asynchronous Custom Device with the Primary Control Loop
Configure an asynchronous custom device to run synchronously with VeriStand by configuring the custom device to use the same timing source as the Primary Control Loop (PCL).
- Reading and Writing Waveforms in the Custom Device Engine
Use waveforms in custom devices to publish waveform data or read waveform data from other sources in the VeriStand Engine.
- Custom Device Benchmarking and Debugging
You can use tools provided by LabVIEW and VeriStand to benchmark and debug your custom device.
- Building a Custom Device
Build a custom device for distribution to VeriStand.