Re: [casper] C API

2011-08-05 Thread Marc Welz
 Hi all,

Hello

 Up to now I have been using the Corr python library for control/monitoring,
 however it would be very useful to integrate this directly into the C/C++
 library.

 Is there any similar C API out there?

Yes. See

https://casper.berkeley.edu/git/?p=katcp.git;a=summary

In particular look at examples/new-client-example.c

The client API comes in two layers, one where you can integrate
it into your select()/poll() framework, and one where it blocks
and times out.

regards

marc



[casper] C API

2011-08-04 Thread Charles Copley
Hi all,

We are integrating a ROACH into a C/C++ control framework.

Up to now I have been using the Corr python library for control/monitoring,
however it would be very useful to integrate this directly into the C/C++
library.

Is there any similar C API out there?

-- 
Charles Copley
Oxford Astrophysics
Department of Physics
Denys Wilkinson Building
Keble Road
Oxford, OX1 3RH
Cell: +44 (0) 794 711 1597
Office : +44 (0) 1865 273 348

 ---


Re: [casper] C API

2011-08-04 Thread Wan.Cheng
Hi Charles:

The Roach C/C++ library is already part of Roach PowerPC Linux OS. The OS 
running on Roach is call Borph developed by the Berkeley Uni.

All the registers and buffer will be visible as part of the OS device driver 
after the BOF file is excuted.

Your C executable file has to be compiled on Roach PowerPC. Or you also can use 
cross compiler on x86 Linux.

Cheers

Wan

From: Charles Copley [mailto:charles.cop...@astro.ox.ac.uk]
Sent: Friday, 5 August 2011 5:45 AM
To: casper@lists.berkeley.edu
Subject: [casper] C API

Hi all,

We are integrating a ROACH into a C/C++ control framework.

Up to now I have been using the Corr python library for control/monitoring, 
however it would be very useful to integrate this directly into the C/C++ 
library.

Is there any similar C API out there?

--
Charles Copley
Oxford Astrophysics
Department of Physics
Denys Wilkinson Building
Keble Road
Oxford, OX1 3RH
Cell: +44 (0) 794 711 1597
Office : +44 (0) 1865 273 348

 ---