This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADS1278 GUI development

Other Parts Discussed in Thread: ADS1278EVM-PDK, ADCPRO, ADS1278, ADS1282

Hi

I have purchased ADS1278EVM-PDK kit. I interfaced it with my pc and it is working good.

Now i want to develop my own application(GUI) in LabView, in place of ADC PRO.

Can any one please suggest me any help or can any one provide the protocol on which they both communicate.

 

Regards,

Steve.

  • ADCPro consists of three components: a shell program (the main window of ADCPro), which is capable of loading plugins. There are two types of plugins: EVM plugins, which talk to the hardware and do the actual acquisition of data, and test plugins, which analyze data (FFTs and histograms, for example). The shell sends commands to the plugins, for example to acquire data, and manages the passing of data from the EVM plugin to the test plugin. Only the EVM plugin knows anything about hardware.

    In the ADCPro directory is a subdirectory called plugins. In your case, you should have a directory in this plugins directory called ADS1278EVM. This holds the EVM plugin, and the code in that plugin is all LabView. You can view and edit that if you have LabView - ADCPro is currently built using LabView 8.5.1. You could use the code there as a basis for your own LabView program to talk to the ADS1278EVM-PDK hardware.

    The ADS1278EVM-PDK is built on using a motherboard called the MMB0, and communication between the LabView code and the MMB0 is done over USB. The code for that communication is done using libusb and a modified version of the Styx protocol, which is done using DLLs (you'll find a lot of that stuff in the libadcpro directory). The details of this and the USB stack used on the MMB0 are admittedly poorly documented by us and so if you want to use the hardware, my advice is to leave all that alone, use the firmware we provide in the EVM-PDK, and just work on how to get the LabView code for the plugin implemented in your own LabView program. You already have everything you need, and really everything that's available, to develop your own code.

    The Styx protocol makes everything on the EVM look like a file, so in the LabView source for the plugin you'll see writes and reads of files - for example, the data file holds all the data that's been collected on the motherboard - reading it brings that data into the PC.

    We are considering making some kind of "wrapper" VI that could be used with EVM plugins to make them easier to integrate into your own LabView code - this is a request we've received from several customers, and is one of the projects we're considering for 2010. I can't make any promises at this time that we'll actually get to it or when it will be done, but if there's enough interest out there, let us know and we'll keep the community informed of our plans and progress.

  • I am really interested in the same thing as i also have the ADS1278 PDK.

    I have two questions also. Is it possible to acquire all the data at every sampling speed with the ADS1278?

    I don't get the data in real time speed it seems that my USB communication is much too slow.

    I enabled only one channel and worked in dynamic tdm mode i put the sampling speed to 51.2k , set the block size to 51200 it  takes 4 seconds to collect the data.

    I must say that my computer is not the fastest one.

    Is it possible to collect all the data with the highest sampling speeds with a fast pc?

    I think the connection must transmit 8x 24bits x 128 khz== 3,072Megabytes per second.

    My second question is :

    I build a low noise regulating circuit with a very low noise voltage reference that i buffer with an opamp and an low noise cmos transistor to amplify  the current.

    I build a board with an ADS 1282 with this regulating circuit in which i have two of these voltage regultor blocks one for the ADS1282 analog supply and one for the voltage reference. I now want to know if it would be a good idea to supply the ADS1282 and his voltage reference input with only one of these regulators as this regulator output is very precise and stable and low noise (exactly 5 Volts) (The current supply of only a few milliamps is no problem)

    In summary can the ADS1282 be used on the same supply regulator for its supply and voltage reference when it is exactly 5 Volts and very low noise.

     

    Thank you for your answer.

    Ralph Reiter

    E-mail : rareiter68@gmail.com

     

  • Mr Reiter -

    Regarding your first question -

    The ADCPro collects all of the data from the DSP and stores in in memory, then begins transferring the data to the PC once all the points have been collected.  This does not depend on the speed of the PC; all PCs will behave in this way.  This method was used due to the manner in which the data transfers to the PC through USB.  The timing required by the DSP for the USB transfer could potentially cause missed data points and therefore the block size of data would not be contiguous.

    If you were to rewrite the firmware/code, it is possible for slower data rates/low number of channels that you might achieve real-time data, but for this evaluation system, we chose not to implement the code in this manner to enable support for higher data rates and/or multi-channel data acquisition options.

    Regards,

    Greg

  • I believe ADCPro folders contain a host of LabVIEW 8.5.1 codes. I am using LV8.0. Therefore, can't open the relevant codes. Can you please arrange to host the screenshots of the block diagrams, and/or lower version codes through internet? That will be highly beneficial to many. Thanks.