// Current Biology, 10, 679-682.\r
///+ Prefix\r
//// Include Psychlops Package\r
-#define PSYCHLOPS_USE_NIDAQ_MX\r
#include <psychlops.h>\r
using namespace Psychlops; // Initially developed with Psychlops Win32 1.5.3 / 20110311\r
///- Prefix\r
rect.fill = Color::red;\r
\r
Devices::GenericParallelPort trigger("USB_PARALLEL", 1+8);\r
- Devices::NIDAQmx nidaq();\r
\r
int t=0;\r
\r
// rs = CreateProcess("C:\\Windows\\System32\\print.exe",(LPTSTR)" /D:LPT1 D:\\Users\\hskwk\\Desktop\\zzz.txt",NULL,NULL,FALSE,NORMAL_PRIORITY_CLASS,NULL,NULL,&si,&pi);\r
\r
if(t%120==0) trigger.trigger();\r
+ rect.draw();\r
\r
Display::flip(); // Flip frame buffers\r
}\r