Thaks I will keep this in mind.

Rafael

Jay Wooten escribió:

Is the code that sends the data out to the port running in a thread?

The slowest thing you can do is work with the GUI - it seems in this situation you want to avoid refreshing it, then reading the value from a StaticText control.

I would think that the fastest way to work with this is store the values in an array - however, there is a speed hit if you need to search the array, so you want to avoid searching as well.

If nanoseconds are critical here, I would really recommend offloading some of this work to an external microcontroller and let it handle the refreshing etc.

When I first started doing robotics (back in my day) some of the first projects I worked on were designed to let the computer do most of the work. Then, as I implemented microcontrollers it opened up a whole new world of accuracy - and freed up the computer to perform other tasks ( and was a lot easier to maintain and make changes to code since the timing was all externally controlled )

It's a fairly easy to add a PIC controller to offload some of that work - there is a bunch of existing code to do what you need.


Jay Wooten, President
Go Data Systems, Inc.
www.godatasystems.com
[EMAIL PROTECTED]


On Jul 18, 2006, at 12:31 PM, Rafael Vallejo wrote:

The Parallel port will have conected 2 to 3 (all depends) 4 to 16 bit decoders/demultiplexers that will control 1 display at a time so there will be up to 48 displays controled by the paralel port refreshe X times per second, a raw test shown that it can be done but when other task come the refresh time is degraded, Im trying to avoid the use of an external microprocesor but that will be the last resource,

Rafael

Jay Wooten escribió:

Question, which may/may not affect what you are doing:

Are the 7 segments of the LED being turned on and left on, or are you using PCM etc to refresh them X times per second?


Jay Wooten, President
Go Data Systems, Inc.
www.godatasystems.com
[EMAIL PROTECTED]



On Jul 17, 2006, at 10:59 AM, Rafael Vallejo wrote:

Hello List.

I'm developing an aplication that will be runign on an infinite loop controling 7 segment display conected to a parallel port, in order to make the cicle trough al the display as faster as posible I want ot be shure what can be the best method based on the following requeriments.

The aplication will show data on a Window, that data will be redrawn every time it changes on it source that is not frecuently The aplication will show that data also on the Displays conected to the Parallel port.

What is faster read data from a text field on the main window or have a copy of that on an array and read from there to display data to the 7 segment Displays? nanoseconds here count, because a delay can unhide the illusion of cilcing trough the displays



******************************************************
This message has been scanned for viruses and
dangerous content by Kypus Server Appliance E-Mail
Protection Service, and is believed to be clean.
******************************************************

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>



******************************************************
This message has been scanned for viruses and
dangerous content by Kypus Server Appliance E-Mail
Protection Service, and is believed to be clean.
******************************************************

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>



******************************************************
This message has been scanned for viruses and
dangerous content by Kypus Server Appliance E-Mail
Protection Service, and is believed to be clean.
******************************************************

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to