08-03-2010 04:25 PM
Hi -
I recently converted a PXI system to real time OS (PXI-1042Q chassis, PXI-8187 controller, PXI-4461 DAQ, PXI-6259 DAQ). I can write and run realtime DAQmx applications with the 6259 just fine. Whenever I try to write a labview RT app to use the 4461 though, it will fail. Note that I can use both cards through MAX. I've tried switching card slots just in case that was a problem. Both cards worked with labview when the PXI chassis was running Windows before.
Attached are images of the basic demo VIs I've constructed to show the problem. Since I got an error (-200758) if I started from raw channels, I tried creating a MAX task and using that. With the task though it complained of a buffer being too small. I explicitly set the buffer to get around this and still get the same error (-200608). I've also attached a screenshot of the software currently on the RT PXI system from MAX. MAX is version 4.6.2 btw. (I installed most/all of this from version DS1 of Dev Suite 2010).
Please let me know if I have wrong versions of something installed, if the 4461 just doesn't play nice with new LV or RT software, or if something else is amiss. Thanks.
Kregg
Solved! Go to Solution.
08-06-2010 10:04 AM
The first error you were seeing is (details from Help->Explain Error in LV)
Error -200758 occurred at an unidentified location
Possible reason(s):
Sample Timing Type is set to On Demand which is not supported for analog output on this device.
Set Sample Timing Type to Sample Clock. You can achieve this while setting related properties through DAQmx VIs or functions for configuring timing.
The 4461 cannot do on demand output. It requires a DAQmx timing VI and a sample clock. Did you run this same VI on Windows, it should give the same error. A VI that worked with the 4461 in Windows should work in RT as well.
08-06-2010 11:54 AM
I thought I had tried using the sample timing block. It must have been in conjunction with some other setup error though. The card seems to work now. Thanks.
08-09-2010 01:20 PM
Awesome. Glad you're up and running!