Gui vs Green screen (Hybrid)

Use this board to ask questions or have discussions with other Genie users.
Post Reply
gleary
New User
Posts: 2
Joined: Thu Jun 11, 2015 1:11 pm
First Name: Gordon
Last Name: Leary
Company Name: AMPORTS, Inc.
Phone: 410-843-7110
Address 1: 2901 Childs St
City: Essex
State / Province: Maryland
Zip / Postal Code: 21226
Country: United States
Contact:

Gui vs Green screen (Hybrid)

Post by gleary »

I a program that offers Green screen and Rich Display File screens. How can I determine in the program which environment the user is in? I am printing to a serial port for the green screen and can not do this on my Rich Display File. I need to call a different program for the Rich Display File app.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Gui vs Green screen (Hybrid)

Post by Scott Klement »

Hi Gordon,

Since you mention having a mix of 5250 and rich displays, it sounds like you are probably running everything in Genie, correct? There is a program provided in Genie that can be used to detect the environment, more info about this can be found here:
https://docs.profoundlogic.com/x/aAJ4

If you have the same question when running via the RIch DIsplay session controller (i.e. you use the /profoundui/start URL, or launch programs from Atrium via a "Rich Display" launcher) then you can check for the PROFOUNDUI environment variable. There's some information about that, here:
https://docs.profoundlogic.com/x/PQF4

I'll move this discussion to the Genie forum, since it doesn't appear to be related in any way to Universal Displays.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 0 guests