Experimental Physics and Industrial Control System
Hello Xu HuiJuan,
> I want to create all channels in one file with ca_create_channel() or
> ca_search() and handle each record in another file. I can't get the
> desired channel data.
In addition to Dirk's comments,
Make certain also that you have received notification informing your program
that the CA channel has connected before attempting the CA get. This can be
done in two ways. If you supply the address of a connection callback
function to ca_create_channel() then notification arrives when this callback
function is called by the library. If you supply a nill (zero) address for
the connection callback function to ca_create_channel() then ca_pend_io()
can be used to block until all of the channels (created since the last call
to ca_pend_io() or the start of the program {start of the CA context} )
connect.
I hope that I have successfully answered your question. Feel free to contact
me via email if you have more specific questions.
Jeff Hill
> -----Original Message-----
> From: [email protected] [mailto:tech-talk-
> [email protected]] On Behalf Of Xu HuiJuan
> Sent: Tuesday, November 13, 2007 12:22 AM
> To: [email protected]
> Subject: help
>
> Hi, there is a question bothering me.
> I want to create all channels in one file with ca_create_channel() or
> ca_search() and handle each record in another file. I can't get the
> desired
> channel data.
> Is this method work?
> If it is, is there anything specific I should pay attention to?
> Thanks!
>
>
> --
> Open WebMail Project (http://openwebmail.org)
- References:
- help Xu HuiJuan
- Navigate by Date:
- Prev:
Re: 250kV ION source control Steve Lewis
- Next:
Re: 250kV ION source control Emmanuel Mayssat
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: help Dirk Zimoch
- Next:
asynGpib:srqPoll srqStatus is 1 after ntrys 5 Why? Dirk Zimoch
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024