LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I get no analog waveform measurement despite working fine in test panels? Labview 7.1 over NI-DAQ 6.1 with AT-MIO-16x board

I am getting up to speed with a test project, and have confirmed the software is installed ok, the hardware is fine, my first vi to control a stepper motor using digital outputs from the MIO board works fine.

Test panels of the analog channels are reading perfectly.

But none of the analog example vi's work for me. Most of them load with wiring errors, arrays miswired and such, which I am able to correct, however despite getting all of the vis to run without error, I get no waveform display or analog readings other than zero.

I must be doing something wrong.  In the DAQ configuration wizard I set the channel zero up for Referenced single ended, and have it wored properly, since test panels uses that configuration and those wiring terminals.

I named it analogin0 in the config utility, and then entered that name in the vi's channel constant in lieu of zero.

So far so good?

What else am I missing that allows the sample vi's to run, but not correctly interface with the analog channel?

Thanks for any insight.  Probably a common newbie mistake.

 

Note that in order to install the older DAQ 6.1, which is REQUIRED for my older hardware, I have to remove the Labviews's newer DAQ drivers and MAX.  Can I reinstall MAX somehow? That would make configuration easier, but as I understand it, MAX won;t play nice with the older DAQ 6.1?

0 Kudos
Message 1 of 6
(2,504 Views)

 

Hello There,

A typical downgrade procedure for moving from a newer version of LabVIEW and NI-DAQmx software to an older version of LabVIEW to NI-DAQ involves a clean installation of the operating system.  This is important because the newer DAQ drivers overrides the prexisting files.  You may encounter driver curroption if you uninstall the newer drivers and use the older drivers.

Regarding this particular issue, I would reference the following links:
Using Internal Analog Input Channels in Traditional NI-DAQ (Legacy)

Data Acquisition Basics Manual
The Data Acquisition Basics Manual explains analog acquisition using NI-DAQ starting on page 6-1.  Moreover, there are a few examples that show how to program analog acquisition.

Just so you know, we no longer officially support LabVIEW 7.1, NI-DAQ 6.1, and the AT-MIO-16x board since the software and hardware is quite antiquated - almost a decade old.  I would recommend upgrading to the newer version of LabVIEW (2010) with DAQmx (9.2.3) and a newer DAQmx supported card like the PCI-6010.  Moreover, there are numerous DAQmx AIO, DIO, and counter examples available in the LabVIEW Example Finder (Help » Find Examples...)
 
NI PCI-6010

 

Regards,
Roman Sandoval | National Instruments | RF Systems Engineer
0 Kudos
Message 2 of 6
(2,482 Views)

Thanks for the response, and I am aware you don't support the older stuff. But it is what I have, and how else to get up to speed at a reasonable cost...

It is exactly that Getting Started document you reference,  I was following, when I realized I am doing something wrong with analog inputs as opposed to digital.

I ran the test panels in DAQ Configuration, the board is fine, it reads analog ok.

But for some reason the VIs don;t work, no matter which I try, even those simple VIs in the Getting Started doc.

0 Kudos
Message 3 of 6
(2,475 Views)

Update...it works fine in Labview 6.1. Go figure.

Should I reload 7.1?

0 Kudos
Message 4 of 6
(2,468 Views)

I do not think you need to reload 7.1 After removing all newer than NI-DAQ 6.1 stuff. Do as described here with your NI.daq 6.1 version

Then it might work. I have used an old NI-DAQ 516 running on nidaq 6.9.3 on all newer Labview versions

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



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 5 of 6
(2,461 Views)

I have actually successfully installed DAQ 6.1 over Labview 6.1 and 7.1 versions, per another knowledgebase solution.

That isn't the issue. But thanks.  Something is corrupted, I am going to remove and reinstall 7.1.  Woudl just use LAbview 6.1 but some 7.1 features are needed.

0 Kudos
Message 6 of 6
(2,456 Views)