VXI and VME

cancel
Showing results for 
Search instead for 
Did you mean: 

VXI-MIO-64E-1 in LabWindows/CVI

I am using VXI-MIO-64E-1 module for Data Acquisition of differential Signal of 0-10V. By default Module is configured in -5V to +5V. I have used  status = AI_Configure (deviceNumber, chan, inputMode, inputRange, polarity, driveAIS) function for configure module to 0-10V unipoler but  still module is taking -5V to +5V not 0-10V.  here is LabWindows/CVI code for configuration of analog input module.
 
    buffer = (short *)malloc ( NUMPOINTS * sizeof(short));
 
   status = Init_DA_Brds (1, &brd);
   if ( status != 0 )
   {
    MessagePopup("Error","Error in initializing VXI device");
    exit(-1);
   }
 
   status = SCAN_Setup (1, NUMMODULES, ChannelList, ChannelGain);
   if ( status != 0 )
   {
    MessagePopup("Error","Error in configuring VXI device");
    exit(-1);
   }
 
   status = DAQ_DB_Config (1, 1);
 
   status = DAQ_Config (1, 1, 0);
   
 
   status = Select_Signal (1, ND_PFI_7, ND_IN_SCAN_IN_PROG, ND_LOW_TO_HIGH);
 
   if ( status != 0 )
   {
    MessagePopup("Error","Error in Configuring SCAN_START input Line");
    exit(-1);
   }
   InitializeTimer1();
   
   
   /* Module 1 Initialization Over */
   
   /* Module 2 Initialization Starts */
   
   buffer1 = (short *)malloc ( NUMPOINTS1 * sizeof(short));
 
   status = Init_DA_Brds (2, &brd);
   if ( status != 0 )
   {
    MessagePopup("Error","Error in initializing VXI device");
    exit(-1);
   }
 
   status = SCAN_Setup (2, NUMMODULES1, ChannelList, ChannelGain);
   if ( status != 0 )
   {
    MessagePopup("Error","Error in configuring VXI device 2");
    exit(-1);
   }
 
   status = DAQ_DB_Config (2, 1);
 
   status = DAQ_Config (2, 1, 0);
   status = AI_Configure (2, -1, 0, 10, 1, 0);
 
   /* Module 2 Initialization Over */
 
 
 
 
 
What mistake i am doing to configure module-2 to 0-10 Volt input range.
0 Kudos
Message 1 of 2
(6,406 Views)
Hello Vishnu,

Unfortunately, the VXI-DAQ cards are no longer supported, but you can find information about using them in the manual.  The VXI-MIO Series User Manual  has details about setting the input range in Chapter 3 on page 3-4.

Good luck with your application!

Meghan
Applications Engineer
0 Kudos
Message 2 of 2
(6,376 Views)