LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

USB NI 6008 and Labwindows/CVI v7.1

Hi you,

firstly: sorry für my bad english!

And here my problem: I use CVI v7.1 and have here a NI USB-6008 instrument and since one week i just do not understand how to get this thing to run. I already use my Agilent Waveform Generator and the parallel port with CVI but communicating with the NI USB-6008 is making me serious problems. I already read a lot of help files but I do not understand it. Can someone of you explain me how to solve this problem or give a little program example? A program example would be very fine.

Much thanx to you!!
Marek S.
____________________________________________________________
Operating System: Windows 2000 - Software I use: LabWindows/CVI 7.1
0 Kudos
Message 1 of 6
(3,953 Views)
I've forgotten to say:
The only little thing i just wanna do, is reading out a digital port for getting a failure from another instrument.
____________________________________________________________
Operating System: Windows 2000 - Software I use: LabWindows/CVI 7.1
0 Kudos
Message 2 of 6
(3,947 Views)
Hm, no answer. Maybe i write a little bit more...

I already had one little achievement. I wrote these lines:
error = viOpen (vi, "USB0::0x3923::0x717A::00E04B41::RAW", VI_NULL, VI_NULL, &handle);
SetCtrlVal(PANEL, PANEL_NUMERIC, error);

Instrument is installed, I am connected to it and I'm getting no error. Hm, now continuing with this DAQmx-Tasks i read. That's my problem now... 😕
____________________________________________________________
Operating System: Windows 2000 - Software I use: LabWindows/CVI 7.1
0 Kudos
Message 3 of 6
(3,934 Views)
..and what is strange is that, when i try in cvi making a task using "tools>>create/edit daqmx tasks" there is no hardware to use for a task. what's wrong? help would be very fine. 😕
____________________________________________________________
Operating System: Windows 2000 - Software I use: LabWindows/CVI 7.1
0 Kudos
Message 4 of 6
(3,920 Views)
Hello Marek,

the 6008 is not supported by NIDAQ, the communication with the module is done with the VISA functions.
But dont worry, you dont have to do the lowlevel propgramming yourself. There is a driver you can use. It is called daqmxBase and can be downloaded from our homepage (see link below). It is shipped with examples for LabVIEW and for C - I am sure you can make use of the C-examples while developing your CVI application.

http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C128D?opendocument&node=132060_US
Ingo Schumacher
Systems Engineering Manager CEERNational Instruments Germany
0 Kudos
Message 5 of 6
(3,911 Views)
Hello Mr. Schumacher,

thank you very much for reply. The problem is that, i work since one and a half months with NI CVI so i didn't know that there is lib-file i have to include in my program. Yesterday i made first steps with my NI USB-6008 instrument.
As I said: Thank you very much for Reply!

Sincerely yours,
Marek S.
____________________________________________________________
Operating System: Windows 2000 - Software I use: LabWindows/CVI 7.1
0 Kudos
Message 6 of 6
(3,886 Views)