Need Help! Read current value of Kanalog DAC


Results 1 to 2 of 2

Thread: Read current value of Kanalog DAC

  1. #1
    Member
    Join Date
    May 2016
    Posts
    35
    Downloads
    0
    Uploads
    0

    Default Read current value of Kanalog DAC

    Hi Tom,

    How can I read the current value of a Kanalog DAC in a C program? I would like to implement a load monitor that would take a running average of several seconds worth of the DAC value but am not sure how to poll the DAC output value similar to how it is displayed on the analog status screen in Kmotion.

    Thanks,
    Andy

    Similar Threads:


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

    Default Re: Read current value of Kanalog DAC

    Hi Andy,

    The 0-4095 DAC settings can be read from memory as defined in KMotionDef.h

    extern short int DAC_Buffer[N_DACS]; // format 12 bits data

    HTH
    Regards

    Regards
    TK http://dynomotion.com


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 current value of Kanalog DAC

Read current value of Kanalog DAC