It is possible to get a list of the automation commands with "PicoScope /a ?"
But where could I find detailed infomation (like parameters) for these commands ?
The scope is to store pictures of waveforms in format GIF (single trigger).
I couldn't find an API function for storing waveforms as pictures.
It should get controlled by the programming language VB.Net.
2 problems appear:
1) I would have to load the alarm-settings. It should be possible to load the startup setting by an API-function.
2) According to the manual it is only possible to store .psdata, .pssettings, .csv or .mat file.
Guess you would need the GUI to store .gif ?
You can specify the settings file to load as a command line argument when starting PicoScope.
There appears to be an error in the User's Guide which I have reported. You can select an image file type (.bmp, .jpg, .png and .gif) from the Save as dialog that can be opened via the settings for the Alarm condition.
Hi Hitesh,
I've tried this:
1) Start Picoscope with ps3000aOpenUnit()
It becomes active, proved by writing device info into a logfile (ps3000aGetUnitInfo)
2) use command "picoscope /a File.Open.IO=C:\Temp\Startup_Alarm.pssettings"
Error: Could not find an instance of Picoscope 6
No. 2 works only if the GUI is visible (opened with picoscope.exe).
Guess there are 2 seperate branches to control a picoscope:
API-Commands and the Automation commands ?
The automation commands are for use when using the PicoScope 6 software and will allow control over some features of the user interface.
When using the API functions you have control over the configuration and operation of the device allowing retrieval of the ADC counts representing the data collecting, but without access to features such as Serial Decoding and Alarms which are part of the PicoScope 6 application.
With the API functions, it is up to the User how the data retrieved is processed. This could be in a number of ways including applying mathematical functions to make measurements, looking for certain values and/or plotting the data.
The PicoScope application also calls the same driver API functions with the application including features to apply post-processing of data. Saving images would be a post-capture operation as well.
Is it possible to initialize the math channel through commands or through API function? because i have not found any API function for the math channel? and shall we capture or store the math channel data into excel file through API commands because it is not mentioned in yours programming guide?