PxPlus User Forum

Twitter Twitter Twitter

Author Topic: not a graphical device -- can not use nomads panels  (Read 927 times)

suriakumar

  • Member
  • **
  • Posts: 5
    • View Profile
not a graphical device -- can not use nomads panels
« on: April 27, 2022, 02:56:25 AM »
Sir,

I am unable to run my old program developed in Nomads in the new version of pxplus.

It says an error "not a graphical device -- can not use nomads panels"

how do i solve this error ?

J.SURIAKUMAR

EVa

  • Gold Member
  • ****
  • Posts: 54
    • View Profile
    • EDIAS
Re: not a graphical device -- can not use nomads panels
« Reply #1 on: April 27, 2022, 04:42:24 AM »
That message comes from *Nomads:

->load"*nomads
->list 26
0026 IF TCB(88)=0 AND TCB(82)<0 THEN PRINT "Not a graphical device -- cannot use Nomads"; END

So if you're not using WindX (tcb(88)=0) and your OS isn't Windows (tcb(82)<0), you're not allowed to run a Nomads application.

suriakumar

  • Member
  • **
  • Posts: 5
    • View Profile
Re: not a graphical device -- can not use nomads panels
« Reply #2 on: April 28, 2022, 02:15:36 AM »
Sir,

I am not using windx and i have mouse connected with my laptop.  Also i am getting the error in the following line

PROCESS  "ABC","SUABC.EN"

J.SURIAKUMAR

EVa

  • Gold Member
  • ****
  • Posts: 54
    • View Profile
    • EDIAS
Re: not a graphical device -- can not use nomads panels
« Reply #3 on: April 28, 2022, 03:16:52 AM »
When you get that message during a PROCESS, the message comes from the GET_VERSIONS routine in *WINPROC:

14320 LET _X$=MSE
14325 IF MID(_X$,1,1)=$FF$ THEN PRINT "Not a graphical device -- cannot use Nomads panels"; EXIT

Can you enter these commands in PxPlus console mode and show us the output:

PRINT CVS(FIN(0),16)
PRINT HTA(MSE)