LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -88302 occurred at DAQmx Create Channel (AI-Voltage-Basic).vi:1

Solved!
Go to solution

I am a novice user to use Labview to aquire Data. Acquiction device is USB6008, some problem happen when running the program as attachment. anyone who can help me? thanks

0 Kudos
Message 1 of 16
(17,000 Views)

Do you have your code so you can post it?

 

If you open NIMax do you see the DAQ6008 there? If so do a test and make sure that it is working correctly.

 

Have you tried to reboot? I know it sounds like a cheap answer but it solves many problems.

 

Do you have NiMax installed?

Tim
GHSP
0 Kudos
Message 2 of 16
(16,996 Views)

Hi,

 

Some additional info about your system/ setup (LabVIEW version, DAQmx driver version) would be really helpful as well as answers to the questions that Tim posted above. 

 

Depending on your version of LabVIEW, one easy first step would be to reinstall your DAQmx driver or upgrade to the latest version supported by your version of LabVIEW.

Regards,
Austin S.

National Instruments
Academic Field Engineer
0 Kudos
Message 3 of 16
(16,973 Views)
Solution
Accepted by topic author Error -88302 occurred at DAQmx Create Ch

OS is Win7(64-bit)

LV Version 9.0f3(64-bit)

DAQmx driver version 9.2.3.

in NIMAX USB 6008 can be founded and self-test is well also.

I am not sure whether DAQmx driver version and LV Version are compatible?

Thnaks

0 Kudos
Message 4 of 16
(16,955 Views)

as DAQ6008 works well in NIMAX,So i think DAQmx driver  is ok.

but promblem happened in LV, so i think something wrong with my LV sysytem? am I right?

 

0 Kudos
Message 5 of 16
(16,952 Views)

This doesn't necessarily mean something's wrong with LabVIEW itself.  Typically, this error occurs when there is a corrupt driver installation or something missing with the driver.  As a first step, I would strongly suggest repairing or uninstalling your DAQmx driver and reinstalling it.  Yes, the 9.2.3 is compatible with your version of LabVIEW, but make sure that you download the DAQmx 64 bit version driver (and it wouldn't hurt to go ahead and install the newest version, 9.3).

 

What do you mean when you say it works well in MAX?  You mentioned that you did the self-test and it passed, but did you try using Test Panels and were you able to see your signal as expected?

 

Regards,
Austin S.

National Instruments
Academic Field Engineer
0 Kudos
Message 6 of 16
(16,930 Views)

I reinstalled DAQmx driver(with version 9.3) as you recommended. Test Panels works well as before(which works well before i reinstalled the DAQmx driver), but still have problem "Error -88302 occurred at DAQmx Control Task.vi:3".  Maybe something wrong with LV? I am not sure maybe something missing during installing.

0 Kudos
Message 7 of 16
(16,917 Views)

I forgot the Code, I attached it.thanks for your help.

0 Kudos
Message 8 of 16
(16,913 Views)

I also reinstall LV, but still the same. I have no idea now.

I run DAQ assistant it run as show in attachment.

 

tks for help.

Download All
0 Kudos
Message 9 of 16
(16,906 Views)

Thanks for including your code.  I ran it on my machine and it ran with no problems, which tells me that it's something with your system or MAX and not with the code.  In the past, when we've seen something like this work in MAX, but not in DAQ Assistant, deleting the Data folder and restarting the system seemed to fix the problem. 

 

Check Step #5 in this document to find this folder.  If you delete this folder, you will lose any configurations that you've saved in MAX, so if you have configurations saved that you'd like to keep, continue through the document with steps 6.7, etc. to create a backup of the folder.  If not, simply delete the folder and restart your computer and then MAX. 

 

If that doesn't work, try using the MAX Database Corruption Removal Tool to try to clear any traces of corruption that appear to be in your system's MAX.

Regards,
Austin S.

National Instruments
Academic Field Engineer
0 Kudos
Message 10 of 16
(16,888 Views)