10-18-2007 02:38 AM
Hello,
Is it possible to get the DAQmx scales created in MAX? A list of strings or something..?
I would like to make a configuration program for mapping analog input channels to desired signal types and sensors. It would be a big help if we can use MAX for creating the scales for different sensors and read those into this configuration program.
Best regards,
Ilkka
10-19-2007 06:52 AM - edited 10-19-2007 06:52 AM
Hi,
you have to work with properties, this is very simple when you use the Class Browser in LabVIEW. In the Block Diagramm Menu go to VIEW --> Class Browser.
There choose Object Library "DAQmx" and as Class "DAQmx System", there you can find Properties regarding Scale, Task, Channel, ...! Just drag and drop from there to the block diagramm! I´m not that familar with .NET, but there this should be the same Property (Perhaps: DAQmx System.Scales)! I can´t try because I don´t have .NET on my system!
Hope this helps!
Alex Rudolph
NI Switzerland
Message Edited by Alex R on 10-19-2007 01:54 PM
10-19-2007 11:12 AM
{
NationalInstruments.DAQmx.
Scale s = DaqSystem.Local.LoadScale(scale);}
You can get a list of all scales by calling DaqSystem.Local.Scales and then load the scale(s) by calling the DaqSystem.Local.LoadScale() method.
10-22-2007 02:24 AM