Problem Read ADC from KNOZZ


Results 1 to 3 of 3

Thread: Read ADC from KNOZZ

  1. #1

    Default 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

    Similar Threads:


  2. #2
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4045
    Downloads
    0
    Uploads
    0

    Default 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

    Regards
    TK http://dynomotion.com


  3. #3

    Default Re: Read ADC from KNOZZ

    Hi

    that works very well thank you.

    Thanks again for the quick response.

    Mike



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Read ADC from KNOZZ

Read ADC from KNOZZ