Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

pb with DAQmxCreateLinScale (error -200077)

Hello,
 
I get error -200077 when calling to DAQmxStartTask. It seems to come from this line (LabWindows/CVI 7.1.1):
DAQmxCreateLinScale ("Vscale", 0.2, 0.0, DAQmx_Val_Volts, "V");
and when I replace 0.2 by a number greater than 1, I don't have any error. How can it be possible ??
 
Can anybody helps me ??
Thank you.
 
-----------------------------------
For information, here is all the code (simplified), more complete source in attachment:
Init_DA_Brds(1, &sBoard);
DAQmxCreateTask ("SbyAcqTask0", &thSbyAcqTask);
DAQmxCreateLinScale ("Vscale", 0.2, 0.0, DAQmx_Val_Volts, "V");
DAQmxCreateAIVoltageChan (thSbyAcqTask, "dev1/ai0", "", DAQmx_Val_RSE, -5, 5, DAQmx_Val_FromCustomScale, "Vscale");
DAQmxStartTask(thSbyAcqTask);
 
 
0 Kudos
Message 1 of 3
(3,241 Views)
You can actually search the error code number on www.ni.com and see if there are any KnowledgeBase articles with information about the exact behavior you are experiencing.  I did a search for "200077" and found some relevant information.  After you click on the first result, there will be a link in the related links section called "Why Do I Get "Error 200077 Occurred at DAQ Assistant" When Saving a Task in the Measurement and Automation Explorer?".  My guess is that this is a similar issue to the one you described.
Eric
DE For Life!
0 Kudos
Message 2 of 3
(3,238 Views)
I had already looked in the knowledge base, but I didn't see this one.
I'll try that. Thanks very much Eric.
0 Kudos
Message 3 of 3
(3,227 Views)