I have a mobile data application in which I will not have network access. I thought I could use the USB ports to write out a data file and store the data for later processing.
Is there anyway to store about 250MB of data without adding another computer to the mix?
While you can not access the USB ports for data storage, you can easily access the local 3Gb of user file space on the EPIC.
From PAC Control, you can open a com handle to the file space and read and write to there.
From Node-RED you can use a File Node to read and write from the local file space.
In either case, you can then FTP the file to an FTP server for long term storage and processing once you are back to a location where the EPIC has network.
That sounds like more than enough! I am new to OPTO22 and I am trying to read TCP data now through a comm handle. Is there any sample code on how to open one to the file space?
Beno - I read your “sketch” on how to use comm handles in charts and will be trying it today to unpack a hex message string.
Well I wasn’t aware of the restriction on the USB port, I guess I just assumed it would be same as R/S series in this respect. Unfortunately I told someone that it did access the USB ports, although, the primary reason for this feature is to allow for adding a USB drive and then using the strategy to load a new strategy and reboot.
I found that Mikrotik routers have a USB port that can be used for this purpose and then using the FTP commands in Epic and install and reboot or restart. Is it still possible to do this (with any FTP device) on Epic?
I know that Kyle said that restricting access to the ports was for security reasons, but why not give the developer that choice to decide if they want “to restrict , or not restrict”? It seems to me this would be a pretty simple change…?
USB access is on the road map, we just need to decide a few issues first.
As far as uploading a new strategy from a USB stick, this is also on the roadmap, but is not as straight forward as just copying a file over and rebooting.
Look for both of these features in future firmware updates.
I gather you have become a fan of Mikrotik and I thought I should mention here that most of the Mikrotik routers/switches come with a USB port on them. I have found that using this for a flash drive works pretty conveniently and the capability of fire wall rules for FTP is endless. It even has the capability of formatting the drive as well.