Jump to content
OMRON Forums

Read in variable vlues from a file?


tanakakai
 Share

Recommended Posts

I'm using a DT to automate some lab tests right now (just using it as data collection and DAC), and I was hoping to be able to read a test matrix from a file so that I can change my test parameters without changing the code. Is there a way to read in a text file and parse it so that it can be comprehended by our PMAC?
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Hi,

 

Sure, you can read any file loaded on Power PMAC through C easily using the standard fopen() function. See any of the following two posts for more details:

 

FSAVE on PPMAC (allows you to save certain chunks of memory to built-in flash memory whenever you want):

 

http://forums.deltatau.com/showthread.php?tid=1743

 

or accessing USB/SD cards through PPMAC (discusses saving to and accessing from plugged-in flash memory through USB/SD):

 

http://forums.deltatau.com/showthread.php?tid=1701&highlight=usb

 

Please let me know if you have additional questions after reading these documents.

 

(second post)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...