Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous streaming to a single channel of PXI6552

I have to produce a serial stream over a single channel of a digital I/O (PXI6552, 8Mbits per channel), more precisely an ATM packet stream of 53 strictly defined bytes. I used the example “Continuous Generation - Stream From Memory.vi” as a starting point.

 

As I have understood, since the data width of the PXI6552 is 4 bytes, one has to generate 32bit words, and each bit of a word is sent to a corresponding channel. Thus it seems to me that it is impossible to generate a simple binary stream (for example, to generate pseudo random sequence) and to send it over a single channel. Although I select the exact channel in “niHSDIO Assign Dynamic Channels.vi“ I still have to generate 32bit words for all the channels - am I right?

 

Second problem is Samples Per Channel Increment, because "the number of samples in a waveform has to be in a certain increment", which is 32 in my case. It seems that I cannot generate a sequence of for example 53x8 bits that are continuously sent. The way I see it, the only way is to generate 32 times repeated sequence of 53x8 bytes, as I did in the attached modified example, but it seems like very inefficient solution.

 

Is there any other way to realize this with PXI6552?

 

Iva

0 Kudos
Message 1 of 2
(4,490 Views)
0 Kudos
Message 2 of 2
(4,487 Views)