VA and !-Schedule
flcusat
Posts: 309
There is any way to add the !-schedule module to a project created with VA?
0
Comments
VA assigns a UI port for each device, so first you should assign a dummy device to occupy the port that you expect to use i!-Schedule. Since most i! Solutions utilize port 4 in TPD4, you should make your fourth device added in VA your placeholder device. The alternative would be to reassign all port numbers in 15 popups and 3 pages which would be time consuming. Next copy all of the i!-Schedule TPD4 UI pages into the generated VA pages, deleting the dummy device pages. Now save i!-ScheduleModTest.axs as an axi and include it in your VA custom.axi code. Make sure that you do not conflict with virtual device ports in VA! Use the touch panel device name that was created by VA.
Next register your events and add code for events. I would probably use DO_PUSH and use the button events generated by VA.
This same process could be used for any i! Solution.
I hope this helps!
Doug Hall
Visual Architect Product Manager
http://www.amxforums.com/showthread.php?t=2086
That single post belong in Tips and Trick with a new thread title.
Done.