11-27-2007 01:17 PM
11-27-2007 04:50 PM
11-28-2007 01:41 PM
11-28-2007 03:47 PM
Hi Vanessa,
I saw that KB article, but I am not using a low cost device so I didn't look too closely. The PCI-6110E cards do have a FIFO buffer. I don't completely understand how the process works as far as how data gets passed to the PCI-6110E card when and by what, but the waveform is 220K samples, and is running at 7Hz. Normally this runs in the background while the main Vi reads in simultaneous data from 8 channels (2 PCI-6110E cards) ~288K samples. Now I can't even run the function generator alone without getting this error. I was under the impression that the card will autonamously pump out the waveform that has been given to it, and will request new data when it nears the end of the buffered waveform, which it will put into the buffer to be processed next (FIFO). Is that correct?
My latest attempt has been to adjust the PCI latency timer. The default setting is 64 cycles. I tried 32 and 128 cycles to no avail.
With regard to the KB article that you referenced, I was going to try to force it to use DMA as suggested, but there is a problem. We are using group 0 in our AO config for the waveform output, but the minimum group number in Set DAQ Device Information.vi is group 1.
11-29-2007 03:59 PM
Hi Jim,
I took a look in the manual and saw that you are right about the 6110E having an onboard FIFO. I can see now with your low update rate (7Hz) and the fact that the board has a FIFO, that KB I linked you to is probably not the issue. So if I understand you correctly you have a waveform with 220 kS that is being generated at 7 samples per second. You explanation of the FIFO is essentially correct. So in your case, the FIFO would store the number of samples that it could until it was available to be transferred from the FIFO to the board. However, you are transferring samples so slowly that they would probably be almost transferred directly. That's why it doesn't really make sense to me why this would have changed just by upgrading to a different PC. Are you sure that there was nothing else that you changed in your program since you upgraded your PC?
As far as changing to DMA, you should not have any issues transferring group 0 in the Set DAQ Device Information VI. This is because you can take the task ID from your AO config VI and wire it direcly into the task id/group number input of the Set DAQ Device Information VI. This VI should be placed directly after the AO config VI in line so that everything (data transfer mechanism included) is configured before you start writing out the data. I placed the Set DAQ Device Information VI on the block diagram and was able to wire my task directly in.
02-08-2008 12:29 PM
02-11-2008 08:39 AM
02-13-2008 03:49 PM
Hi Jim,
I am disturbed that this is an example program that is not working.
Some things to try:
1) If you have the DAQmx installed on your computer, I would suggest running the DAQmx Example Cont Gen Voltage Wfm- Int Clk.vi. This is the same example, just with the different driver. For this example, you can just open and run it, just selecting you 6110 card as the device and not changing any other settings. Does it return the same error? If so this might be a problem with the PC.
2) If there error does not occur right away or if you are able to get the DAQmx example to work, you can try running a test panel in Measurement and Automation Explorer (MAX) after wiring the Analog Output to an Analog Input. This will let you see if you are correctly outputting the waveform.
3) The board could have been damaged when the previous PC went down, though this is rare. Have you tried this example with the second PCI-6110 to see if it exhibits this behavior? Do you have a second PC of the same specifications that you can try this card and example on?
4) This could possibly be a bad Traditional DAQ installation. What version of Traditional DAQ did you install? You could try repairing the Traditional DAQ driver in Control Panel>> Add or Remove Programs>> National Instruments.
Regards, Mallori M.
02-14-2008 07:36 AM - edited 02-14-2008 07:37 AM
02-14-2008 11:15 AM