Hi everyone,

This is probably an elementary question and I may be using the wrong 
terminology, so I apologise.

My app takes measurements from a HP Data Acquisition unit (DAU). I push 
commands out to the DAU and wait for the values returned on a serial port 
(AMSerialPort).

I have it sort of working now. I have the UI bound to properties in the 
AppController. I created a custom DAUCommand class which has all the command 
information and also the keys to the AppController properties, so I write the 
command to the serial port and wait for the data to return. As the data comes 
in, I set the values of the AppController properties, which in turn updates the 
UI. But I feel this is not the best way to go about it.

Eventually I will need to keep the individual measurements for storage in a 
file.

Has Cocoa got an easy way of doing this type of thing and what is the best 
practice?
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to