LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to modify existing DAQmx scale through LabVIEW and gettine error 200077

I'm trying to set up a data collection vi I have have put together to allow the user to change the scaling (mapped ranges) for some of the channels before data collection and through the vi instead of MAX.  I keep getting error 200077 when I try to even read the current settings for the channel through a DAQmx channel property node let alone when I try to make a change.  the error message is telling me the value I want to use isn't valid, based on the value that I want to replace.  There is a knowledge base on the problem but it deals only with using MAX and it does not load properly when viewing (gets cut off).  Does anybody have a suggestion on how to change the scaling variables without getting the error?  Is there a way to change signal input values for the channel?  Am I just over looking a simple solution?

thanks
0 Kudos
Message 1 of 2
(2,429 Views)
Hello Jarad,

Thanks for your post! So if I understand you correctly you wan the user to set the range of the inputs before reading the data. If this is the case that is exactly what you should do is configure the ranges of your channel before starting the task. The range cannot be set programmatically once the task has been started. So if you want to change the range during your program you must stop configure a new range and then restart the task. Since the error states that you are entering an invalid value, usually a value is suggested for use with that task. If you set the value to what the error range is asking does the vi you made work?

I would recommend making sure that all your ranges are set programmatically before the task starts and make sure that the value you are setting is a valid range for the hardware you are using. Let me know if any of this information helps you and please post back if you have any other questions!

Cheers!

Corby_B
http://www.ni.com/support
0 Kudos
Message 2 of 2
(2,409 Views)