Welcome, Guest
Username: Password: Remember me

TOPIC: Start Proview project with Ge Screen

Re:Start Proview project with Ge Screen 13 years 8 months ago #906

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
There is a missing slash between $pwra_db and pwra_env.sh in the shortcut code.

You can set a user in the User attribute of the OpPlace object (in 4.6 it's in the User object). 'pwrp' gives you system privileges and 'op1' operator privleges.

To hide the license window use the OpWindLayout attribute of the OpPlace object (or in 4.6 add the switch -q to rt_xtt).

/Claes
The administrator has disabled public write access.

Re:Start Proview project with Ge Screen 13 years 8 months ago #907

  • Bjorn
  • Bjorn's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
Nice!

But graph still don't work. Still **XttGe: Unable to open file

get \"Bash: rad 0: source: /usr/pwrp/adm/db/: är en katalog\" when I starta rt_xtt with:

[code:1]xterm -title \"Proview View Console\" -e 'export pwra_db=/usr/pwrp/adm/db;source $pwra_db/pwr_setup.sh;source $pwra_db/ pwra_env.sh set project test;export PWR_BUS_ID=999;rt_xtt Nodes-LegoMonitor-Op'[/code:1]
The administrator has disabled public write access.

Re:Start Proview project with Ge Screen 13 years 8 months ago #908

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
There should be no space in $pwra_db/pwra_env.sh. This is a shell script that is executed with the arguments 'set project test' to attach the project environment. If it's not executed correctly, $pwrp_exe, where the ge graphs reside, is not defined and you are unable to open any graphs.

/Claes
The administrator has disabled public write access.

Re:Start Proview project with Ge Screen 13 years 8 months ago #909

  • Bjorn
  • Bjorn's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
Thanks!

It's always the small things.

Now to the next problem :laugh:

The autostart of the graph does not work.

Placed the file, xtt_setup.rtt_com, in /home/pwrp/

the fail contains the single line:
open graph /graph=Monitor

The graph name is it the obejct name or the display name?
The graph-node is Monitor but it's called LegoMonitor in the rt_xtt panel.

Thanks again!

//Björn
The administrator has disabled public write access.

Re:Start Proview project with Ge Screen 13 years 8 months ago #910

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
The syntax is \"open graph 'graphname'\" (not /graph, sorry about that), where graphname is the name the graph is saved under in the Ge editor. You can read about the xtt commands in Operator's Guide. If you have an XttGraph object for the graph you can also use the command \"open graph/object='xttgraph-object'\" where xttgraph-object is the full name with hierarchy of the xttgraph object.

/Claes
The administrator has disabled public write access.

Re:Start Proview project with Ge Screen 13 years 8 months ago #911

  • Bjorn
  • Bjorn's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
No worries!

So is there away to make it maximized by default? (didn't find a command)
The administrator has disabled public write access.
Time to create page: 7.877 seconds