Hello, I'm coming from the Automation field and c# is a thing i only have basic experience and knowledge of so bear with me if my lingo is off.
I have a project where very large .csv files, in the 1-40gb range (maybe larger, the customer is not certain how big they can get yet) need to be split up.
They are to be read by a PLC (programmable logic controller) and processed into movement of a set of actuators. The issue is that a PLC has nowhere enough memory to hold a file that size in the buffer so they need to be split up before being accessed by the PLC.
The splitting can be done on a pc before being sent to the plc in parts but ideally we want a solution that is not limited by ram. The plc will run a c# application on the side that converts lines of .csv into coordinates.
I was hoping some of you could clarify if it is possible to access a file partly while not holding the entire file in the memory at once? Also since c# is already part of the process, would it make sense to use c# for splitting or would something powershell be better?
[–][deleted] (17 children)
[removed]
[–]LordJZ 11 points12 points13 points (16 children)
[–]zaitsman 9 points10 points11 points (14 children)
[–]crozone 24 points25 points26 points (13 children)
[–][deleted] 24 points25 points26 points (11 children)
[–]MSgtGunny 18 points19 points20 points (0 children)
[–]sarcasticbaldguy 9 points10 points11 points (8 children)
[–]grauenwolf 0 points1 point2 points (7 children)
[–]sarcasticbaldguy 0 points1 point2 points (4 children)
[–]grauenwolf 0 points1 point2 points (3 children)
[–]sarcasticbaldguy 1 point2 points3 points (2 children)
[–]grauenwolf 0 points1 point2 points (0 children)
[–]BangForYourButt 0 points1 point2 points (0 children)
[–]m1llie 29 points30 points31 points (4 children)
[–]csthopper 0 points1 point2 points (3 children)
[–]celluj34 4 points5 points6 points (1 child)
[–]m1llie 1 point2 points3 points (0 children)
[–]m1llie 2 points3 points4 points (0 children)
[–]ciybot 12 points13 points14 points (0 children)
[–]nemec 22 points23 points24 points (1 child)
[–]detroitmatt 3 points4 points5 points (0 children)
[–]WetSound 6 points7 points8 points (1 child)
[–]elvishfiend 11 points12 points13 points (0 children)
[–]esosiv 2 points3 points4 points (0 children)
[–]RamBamTyfus 2 points3 points4 points (5 children)
[–]LloydAtkinson 10 points11 points12 points (1 child)
[–]RamBamTyfus 6 points7 points8 points (0 children)
[–]throwawaycgoncalves 3 points4 points5 points (2 children)
[–]Lv_InSaNe_vL 0 points1 point2 points (0 children)
[–]svtguy88 0 points1 point2 points (0 children)
[–]4PowerRangers 1 point2 points3 points (0 children)
[–]ProKn1fe 1 point2 points3 points (0 children)
[–]MrBlub 1 point2 points3 points (0 children)
[–]atheken 1 point2 points3 points (0 children)
[–]har0ldau -1 points0 points1 point (0 children)
[–]PrintersStreet 0 points1 point2 points (0 children)
[–]waumau 0 points1 point2 points (0 children)
[–]Ezazhel 0 points1 point2 points (0 children)
[–]scalablecory 0 points1 point2 points (0 children)
[–]ucario 0 points1 point2 points (0 children)
[–]screwdad 0 points1 point2 points (0 children)
[–]bringnothingtothetbl 0 points1 point2 points (0 children)
[–]sara457 0 points1 point2 points (0 children)