LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

200996

Hi I converted DAQmx assistant (coversion attached below). I get the following error:
 
Error 200996 (DAQmx Write Wfm NChan NSamp.vi)
 
Possible reason(s):
Measurements: Data Transfer Mechanism is not set to Programmed I/O, which is the only value supported when the Sample Mode is Hardware Timed Single Point.
Set your Data Transfer Mechanism to Programmed I/O or change the Sample Mode.
Property: AO.DataXferMech
Corresponding Value: DMA
Property: SampQuant.SampMode
Corresponding Value: Hardware Timed Single Point
Task Name: _unnamedTask<12>
 
I have not touched the above vi. Could someone tell me how to change one of the above parameters? Could this error occur for another reason, something I inadvertantly canged?
 
Phuech
0 Kudos
Message 1 of 3
(2,803 Views)
Hi Phuech,

Please can you tell me what DAQ card you have?
Also the code you sent doe not look as if the DAQ assistant created it and that was it; you must have modified some of the original code.

The DAQ assistant for a simple AO operation will look like DAQ Assistant2.vi,
The DAQ assistant for a multiple AO operation will look like DAQ Assistant3.vi.

Please can you tell me what you have done to the generated code, and what you want your code to actually do?

Regards
JamesC
NIUK and Ireland

Download All
0 Kudos
Message 2 of 3
(2,773 Views)

Hi,

Thanks for your reply, I managed to fix it in the end though. I can't quite remember what the problem was. I was working with a PXI-6723 AO card.

 

Simon

0 Kudos
Message 3 of 3
(2,742 Views)