29
Manual Supplement
00809-0300-4570, Rev BA
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Edit script
1.
Select
Edit Script
to open the Microsoft
®
Visual Basic
®
program. Place the cursor in the correct
position to edit the script which runs when the button is pushed.
The need for a script is to launch the viewer from a remote server so it is not resident on the DeltaV
Pro Plus station.
Modbus is used to make a read request for register 49990, which is seen by the 3DVision server
software as a request to generate the 3D image from the 5708 transmitter. The script will launch the
image viewer software and show the 3D image file from the remote server. The ‘task kill’ command
prevents the operator from opening multiple 3D images simultaneously.
When
Edit Script
is selected, a window will pop open and the cursor will be in the correct position to
enter the following format:
SHELL (“\\Server_Name\Path_to_Image_Viewer_Software \\Server_Name\Location_of_3D_Image
Name of Image File”), vbNormalFocus
SHELL (“taskkill.exe /im visualvision3dviewer.exe”)
Below is the script command used in the Rosemount Lab:
Shell ("\\usrtc-smartlab1\c\program files
(x86)\3DVisionEmrsn\binclient\bin\visualvision3dviewer.exe \\usrtc-smartlab1\c\3dvision 1"),
vbNormalFocus
Shell ("taskkill.exe /im visualvision3dviewer.exe")