Good morning!
I've run into a stopping point with a Visual Basic task on a View Studio SE project and was wondering if anyone could point me in the right direction.
The process involves loading parameters from a text file into an array in a Control Logix PLC after a load button is presses.
The reverse then needs to be accomplished after the save button is pressed. The parameters need to be taken from the array and placed into a text file.
The first part has been sorted using a bit of VB script that utilises the command line in View Studio by sending a set instruction:
I have tried to do the reverse but there doesn't appear to be a "read/get" command to do the opposite of set for the command interface in View Studio.
The RecipeSave command is close but just won't cut it in these circumstances since I can't display all of this data on a single screen .
Does anyone know of way to accomplish this?
I've run into a stopping point with a Visual Basic task on a View Studio SE project and was wondering if anyone could point me in the right direction.
The process involves loading parameters from a text file into an array in a Control Logix PLC after a load button is presses.
The reverse then needs to be accomplished after the save button is pressed. The parameters need to be taken from the array and placed into a text file.
The first part has been sorted using a bit of VB script that utilises the command line in View Studio by sending a set instruction:
Code:
Application.ExecuteCommand ("set [CLX]Recipe.Line1 " & Chr(34) & TextLine & Chr(34))
I have tried to do the reverse but there doesn't appear to be a "read/get" command to do the opposite of set for the command interface in View Studio.
The RecipeSave command is close but just won't cut it in these circumstances since I can't display all of this data on a single screen .
Does anyone know of way to accomplish this?