Hi,
I want to know more about VAL field of PV in asynDriver.
as i understand of i defiend VAL field to some value in DB file then it sould be written on output.
I have develop my own driver to write value on serial port using asyn driver. and it is working fine.
if i write some value . it is output on port.
But if i write VAL field in DB file. it is not writting that value to the output
The DB file content is as below
record (longout,"TEST:VAL")
{
field(DESC, "New
Variable")
field(DTYP, "asynUInt32Digital")
field(HOPR, "255")
field(LOPR, "0")
field(OUT, "@asynMask(port, 0,255) setportval")
field(VAL, "7")
}
Even if i am tring to read same PV it gives value 0.
$ caget TEST:VAL
TEST:VAL 0
Actually i put VAL field for giving fixed output on serial port at the time of IOC start bootup.
Thanks