Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

AnalogUnscaledReader

I am having a problem with a PCI-6220 card and continuous acquisition of analog input. I developed my VB.NET2005 code on a virtual machine using virtual hardware from the NidaqMX M&A Explorer and everything was wonderful. I've now put that code on actual hardware and am getting nowhere really fast. I use the BeginReadInt32 and EndReadInt32 calls to get a buffer's worth of data (which works fine on the virtual hardware, returns the sinewave that it generates etc). On the real hardware, the EndReadInt32 call doesn't throw any errors, but also returns no data at all either. Thinking that maybe my code was messed up, I took the continuous analog input example code and modified it to use the AnalogUnscaledReader class. As the untouched example code (using an AnalogMultiChannelReader) works fine, but the modified code (using AnalogUnscaledReader) returns no errors and no data. Can anybody venture a guess as to what I'm missing here?
0 Kudos
Message 1 of 2
(2,877 Views)
Nevermind, the trouble was in my set. I now have things working.
0 Kudos
Message 2 of 2
(2,875 Views)