12-12-2006 03:32 AM
12-15-2006 01:44 AM
Hello udo.raupenstrauch,
it is really interesting that it does not seem to work to get these values. I also experimented with some vis. You are able to read out which scales are available in MAX or you can open one with the scale name constant, but when you wire it to the invoke node you can only use one of the three parameters you wanted to have (you only get scaled units but not the two others).
I will try to find out if there is another solution or if it was simply "forgotten" during development. Until then I think you need to use the scale when you start the DAQmx task.
Best regards
Philipp N.
NIG AE
12-15-2006 02:18 AM
Hello udo.raupenstrauch,
a colleague had the same issue and found out, that it is not possible to access these properties in MAX in the same way. This is because the developers wanted to avoid messing up the data in MAX with a LabVIEW program.
Best regards
Philipp N.
NIG AE
12-15-2006 08:54 AM
Hallo Philipp,
thanks for your effort !
I have an additional answer from NI, which i refuse to accept : "This is a good thing - we want to protect customers from programmatically messig up their settings"
I will continue to search for a solution because i'm not trying to change (mess up) saved data, what's wery well possible with the vi "SavePersistedScale" or "DeletePersistedScale". I'm just trying to retrieve already saved scales.
This functionality is available (somewhere), while the function "CreateScale" retrieves this data from MAX at each start of LV, of course only if the scale is present in MAX.
Thanks again and best Regards,
Udo Raupenstrauch