Q:
Do you have an API for writing my own data collection routines with the EVAL-ADIS?
--------------------------------------------------------------------------------------------------------------------------
A:
While this is not a feature that we market or officially support for the EVAL-ADIS system, we can share a .NET assembly file, which will enable code development with the VB.NET suite of development tools. This attachment also contains some Matlab code examples for porting EVAL-ADIS data directly into the Matlab Workspace. Please see the attached zip file for all of the supporting files. Here are a few notes:
- 32-bit Matlab versions only
- .NET 3.5 Framework
- EvalAdisApi.dll = .NET Assembly file
- EvalAdisApiConvertOutputStream = Converting outputted data (binary or csv) into Matlab
- EvalAdisApiScript = original file I sent you without streaming
- EvalAdisApiStreamScript.m and RunStream.m = Streaming Matlab Scripts. Separated so if user presses (Ctrl+C), stream becomes canceled. Ctrl+C is common/standard way for Matlab programmers to cancel scripts.
Here is an example of how the Matlab example will update progress on a data capture, using the command prompt.
Streaming Setup Using Data Ready Is Correct
Stream Started at 20-Mar-2013 16:58:36
Estimated Amount of Streaming Time (HH:MM:SS) = 11:16:4.000000e+001
Estimated Finish Time = 21-Mar-2013 04:15:16
Warning: Out of memory. Type HELP MEMORY for your options.
> In RunStream at 27
In EvalAdisApiStreamScript at 218
%%%%%%%TOO MANY SAMPLES TO HOLD IN MEMORY. Saving Samples in binary file Adis_Stream_Data_Array20130320T165836.bin instead%%%%%%%%
Do not press Ctrl+C. Stream is Starting
Stream has Started. User may press Ctrl+C to Cancel Stream
Stream Progress: 0%
Stream Progress: 1%
Stream Progress: 2%
Stream Progress: 3%
Stream Progress: 4%
Stream Progress: 5%
Stream Progress: 6%
Stream Progress: 7%
Stream Progress: 8%
Stream Progress: 9%
Stream Progress: 10%
Stream Progress: 11%
Stream Progress: 12%
Stream Progress: 13%
Stream Progress: 14%
Stream Progress: 15%
Stream Progress: 16%
Stream Progress: 17%
Stream Progress: 18%
Stream Progress: 19%
Stream Progress: 20%
Stream Progress: 21%
Stream Progress: 22%
Stream Progress: 23%
Stream Progress: 24%
Stream Progress: 25%
Stream Progress: 26%
Stream Progress: 27%
Stream Progress: 28%
Stream Progress: 29%
Stream Progress: 30%
Stream Progress: 31%
Stream Progress: 32%
Stream Progress: 33%
Stream Progress: 34%
Stream Progress: 35%
Stream Progress: 36%
Stream Progress: 37%
Stream Progress: 38%
Stream Progress: 39%
Stream Progress: 40%
Stream Progress: 41%
Stream Progress: 42%
Stream Progress: 43%
Stream Progress: 44%
Stream Progress: 45%
Stream Progress: 46%
Stream Progress: 47%
Stream Progress: 48%
Stream Progress: 49%
Stream Progress: 50%
Stream Progress: 51%
Stream Progress: 52%
Stream Progress: 53%
Stream Progress: 54%
Stream Progress: 55%
Stream Progress: 56%
Stream Progress: 57%
Stream Progress: 58%
Stream Progress: 59%
Stream Progress: 60%
Stream Progress: 61%
Stream Progress: 62%
Stream Progress: 63%
Stream Progress: 64%
Stream Progress: 65%
Stream Progress: 66%
Stream Progress: 67%
Stream Progress: 68%
Stream Progress: 69%
Stream Progress: 70%
Stream Progress: 71%
Stream Progress: 72%
Stream Progress: 73%
Stream Progress: 74%
Stream Progress: 75%
Stream Progress: 76%
Stream Progress: 77%
Stream Progress: 78%
Stream Progress: 79%
Stream Progress: 80%
Stream Progress: 81%
Stream Progress: 82%
Stream Progress: 83%
Stream Progress: 84%
Stream Progress: 85%
Stream Progress: 86%
Stream Progress: 87%
Stream Progress: 88%
Stream Progress: 89%
Stream Progress: 90%
Stream Progress: 91%
Stream Progress: 92%
Stream Progress: 93%
Stream Progress: 94%
Stream Progress: 95%
Stream Progress: 96%
Stream Progress: 97%
Stream Progress: 98%
Stream Progress: 99%
Stream Progress: 100%
Stream Finished at 21-Mar-2013 04:15:58
Your MATLAB session has timed out. All license keys have been returned.
We plan to offer more examples and instructions in the future. We look forward to your feedback.
Best,
NevadaMark