06-09-2015 10:48 AM
Does anyone have experience controlling these sorts of chips with LabVIEW? I seem to be having issues when writing out the config and data bits to my chip. Every other oin has been tested and seems to be working properly within the program. I was initally trying to do this using an I32 array of data but switched to a digital waveform and I am now having buffer problems. I have looked into the SPI library provided by NI and found it unhelpful. This chip is SPI compatible, but does not provide handshaking. Any help wold be greatly appreciated. I have attached the code. Thanks in advance,
Tyler
06-09-2015 05:14 PM
Thought that I should add that the card being used is a NI PCIe 6323.
Tyler
06-10-2015 11:59 AM
Hi Tj3208,
Could you be a little more explicit in the problem that you are running into? How are you attempting to do this with a digital waveform vs an I32 array of data? What kind of buffer problems are you running into?
- Chase
06-11-2015 04:52 PM
Chase,
The buffer error that I am getting is simply "Selected lines do not support buffered operations." Does this mean that I cannot write out a timed arbitrary digital waveform using this board?
Basically to switch from digital wavform to I32 I routed the array that I have written in the original program into the I32 instance of the polymorphic write VI.
Simply put, my goal is to write out 16 bits of data to a single line on the edge of a clock.
Sorry if this is a simple question. My experience with digital data in LabVIEW has thus far been restricted to simple on/off operations.
Tyler
06-12-2015 06:24 PM
Tyler,
I would highly suggest reviewing some of the digital output examples that are included with LabVIEW.
Check here for information on where to find them. This should give you a better idea on how to go about writing data to a line on your PCIe-6323.
http://www.ni.com/getting-started/labview-basics/examples