drdaq_apply_fix

Post general discussions on using our drivers to write your own software here
Post Reply
den

drdaq_apply_fix

Post by den »

Hello,

I'm trying to set the temperature units to Fahrenheit on my drdaq, code is in .NET so I have an import as follows:

[DllImport("drdaq32.dll")]
private static extern void drdaq_apply_fix (short fix_no, short val);

I'm passing in 1 for the fix_no, and 1 for the val as documented in the help file so I'm basically calling function drdaq_apply_fix(1,1), but units are still Celcius. What could I be doing wrong?

Thank you,

Deniz

Sarah

Post by Sarah »

Hi

Thank you for your post.

Having checked the DrDAQ driver we have established that the documentation is incorrect. It should be fix no 0 for temperature and fix values 2 for Fahrenhiet.

Hope this helps

Best Regards

Guest

Post by Guest »

Sarah wrote:Hi

Thank you for your post.

Having checked the DrDAQ driver we have established that the documentation is incorrect. It should be fix no 0 for temperature and fix values 2 for Fahrenhiet.

Hope this helps

Best Regards
Thanks for the response,
fix_no = 0 worked great..
But it seems like value should be 0 for C, 1 for F, 2 for K as in the manual.

Regards

deniz

Post Reply