Test and Measurement Forum

drdaq_apply_fix

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

drdaq_apply_fix

Postby den » Thu Feb 03, 2005 11:59 pm

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
den
 

Postby Sarah » Mon Feb 07, 2005 10:38 am

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
Sarah
 

Postby Guest » Tue Feb 08, 2005 3:57 pm

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
Guest
 


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests