Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

aiterminalconfiguration question

When specifying the AITerminalConfiguration I see it in the examples as (AITerminalConfiguration)(-1) or CType(-1,AiTerminalConfiguration)

What does the -1 mean when the enums are

Nrse = 10078,
Rse = 10083,
Differential = 10106,
Pseudodifferential = 12529?

Thanks

Andy
0 Kudos
Message 1 of 3
(4,598 Views)
Hi,
 
-1 is the default value that is set at run time, NI-DAQmx chooses the default terminal configuration for the channel. The default is that which you may have set in MAX (measurement and automation explorer). You may be able to use a property node to programatically obtain what the default might be?
 
I hope this helps!
 
Kind Regards
Kurt
0 Kudos
Message 2 of 3
(4,577 Views)
Kurt

thanks for that. Sorry for the delay in replying... I was moving house.

Andy
0 Kudos
Message 3 of 3
(4,557 Views)