Reducing ActiView

Post Reply
elfallero
Posts: 4
Joined: Thu Dec 02, 2004 8:20 pm

Reducing ActiView

Post by elfallero »

I have added some new VI's to ActiView to do my own signal processing. I tap into the raw incoming data stream at the "Downsample-24sinc.vi"

That's all I want to do. I don't want the ActiView graphics and other facilities (nice as they are.) I need maximum CPU time dedicated to my own VI's. So I want to delete a lot of the controls/indicators in ActiView's front panel (along with their associated diagram blocks.)

Can I do this? Is there anything I should watch out for?

Coen
Site Admin
Posts: 1124
Joined: Fri Mar 26, 2004 7:00 pm
Location: Amsterdam, Netherlands
Contact:

Post by Coen »

You can delete all charts and associated controls and subvi's without any problem. I would just recommend to keep using the buffer clock (lower right corner), as an indication of the buffer read process.

Do not change the basic structure of function calls to the USB driver library. Also, I recommend to leave the error handling intact.

You will note that standard ActiView always uses all remaining processor time (CPU use is 100%). The program constantly adjusts the size of data blocks to be processed and displayed on screen. Small bocks allow smooth scrolling, but alos use a lot of processor time. When the program detects that processing can't keep up with the incoming data (green buffer pointer lags behind red pointer), larger blocks are processed to quickly catch up. So, the 100% CPU use does not mean that there is no processor time avaible for other tasks (LabVIEW or other). You can still add further processing, and ActiView will adjust automatically by making the scrolling less smooth (precess larger data blocks to reduce processor time).

However, in you own application, you might want to use constant data blocks to keep things simple. If you do this, make sure that the blocks are large enough (check the clock pointers for lag), to prevent ringbuffer overflow problems.

Best regards, Coen (BioSemi)

Post Reply