Hello,
I am attempting to use a PXIe 6556 card to drive multiple DIO pins within a C/C++ environment. The drivers are the most up-to-date version of the niHSDIO library. I'll include the niHSDIO.h file in the post.
Each DIO channel needs to be driven simultaneously with a different waveform on each.
Thus far, I've successfully set all attributes of the card (voltage logic levels, data width, etc.) and confirmed them with a scope on the DIO channel so I know that the communication line is open/working.
To assign dynamic channels, I use the following function.
niHSDIO_AssignDynamicChannels(genVi, temp) ----> (genVi= Vi instrument session, temp = channel name/DIO pin number)
To write the waveform to the card, I'm using the following function.
niHSDIO_WriteNamedWaveformU32(genVi, WvfrmNms[j], WAVEFORM_SIZE, waveformDataU32))
-----> (genVi = Vi session, WvfrmNms = name of the waveform to be written under, waveformDataU32 = array of U32 int data to make up the waveform).
Does anyone know what the API requests look like to drive multiple DIO pins at once with independent waveforms?