Experimental Physics and
| |||||||||||||||
|
Hello, I am having a Modbus interface, I have disabled polling and I am using MODBUS_READ as a trigger. An ai record "myData" (with SCAN as "I/O Intr" which holds the data received over Modbus. sseq is used to give start of conversion and check for EOC and send MODBUS_READ and wait for myData to be processed (by checking busy record). In short I am using the sseq record in sscan as a detector trigger. I am using a sscan along with sseq records for triggering and acquiring the data over Modbus. To synchronise the detectors MODBUS_READ command (I am using busy record) and on processing of myData record (I am using myData.FLNK to trigger a bo record to reset the busy record). the sseq record is waiting on this busy before sscan record acquires the detector data. I am always getting N-1th sample instead of the Nth sample. However if I give sufficiently long detector delay time ie of 1-2 sec I am receiving proper data. I am not happy with this workaround What am I doing wrong? Thank you in advance Regards, Kuldeep
| ||||||||||||||
ANJ, 20 Jul 2021 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |