Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

HSDIO 6552 Waveform generation over multiple cards

Alright, so for example, I have 60 channels I need to drive using a PXI chassis and 4 HSDIO 6552's.
 
Is there any way I can burst a waveform such as:
"Pin1,Pin2,Pin3....Pin60
0,1,1,....0
0,1,1,....1"
using Labwindows CVI WITHOUT separating the waveform into sections?
 
I'm basing my question off of the example in CVI "MultiDeviceDynamicAcqAndGen".
I'm trying to do the same thing, but my data is not the same for each card.
Is there any way, other than separating the data, to get it onto the card?
 
Thanks,
Jacob.
0 Kudos
Message 1 of 4
(3,638 Views)
Hi Jacob -

The simple answer is no. Smiley Sad  Each card's onboard memory has a maximum data width of 32 bits.  Since you would have to write the entire 64-bit sample to memory for each card, it's impossible to do.  So instead, you'll have to split each sample into a set of smaller datatype values, each of which is written to its respective card.
David Staab, CLA
Staff Systems Engineer
National Instruments
Message 2 of 4
(3,620 Views)
Ah, I figured as much.  I figured I'd check on here with some experts before I got elbow deep in code.
Thanks for not leaving me wondering!
0 Kudos
Message 3 of 4
(3,616 Views)
Jakeus,

Just FYI, there is a handy function in the driver:

niHSDIO_WriteNamedWaveformFromFileHWS

This function writes an HWS file directly to the device. You can store test vectors to HWS files either from the Digital Waveform Editor or using the HWS instrument driver. Writing waveforms from file allows you to separate your vector creation code/process from the test code.

My 2 cents.

Juan Carlos
Message 4 of 4
(3,609 Views)