problematic system call for VHS transport function
Stewart
Posts: 37
Seems that the rewind/review command while vhs is playing so user can scan backward and view also is acting up( or may have always done this). Forward scan is fine ( tp 43). tp 44 however does not scan backwards. You can however push stop and then it will rewind after pushing button number 44. the user cannot however view the process. here is the code:
IF(VHS1_SELECT)
{
SYSTEM_CALL'VCR1'(VHS1,TP,40,41,42,43,44,45,0,0,0)
PUSH[TP,40]
{
ON[FLAG]
}
PUSH[TP,41]
{
OFF[FLAG]
}
IF(FLAG)
{
RELEASE[TP,44]
RELEASE[TP,43]
{
SYSTEM_CALL 'FUNCTION'(VHS1,PLAY,0)
}
}
}
Should I just eliminate the system call and do a push to or something similar? Thanks for your time.
this code was written almost 10 years ago for Access and may have never worked completely.
Any ideas from you kind people?
Stewart lane
Media tech 2
Middlebury college
IF(VHS1_SELECT)
{
SYSTEM_CALL'VCR1'(VHS1,TP,40,41,42,43,44,45,0,0,0)
PUSH[TP,40]
{
ON[FLAG]
}
PUSH[TP,41]
{
OFF[FLAG]
}
IF(FLAG)
{
RELEASE[TP,44]
RELEASE[TP,43]
{
SYSTEM_CALL 'FUNCTION'(VHS1,PLAY,0)
}
}
}
Should I just eliminate the system call and do a push to or something similar? Thanks for your time.
this code was written almost 10 years ago for Access and may have never worked completely.
Any ideas from you kind people?
Stewart lane
Media tech 2
Middlebury college
0
Comments
Depending on the VCR, you could program the FWD and REV buttons as TO's, not PULSE's and you can achieve your push/search functionality. Some VCRs need a longer push to instigate search, and this method would cover that too.
You might code yourself a play flag so that you can monitor and correctly issue a pause command. Also, then, you can issue momentary feedback to your search buttons showing search or latched on feedback for high speed transport (assuming the VCR is stopped).
HTH
Thanks Steve. Something along these lines?
}
PUSH[TP,40]
{
TO[VHS1,1]
}
PUSH[TP,41]
{
TO[VHS1,2]
}
PUSH[TP,42]
{
TO[VHS1,3]
}
PUSH[TP,43]
{
TO[VHS1,4]
}
PUSH[TP,44]
{
TO[VHS1,5]
}
The flag would keep an eye on the vcr being in "play" mode? as before
I will have to search through my notes, but I seem to recall that Panasonic VCRs used VCR3 system calls, other calls were written for other models and how they operate. Back in the days when VCRs were still heavily in use I had all of the calls memorized for which one was used with what deck, but I haven't written a job with a stand-alone VCR in quite a while. Don't give up on the system call - instead do the research and find out which system call should be used for the particular make/model that you have.
I question the logic of putting a play function call on the release of the ffwd/rewind buttons. If the proper system call is used there is no need for that piece of code or the code tracking the "flag" variable.
Indeed it is a replacement vcr
Sony ( as was the previous one but that was 9 yrs old SONY SLV-ED7FS unit)
This is a SONY SLV-ED939
Any idea where I might research the system call for this particular units. Thanks for your time
Take out the code associated with the release statements and the code keeping track of a flag - you don't need that. Then experiment between using VCR1, VCR2 and VCR4 and see which works best. That would probably take less time then trying to find the references that tell you which one to use.
By going to access help topics i took a look at all of the vcr system calls
i rewrote code ( simply changing numbers 1 to 2 etc) and tried vcr2,vcr3,vcr4,vcr5 vcr9. the others seemed to be written for U -matic or panasonic devices. The functionality was there for everything but now a "forward scan option". the VCR1 system call would not work this new vcr to rew-scan. now the other VCR(2-5) system call allows rew-scan but upon forward scan goes directly to a blue screen and indeed scans forward.and upon a release of button it goes into play. So it appears that I can do either forward search or rewind search but not both with any of the system calls with this newer Sony vcr . Any ideas where I might research this?
There are 5 buttons . Play/pause /stop and search forward and search reverse
There seems to be functionality one way but not the other. By pushing search forward the image is projected and it scans forward. On reverse scan however the image goes to blue and by pushing button agan it goes into a rewind with double arrows and projects a blue screen. I used a different system call and the reverse was true One or the other ( forward or reverse) works normally and you can view the image as it goes in 1 direction but not both . Should i simply eliminate the system call entirely? I have tried all I have on file.
Thanks again!!!