01-17-2013 01:00 PM
I have created my SPI waveforms and then split them up and sent them to 5 different lines on my DAQmx (I have two CS lines).
The slaves here are two PGAs and the MOSI line is setting the gain to one of 11 programmable gains; I have a Ring (drop-down menu) set up for the user to select the gain which is fed in to the MOSI data port on the SPI swap VI. My problem: I need to send initial commands to the slave to configure a pin on the slave (PGA), before I use the Ring to select the gain. How can I send initial commands on the MOSI line to "set" the slave, and then use my Ring to select/change the gain? How can I send a series of commands via SPI before the user selects the command to send to MOSI?
I am using the DAQ 6356 which has no way to recognize SPI protocol so I used SDW to generate my waveforms.
01-18-2013 10:06 AM
Please refer to this forum thread.