LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to interface NI-USB 6255 with ANSI C

dear sir,

 

       i am using niusb-6255.i am interfacing niusb 6255 with ansi c.which software i have to download.i don't know.plz,help me for my project.

 

 

 

thanking you,

regards

krishnaprasad

PROJECT TRAINEE

laboratory for electro optic systems(LEOS)

ISRO,BENGALORE.

peenya 1st stage.

 

0 Kudos
Message 1 of 11
(4,144 Views)

Your board can be interfaced via NI-DAQmx drivers, which you should have received toghether with the hardware.

In any case, it can be downloaded from NI site. Here the main support page for board device drivers: your device is listed under "Portable devices" link.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 11
(4,133 Views)

dear sir,

 

                            i recieved analog signal from usb 6255 .i want to use that signal for my application.the analog signal is continuously varying.i have to  write a code in c .fix the signal amplitude and measure it.i am electronics student.i know basics in c only.plz,u guide me how to approach .thanks for giving this approach.

 

thanks,

regards

krishnaprasad

0 Kudos
Message 3 of 11
(4,128 Views)

Hi krishnaprasad,

which development environment are you using to develop your application? This forum is intended for users of LabWindows/CVI: are you using it? Which version?



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 11
(4,125 Views)

Hello, 

 

I have just bought NI-USB 6255. I would like to interface it with ANSI C as well. What would you recommend? I am also looking for sample codes that I can at least sample one of the channels of 6255 (m series).

 

Regards

0 Kudos
Message 5 of 11
(3,433 Views)

The board comes with NI-DAQmx software, which includes both the driver to access the hardware and a series of examples for several development environments: if you installed it you should have all necessary software and examples already available on your PC.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 6 of 11
(3,424 Views)

I bought it through my supervisor. He says there is no documentation or software coming along with the DAQ. He told me to find the driver and all the necessary things online. I am trying to find a sample code so that I can sample at least one channel of the DAQ as a starting point.

 

I also have another question? Do I really need the NI-DAQmx software to interface the DAQ through C language? I dont think so. 

0 Kudos
Message 7 of 11
(3,415 Views)

It's not so kind your supervisor! The board should come with a DVD with Daqmx software and documentation. In any case, the same material can be downloaded from this page. Once installed you will find several examples to start your work from. 

Why are you trying to skip Daqmx? I don't even know if it's actually possible, but if it is it will imply a lot of hard work with little or no support at all: is it worth the effort? 



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 8 of 11
(3,402 Views)

Thanks Roberto,

 

I have installed the DAQmx software and found the sample codes. So I was wrong, I should program NI 6255 in ANSI C through DAQmx. I am studying the samples codes.

0 Kudos
Message 9 of 11
(3,396 Views)

Glad to hear that!

 

I see that you posted also in Measurement Studio for .NET board: which language are you intending to use to develop your code? When coming to discuss actual code details it is better that you post only in the relevant board as these environments are very different and you won't get good answers in the wrong board.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 10 of 11
(3,391 Views)