It is a nice feature of Pitaya to use a generate function to create a sin/sqr/tri signal. The signal of a general shape can also be uploaded to an Osc&Gen web app. I don't see in the manual how to upload a signal of a general shape (created by some other application, for instance Matlab) using a generate function. For instance in a manner
unix('plink -l <username> -pw <password> <IP_address> /opt/bin/generate <channel> <SIGNAL> <frequency> <type>');
How to generate a signal of a general shape?
-
- Posts: 67
- Joined: Wed May 28, 2014 12:15 pm
Re: How to generate a signal of a general shape?
This feature is not available at the moment, but is on the other hand very easy to implement. CSV file could be taken as an argument and it's values should be written into DAC buffer.
-
- Posts: 2
- Joined: Tue Aug 19, 2014 11:20 am
Re: How to generate a signal of a general shape?
Hello Črt,
Are there any prospects for this feature?
cheers,
Are there any prospects for this feature?
cheers,
-
- Posts: 34
- Joined: Wed Jun 25, 2014 11:38 pm
Re: How to generate a signal of a general shape?
This would not be difficult to do. Examine the 'generate' application/code, in particular within generate.c ... the function synthesize_signal() fills a 16k buffer, the AWG data buffer. Put your desired signal data (scaled appropriately) into this buffer, then the function write_data_fpga() is called next and your signal should be generated.
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 88 guests