Skip to content

Dracaltech/sample-python-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sample-python-vcp

Dracal // SDK code sample for Python on CLI

Assumptions

Running this repository requires you to have installed:

  • Python (version >= 3.x)
  • DracalView (version >= 3.2.x)
    • Specifically, dracal-usb-get needs to be accessible from your PATH environment variable (more info in the documentation how-to).

Script may need to be adjusted depending on your instrument's # of outputs (currently assumed: 3 outputs). See script comments for details.

Simple usage

Run script

python main.py

Sample output

Ξ dracal/sample-python-cli git:(develop) ▶ python main.py
Temperature (C): 21.67
RH......... (%): 56.9
Pressure..(kPa): 101.17
Temperature (F): 71.006
Ξ dracal/sample-python-cli git:(develop) ▶

About

Dracal // SDK code sample for Python on CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages