Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Can tdms streaming vi's be used in LabVIEW Realtime?

Hey Steve,
 
Sorry for getting back to you late as I've been working on several other projects.  I looked to see if I could find one of my implementations using interrupts but I have misplaced it on my PC.  I'll see if I can locate it over the next couple of days to show how I've implemented this in LabVIEW FPGA and LabVIEW Real-Time. 
 
However, I did find an implementation of Polling and Scheduling I really like that I'll post so you don't go home empty handed tonight 🙂
 
Basset Hound


Message Edited by Bassett Hound on 04-15-2008 05:45 PM
0 Kudos
Message 21 of 25
(3,339 Views)
Basset,
 
Sorry it took me so long to get to it.... but I tried out your Polling and Scheduling DMA example and it really works well.  It seems to address several of the issues I have always had trouble with (lots of CPU usage and DMA timeouts)....Thanks.  I was wondering however, if you did find your example that uses interrupts.  This polling and scheduling example is great, but it does not seem to be the best example to put in a control loop were you need rather steady loop times. 
 
Steve
 
SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 22 of 25
(3,290 Views)

Hi SteveA,

I was reading your post and I found this example from NI Developer Zone that uses interrupts with DMA data transfers. I hope this helps!

Carla

National Instruments
Applications Engineer
0 Kudos
Message 23 of 25
(3,270 Views)
Hey Steve,
 
Sorry I"ve been absent on the forums for the last week or so.  I did find my final versions of code I was playing with for different methods of pulling Continous DMA data on a Host cRIO ( including several others that work well in some applications).  I attached the code below.  Let me know if you have feedback on what worked well for you on your application.
 
Thanks,
 
Basset Hound


Message Edited by Bassett Hound on 05-01-2008 04:49 PM
Message 24 of 25
(3,261 Views)

Bassett.... Thanks I'll give this a try!!

steve

SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 25 of 25
(3,237 Views)