08-08-2014 12:58 PM
Hi,
Is it possible to connect a NI USB DAQ board, specifically NI USB-6212, to NI myRIO? I am working in a project which needs more analog /digital inputs and outputs.
Theoretically, the USB DAQ is accessible through APIs available both in C and LabVIEW. Are there APIs to do the same thing but embedded in the myRIO? A sort of driver, I guess.
Thank you very much.
08-08-2014 02:39 PM
I don't have time to test it now, but I would imagine that if you can get DAQmx installed on the myRIO, then it should work. I'm not sure how setting up of the device would work from there though.
08-08-2014 03:29 PM
08-12-2014 12:50 PM
Hi FilipeTaveiros,
it will probably not work because DAQmx drivers are not supported on RT Linux.
Best regards,
CaravagGIO
08-12-2014 01:00 PM
@CaravagGIO wrote:
Hi FilipeTaveiros,
it will probably not work because DAQmx drivers are not supported on RT Linux.
Best regards,
CaravagGIO
And that's what I thought the kicker would be. Just never found that time to try.
08-18-2014 09:32 AM
I suspect it is more complicated than this. I mean how big is a DAQmx driver install for LabVIEW? A couple GB? Sure that adds a bunch of IDE stuff that isn't needed but how much room is on the myRIO? I didn't think it was much, I thought it was on the order of a couple hundred MB.
Then on top of the drivers not being compiled for ARM.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
08-18-2014 09:47 AM
@Hooovahh wrote:
I suspect it is more complicated than this. I mean how big is a DAQmx driver install for LabVIEW? A couple GB? Sure that adds a bunch of IDE stuff that isn't needed but how much room is on the myRIO? I didn't think it was much, I thought it was on the order of a couple hundred MB.
Then on top of the drivers not being compiled for ARM.
If you want to take it a step further, DAQmx does not even work on Linux. DAQmx Base will, but who knows what capability that has.
08-18-2014 10:00 AM
Runtime drivers has about 150MB and myRIO has 256MB of nonvalatile memory, maybe it can fit there. OS could be bigger problem.
08-28-2014 06:45 AM
@crossrulz wrote:
If you want to take it a step further, DAQmx does not even work on Linux. DAQmx Base will, but who knows what capability that has.
According to this PAPER, the specific board I am trying to connect to myRIO is supported by DAQmx Base 3.6.
@Hooovahh wrote:
I suspect it is more complicated than this. I mean how big is a DAQmx driver install for LabVIEW? A couple GB? Sure that adds a bunch of IDE stuff that isn't needed but how much room is on the myRIO? I didn't think it was much, I thought it was on the order of a couple hundred MB.
Then on top of the drivers not being compiled for ARM.
I believe once it is installed on the device, the drivers are recompiled. Anyone more experienced can explain better?
Therefore, I think it is worth trying. I would really appreciate some guidance. Thank you very much.
08-28-2014 09:01 AM
@FilipeTaveiros wrote:
I believe once it is installed on the device, the drivers are recompiled.
You are mistaken, the source to the DAQmx drivers are not installed, and therefor cannot be recompiled to some other platform. Only binary distributions of the drivers exist.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord