tanakakai Posted September 8, 2014 Share Posted September 8, 2014 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 More sharing options...
tanakakai Posted September 9, 2014 Author Share Posted September 9, 2014 To clarify, I would like to load data from a file to change the values of certain global variables. Link to comment Share on other sites More sharing options...
Omron Forums Support Posted September 15, 2014 Share Posted September 15, 2014 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 More sharing options...
Recommended Posts