MED-PC controlling Video Monitor
MEDState Notation Repository › Forums › Coding Help Archive › MED-PC controlling Video Monitor
- This topic has 1 reply, 1 voice, and was last updated 8 years, 9 months ago by
Med_Support.
-
AuthorPosts
-
September 5, 1008 at 2:22 pm #13178
Med_Support
ModeratorGary Bamberger
The VM_IFace.hed was not added to your User.pas so it does not know what those commands are.
Edit your User.pas and look for the line: {Place $I Filename.HED files here.}
Add the following line just below it: {$I VM_IFace.hed}
It should look like this when done:
{Place $I Filename.HED files here.}
{$I VM_IFace.hed}Make sure that you can find a copy of the following two files in your C:\MED-PC IV folder:
VM_IFace.hed
MED_VM_Interface.dllIf you cannot find these two files then you should be able to find a copy on your Video Monitor CD. Just copy them to your C:\MED-PC IV folder and everything should start working correctly.
August 29, 2008 at 2:23 pm #13177Med_Support
ModeratorCorey Puryear
I am having trouble getting MED-PC to control the video monitor software. I am trying to run the first ‘tutorial’ in the Video Monitor User’s Manual, but I get Pascal Compiler Errors when I try to compile the file. The code and errors are below.
Thanks for the help,
Corey
CODE:
\ Filename: VideoTest.mpc \ Date: 8/29/08 S.S.1, S1, 1": ~ConnectToVM('YOUR-328B1D4E95', 'Op1');~ ---> S2 S2, 2": ~WriteEventVM('YOUR-328B1D4E95', 'Op1", StartSavingEvent, 'Start Video');~ ---> S3 S3, 60": ~WriteEventVM('YOUR-328B1D4E95', 'Op1", StopSavingEvent, 'Stop Video');~ ---> S4 S4, 1": ~DisconnectVM('YOUR-328B1D4E95', 'Op1');~ ---> STOPKILLERROR MESSAGE:
The entries listed in this file report errors found by the Pascal compiler.
These errors were not detected by the MED-PC translator.The following errors were detected:
Error found in VideoTest.MPC, DLL\VideoTest.pas(10) PAS\ITO12055969.PAS(1) PAS\ITO12055969.PAS(7) PAS\ITO12055969.PAS(7) PAS\ITO12055969.PAS(7) PAS\ITO12055969.PAS(7) PAS\ITO12055969.PAS(7) PAS\ITO12055969.PAS(8) PAS\ITO12055969.PAS(40) Error: Undeclared identifier: ‘CONNECTTOVM’
Error found in VideoTest.MPC, PAS\ITO12055969.PAS(69) Error: Undeclared identifier: ‘WRITEEVENTVM’
Error found in VideoTest.MPC, PAS\ITO12055969.PAS(69) Error: Missing operator or semicolon
Error found in VideoTest.MPC, PAS\ITO12055969.PAS(69) Error: Unterminated string
Error found in VideoTest.MPC, PAS\ITO12055969.PAS(70) Error: Missing operator or semicolon
Error found in VideoTest.MPC, PAS\ITO12055969.PAS(98) Error: Missing operator or semicolon
Error found in VideoTest.MPC, PAS\ITO12055969.PAS(99) Error: Missing operator or semicolon
Error found in VideoTest.MPC, PAS\ITO12055969.PAS(129) Error: Undeclared identifier: ‘DISCONNECTVM’
Error found in VideoTest.MPC, DLL\VideoTest.pas(10) Fatal: Could not compile used unit ‘ITO12055969.pas’
-
AuthorPosts
- You must be logged in to reply to this topic.