-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Catalytic Flow Reactor provisional driver #7601
Comments
It may be achievable using SD TEST, so check that and the interrupt nature of being sent data every 10 seconds within that framework IOC |
if we dont have a device in the office that will send data over serial, this could be very easily achieved with an arduino overriding its primary serial interface (through usb showing up as a virtual com port) |
I don't think we do have anything that just spits data at us, so yes via an Arduino/similar is probably a good plan for us for testing. We should also consider getting the equipment to run an adruino through a moxa nport for similar testing (I have done it before, but I'm pretty sure that for once I have no notes, only the recollection that I used a hat that I bought myself and brought home in 2020 and I'm not sure where it is) |
SDTEST can quite happily cope with serial data being thrown at it despite no command sent to the device. Unfortunately it doesn't seem to have a nice way of splitting the output to three separate pvs or fields on a waveform/calc. I can get the output from PS my "emulator" is an arduino nano every (on COM5) running this code: void setup() {
Serial.begin(9600);
}
void loop() {
for (int i=0;i<8;i++) {
char s[6];
sprintf(s, "%d,%d,%d\r", i, i+1, i%2);
Serial.print(s);
delay(10000);
}
} to effectively fake the output of the CFR. |
Can we make sure we also write a normal lewis emulator please so that we can test using ioc test framework etc? If you need an example of sending a constant stream of unsolicited messages from lewis, see the |
ISISComputingGroup/EPICS-Catflwr#1 sounds like no OPI is needed so think this is sufficient. Will create task in task board to actually hook the thing up and set blocks etc. up on POLARIS |
As someone conducting an experiment with the catalytic flow reactor I want to be able to do some rough synchronisation of the behaviour of the reactor with the beamline at ISIS
Acceptance Criteria
Notes
wait_for
states before undertaking abegin
orend
as appropriateThe text was updated successfully, but these errors were encountered: