LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

continuous swept-sine measurement with usb daq

Hello,

  is it possible to run a continuous swept sine measurement (SV example) on a USB 6218 daq? (after modification because the default configuration raises the error "Non-buffered hardware-timed operations are not supported for this device and Channel Type") I tried to change the output buffer size or to set Sample Timing Type to On Demand, but both raise other errors.

Guillaume

0 Kudos
Message 1 of 7
(3,253 Views)

Hi,

Example finder lists the USB 6218 hardware for Continuous swept sine measurement which means that this HW supports this kind of measurment.  Have you tried normal measurements with the USB 6218? Is the error only for this kind of measurments or for all measurments?  How does the MAX respond to it?

 

Please post back if problem persists.

With regards,
JK
(Certified LabVIEW Developer)
Give Kudos for Good Answers, and Mark it a solution if your problem is solved.
0 Kudos
Message 2 of 7
(3,243 Views)

Hi,

thanks for the help. For example of normal measurement, the stepped swept-sine example works well. The error is raised by the DAQmx Control Task commiting the AO task. I hope that answers your questions.

 

Best,

Guillaume

0 Kudos
Message 3 of 7
(3,227 Views)

Hello,

  are you able to reproduce the error I described?

Best,

Guillaume

0 Kudos
Message 4 of 7
(3,186 Views)

Hi Guillame-

 

     I tried to run this example program on a simulated USB-6218 and the program seemed to run fine with no errors.  Have you chosen the correct device (Dev1, Dev2, etc)?  You haven't changed any of the default settings, correct?

Gary P.
Applications Engineer
National Instruments
0 Kudos
Message 5 of 7
(3,159 Views)

I come back to confirm that there is no error when I try with a PCI 6225, whereas with a USB 6218 the error 201025 occurs at DAQmx Control Task.vi:1 "Non-buffered hardware-timed operations are not supported for this device and Channel Type".

The example VI is SVXMPL_Continuous Swept-Sine Measurements (DAQmx).vi, on LabVIEW 2009 with NI-DAQ 8.9.5.

0 Kudos
Message 6 of 7
(2,967 Views)

Hi titpoul-

 

     Here is a great KnowledgeBase article that discusses what is actually going on with the hardware.  Because these examples use a hardware-timed analog output task, they cannot be run on your USB device without modification.  The KnowledgeBase article discusses some options you have.  In the Example you are looking at, look in the svx_Commit Hardware Settings (DAQmx).vi.  On that block diagram, the svx_Configure (DAQmx).vi has all of the sample clock settings for the VI.  You may be able to play with those settings to avoid this error, but I am not sure that you will be able to get the example to run as expected.

 

     I have notified R&D that our example finder is erroneous in its indication that this example can be run on a USB DAQ device.

 

     I hope this helps.  Have a great day! 

 

Gary P.
Applications Engineer
National Instruments
0 Kudos
Message 7 of 7
(2,940 Views)