Experimental Physics and
| |||||||||||||||||
|
hi, Mark:
In fact, I tried to parse the string "12345678" with a ai/longin record of streamdevice, but I can't find how to do that. then I checked the streamdevice, seems that it can support scalcout record, not just in soft device mode? also there is an example with it, but too simple. ps, today is Chrismas day, are you stil working? :-p
在2009-12-25,"Mark Rivers" <[email protected]> 写道: >You could do that with an scalcout. But you would not use the streamDevice support, you would just use the soft device support, since you have already read the string with the stringin record (using streamDevice?). > >But maybe you should back up a step. Are you trying to read a string from a device, and convert it into a number, for example for an ai or longin record? If so then you should just use the streamDevice support for the ai or longin record directly, there is no need to use stringin or scalcout. Just write a protocol file for the ai or longin and provide the format string needed to decode the string. > >Mark > > >________________________________ > >From: [email protected] on behalf of Silver >Sent: Thu 12/24/2009 10:04 AM >To: tech-talk >Subject: how to use scalcout record in streamdevice? > > > >hi, > > I want to try scalcout record in streamdevice, but I still can't use it after reading some example or document of streamdevice. >for example, if I use stringin record to get a string like "12345678", then I want to convert it from ascii code to digital 12345678, can it be implemented by scalcout record? > can anyone give me a hint? thanks a lot in advance. > > >Best regards >Geyang 2009-12-25 > > > >
| ||||||||||||||||
ANJ, 31 Jan 2014 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |