LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

removing a daqmx scale from a global channel at runtime

Hello, I have an issue where I would like to have a scale assigned to a channel in Max and saved to the channel.  However I want the capability to change the channel properties to either use the scale or read raw voltage.  I have tried to change these properties in code and it show that this is happening, however when I call the daqMX read function the data is read as scaled even though I set the custom scale to empty when I was setting up the task.  Any ideas.

 

0 Kudos
Message 1 of 2
(2,041 Views)

Hello Wade,

 

Would it be possible to provide the code you are using so we may take a better look? Also have you taken a look at this KB which discusses how to programmatically query a custom scale:

 

http://ae.natinst.com/public.nsf/web/searchinternal/e09232f885e4d8a28625734d005d6ff5?OpenDocument

 

Try doing a query of the scale and seeing what is listed to see if it is really empty.

 

Regards,

 

-Travis E

National Instruments
Product Marketer
0 Kudos
Message 2 of 2
(2,021 Views)