Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200262 occurred at DAQ Assistant-plz help me on this

Possible Reason(s):

Measurements: An attempt has been made to configure a trigger without configuring the appropriate sample clock properties or when Sample Timing Type was set to On Demand.

Configure the sample clock type to something other than On Demand to use a trigger.

Property: Start.TrigType
Corresponding Value: Digital Edge

Property: SampTimingType
Corresponding Value: On Demand

Channel Name: Idimm0
0 Kudos
Message 1 of 4
(3,712 Views)

Hello,

 

I am not sure what device you are using, version of DAQmx or what you are doing with your program but I can tell you some information that might help.  The error occured because you can not use "On Demand" sampling with a trigger.  So, to change this, double click on the DAQ assistant and change the Aquisition Mode to something other than "1 Sample (On Demand)."  I attached a picture of how to do this.  Also, on the right hand side it shows information on the different aquisition modes (If you are unsure what to change to). 

 

If you want to use the On Demand sampling you could change your DAQ assistant to not use a trigger.  I attached a picture that shows how to change this feature.  However, you have to change the Aquistion Mode to something other than On Demand before you can have access to the trigger.


Hope this helps!

Regards,
Jordan F
National Instruments
0 Kudos
Message 2 of 4
(3,697 Views)

Hi Jordan,

                First of all thank you for your response and sorry for not being clear. Ok let me tell you clearly what we are trying to do. We are using NI-PXI-1036 with 2 NIDAQmx devices (NI-PXI-6123 s series). Each device has 8 channels. So we want to sample the 16 channels from both the devices at a sample rate of 4u secs. The issue is we are only able to configure 8 channels at a time for sampling from one device only...i.e 8 channels from dev1 only or 8 channels from dev2 only. For example i am unable to add ai0(analog input) channel of device1 and ai1(analog input) channel of device2. For some reason the DAQ is unable to configure the channels in both the devices at a time for sampling. The error i have seen is what i have posted earlier. Sampling on demand will not help as we want to sample at 4u secs and moreover i am seeing the same error even though i have tried your suggested acquistion mode. I also played with the triggering tab (start triggering and reference triggering but it did not help).

               Your inputs are greatly appreciated. Thank you in advance.

 

Thanks,

Surya

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

Hi Surya,

 

Yes, you can not use "On Demand" with Triggering as I said earlier.  So, you will need to change your acquisition mode to "Continuous Samples" or "N Samples" to be able to use a trigger.  Also, if you do not want to use a trigger you can select "<none>" under trigger type.   

 

Also, you are not able to acquire from two devices using one DAQmx task with an M or E series.  However, you should be able to do this with your S series PXI-6123 cards.  The article below talks about this capability. 

 

Error -200072 in a Multidevice NI-DAQmx Task  

 

On my computer I created a task using two PXI-6123 devices (simulated) in one acquisition task.  I was able to set the acquisition mode to 250KHz and did not select a trigger source.  The task ran error free.  The only way I was able to create your error -200262 was when I used "On Demand" sampling with using a trigger source (analog edge, window, etc).  My recommendation is to create a completely new voltage task, select the channels from your two s series devices, set the acquistion mode to N Samples, sample rate at 250KHz and set the trigger type to <none>.

 

 

Message Edited by Jordan F on 11-26-2008 03:53 PM
Regards,
Jordan F
National Instruments
0 Kudos
Message 4 of 4
(3,672 Views)