This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
namespace DTS.DASLib.Command.SLICE.RealtimeCommands
{
/// <summary>
/// this interface describes objects that are able to get realtime samples from
/// SLICE devices, the implementation differs based on whether it's using streaming
/// or is a SLICE6 device, etc, but all still operate through the same interface
/// </summary>
public interface IGetRealtimeSamples
{
/// <summary>
/// returns the sample number for the first sample, with all samples after that being consecutive
/// </summary>
ulong SampleNumber { get; }
ulong TimeStamp { get; }
ulong SequenceNumber { get; }
/// <summary>
/// returns all samples for the given channel
/// </summary>
/// <param name="zeroBasedChannel"></param>
/// <returns></returns>
short[] GetChannelData(int zeroBasedChannel);
/// <summary>
/// right now this holds the total channel count for the unit
/// </summary>
ushort Channels { get; set; }
/// <summary>
/// the count of samples per channel that were returned
/// if return value is 10 and there's 10 channels, there's 100 samples, or 10 samples per 10 channels
/// </summary>
int SamplesReturned { get; }
/// <summary>
/// whether to log the command or not
/// (not applicable on streaming mode as no command is executed)
/// default is normally false otherwise the log will be spammy
/// </summary>
bool LogCommands { get; set; }
/// <summary>
/// this is the execute that retrieves samples
/// </summary>
void SyncExecute();
}
}

View File

@@ -0,0 +1,35 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SLICECommands")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SLICECommands")]
[assembly: AssemblyCopyright("Copyright © 2008")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("B97BAF22-3B93-4187-9438-848AC714A144")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.06.0081")]
[assembly: AssemblyFileVersion("1.06.0081")]