LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multichannel stream to disk high speed digitizer problem

Hi,
I'm trying to write a code for managing a PXI-5105 high speed digitizer as a multichannel data streamer to disk.
I found the code example on niscope folder (version 3.0) for a single channel datastreaming that works fine. I tried to modify this code,
according to directions included into the code for multichannel acquisition, but it fails. I wrote to NI support and they confirm that my code has to work.
For clarifying better my question, I include my code.
I'm a quite new labview user, I know that my code is not easy to read, but I hope that someone has already encountered my problem and may help me.
Best regards

Paolo
0 Kudos
Message 1 of 4
(2,805 Views)
Hi Paolo,

Your code is not very easy to use and to understand because you have no structure.
I suggest you to clean your code and to try to debug it with the Highlight function (the Lamp on the Block diagramm).

When you say that it fails, what do you mean? receive you a error message or is the file you create not readable??
Could you give me more informations?

Best Regards.

Matthieu Papaux

0 Kudos
Message 2 of 4
(2,789 Views)
Hi Matthieu,
thanks for your attention to my problem.
The program runs, but it dispays only the first acquisition (first loop), and after there are no data acquired.
Using the single channel mode it works fine, you see a continuous acquisition on display and on disk.
I'm suspecting that there is a problem in the loop where I acquire fresh data (Using the lamp I haven't any data from the Niscope I-16 multichannel block, except for the first run where I get the first data).
I hope this clarify better the situation.
Best regards

Paolo
0 Kudos
Message 3 of 4
(2,786 Views)
Hi Paolo,

You have already found the source of the problem...

Do you try to use the example with more than one channel?
If it work there is a problem on your programm...
On your programm you can also see what append in the "Niscope I-16 multichannel block", you can open the block diagramm and with the lamp check if an error or where the programm is blocked...

Best Regards...

Matthieu
0 Kudos
Message 4 of 4
(2,776 Views)