02-15-2009 10:06 PM
Hi,
How do I set up a worksheet so that data is only recorded when there is a trigger that comes from an external source's parallel port?
I am using DasyLab to record 2 channel EMG, but only want to it to record for 3s periods after each trigger.
The triggers are sent from a separate computer using a parallel port, and we have a cable that connects this port to one of the channels of the biovision input box. However I'm not sure how to set up a worksheet (eg. should the input to the trigger be NI-DAQmx>digitalinput module, and if so how should I configure this?)
I have tried setting up a combi-trigger (pre = 0 and post = 3s) that controls a relay which should control the other channels but not sure how to get it to read the parallel port info.
If anyone can give advice it would be greatly appreciated!
Thanks very much,
Carolyn
02-16-2009 01:34 PM
Regards,
Dan King
02-23-2009 07:09 PM
Thank you for your reply. I have contacted Biovision to check with them about being a DAQ device but haven't heard back yet - this is their product: http://www.biovision.eu/biovision1_en.htm . The NI software and drivers came with the package.
We want to read triggers in via the parallel port to control the recording of analog input (EMG signal) on a separate channel - and we now have a cable connecting the pp into a channel of the DAQ device - but if it is indeed a DAQ device, should we be configuring a digital input task for this?
Regards,
Carolyn
02-24-2009 10:31 AM
Regards,
Dan King
02-24-2009 02:51 PM
If the Biovision box is using a NI-DAQ or NI-DAQmx based card, you can still use the parallel port through the DASYLab Sound Card driver.
Check the Measurement/Hardware/Driver setup to verify which driver is loaded as the "traditional driver". You should also notice the NI-DAQ or NI-DAQmx driver settings in the same sub-menu.
If the sound card driver is not loaded, you may need to use the Measurement/Driver Selection menu to choose the sound card driver. Refer to the sound card driver help for the LPT pins and how they map to a Driver/Digital Input.
Good luck ....