LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
JKSH

Allow multiple Desktop targets in a Project

Status: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.

Use case

Consider a distributed program, where client PCs have GUIs that show the values of variables hosted on the server PC. Suppose the server has to change its IP address.

 

 

Current options

Option

Shortcomings

Bind the indicator to a Network Item (hard-wiring the address of the server)

 

You'll need to update the server address in every single indicator

 

Write extra code to read the server’s address from a config file, and programmatically do the data binding

 

It’s extra code

Bind the indicator to a Project Item, and assume that the “My Computer” target refers to the server. Update the server address by updating the .aliases file

 

The client PC can’t have an alias of its own

 

 

 

 

Suggestion option

Have separate targets for the Server application and the Client application (each target can have an alias). Bind Client indicators to project variables hosted on the Server (no extra code required). Update the server address by updating the .aliases file (don't need to update each individual indicator).

Certified LabVIEW Developer
2 Comments
Brian_Powell
Active Participant

Is this a duplicate of this idea?

Add Windows/Linux/OSX PC Target in a project

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.