Discussion:
PCI-6534 error -200077
(too old to reply)
vroomy
2007-05-18 19:40:13 UTC
Permalink
Hi, we have a replacement PCI-6534 card after the old one died, and are trying to continuously output a digital pattern on 8 channels of port0. We are running LV 8.2 on XP. We consistently get the Error -200077, no matter what clock settings we use (external/internal -- increase/decrease rate). The text of the error message is below: -------------------------------------Error -200077 occurred at DAQmx Write (Digital 1D Wfm NChan NSamp).vi:1Possible reason(s):Requested value is not a supported value for this property.Property: Output.BufSizeRequested Value: 0Intermediate Buffer Size Increment: 4Valid Values Begin with: 4Valid Values End with: 4294967296Task Name: _unnamedTask<2B>---------------------------------------The .vi and jpg of the block diagram are attached below. - As I understand it, Daq assistant automatically sets up the buffer size to accomodate sample-rate (in continuous mode), so I dont' see why this should happen. I tried converting the Daq assistant to code, and then adding a property node to the output.BufSize with an integer value greater than 0, but it gave me the same error.- I tried Cont Write Dig Port-Ext Clk-Non Regeneration.vi from the labview examples list, and it seemed to work with it's data generator. But when I copy-pasted my waveform data into the example (changing DAQ write to accept waveforms) I got the same error. Tried using the output.bufsize property node, but no help. Perhaps I am using the property node wrong, or is there somethign wrong with the way I am making my waveform data? Thanks, Arunabh(attached is the project, and a jpg of the block diagram)


EBIT-sequencer.lvproj:
http://forums.ni.com/attachments/ni/70/6878/1/EBIT-sequencer.lvproj


main.vi-blockdiagram.JPG:
Loading Image...
David L.
2007-05-21 18:10:13 UTC
Permalink
Hi Arunabh,




Did you have a 6534 which was previously
working with the same program?


 I followed what you
did, beginning with the example program and then using a waveform and did not
get any errors. (See picture attached). I would note that the datasheet says:






You have the
following restrictions when looping from the onboard memory of the
NI 6534:


? For 8-bit
data, the buffer size must be a multiple of 4.


? For 16-bit
data, the buffer size must be an even number.




There are no
restrictions for 32-bit data. For 8- or 16-bit data, you may need to add dummy
data to the buffer to make it the correct size.




Also, can you post pictures showing me the rate and the
inside configuration of the DAQ assistant?
David L.
2007-05-22 22:40:17 UTC
Permalink
Arunabh,




Here is the picture I meant to post last
time (Cont. Write_Edited.JPG). This issue does not arise with the 6533, which
is why you did not see it before. Also, if you are using LabVIEW 7.1 or above, I
would like to ask that you upgrade to DAQmx 8.5 for Windows XP. After
upgrading, please do not use previously placed DAQ assistants, but place down
new ones. I could not reproduce your issue by simply creating a continuous
output DAQ assistant, and putting in a digital waveform generator for data. (6534_continuous_daq_assistant.JPG).


6534_continuous_daq_assistant.JPG:
Loading Image...


Cont. Write_Edited.JPG:
http://forums.ni.com/attachments/ni/70/6905/2/Cont. Write_Edited.JPG
vroomy
2007-05-21 20:10:12 UTC
Permalink
Hi David, Thanks for your response. To answer your questions -- -we used this program with a PCI-6533 previously, and it worked without error- I have attached an image of the channel settings for DAQ assistant: additionally, the invert all lines at port is unchecked, and both the start and reference trigger are set to <none>- I don't see an attached image in your reply, could you reattach it so I can make sure we're doing things the same wayI also made a naive attempt at creating 'extra data' as you suggested, it didn't work, but modified the error message. The modified message is below, and an image of the 'extra data' setup is attached. ---------------------------------------------Error -200077 occurred at DAQmx Write (Digital 1D Wfm NChan NSamp).vi:1Possible reason(s):Requested value is not a supported value for this property.Property: Output.BufSizeRequested Value: 1Intermediate Buffer Size Increment: 4Task Name: _unnamedTask<2E>---------------------------------------------------


main.vi - daqAssistantSetting.JPG:
http://forums.ni.com/attachments/ni/70/6892/1/main.vi - daqAssistantSetting.JPG


main.vi- altered input data.jpg:
http://forums.ni.com/attachments/ni/70/6892/2/main.vi- altered input data.jpg
Continue reading on narkive:
Loading...