Hi,

On 2016-06-27 20:42 , Soeren Apel wrote:
> Hi Henk,
>
> none of us is currently working on NiDAQ support, so you're
> the first bringing this up.
> While it would certainly be nice to have this kind of
> support for NI devices, making use of the NiDAQ(mx) library
> seems like a non-trivial task. This is because there is
> such a sheer variety of devices to support that the sigrok
> driver interfacing to the NIDAQ(mx) library would end up
> being pretty large.
What I understood of NiDAQ, is that with one driver, and one piece of 
client code, we could support a range of devices (analog, digital i/o, 
any number). No need for a specific driver, or special case for the 
basic usages of these devices. I think this was the elegance of NiDAQ 
system.
>
> Also, I'm not sure whether the Windows and Linux drivers
> are compatible. They very well may be but I'm not confident
> (NiDAQ vs. NiDAQmx) and we of course would want to support
> both.
Sure, there probably will be minor differences, and I can sure find out 
via the python way, if there is a significant difference between Windows 
& Linux.

>
> Sigrok drivers are written in C, so indeed, python isn't
> too useful there. If you're familiar with the API then it
> might be worth trying, though. It's really up to you and
> how willing you are to devote the time needed. We're here
> to help with details, of course, as long as they don't
> pertain to the Windows platform and/or NiDAQ library
> integration there. That's a bit too specific for us to
> provide any useful input, I'd say.
In the previous attempt to build the python bindings for Windows, I 
miserable failed (On both Windows and Fedora). So that is probably a 
league ahead of me.
Maybe it is possible for me to pipe the data from a python script, real 
time into Sigrok/Pulseview?
Maybe a python script can function as a fake device for Sigrok? As long 
as there is an entry point  into Sigrok, which besides the data, could 
also specify some metadata like amount & type of channels, I could get 
something working.

-- 
Greetings,

Henk Hendricks


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to