Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Devolping a driver for the M-Series cards, documentation is hopelessly out of date

Alright easy question..  How do the calibrated conversions for AI/AO change when switching between bipolar and unipolar input or output on the M-series cards??  Unipolar doesn't actually look unipolar on my 6259.  Negative voltages still show up on the analog inputs, they are just sort of inverted.
0 Kudos
Message 11 of 21
(8,550 Views)
Dah..almost an answer

Think I figured out that at least the 6259 does not support 0-10V, 0-5V..., ranges.  Not sure about the rest of M-series, but that's not important to me at the moment.
0 Kudos
Message 12 of 21
(8,532 Views)

I've completely finished my drivers for AD and DA on the M-Series 6259 for xPC, along with parameter customizable Simulink blocks.  If anyone else out there is trying to do something similar hopefully they find this thread and I can pass on what I've got.  Also I wrote up a quick driver including watch dog timer for the 6528 Digital I/O card, which should work with any 6520 series card (except the 6527).

I would just like to say that these forums might be the worst tech support tool I've ever used.  I use several hobbyist and enthusiast forums that get far better response than I've gotten here.  Maybe I wasn't asking the best questions, but at least getting a response telling me I was an idiot would have been something, rather than having to ram my own idiot head into the wall until I realized how far off I was.

So, except for a couple of early responses, thanks for a whole lot of nothing NI.   I still love some of you're hardware and software, but will never respect your company (monopolizing pigs), or willingly purchase from you.

Sincerely Frustrated,

Josh


0 Kudos
Message 13 of 21
(8,515 Views)

Hello Josh,

I'm sorry to hear how frustrating this experience was for you.  Sometimes it does take us longer than it should to reply, and for that I apologize.  I am glad to hear that you were able to complete your drivers.  Good luck on your future projects.

Jeremy Crawley | Measurements RLP | National Instruments

0 Kudos
Message 14 of 21
(8,498 Views)
hi Joshua
i am using PCI-6259 daq card for my project..  If you send me the driver for DIO and AO, i will be very happy..
if that is not possible, i wanna try to write my device driver for xPC target..
would you please tell me how i can deal with it ?  Is it possible to write my driver using E series devices?

thanks


0 Kudos
Message 15 of 21
(7,908 Views)

Hi Joshua

I am trying to write an Analog Input Driver for the 6221 card and I would also be interested in Analog Input code. I am sure it will save me hours of beating myself over the head with a hammer.

I think you can get my contact info from my profile.

 

Hopefully thanks in advance

 

Floyd

 

 

 

0 Kudos
Message 16 of 21
(7,901 Views)
Hey Floyd,

Unfortunately, I worked on this quite a while ago, so details are all hazy.  And I was putting the driver together for a Simulink model being built and running on an xPC operating system, which is probably a far cry from any operating system you're working on.
0 Kudos
Message 17 of 21
(7,896 Views)
Hi Joshua,

I am working on a project which I specifically need to develop on Matlab xPC environment. I had the same driver problem with the NI-6259 and despite all the struggle I could not get it working.  If you have the Matlab xPC driver you wrote for NI-6259 in an easy reach, I will immensely appreciate the favour if you could be so kind as to send it to me (berkaneng@hotmail.com) as I desperately need to get the card working and frustrated with the problem.
Thanks in advance,
Best Regards.

0 Kudos
Message 18 of 21
(7,843 Views)
Hi Joshua,

Is it possible to publish your drivers on the Mathworks File Exchange site:
http://www.mathworks.com/matlabcentral/fileexchange/filesByProduct.do?prodid=2679

There are probably more people interested in them !

Thanks,
Lucas Koorneef
0 Kudos
Message 19 of 21
(7,072 Views)
The next release of xPC Target in R2008b will have drivers for the M series boards.  They are in the prerelease that is available now.

There are drivers for A/D, D/A, Digitial In and Digital Out.  I'm still trying to get the timers working for PWM generation and measurment, so we don't have those yet.

0 Kudos
Message 20 of 21
(6,654 Views)