Industrial Automation
Industrial Automation | Europe

What is myOMRON?

Click here to find out

Search myKnowledge

Login

Username

Password



Register / Forgot password?

myKnowledge

Main > Product Type > Software > Visualisation
Minimize Text   Default    Enlarge Text
 

Print
E-mail

How Do I Export A Data Log To JPG In CX-Supervisor V3 VBScript?


You need to add the following line of VBScript to your script...

RunApplication("C:\Program Files\OMRON\CX-Supervisor\DataLogViewer.exe /export /file ""D:\Customer Projects\loggingdb1.mdb"" /outfile ""web.jpg"" /type jpg /quality 80")
 
loggingdb1.mdb is the filename of the data you want to see as the jpg (This must be in the correct format for the Data Log Viewer). This can also be a DLV file (the native format for DLV).
 
web.jpg is the destination jpeg filename.
 
Note: The double sets of quotes are required VBScript syntax
 
 




Comments (View All Comments / Add Comment)

Related Articles
What Are The Syntax Differences Between VBScript and CX-Supervisor Script?
VBScript has some minor syntax differences to CX-Supervisor script. The most important are: Boolean equality test == is only = in VBScript. Boolean...
How To Send An Email Alert From A PC?
This can be achieved with the standard Microsoft object CDO.Message. This requires the use of the following VBScript: set r = createobject (...
How Do I Change The Default Printer From Within CX-Supervisor?
  You can change the default printer using VBScript: Add the following VBScript to your project when you want to change the printer: Set WSHNetwork =...
 
Created 2010-02-19
Modified 2010-03-11
Views 110

 

You are not logged in.