Hi Eric,
Does the Real-Time OS not support any written code at all? Is there no in code script option?
In using two PCs, one real time and one not, won't I lose most (if not all) of the determinism? I need to be able to analog input sample at 40Khz, take each of the values in a FIFO manner, manipulate them with the math algorithm, then do a digital output based on the result and then exactly 40KHz (1/40000 of a second) later output the next result and so forth. So the loop will be:
1.) Initialize values and make a look table or array
2.)Continuously take analog input samples at 40Khz
Start Loop:
1.) Send first value through algorithm
2.) Digital output based on algorithm result
3.) Send next value through algorithm
4.) Digital output based on algorithm result, outputted exactly 1/40000 of second from the output in step 3
5.) Repeat steps, getting the next value from the input, sending through algorithm, outputting a result exactly 1/40000 of second from the previous output
It seems like the moment that I try to send and receive values to and from the non-real time system, I am going to completely lose all determinism and it will completely defeat the purpose of us running a real-time OS in our setup.
Also, I have read about using DLLs. If you could give me some good information on those, I would be interested as well. Please give me information and not just a link.
Thank you,
Brian Fehrman