Skip to content

KirillBelovTest/LabDevicesLink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LabDevicesLink

Lab devices tools for Wolfrm Language

Installation

Standard Wolfram Language paclet installation from the Paclet Repository:

Map[PacletSiteUpdate, PacletSites[]]
PacletInstall["KirillBelov/LabDevicesLink"]

Initialization

And standard import:

Get["KirillBelov`LabDevicesLink`"]

FGB Interrogator

What the device? For example this: https://lenlasers.ru/product/interrogator-gc-97001c/.
How to get spectrum from thi device that has address like 192.168.1.XXX:

data = FGBInterrogatorData["192.168.1.XXX", "ADCRawData"]
<|"CommandLenght" -> 5112, "ChannelGain" -> 0, "ADCData" -> {100, 55, 58, 55, ..}|>

And how to plot spectrum:

ListLogPlot[data["ADCData"], 
 Joined -> True, 
 PlotTheme -> "Scientific", 
 GridLines -> Automatic, 
 Frame -> True
]

spectrum example

About

Lab devices tools for Wolfrm Language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published