Git Product home page Git Product logo

Comments (3)

trombastic avatar trombastic commented on May 22, 2024

Dear @clavay,

thank you very much for sharing this information with me, i will fix that in the next release.

I saw that you added some new visa devices in your local branch, does everything it work? when you like you could add a pull request, so that i can include your devices to the project.

best wishes,
Martin

from pyscada.

clavay avatar clavay commented on May 22, 2024

Hi @trombastic,

I'm working at the university of Pau (France) to work on a system to make practicals exercises remotely. (and we are planing other applications or monitoring or remote control) (you can find "Laborem")
I started this year and I'm new with everything (python, django, pyvisa, pyscada, github...) to use open source tools.
I found your job very good and want to improve it too.
I would be proud to make a pull request with what I made and I'm terminating to finish a first version of the code to do it.

Actually I'm dealing with the ihm part and adapting your code to plot chart with different x axis than the time and logarithm scale (Bode diagram) and I have did it but now there is the part of integrate how to choose what type of x axis you want in the definition of the chart.
I don't know if something I'm doing could interest you but I will commit my changes and make a pull request that you can take what you want.

For the devices using visa, it's working well but I upgrade to the dev version of pyvisa-py because it's faster to communicate but there is a little bug sometimes.
I add a write function to visa.
I don't see how to read string from an instrument. (*IDN for example with visa) Is it possible ?

Other things :

  • How to activate the debug in JS and where is the debug ?
  • There is always the "zoom on x axes", "zoom on y axes", "+2h", and timeline even is there is not any chart. Is it necessary ?

Cheers,
Camille

from pyscada.

trombastic avatar trombastic commented on May 22, 2024

Dear Camille,

a short response to your questions:

I don't see how to read string from an instrument. (*IDN for example with visa) Is it possible ?

there is a VariableProperty Model in pyscada.models, the intention for this Model was to have a place to store additional data for a variable that don't fit in the RecordedData or the meta data in the Variable Model. Maybe you could store the strings there.

from pyscada.models import VariableProperty
from pyscada.utils import datetime_now
from datetime import datetime

vp = VariableProperty(
             variable = var,
             property_class='data_record',
             value_string=string_data,
             timestamp=datetime_now())
vp.save()

How to activate the debug in JS and where is the debug ?

in Chrome and firefox (under Linux at least): right-click an then inspect, or shift+ctrl+c

There is always the "zoom on x axes", "zoom on y axes", "+2h", and timeline even is there is not any chart. Is it necessary ?

this feature is relatively new, in the use-cases we using PyScada at the moment there was no need to hide the timeline-bar but it should be easy to add, maybe under options the default value could be than changed in the View admin form.

Best wishes,
Martin

from pyscada.

Related Issues (20)

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.