Comments (4)
By running ljStream do you mean our LJStreamM application or one of our stream Python examples?
The issue here should not be related to the Python wrapper, but rather some configuration issue. I would recommend backing up and doing some basic testing. We recommend you start by testing in our Kipling software before moving on to testing using your preferred software. Similarly, we recommend testing without any external connections before troubleshooting with external signals.
- Remove all external connections from the T7 besides USB and/or Ethernet. Try the basic tests described on the following page using Kipling. The dashboard and Analog inputs tab of Kipling show AIN readings:
https://labjack.com/support/app-notes/test-AIN - Try the basic AIN tests using your software/script instead of Kipling. Do you see correct readings? If you did see correct readings in Kipling but not in your software, there is likely some issue in your software configuration. In that case, please provide more information about what you are running in Python. Try modifying one of our basic examples such as eReadName.py to read the AIN.
- Connect a single thermocouple to test. If 1 and 2 seem okay but you are still seeing poor thermocouple measurements, troubleshoot hardware: How do you have the thermocouple connected? See our thermocouple troubleshooting:
https://labjack.com/support/app-notes/thermocouples#Troubleshooting
This is almost certainly not an issue or bug in labjack-ljm-python. Instead, it appears to be some configuration or hardware problem. In the future, please direct any general support inquiries to us (LabJack) via one of the contact methods described on our website such as email ([email protected]) or live chat:
https://labjack.com/contact
from labjack-ljm-python.
The line volts = ljm.eReadName(self.handle, channel)
gives a different result depending if I have ran the LJStreamM application on my computer or not before I run my script. This issue normally arises first thing in the morning when I haven't been using my computer for a number of hours. If I start the LJStreamM program first thing in the morning I will get good readings all day. And by running LJStreamM I mean opening it, seeing the voltage readings and closing it out. I will see wrong readings in my python software, open and close LJStreamM(see correct readings) and then see good readings in my python software. Regardless of what I do the python script connects to the T7 Pro and reads out the correct serial number.
Am I supposed to start kipling or LJStreamM before I use python script to access the T7 readings?
from labjack-ljm-python.
No, you do not need to run other software before using our Python wrapper. These other software should also not typically affect operation in Python. Kipling allows you to change settings such as the analog input resolution, but you would have to change those explicitly.
Getting a decent reading after running LJStreamM does not really tell us anything definitive to help isolate the core issue. I would recommend trying the previously suggested troubleshooting.
Something else I would recommend is that you upgrade firmware and LJM if you are on an old version. Firmware can be updated using the device updater tab in Kipling. Our LJM installers are on the following page:
https://labjack.com/support/software/installers/ljm
from labjack-ljm-python.
I am going to close this issue. If your problem persists, please contact LabJack support:
https://labjack.com/contact
from labjack-ljm-python.
Related Issues (13)
- LJM repo/package HOT 15
- how can I setup UART on T7? HOT 2
- object-oriented wrapper classes? HOT 3
- Some "Relevant Documentation" links are broken HOT 2
- LJMError should be moved into its own exception module HOT 2
- M1 mac support HOT 4
- WSL support? HOT 3
- CORE_TIMER read via streaming rolls over at 2^16 HOT 2
- lua script loading fails on some file lengths HOT 1
- Problem running on Ubuntu 20.04 Focal (x86_64) HOT 2
- Reading same DIO number for ASYNCH communication HOT 3
- Add Python 3.12 Compatibility
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from labjack-ljm-python.