Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2183

continuous write no longer works after upgrade

$
0
0

Hello,

 

After upgrading a computer motherboard, OS (XP to Win7), and NIDAQmx (9.40 to 9.80) simultaneously the Labview 2011 32-bit vi we use to run our lab bus control system no longer works (the two most pertinent vi's are included here).  My next move is to go back to the older NIDAQmx, but this would mean no upgrade possibility to Labview 2013.  The card is rather old (NI DIO-32HS) but is supported according to the documentation in NIDAQmx 9.80 and passes all self-tests.  I have also tested the outputs with a voltmeter and the test panel in NI MAX.

 

For large amounts of data to write, the DAQmx Start Task vi executes and throws the following error:

 

Error -200293 occurred at Dequeue and write out elements.vi
Possible reason(s):
The generation is not yet started, and not enough space is available in the buffer.
Configure a larger buffer, or start the generation before writing more data than will fit in the buffer.

The buffer is not too small.  If I delay the Start Task vi the buffer will fill up more and just crash later.  For small amounts of written data (400000 points or so) there is no problem.  The output executes perfectly.

 

I realize that this is no longer the recommended clock timing, but:

 

1.  When I try to use a pipelined sample clock I get the following error:

Requested value is not a supported value for this property. The property value may be invalid because it conflicts with another property.

Property: SampTimingType
Requested Value: Pipelined Sample Clock
You Can Select: On Demand, Sample Clock, Handshake, Burst Handshake, Change Detection
  I have tried changing many other properties and looked at the NIDAQmx 9.80 included example for pipelined clock and do not see the problem.

2.  The normal Sample Clock used to work just fine for generating output while writing to the buffer and I have found an example program on ni.com using this method   https://decibel.ni.com/content/docs/DOC-12402


Viewing all articles
Browse latest Browse all 2183

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>