Skip to content

Commit f87aebd

Browse files
Update documentation for GetStation usage
Added recommendation to use GetCreateDevice for device interaction.
1 parent f9ecf13 commit f87aebd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

content/en/docs/workstation/wks-build-app.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ This action sets up communication with the Workstation Client. It should be auto
130130

131131
Call `GetStation` to retrieve the current Workstation Client configuration and devices. This action creates and returns a station object with a linked device object per peripheral.
132132

133+
To interact with a specific device, it is better to use `GetCreateDevice` instead. `GetCreateDevice` has a more convenient API, allows specialization, and does not create station and device objects which may not be needed.
134+
133135
#### SubscribeToObjectChanges
134136

135137
Call `SubscribeToObjectChanges` to trigger a nanoflow when the specified object changes. This action has the following parameters:

0 commit comments

Comments
 (0)