LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adam 4021?

Hello!

It is an analog output model, what's the meaning of "Refsrc"? I must input
it by "AOConfig".

It shows always an error"AOConfig.vi : Function Not Supported On I/O=%XH",
what does it mean?

Could somebody tell me where I can find an example
for it?

Thanks!

Le
0 Kudos
Message 1 of 2
(2,654 Views)
Hi,

I don't know your requirments so it isn't clear why you need to use AOConfig
directly. For my application I use MAIVoltageIn.vi.

Here is how I read voltages for all 8 channels of an 4021. Create a cluster
containing the number of channels that you want to read, the start channel
and a gain list. If you are unsure of how to do this open the MAIVoltageIn
VI and copy the MAIVoltageIn cluster to your VI.

Now set the cluster values to reflect what channels you are interested in:
Chans = 8
StartChan = 0
GainList = I don't need to change it so I pass the one from the copied
cluster using unbundle by name.

Wire the cluster to the MAIVoltageIn node of the MAIVoltageIn VI. Wire the
DevHandle node to the output of DeviceOpen.vi. Wire the VoltageList node to
an
array of singles.

Run and read values.



"view" wrote in message
news:a6l1nr$2u0$1@nets3.rz.RWTH-Aachen.DE...
> Hello!
>
> It is an analog output model, what's the meaning of "Refsrc"? I must input
> it by "AOConfig".
>
> It shows always an error"AOConfig.vi : Function Not Supported On I/O=%XH",
> what does it mean?
>
> Could somebody tell me where I can find an example
> for it?
>
> Thanks!
>
> Le
>
>
>
>
0 Kudos
Message 2 of 2
(2,654 Views)