ScpiDevice 1.0.0
dotnet add package ScpiDevice --version 1.0.0
NuGet\Install-Package ScpiDevice -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ScpiDevice" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ScpiDevice --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ScpiDevice, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ScpiDevice as a Cake Addin #addin nuget:?package=ScpiDevice&version=1.0.0 // Install ScpiDevice as a Cake Tool #tool nuget:?package=ScpiDevice&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ScpiDevice
SCPI protocol VISA based devices controller
This is an updated version of another NuGET package: SCPIPowerForLV.
Besides DC Power suppliers and DMM meters, there are also some other kind of devices using SCPI protocol, which are different, so this package updated the SCPI commands, especially the addition of Read Waveform Data.
Now there is only 1 class ScpiVisaDevice exported with following methods:
- static FindAllLocalDevices()
- Open(string name, int openTimeout, bool reconnectOnceFailed, out string errorInfo)
- Close()
- ExecuteWithoutReconnect(string dataToSend, out bool communicationError, out string errorInfo)
- Execute underlyingly call ExecuteWithoutReconnect with same parameter
- QueryWithoutReconnect(string dataToSend, int countToRead, out string responseText, out bool communicationError, out string errorInfo)
- Query underlying call QueryWithoutReconnect 8.bool QueryNumber(string dataToSend, int countToRead, out string responseText, out double responseValue, out bool communicationError, out string errorInfo)
- bool QueryWaveData(string dataToSend, out byte[] responseByteArray, out bool communicationError, out string errorInfo)
All are literally, so will not explain more, only QueryWaveData needs following comments:
It takes some steps below:
- send SCPI command :WAV:DATA?
- read out 2 bytes, it should be like #9
- according to the length of index 1 of above string, read out 9+ bytes, it should be like 000000120
- read out all the waveform data with 120 bytes.
There is the last step which is not implemented in this free version: each point (byte) should be converted to voltage.
Also, the LabVIEW code is not provided. But 2 applications are enclosed under the sub folder assets, one is a self test app on ITech 6302 Tripple Channel DC Power, another is a self test app on RIGOL DS1102 oscillograph.
The source code of oscillograph to have self test is provided in invocation.txt under sub folder assets.
For technique support or business, please call the cell phone ++0086-18603016232, email: patrickgamp@hotmail.com, WeChat(A Chinese popular chat app) id is same to the cell phone number
I am a professional with 26 years software RD experience. In 2005-2018, worked for Microsoft Windows Mobile and Windows Phone developing team, XBox One manufacturing automation team, and Surface imaging test team, after 2019, opened a small automation software corporation at the first strong manufacturing city in the world - Suzhou, China. If you have some industry automation related software project to oursource, or any Windows desktop based non-Web softare developing requirements, please send me email to contact.
Author
Patrick Gamp
Published date
January 11, 2024
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 806 | 1/11/2024 |
initial commit.