Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help on using "external conversion" signal for 6115 board

I am trying to use a temporal un-evenly spaced pulse train (2-7MHz) as 'external conversion' signal for the PCI-6115 board. Please advise if this is do-able.

I tried both NI sample codes of "DAQsingleBufExtConv.VBP" and "DAQsingleBufExtConv_Eseries.VBP", but end with the same error message of "[DAQ_Config] returned error -10003. The value of a numeric parameter is invalid".
Looks like I can not set "extConv" parameter to anything other than 0 in the "DAQ_Config" call. Also I got second error message of "[DAQ_start] returned error -10011".

I am new to use this board, any help is appreciated. Thanks
Message 1 of 2
(2,296 Views)
Hi James,

The PCI-6115 is definitely capable of of using this external convert clock. The best and easiest way to program the DAQ card is to use DAQmx. Unfortunately we don't support DAQmx in VB6 as we do in VB.NET. The example you are trying to use makes use of our Traditional DAQ drivers. When you installed the NI-DAQ drivers, you also installed the Traditional NI-DAQ Function Reference Help. Here's a link on how to find this help file:

http://digital.ni.com/public.nsf/websearch/96d84c7f25b0823986256e8e0025db4f

By searching for "extConv", I was able to find information on how to use this parameter with the the DAQ_Config function. I would highly recommend upgrading to VB.NET in order to take advantage of our DAQmx drivers.

Here's a link to the product home page for the PCI-6115. You can link to the data sheet for this card to find out information on maximum and minimum input frequencies.

http://sine.ni.com/nips/cds/view/p/lang/en/nid/11886

I hope this information helps. Have a great day.
0 Kudos
Message 2 of 2
(2,282 Views)