that copy zero to DF4 must have been a nice surprise for you before your programmer quit.
u couldnt offer the programmer some money just to finish the project before they left?
Its my nieces freaking new husband !!! GO FIGURE
that copy zero to DF4 must have been a nice surprise for you before your programmer quit.
u couldnt offer the programmer some money just to finish the project before they left?
ok, well then talk to your neice... confince the wife, control the man. lmao
ok so i was looking at the code, theres alot of talk of a recipe. so i think we should look at what process you are trying to accomplish and go from there more detail = better chance of fixing it
Failure mode : run the ASR ( ramp ) and stop it before it is finished , change screens to recipe or manual mode and try to run it , the output DA2V ( analog #2 ) will not function properly , either 0 volts output or sporadic output.
So it seems to be a reset or set that is screwing it up or is missing .
IF I run the ramp all the way through it seems to work , this only seems to happen when it has been stopped before it is finished with its cycle.
IF I run the ramp after it has been stopped or screws up after a screen change and let it run though the whole thing the next time it works fine
This is a shot in the dark, perhaps the classic subroutine problem of not exiting the sub before all the proper coils are set/reset are in the proper mode is the issue. I have taken the liberty of rearranging the subroutine call to allow for a one scan delay before exiting.
This is a shot in the dark, perhaps the classic subroutine problem of not exiting the sub before all the proper coils are set/reset are in the proper mode is the issue. I have taken the liberty of rearranging the subroutine call to allow for a one scan delay before exiting.
Failure mode : run the ASR ( ramp ) and stop it before it is finished , change screens to recipe or manual mode and try to run it , the output DA2V ( analog #2 ) will not function properly , either 0 volts output or sporadic output. .
still has the same problem where the timer and ramp interact if stopped during a run . I DO Appreciate the help / effort !!
What were you expecting the output to be? Where you left off? Both time and amplitude of analog output?
What happens is that the output will not change to the proper voltage during the first run IF I change screens before the function finishes ( I.E.) Run ASR or the ramp and stop it mid stream then change screens to say MAnual mode ( sets the outputs manually ) the timer starts from the time of the previous screen , also If I run a recipe ( diff. screen ) the output will not change until I run a full ASR or manual cycle .
SO something is not being reset when leaving the screen or function , I think it is 2 things A. timer B. DAC2V output
I don't know this equipment so maybe it's inherent, but operation depending on the active screen seems like a bad design decision. At least that's what I gather from the description. What changes in the program when you switch screens?