tango-controls / c_binding Goto Github PK
View Code? Open in Web Editor NEWProject moved to https://gitlab.com/tango-controls/C_Binding
Project moved to https://gitlab.com/tango-controls/C_Binding
Hello,
I have trouble writing DevLong64 spectrum attributes. I looked into the code and I think the problem is in convert_attribute_writing (c_tango_attribute.c, lines 970pp). The data is copied from argin->attr_data.long_arr
, but it should be copied from argin->attr_data.long64_arr
.
case DEV_LONG64:
{
/* copy the data into a long64 vector */
vector<Tango::DevLong64> long_arr(argin->attr_data.long_arr.length);
for (int i=0; i<argin->attr_data.long_arr.length; i++)
{
long_arr[i] = (Tango::DevLong64) argin->attr_data.long_arr.sequence[i];
}
/* Inert into the DeviceAtrribute object */
devattr.insert (long_arr, argin->dim_x, argin->dim_y);
break;
}
should be:
case DEV_LONG64:
{
/* copy the data into a long64 vector */
vector<Tango::DevLong64> long64_arr(argin->attr_data.long64_arr.length);
for (int i=0; i<argin->attr_data.long64_arr.length; i++)
{
long64_arr[i] = (Tango::DevLong64) argin->attr_data.long64_arr.sequence[i];
}
/* Insert into the DeviceAtrribute object */
devattr.insert (long64_arr, argin->dim_x, argin->dim_y);
break;
}
Dear Tango C_Binding participant (via commits, comments on issue or pull requests, issue creator),
If you have contributed in any way (commit, issue or Pull Request creation or comment) to Tango C_Binding , please log into Gitlab.com using your Github account ASAP.
See tango-controls/TangoTickets#47 for details.
Please click on the following link and add your github account name to this framapad when you've already done the login to Gitlab.com using your Github account:
https://mensuel.framapad.org/p/migration_ready_2548763689
Please note that login on gitlab.com using your Github account is safe and doesn't give your Github password to Gitlab.
For convenience, here is the list of contributors we could already find (and who did not signal they had done it yet for another repo):
Thank you for your cooperation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.