Experimental Physics and
| |||||||||||||||
|
Dear Sir/Madam I have establish connection using TCP asyn module by using and also receiving 100bytes TCP data,
it is stored in pgpibDpvt->msg. I am using following gbib command static struct gpibCmd gpibCmds[]={ {@DSET_AI, GPIBCVITO, IB_Q_HIGH,0,0,10,10,tcpread,0,0,0,0,0}, }; and in tcp read funtion i am reading using { status=pasynOctet->read(asynOctetPvt,pasynUser,pgpibDpvt->msg,100,nchars,0) } along with other initialization command. In the data there are 10 float numbers(i.e.40 bytes), 20 integer numbers (20 bytes) and remaining are Boolean (i.e 20bytes). I
have separated floats, integers and Booleans, now i want to assign
this to PV. Kindly help me how to make various records/database (.db
file), and how to assign segregated received value to process variable. I am new in record set/process varible/db file, kindly give one example of each how received data will automatically linked with process variable and could able to reflect the received value in MEDM. (I am familiar with MEDM) Regards Ritu Sanjay
Jain On Wednesday, 12 February 2014 10:13 PM, RITU JAIN <[email protected]> wrote: Dear Sir/Madam I have establish connection using TCP asyn module, and also received 100bytes TCP data, it is stored in let assume msg->buf. In which 10 are the float (i.e.40 bytes), 20 are the integers (20 bytes) and remaining are Boolean (i.e 20bytes). I have segregated floats, integers and Booleans, now i want to assign this to PV. Kindly help me how to make various
records/database (.db file), and how to assign segregated received value to process variable. I am very new in record set/process varible/db file, kindly give one example of each. Regards Ritu
Jain
| ||||||||||||||
ANJ, 17 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |