LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect NI 9237 to Labview

Hi,

 

I am new for Labview and VI programming.

 

I have the NI 9237 with 9174 chassis and they are working good with NI MAX (NI Measurements & Automation Explorer) program. Since this program is not able to do data log, I installed the Labview 2010 and wanted to write VI code for this 9237. Now it seems the Labview can't see the 9237 when I  click the link "Find Instrument Drivers..." fro the Labview main page.

 

I also downloaded example code " cont Acq Strain Samples (with Calibration).vi" from NI web and when I load it in Labview I received massege that "Driver or toolkit component missing"

 

Thanks for help in advance,

 

Ming

 

0 Kudos
Message 1 of 10
(4,823 Views)
It's not supposed to 'Find Instrument Drivers'. That is for GPIB, serial, and other third-party instruments.

You need to use the DAQ Assistant or direct DAQmx functions. There are examples that come with LabVIEW (Help> Find Examples. Since I have no idea what you downloaded our from where, I cannot comment on that.
0 Kudos
Message 2 of 10
(4,810 Views)

Hi Ming1.

 

Actually, 

ni.com: NI Hardware Drivers :: Downloads > Data Acquisition
http://www.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/catnav:du,n8:3478.41.181.5495,s...

 

 

And use the shipping examples that come with the drivers. (On LabVIEW    Help »  find examples)

 

 

Fabián M.
Internal Sales Engineer
National Instruments
0 Kudos
Message 3 of 10
(4,775 Views)
It seems that you installed LabVIEW after DAQmx according to the first post. You must install DAQmx after in order for LabVIEW to use the driver.
0 Kudos
Message 4 of 10
(4,762 Views)

Thanks for the adivice from both of you.

 

By following your suggestion I downloaded the NIDAQ922f0.exe. But I am not able to install it since in installation it detected a new version program NI DAQmx installed already.

 

As you can see from my last email, I installed NI Measurements & Automation Explorer program first and then the Labview installed. It seems the NI Measurements & Automation Explorer program includes  NI-DAQmx which is the drivers I guess.

 

My question is: should I uninstall the current NI-DAQmx first, then install it again and hope during the installation, it can detect the Labview 2010 and then setup the relation between 9237 driver and Labview properly. Or I don't need to uninstall the NI DAQmx, but do some configuration in Labview to be able to see the 9237 driver.

 

Thanks,

Ming

0 Kudos
Message 5 of 10
(4,755 Views)

Hi Ming1.

 

It is always recommended (I would even say mandatory) to install the drivers AFTER installing LabVIEW. You might want to uninstall them and then install them again, LabVIEW then should be able to recognize them.

 

 

Fabián M.
Internal Sales Engineer
National Instruments
0 Kudos
Message 6 of 10
(4,752 Views)
Why install an old version of DAQmx?
0 Kudos
Message 7 of 10
(4,747 Views)

My Labview is 2010, I thought I should install the drivers with same year's one. You may be correct I should take the lateat drivers version.

 

Thanks.

Ming

0 Kudos
Message 8 of 10
(4,734 Views)

@Ming1 wrote:

My Labview is 2010, I thought I should install the drivers with same year's one. You may be correct I should take the lateat drivers version.

 

Thanks.

Ming


DAQmx and many other NI drivers support multiple versions of LabVIEW.  Usually the last 3 or 4 versions.  Here is the chart that explains what is compatible:

 

http://digital.ni.com/public.nsf/allkb/B0D5630C0A50D5C6862578E800459248

 

Looks like 2010 is still supported with the latest DAQmx.

0 Kudos
Message 9 of 10
(4,725 Views)

I reinstall the Labview and then the latest driver. Now it is working.

 

Thank you all for guidance!

Ming

0 Kudos
Message 10 of 10
(4,701 Views)