Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Using remote devices on dev/prod environment

Using remote devices on dev/prod environment 6 years 7 months ago #9107

  • pongraczi
  • pongraczi's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 58
  • Thank you received: 4
  • Karma: 0
Hi,
I am facing a question and how to solve that.
The problem in short:
- in the development station there are some remote devices which needs to use for testing
- in the production environment, the same remote devices are on different IP addresses

Is that possible to eliminate the rewrite test/real data in the Volume under the node configuration and use something context switching?

Please check the screenshot, it will be more clear I think:



Kijeloles_562.jpg








Thanks,
István
Last Edit: 6 years 7 months ago by pongraczi. Reason: Next try. Image converted to jpg to get smaller file. Fingers crossed.
The administrator has disabled public write access.

Using remote devices on dev/prod environment 6 years 7 months ago #9108

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3170
  • Thank you received: 497
  • Karma: 133
Hi Istvan,

You can use $pwrp_cnf/pwrp_alias.dat where you can set values in the database at Proview runtime startup. The node is specified in the set command so you can set different values for different nodes, eg
hydradev_setval Nodes-Conveyor-VirtSerial-Servo0.Address = "1.2.3.4"
The file is copied to $pwrp_load when a node is built from where it's read or distributed.

/Claes
The administrator has disabled public write access.

Using remote devices on dev/prod environment 6 years 7 months ago #9109

  • pongraczi
  • pongraczi's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 58
  • Thank you received: 4
  • Karma: 0
Thanks Claes, I like this solution :)
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.318 seconds