Code Monkey home page Code Monkey logo

c_binding's People

Contributors

bourtemb avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

fbeule

c_binding's Issues

Bug when writing DevLong64 attributes

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;
	}

Gitlab Migration: Please log into GL with your GH account ASAP

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.