585,754 active members*
3,823 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Posts
    66

    Read ADC from KNOZZ

    Hi

    I am a new to the Dynomotion kit and so far am very pleased. Using LabVIEW and.net I have created a trajectory planner, coordinated motion from dxf files, along with buffer control and process flags.
    So far so good.
    I now want to look at implementing plasma arc voltage control and have purchased a Knozz board for the analog input functions.
    I would like to put these values in the persist array so I can read them using GetPersist and do stuff with Labview.
    I have looked at the KnozzControlTemps programme and can see that it almost does what I want, but am struggling with defining the analog values and writing to the persist array.
    Could you give me some guidance please as I have no knowledge of C .

    Many thanks


    Mike

  2. #2
    Join Date
    May 2006
    Posts
    4045

    Re: Read ADC from KNOZZ

    Hi Mike,

    I have looked at the KnozzControlTemps programme and can see that it almost does what I want, but am struggling with defining the analog values and writing to the persist array.
    After reading the bed ADC reading via SPI into raw_counts_bed you could then place the integer ADC reading into persist variable 150 with:

    persist.UserData[150] = raw_counts_bed;

    HTH
    TK
    http://dynomotion.com

  3. #3
    Join Date
    Oct 2007
    Posts
    66

    Re: Read ADC from KNOZZ

    Hi

    that works very well thank you.

    Thanks again for the quick response.

    Mike

Similar Threads

  1. Instruction on Knozz wiring and setup
    By amitkumar171 in forum Dynomotion/Kflop/Kanalog
    Replies: 37
    Last Post: 09-20-2018, 05:24 PM
  2. Very New Please read
    By rlisby in forum Uncategorised CAM Discussion
    Replies: 0
    Last Post: 02-24-2017, 10:24 PM
  3. DRO read out.............
    By cnc Rookie in forum Bridgeport / Hardinge Mills
    Replies: 3
    Last Post: 07-30-2014, 06:20 AM
  4. 10T-F READ READ READ READ READ READ
    By dcoupar in forum Fanuc
    Replies: 3
    Last Post: 03-27-2008, 11:39 PM
  5. Must Read for All
    By CBNDude in forum News Announcements
    Replies: 16
    Last Post: 07-22-2005, 03:14 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •