LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

"Homemade" AI blocks in DSP module

LabVIEW Embedded 7.1.1 / DSP 1.0 / C6711 DSK
 
Hi All,
Using the method in the attached link ( ftp://ftp.ni.com/support/labview/labview_dsp/Importing C Code.zip)  I have successfully created my own Analogue Input VIs to get analogue input  from a 2-channel TI daughterboard (using McBSP1).  I can run these VIs and see signals applied to the analogue input in LabVIEW, which is great!
 
However, if I try to use my newly created blocks with the existing AO it doesn't work - for example, taking input from my 2-channel daughter board and sending to the AO on the DSK, I get a "can't download to DSK" error.
 
I'm wondering if there is any further literature on lower-level workings of DSP module, or source code for the DSP module AI's / AO's that would help me understand why this is.  I was thinking maybe it was a clash of interrupts, so in my home-made AI block I tried different interrupts but to no avail.
 
Any help appreciated,
Kevin_M
0 Kudos
Message 1 of 2
(6,289 Views)

Hi All,

I have done some further work on this, and have discovered that with the example code given in the help file on the Block Wizard provided at ( ftp://ftp.ni.com/support/labview/labview_dsp/ImportingCCode.zip) , I can make a new AI block, and the sub-VI runs correctly and I can see whatever is applied to the DSK analogue input on the screen in a LabVIEW graph, but when I connect the new AI generated from the code given in the help to the default AO it doesn't run (see attached zip file containing sub-VI, test VI which calls it). 

Can anybody help me with this?

Is the Importing C Code to DSP module supported?

Thanks,

 

0 Kudos
Message 2 of 2
(6,264 Views)