
0
Landscape or Potrait as selectable
Hi,
We have an application which can be used on 2 different type of machines. Application logic is the same on both types of machine but the display orientation need to be in portrait mode on one type of machine and in landscape mode on another type of machine. We want to avoid having 2 versions of the same program with only difference being the display orientation in landscape or portrait mode. As you can imagine this will create software maintenance nightmare in future. Is there a way to work around this problem?
Thanks
Customer support service by UserEcho
I wonder if using the variants feature in Design 7 would do this. There doesn't appear to be a way to set a channel in the program that I can tell. It might be easier to maintain if you have two different programs and use external functions instead of standard functions for your actual program logic. At least that way, you only have to update the logic in one place. Not sure how well that would work in practice, as I haven't worked with external functions other than in a training class. Maybe Gustav can comment on any considerations and thoughts on version control and program archiving?
Thanks Matt. Yes you are right with use of external functions can lessen the issues which come with software maintenance in a scenario like this. Customer has presented another challenge where they would like to be able to swap the MD4-7's from one machine type to another by setting a parameter in the adjust group. They do not have software upload/download capabilities as the machines can be in remote locations and they would really like to avoid stocking few MD4-7 with 2 different programs to suit 2 types of machine(one difference being display pages being in portrait or landscape mode). Any help to solve this issue would be much appreciated.
Do you have all the logic in the MD4, or is there an MC4x module with most of the logic?
You could have two MD4s in the same project, and an option to select which is active depending on the machine type and ID tag.
With "safe password" feature you can safely give an update file to the customer he can use from IQANgo to update without Internet connection.