Experimental Physics and
| |||||||||||||||||
|
I am using SNS CSS-4.1.0. I am trying to read and set the properties of XY graph widget using one action button. My script attached to an action button (mouse click) is al follows. *********************************** importPackage(Packages.org.csstudio.opibuilder.scriptUtil); var color = display.getWidget("alphaProfileGraph").getPropertyValue(" trace_0_trace_color"); ************************************************************** Error shown in console at runtime is as follows. ************************************************************* Wrapped org.csstudio.opibuilder.model.NonExistPropertyException: alphaProfileGraph does not have property: trace_0_trace_color (script#3) Pls let e know where I am wrong. Regards ********************************************************************** अनिंद्य रॉय / Anindya Royवैज्ञानिक अधिकारी / Scientific Officer कंप्यूटर एवं सूचना वर्ग / Computer and Informatics Group परिवर्ती उर्जा साइक्लोट्रॉन केंद्र / Variable Energy Cyclotron Centre परमाणु उर्जा विभाग / Department of Atomic Energy भारत सरकार / Government of India 1/ए एफ विधान नगर / 1/AF Bidhan Nagar कोलकाता - 700064 , भारत / Kolkata - 700064, India फोन / Ph (O): +91-033-23184736 फैक्स / Fax (O): +91-033-23346871 **********************************************************************
| ||||||||||||||||
ANJ, 15 Jul 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |