|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 1/6/2008 11:42:54 PM
Posts: 3,
Visits: 2
|
|
Hi,
I'm using a BioPac system with Eprime triggering events through the
parallel port to digital channels D8-D15. Everything works great, but
channel D15 is always on (equals 1). The same is true for digital
channels D0-D7. I can't get 8 channels at one time to initialize to 0
so that I can get correct trigger numbers. Any ideas? Is this an
eprime problem?
This is the script I am using to initilize the port:
WritePort &H378, 0
Dim StartTime1 as Single
Dim TimerDuration1 as Single
TimerDuration1 = .005
StartTime1 = Timer
do
WritePort &H0378, 99
Loop Until Timer > StartTime1 + TimerDuration1
WritePort &H0378,0
And then to send the triggers:
WritePort &H378, 0
WritePort &H378, c.getattrib("Trigger")
Any help is much appreciated!
Taylor
A. Taylor Newton, MA
University of Denver
Frontier Hall 314
2155 S. Race St.
Denver, CO 80208
|
|
|
|
|
Forum MVP
      
Group: Administrators
Last Login: Yesterday @ 5:00:06 PM
Posts: 569,
Visits: 1,238
|
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 1/29/2008 3:52:07 AM
Posts: 2,
Visits: 13
|
|
| Hi, I also have problem configuring the parallel port with e-prime (v2.0). I tried to use the ParallelPortConfigure.es sample and obtain an error while the program was attempting to open the device. Line 1068, error number: 10051. Does someone know what to do? Stephanie
|
|
|
|