LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Q: Re: Q: Acquiring data using two E series devices connected by RTSI and streaming data to disk

<< (My first posting)
I use two E series PCI Cards, connected by RTSI. I'd like to stream the data
from both cards to a binary file and to add a header to it.

I also need to somehow read (plot) the stored data, this with another VI.

The whole should be then integrated into an existing program, that used just
one acquisition card.

Till now I have tried to combine "Two E-series Shared ScanClk.vi" and "High
Speed Data Logger.vi" into another VI, and I have tried to read the stored
data with the "High Speed Data Reader.vi". The problem is that I fight with
one error after another, what prevents me from going further.

I use LabView 6.1, under Windows 2K.

Has somebody by chance already done something similar and would agree to
share with me their experience? TIA for any suggestion.

Regards,
Victor Manta
>>

"Ben" wrote in message
news:506500000005000000D4880000-1023576873000@exchange.ni.com...
> Hi Victor,
>
> I have done a lot of similar work.
>
> Exactly what did you try and what specific errors did you encounter?
>
> What you are trying is do-able provided the hardware you have suuports
> it.
>
> Please post (both here and to the DAQ group)
> the details of the hardware you are using,
> versions of software being used,
> Examples that you are using,
> error codes that occured,
> posibly post example code showing the problem.
>
> Ben

Hi Ben,

I use two PCI-MIO-16E-1 cards, connected by RTSI. I'd like to stream the
data from both cards in real time to a binary file, after having added a
header to it.

For tests, on the channel 0 of each card is applied the same square wave,
100 Hz.

Yes, the hardware support RTSI. I use LabView 6.1.

Till now I have:

1. Combined the "Two E-series Shared ScanClk.vi" and the "High
Speed Data Logger.vi" into a DAQ VI. To do this, I have "doubled" and
adapted the "High Speed Data Logger.vi". For testing purposes the data are
stored in two files, always the same ones (the old ones being overwritten
after each acquisition).

2. "Doubled" and adapted "High Speed Data Reader.vi" into another VI, for
reading from both files, mentioned earlier.

What already works:

- The headers for both files are correctly stored (VI point 1.)
- The acquired data from the first card (device 1) are correctly stored (VI
point 1.)
- The VI (point 2.) that reads both files and displays the results works

What doesn't work:

- The acquired data from the second card aren't stored at all (VI point 1.)
- An error message says: "Error -10608 occurred at AI Buffer Read. Possible
reason: NI-DAQ LV: No transfer is in progress for the specified resource."

I think that I understand this message, but I don't know how to continue.

The DAQ VI can be downloaded from (please click the link, then the link on
that page; about 100K, zipped):

http://www.swissheartnet.unibe.ch/labview.htm

Thanks a lot in advance.

Regards,

Victor Manta

PS. I don't know which DAQ group you mean.
0 Kudos
Message 1 of 2
(2,738 Views)
"Filipe A." wrote in message
news:50650000000500000024890000-1023576873000@exchange.ni.com...
> Victor;
>
> You can definitely accomplish that task with the DAQ boards you have
> and Labview.
>
> It would be good if you could be more specific as far as what type of
> errors you are seeing and how you are integrating both VIs.
>
> Regards
> Filipe A.
> Applications Engineer
> National Instruments

Maybe Mr. Filipe A. could help me? Please see below, and TIA.

Regards,

Victor Manta

"Victor Manta" wrote in message
news:3d34058e$1@news.unibe.ch...
> << (My first posting)
> I use two E series PCI Cards, connected by RTSI. I'd like to stream the
data
> from both cards to a binary file and to add a header to it.
>
> I also need to somehow read (plot) the stored data, this with another VI.
>
> The whole should be then integrated into an existing program, that used
just
> one acquisition card.
>
> Till now I have tried to combine "Two E-series Shared ScanClk.vi" and
"High
> Speed Data Logger.vi" into another VI, and I have tried to read the stored
> data with the "High Speed Data Reader.vi". The problem is that I fight
with
> one error after another, what prevents me from going further.
>
> I use LabView 6.1, under Windows 2K.
>
> Has somebody by chance already done something similar and would agree to
> share with me their experience? TIA for any suggestion.
>
> Regards,
> Victor Manta
> >>
>
> "Ben" wrote in message
> news:506500000005000000D4880000-1023576873000@exchange.ni.com...
> > Hi Victor,
> >
> > I have done a lot of similar work.
> >
> > Exactly what did you try and what specific errors did you encounter?
> >
> > What you are trying is do-able provided the hardware you have suuports
> > it.
> >
> > Please post (both here and to the DAQ group)
> > the details of the hardware you are using,
> > versions of software being used,
> > Examples that you are using,
> > error codes that occured,
> > posibly post example code showing the problem.
> >
> > Ben
>
> Hi Ben,
>
> I use two PCI-MIO-16E-1 cards, connected by RTSI. I'd like to stream the
> data from both cards in real time to a binary file, after having added a
> header to it.
>
> For tests, on the channel 0 of each card is applied the same square wave,
> 100 Hz.
>
> Yes, the hardware support RTSI. I use LabView 6.1.
>
> Till now I have:
>
> 1. Combined the "Two E-series Shared ScanClk.vi" and the "High
> Speed Data Logger.vi" into a DAQ VI. To do this, I have "doubled" and
> adapted the "High Speed Data Logger.vi". For testing purposes the data are
> stored in two files, always the same ones (the old ones being overwritten
> after each acquisition).
>
> 2. "Doubled" and adapted "High Speed Data Reader.vi" into another VI, for
> reading from both files, mentioned earlier.
>
> What already works:
>
> - The headers for both files are correctly stored (VI point 1.)
> - The acquired data from the first card (device 1) are correctly stored
(VI
> point 1.)
> - The VI (point 2.) that reads both files and displays the results works
>
> What doesn't work:
>
> - The acquired data from the second card aren't stored at all (VI point
1.)
> - An error message says: "Error -10608 occurred at AI Buffer Read.
Possible
> reason: NI-DAQ LV: No transfer is in progress for the specified resource."
>
> I think that I understand this message, but I don't know how to continue.
>
> The DAQ VI can be downloaded from (please click the link, then the link on
> that page; about 100K, zipped):
>
> http://www.swissheartnet.unibe.ch/labview.htm
>
> Thanks a lot in advance.
>
> Regards,
>
> Victor Manta
>
> PS. I don't know which DAQ group you mean.
0 Kudos
Message 2 of 2
(2,738 Views)