Hello, I am able to run a SPI example in python and I am trying convert the program into labview using functions from WaveForms™ SDK. I am running into a problem with:
rgbTX = (c_ubyte*4)(0x00,0x40,0x00,0x01)
rgbRX = (c_ubyte*4)(0x00,0x00,0x00,0x00)
# cDQ 1 MOSI/MISO, 8bit words, MOSI words, MISO words
dwf.FDwfDigitalSpiWriteRead(hdwf, c_int(1), c_int(8), rgbTX, c_int(len(rgbTX)), rgbRX, c_int(len(rgbRX)))
I am having a hard time defining rgbTX and rgbRX in labview.
I've tried this below but it doesnt work.