Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

how to interface DAQ and E-prime

Dear all,

               I would like to send a pulse from E-prime to the USB-6008, and then send this TTL pulse to trigger a Medoc device. I realize that the E-prime extension software netstation can interact with traditional DAQ, but it does not have the right current. So I want to use USB-6008 to interface with E-prime. I don't know if the E-prime can be interface with USB-6008. If not, I have heard that I can write a dll file and call in that file from E-prime to connect with the USB-6008. However, I heard that is not easy. I wonder if any of you have experience in doing this. Any information would be helpful. Thank you very much.

 

Helen

0 Kudos
Message 1 of 4
(3,904 Views)

Hello Helen,

 

From what I've found, if you're needing to write a dll, there are some examples to help get started accessible by Start Menu -> National Instruments folder -> NI-DAQ -> Text-Based Code Support -> NI-DAQmx C Reference Help -> ANSI C examples.  As far as programming the dll's, hopefully those can help to get you started.

 

I'd also like to clarify, because I'm a little confused about the application, is the 6008 just a go-between?  It sounds like you want to send a trigger pulse to the Medoc, but I'm not 100% on what the role of the 6008 is in between as far as handling that pulse.

 

I've also found that this doesn't sound like a very easy implementation, so good luck! And please keep me posted here.

 

Regards,

 

-Dave C

Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,890 Views)

I was wondering if there have been an updates to this situation.

 

I, too, would like to be capable of using E-Prime to trigger a TTL pulse via the NI USB-6008 and wanted to confirm that there is a way to do this, short of writing custom device drivers.

 

Any more recent experiences?

 

Thanks,

-Chris

0 Kudos
Message 3 of 4
(3,778 Views)

Hello Chris,

 

Thanks for using the Discussion Forums! At this point, I haven't seen a DLL or code that enables E-Prime to communicate with the USB-6008. You would need to create a DLL to access the DAQ card from another software. You can create your own DLL by using an examples that already take measurements from any DAQ card. Just go to Start Menu » National Instruments folder » NI-DAQ (or NI-DAQmx) » Text-Based Code Support » NI-DAQmx C Reference Help » ANSI C examples.

 

If you make it work, please go ahead and post it on the Community so that other people can benefit from your discovery.

Regards,
Daniel REDS
RF Systems Engineer

Help us grow.
If a post solves your question, mark it as The Solution.
If a post helps, give Kudos to it.
0 Kudos
Message 4 of 4
(3,761 Views)