GithubHelp home page GithubHelp logo

oe-fet / jisa Goto Github PK

View Code? Open in Web Editor NEW
26.0 4.0 9.0 749.27 MB

Standardised instrument control, data handling and simple GUI creation library for making experiment control programs.

License: GNU Affero General Public License v3.0

Java 86.94% CSS 13.06%
java visa instrument-control gui-builder data-handling python jython jisa kotlin gui-element

jisa's People

Contributors

alexseyrpan avatar leszekspalek avatar luca-schaufelberger avatar martinstatz avatar thomas-marsh avatar wawood avatar wuhrlwuhrd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jisa's Issues

add support to send direct commands using VISADevice.write("") from virtual channel

Is your feature request related to a problem? Please describe.
I am using multi-channel devices and currently, there is no way to send a direct command to a VISADevice from a channel object.

Describe the solution you'd like
I would like to cast or extract the base device from a channel object.

Describe alternatives you've considered
I could always use the multichannel device without extracting the channels but this might introduce other errors. Wrong channel index while copy-pasting code.

Add precision property for measurement data console output

The current implementation of the resultList does not support an "easy" way to define the precision for Double values.

It would be good to have a property to define the number of decimal places for the console output.

example:
internal value = 2.343554645
defined precision = 2
console output = 2.34

how to Write a New Driver?

Hi,
It's a wonderful project, I think.
I want a driver to fit a DC PSU(TSX3510P),it's not listed. How can I code it? Could you give me some advices?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Is it a bug with the class: SerialAddress?

Hi,
There are two questions below:
Firstly:
I find the method toString() of this class:
public String toString() { return String.format("ASRL::%s::INSTR", port); }
if the port is "8", then it returns "ASRL::8::INSTR", but in my application, it should be "ASRL8::INSTR". Does it has something wrong?
Secondly:
I made some changes in this class ,so as to let it returns just like what I want. but it lead to a Exception which gives tips below:
SerialDriver: can only open native serial connections with the native serial driver!

Adding large amount of data to table causes display error

Describe the bug
I need to add ~10k of data rows to a table. After a few hundred lines I receive a Javafx warning/error and the table on the GUI shows only the last added line.

Feb 16, 2024 10:20:18 AM javafx.scene.control.skin.VirtualFlow addTrailingCells
INFO: index exceeds maxCellCount. Check size calculations for class javafx.scene.control.TableRow

To Reproduce
Steps to reproduce the behavior:
ResultTable results = new ResultList("DegC", "Inter", "RAW10Bit");
table.watch(results);
results.addData(temp_degc, temp_inter, (temp_raw * 1.0));
The last line creates an error after ~1k lines.

Expected behavior
The table shall either continue to show all the rows or add a feature to limit the output of the table similar to the "series.setLimit()"

Screenshots
image

Master not working in Intellij 2021

I have downloaded the latest master and wanted to test the GUI features. But I could not start the main. Within Intellij it generates an "Toolkit not initialized" exception.

I am using openjdk 11 + javafx SDK (Which should not be necessary) on Windows 10 64bit.

Have you ever seen this behaviour? Any idea how to fix this?

Update:

It is working now but I had to add some wait time before and after calling "JavaFX.launch();"

using jdk 1.8 causes compiler error.

Describe the bug
The library can not be used with jdk 1.8 as mentioned in the documentation. Is it necessary to use jdk 11 or is there a way to use jdk 1.8?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.