Click here to Skip to main content
15,900,108 members
Home / Discussions / C#
   

C#

 
QuestionFile Type forensic identification Pin
devvvy1-Jul-11 14:20
devvvy1-Jul-11 14:20 
AnswerRe: File Type forensic identification Pin
Philippe Mori1-Jul-11 14:58
Philippe Mori1-Jul-11 14:58 
AnswerRe: File Type forensic identification Pin
PIEBALDconsult1-Jul-11 18:51
mvePIEBALDconsult1-Jul-11 18:51 
QuestionImplementing a list of abstract objects... Pin
faheemnadeem1-Jul-11 10:15
faheemnadeem1-Jul-11 10:15 
AnswerRe: Implementing a list of abstract objects... Pin
Philippe Mori1-Jul-11 11:37
Philippe Mori1-Jul-11 11:37 
GeneralRe: Implementing a list of abstract objects... Pin
faheemnadeem1-Jul-11 13:52
faheemnadeem1-Jul-11 13:52 
GeneralRe: Implementing a list of abstract objects... Pin
Philippe Mori1-Jul-11 15:16
Philippe Mori1-Jul-11 15:16 
GeneralRe: Implementing a list of abstract objects... Pin
faheemnadeem1-Jul-11 15:41
faheemnadeem1-Jul-11 15:41 
Yes you are right again...

What i have done till now is initialize the channel list in the utility class inheriting from visaoscilloscope. While implementing the 'init' method i populate the list with channels and their respective properties by connecting to the respective oscilloscope driver and getting real-time value of that property for that particular channel and correspondingly update the list.

This only happens once i call the init method the first time. The problem which i am trying to figure out is they way i have implemented the base oscilloscope properties is that they are connected to the driver itself in the gettter setters, so they give me the current realtime value of the oscilloscope attribute when they are called from let say my GUI class. e.g.

if i ask a visaoscilloscope for its ID. which is a general property has to be implemented by each oscilloscope. So i do from my gui class.

assume this scope object points to a particular utility/driver/scope

visaoscilloscope myscope = new visaoscilloscope();
string ID = myscope.ID;


the id field which is abstract in visaoscilloscope is implemented in the inherited utility class (because there are different ways of getting an ID for each driver and i have to connect a driver class to it also)

so in the ID implementation, i just do this.

public override string ID
        {
            get { return myTk.GetString(tktds1k2kProperties.IdQueryResponse); }
        }


Therefore it always gives me real-time response from oscilloscope. What i want is also realtime response for my channel properties. if i implement the current scenario u suggested the fields are only updated once i call the init method. which have to be called only once during the initialization phase.

If you understood my point i would be really thankful to hear a solution... if u want i can send u the classes... i know it is a simple enough problem. but this is something i have never tried and i am particularly new to this...

Really thankful for the help u have given my thus far...
GeneralRe: Implementing a list of abstract objects... Pin
Philippe Mori1-Jul-11 16:30
Philippe Mori1-Jul-11 16:30 
GeneralRe: Implementing a list of abstract objects... Pin
faheemnadeem1-Jul-11 18:09
faheemnadeem1-Jul-11 18:09 
GeneralRe: Implementing a list of abstract objects... Pin
Philippe Mori2-Jul-11 3:30
Philippe Mori2-Jul-11 3:30 
GeneralRe: Implementing a list of abstract objects... Pin
faheemnadeem2-Jul-11 4:08
faheemnadeem2-Jul-11 4:08 
QuestionC# to MATLAB connectivity in windows 7 Pin
Sa na1-Jul-11 9:03
Sa na1-Jul-11 9:03 
AnswerRe: C# to MATLAB connectivity in windows 7 Pin
Dave Kreskowiak1-Jul-11 11:10
mveDave Kreskowiak1-Jul-11 11:10 
GeneralRe: C# to MATLAB connectivity in windows 7 Pin
Sa na2-Jul-11 1:13
Sa na2-Jul-11 1:13 
GeneralRe: C# to MATLAB connectivity in windows 7 Pin
Sa na2-Jul-11 2:52
Sa na2-Jul-11 2:52 
QuestionIs file mapping supported in microsoft .net framework Pin
Danzy831-Jul-11 5:26
Danzy831-Jul-11 5:26 
AnswerRe: Is file mapping supported in microsoft .net framework Pin
Ennis Ray Lynch, Jr.1-Jul-11 6:06
Ennis Ray Lynch, Jr.1-Jul-11 6:06 
QuestionHow do I monitor bytes per second written or read from a directory (and sub-directories)? Pin
bbranded1-Jul-11 5:16
bbranded1-Jul-11 5:16 
AnswerRe: How do I monitor bytes per second written or read from a directory (and sub-directories)? Pin
Dave Kreskowiak1-Jul-11 7:14
mveDave Kreskowiak1-Jul-11 7:14 
GeneralRe: How do I monitor bytes per second written or read from a directory (and sub-directories)? Pin
bbranded1-Jul-11 9:10
bbranded1-Jul-11 9:10 
GeneralRe: How do I monitor bytes per second written or read from a directory (and sub-directories)? Pin
Dave Kreskowiak1-Jul-11 11:07
mveDave Kreskowiak1-Jul-11 11:07 
Questionquestion Pin
ivan_go1-Jul-11 1:57
ivan_go1-Jul-11 1:57 
AnswerRe: question PinPopular
Pete O'Hanlon1-Jul-11 2:19
mvePete O'Hanlon1-Jul-11 2:19 
QuestionConvert SQL Data Type To C# Pin
Kevin Marois30-Jun-11 15:49
professionalKevin Marois30-Jun-11 15:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.