Search the Community
Showing results for tags 'attila'.
-
Hi. I have troubles using the trigger functions in the SDK to align the recording of a signal with the pattern generator (DigitalOut Instrument on AD2). What I want to do is essentially, using the SDK in a python script is: - I record a signal from the AWG on the AD2 I am sending through an analog circuit using two multiplexers. - I control the multiplexers with the digitalOut instrument on the AD2. - I want to align the starting point of the digitalOut-pattern and the starting point of the AnalogIn acquisition (record-mode, int16 data) As far as I understand from th
- 2 replies
-
- attila
- trigger position
-
(and 3 more)
Tagged with:
-
I managed to find the function to transfer partial .bin files from SD card to DDR. int SD_TransferPartial(char *FileName, u32 DestinationAddress, u32 ByteLength) { FIL fil; FRESULT rc; UINT br; rc = f_open(&fil, FileName, FA_READ); if (rc) { xil_printf(" ERROR : f_open returned %d\r\n", rc); return XST_FAILURE; } rc = f_lseek(&fil, 0); if (rc) { xil_printf(" ERROR : f_lseek returned %d\r\n", rc); return XST_FAILURE; } rc = f_read(&fil, (void*) DestinationAddress, Byte