12-20-2024 03:22 AM
Hi everyone,
I’m currently working on a project where I need to read an arbitrary register from an MCT8316AV motor driver (specifically to verify that the driver's I2C interface is operational). I’m using the NI USB-8452 device along with the ni845x.dll in C#, for which I have an auto-generated wrapper class created using CppSharp.
How would I go about reading a register, for example, the CONST_POWER register (0x90)?
I’ve attached the datasheet for the motor driver for reference.
Thank you in advance for your help!
Best regards,
Marcus
12-20-2024 06:16 PM
What have you tried? have you looked at the C examples to understand how to use the functions to communicate with a device?
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019La7SAE&l=en-US