Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Write method not working
Post: RE: Write method not working

That's probably from whoever edited my post bud Hold shift and hit that quotation button I'll clear it up for you bud, and I said this earlier. It doesn't make a difference if I use single our doubl...
Raudert General Coding Help 8 6,453 Jul-27-2017, 05:01 PM
    Thread: Write method not working
Post: RE: Write method not working

Those are called quotations. It was my understanding that in Python 2.6 it doesn't make a difference whether you use double or single. Besides, I have tried both double and single quotes.
Raudert General Coding Help 8 6,453 Jul-24-2017, 01:14 PM
    Thread: Write method not working
Post: Write method not working

Hello, I am trying to create a text file and write to the text file, like a data log, from my python program. However, when I try to do so it seems the "write" method is not working. The text file ge...
Raudert General Coding Help 8 6,453 Jul-21-2017, 08:50 PM
    Thread: Touchscreen and ADS1x15 Interference
Post: Touchscreen and ADS1x15 Interference

Hello, I noticed that if I attach a touch screen pointing device via USB and HDMI, the ADS1x15 ADC I am using gets overridden as if it is not connected at all. If I connect a regular DVI or VGA moni...
Raudert News and Discussions 0 2,172 Jun-27-2017, 01:24 PM
    Thread: SPI Communication
Post: SPI Communication

I have recently purchase a Pi-SPI-2AO Digital to Analog converter for a project I am working on here. I have done quite a bit of research but I still am not sure how to send an output, my knowledge in...
Raudert General Coding Help 0 2,982 Apr-24-2017, 01:30 PM
    Thread: Conditional Button Press
Post: RE: Conditional Button Press

These aren't GUI commands. Thanks anyways!
Raudert General Coding Help 8 21,528 Mar-17-2017, 02:06 PM
    Thread: Conditional Button Press
Post: RE: Conditional Button Press

I wasn't able to find what you were getting at, but I figured out this problem. I made a shutdown function on the module level that changes the value of a global variable from 0 to 1. I added a condit...
Raudert General Coding Help 8 21,528 Mar-17-2017, 01:47 PM
    Thread: Conditional Button Press
Post: RE: Conditional Button Press

This is a tkinter button press. So GUI, a simple Stop button to end the loop. Here is the exact code I am working with.    def callback():        while True:            ADC_Value = adc.read_adc_dif...
Raudert General Coding Help 8 21,528 Mar-17-2017, 01:18 PM
    Thread: Conditional Button Press
Post: Conditional Button Press

I am looking to make a while loop break upon button press but I'm not sure how to do so. I assume it would be with a conditional statement but the syntax is foreign to me. A pseudocode example would ...
Raudert General Coding Help 8 21,528 Mar-16-2017, 08:54 PM
    Thread: Pi_Var3 Error
Post: RE: Pi_Var3 Error

Thank you!
Raudert General Coding Help 2 3,181 Mar-16-2017, 03:02 PM
    Thread: Pi_Var3 Error
Post: Pi_Var3 Error

So I have been struggling for awhile now trying to display a variable value to a label. I have a loop setup to read an ADC value, translate that value back to a Pressure value ( I am reading a 4-20 mA...
Raudert General Coding Help 2 3,181 Mar-16-2017, 02:10 PM
    Thread: Pulling an ADC value and using it
Post: RE: Pulling an ADC value and using it

That was it. How embarassing haha
Raudert General Coding Help 3 3,484 Feb-07-2017, 07:21 PM
    Thread: Pulling an ADC value and using it
Post: Pulling an ADC value and using it

Hello, I am typing this from a cellphone so please bear with me. But my issue here is I am trying to read an ADC voltage value using an ADS1x15 ADC converter and then store the values as a variable in...
Raudert General Coding Help 3 3,484 Feb-07-2017, 05:03 PM
    Thread: Loading a GUI from Terminal
Post: RE: Loading a GUI from Terminal

Lets say I try something extremely rudimentary, like creating a frame. from Tkinter import* import Tkinter as tk root = tk.Tk() root.title('Test') root.geometry('800x480')Even running this simple scri...
Raudert GUI 3 6,598 Jan-26-2017, 09:50 PM
    Thread: Loading a GUI from Terminal
Post: Loading a GUI from Terminal

So I am making a simple program to read the value from an ADS1x15 ADC, convert it to the voltage value that went into it using linear interpolation and then outputting the result to a label upon butto...
Raudert GUI 3 6,598 Jan-26-2017, 05:16 PM
    Thread: Help pulling tkinter Entry string data
Post: RE: Help pulling tkinter Entry string data

Traceback (most recent call last) File "/usr/lib/python3.4/tkinter/__init__.py" . line 1536. in __call__ return self.funk(*args) File "/home/pi/desktop/LED Controler.py". line 56. in <l...
Raudert General Coding Help 8 9,964 Jan-12-2017, 10:25 PM
    Thread: Help pulling tkinter Entry string data
Post: RE: Help pulling tkinter Entry string data

Not within the confines of a class, looking into that now.
Raudert General Coding Help 8 9,964 Jan-12-2017, 07:46 PM
    Thread: Help pulling tkinter Entry string data
Post: RE: Help pulling tkinter Entry string data

self is not defined
Raudert General Coding Help 8 9,964 Jan-12-2017, 04:47 PM
    Thread: Help pulling tkinter Entry string data
Post: RE: Help pulling tkinter Entry string data

I set a textvariable in the Entry widget and defined the variable as a StringVar but when I try to 'get' that value I am prompted with the error "get() missing 1 required positional argument: 'self' "...
Raudert General Coding Help 8 9,964 Jan-12-2017, 02:29 PM
    Thread: Help pulling tkinter Entry string data
Post: Help pulling tkinter Entry string data

So I have just picked up python as of three days ago and I am in the process of making a program. This is also my first experience with programming so bare with me. I have spent an UNHEALTHY amount of...
Raudert General Coding Help 8 9,964 Jan-12-2017, 03:18 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020