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