02-07-2006 07:58 PM
02-08-2006 02:01 PM
Hello CCI_Bryan,
You can programmatically set the DAQmx Scale that you are using with the DAQmx Scale Property Node, using the property ActiveScale.
Let us know if you have additional questions.
Laura
02-08-2006 02:06 PM
Hi Laura,
How do I connect the ActiveScale property node to a specific channel?
02-08-2006 02:43 PM - edited 02-08-2006 02:43 PM
Hi CCI_Bryan,
If you are trying to specify a different scale for each global channel in the task, you would need to use the DAQmx Channel property node. The first property you need to set is ActiveChannel to the global channel that you want to specify the scale for, and then the Custom Scale Name property. You can repeat this process for each global channel that you want to choose a scale for. You can specify multiple channel/scale combinations in a single property node as long as you follow the ActiveChannel, Custom Scale Name order for each channel.
This is the method you should use. I actually posted incorrectly above. You would need to use the DAQmx Scale property node if you wanted to programmatically edit a scale you had saved. I apologize about that.
Hope this helps,
Laura
Message Edited by Laura F. on 02-08-2006 02:45 PM
02-08-2006 05:49 PM
Hello Laura,
That worked out a lot better. Part of my problem was that I had a filter selected for the property node that was hiding the important options. Darn filters.
02-09-2006 03:13 PM
Hi Bryan,
I am not sure what might be going wrong with the method you described. If you would like to investigate it further, please post code that demonstrates the problem. I would be happy to take a look at it.
Thanks,
Laura
11-19-2010 06:58 PM
I just put together a set of VIs that will let you programmatically call the DAQmx Assistants to edit channels. You could pretty easily use these to allow the user to pick the scale from the same interface that MAX uses.
Programmatically Call NI DAQmx Assistants
There are also vi's there that will let you create new scales if you need to.
06-20-2011 06:20 AM - edited 06-20-2011 06:23 AM
Hi DMC Danny,
Your (source protected) demo/trial/commercial software isn't helpful.
I'm currently looking into