LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I explicitly set AI Configuration in LabVIEW

How can we explicitly set AI Configuration in LabVIEW and bypass MAX?
We are using a database to store and maintain all hardware configurations along with other info (Things like module SN that can not be stored in MAX). It would less of a management job if we could read configurations from the database and setup the hardware (PXI\SCXI), bypassing the added step of configuring hardware and channels in MAX. Now using AI Parameter.vi most configurations can be done with the exception of gains. Gains are a combination of PXI DAQ and SCXI module gains and DAQ try�s to come up with what it thinks is the best combination. If I had my way I would set the PXI to +\- 5V range and set the appropriate gains for each SCXI chan
nel. It would be desirable to explicitly control and know the configuration rather then the smoke and mirrors of MAX.
Is there a way around MAX with LabVIEW and LabVIEW RT?
0 Kudos
Message 1 of 4
(3,190 Views)
If you know the limits of your channel readings, you can set these in AI Hardware Config. Take a look at this VI to see the ins and outs of it, but basically you can use it to specify the limits on the channels in your acquisition. Therefore, you can keep a database of the signals you are acquiring and keep the high and low limits for these signals. You can supply these to the AI Hardware Config VI and it will generate the gains and you can actually read these from the VI also. This way, you can check to see if they are what you want and change them if desired.
J.R. Allen
0 Kudos
Message 2 of 4
(3,190 Views)
Yes, this may be one method and I know it will work but it is not very explicit.
We would like to set the gains directly.
0 Kudos
Message 3 of 4
(3,190 Views)
I'm not aware of another way. Does anybody else out there have any other ideas?
J.R. Allen
0 Kudos
Message 4 of 4
(3,190 Views)