12
|1 Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP This document describes installation and use of the LabVIEW Driver for SMARTDAC+ GX/GP. Installing the LabVIEW Driver 1. Double-click the downloaded ZIP file to unzip it. 2. Copy the created folder (Yokogawa GX Series) to the LabVIEW driver installation folder. Example of the driver installation folder with LabVIEW 2009: C:\Program Files\National Instruments\LabVIEW 2009\instr.lib Folder structure (Yokogawa GX Series) Yokogawa GX Series\ Examples\ Functional check, application examples (for a list of applications, see Table 1, attached) Private\ Library VI (user does not call directly) Public\ Library VI (user calls directly) (For a VI list, see Table 2, attached) Yokogawa GX Series Readme.html Readme file Yokogawa GX Series VI List.txt VI list text file dir.mnu Palette file Yokogawa GX Series.aliases Files used by LabVIEW Yokogawa GX Series.lvlib Yokogawa GX Series.lvlps Yokogawa GX Series.lvproj

Installation Guide: LabVIEW Driver for SMARTDAC+ · PDF file|1 Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP This document describes installation and use of the LabVIEW Driver

Embed Size (px)

Citation preview

Page 1: Installation Guide: LabVIEW Driver for SMARTDAC+ · PDF file|1 Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP This document describes installation and use of the LabVIEW Driver

|1

Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP

This document describes installation and use of the LabVIEW Driver for SMARTDAC+ GX/GP.

Installing the LabVIEW Driver

1. Double-click the downloaded ZIP file to unzip it. 2. Copy the created folder (Yokogawa GX Series) to the LabVIEW driver installation folder.

Example of the driver installation folder with LabVIEW 2009: C:\Program Files\National Instruments\LabVIEW 2009\instr.lib

Folder structure (Yokogawa GX Series)

Yokogawa GX Series\ Examples\ Functional check, application examples (for a list of applications, see Table 1, attached)

Private\ Library VI (user does not call directly)

Public\ Library VI (user calls directly)

(For a VI list, see Table 2, attached)

Yokogawa GX Series Readme.html Readme file

Yokogawa GX Series VI List.txt VI list text file

dir.mnu Palette file

Yokogawa GX Series.aliases Files used by LabVIEW

Yokogawa GX Series.lvlib

Yokogawa GX Series.lvlps

Yokogawa GX Series.lvproj

Page 2: Installation Guide: LabVIEW Driver for SMARTDAC+ · PDF file|1 Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP This document describes installation and use of the LabVIEW Driver

|2

Running an Example VI

1. Start LabVIEW. 2. Click Open > Browse, then open Yokogawa GX Series.lvproj (under Yokogawa GX Series, which

was copied to the LabVIEW driver installation folder in the previous section). 3. Select Project: Yokogawa GX Series.lvproj > My Computer > Examples.

4. Double-click one of the seven VIs under Examples.

1. For Ethernet connections Select one of the VIs with "Ether" in the name.

2. For Serial connections: when the GX/GP interface is RS-232 Select one of the VIs with "RS232C" in the name.

3. For Serial connections: when the GX/GP interface is RS-422/485 Select one of the VIs with "RS422" in the name.

Page 3: Installation Guide: LabVIEW Driver for SMARTDAC+ · PDF file|1 Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP This document describes installation and use of the LabVIEW Driver

|3

5. Under VISA resource name, enter one of the following. 1. For Ethernet connections

Ex: If the GX's IP address is 192.168.0.2 Enter TCPIP::192.168.0.2::34434::SOCKET.

2. For Serial connections Ex: For COM1 on the PC Enter COM1.

6. Click the Run button on the menu bar to run the VI.

Page 4: Installation Guide: LabVIEW Driver for SMARTDAC+ · PDF file|1 Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP This document describes installation and use of the LabVIEW Driver

|4

Getting information about a VI

For a description of a VI's functions, click File > VI properties. In the VI Properties dialog box select Document in the Category list. The information appears.

Page 5: Installation Guide: LabVIEW Driver for SMARTDAC+ · PDF file|1 Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP This document describes installation and use of the LabVIEW Driver

|5

Getting information on VI input items

For a description of VI input items, right-click the desired item in the VI front panel, then select Description and hints. The information appears.

Page 6: Installation Guide: LabVIEW Driver for SMARTDAC+ · PDF file|1 Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP This document describes installation and use of the LabVIEW Driver

|6

Table 1: List of applications in the Example directory

Yokogawa GX20 Acquire Continuous Measurement Data Example Ether_RS232C Single.vi

Displays measured data via Ethernet or RS-232C.

The Start Channel and End Channel are specified with the following characters.

・ IO channel: 4-digit number (ex: the 1st ch of slot 0 is 0001)

・ Math channel: "A" + 3-digit number

・ Comm. channel: "C" + 3-digit number

Yokogawa GX20 Acquire Continuous Measurement Data Example Ether Multiple.vi

Displays measured data via Ethernet. Displays multiple GX/GP data on 1 graph. Channels specified in the same way as above.

Yokogawa GX20 Acquire Continuous Measurement Data Example RS422.vi

Displays measured data via RS-422/485. Channels specified in the same way as above.

Yokogawa GX20 Save File Data Example Ether_RS232C.vi

Saves GX/GP data on the PC via Ethernet or RS-232C.

・ When File Type is 1: Saves a screenshot to the file name under File Name in the PC's directory specified at the Save Path.

・ When File Type is 2: Saves setup data to the file name under File Name in the PC's directory specified at the Save Path.

・ When File Type is 3: Saves GX/GP data to the file name in the PC's directory specified at the Save Path.

Yokogawa GX20 Save File Data Example RS422.vi

Saves GX/GP data on the PC via RS-422/485. Usage is same as above.

Yokogawa GX20 Start Compute Example Ether_RS232C.vi

Starts GX/GP computation via Ethernet or RS-232C.

Yokogawa GX20 Start Compute Example RS422.vi

Starts GX/GP computation via RS-422/485.

Page 7: Installation Guide: LabVIEW Driver for SMARTDAC+ · PDF file|1 Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP This document describes installation and use of the LabVIEW Driver

|7

Table 2: VI List

Close.vi Closes communication with the GX/GP.

Initialize.vi Starts communication with the GX/GP.

VI Tree.vi VI list

<Action-Status>

Clear Computation.vi Clears computation.

Clear Data.vi Clears measured data and settings.

Query Status Information.vi Queries the instrument status.

Reset Computation.vi Resets computation.

Send Manual Operation.vi Performs alarm ACK, manual sampling, triggering of record start, snapshot, and data file recording.

Set Current Date Time.vi Sets the current date and time.

Start Computation.vi Starts computation.

Stop Computation.vi Stops computation.

Write Display Message.vi Writes messages.

<Configure>

Configure AI Module.vi Configures AI modules.

Configure AI Moving Average.vi Configures the moving average of AI channels.

Configure Alarm Basic.vi Configures basic settings for alarms.

Configure Alarm Delay Com.vi Configures the alarm delay for communication channels.

Configure Alarm Delay IO.vi Configures the alarm delay for IO channels.

Configure Alarm Delay Math.vi Configures the alarm delay for math channels.

Configure Alarm Hysteresis Com.vi Configures the alarm hysteresis for communication channels.

Configure Alarm Hysteresis IO.vi Configures the alarm hysteresis for IO channels.

Configure Alarm Hysteresis Math.vi Configures the alarm hysteresis for math channels.

Configure Alarm IO.vi Configures alarms for IO channels.

Configure Alarm Mark Com.vi Configures alarm marks for communication channels.

Configure Alarm Mark IO.vi Configures alarm marks for IO channels.

Configure Alarm Mark Math.vi Configures alarm marks for math channels.

Configure Alarm Math.vi Configures alarms for math channels.

Configure Bar Graph (Com).vi Configures bar graph display for communication

Page 8: Installation Guide: LabVIEW Driver for SMARTDAC+ · PDF file|1 Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP This document describes installation and use of the LabVIEW Driver

|8

channels.

Configure Bar Graph (IO).vi Configures bar graph display for IO channels.

Configure Bar Graph (Math).vi Configures bar graph display for math channels.

Configure Bar Graph Direction.vi Configures the direction of bar graph displays.

Configure Batch Text.vi Configures the batch text.

Configure Batch.vi Configures basic settings for the Batch function.

Configure Barnout RJC Configures Burnout and RJC for AI channels.

Configure Calender.vi Configures the first day of the week.

Configure Calib (IO).vi Configures the input calibration for AI channels.

Configure Channel (AIDI Delta).vi Configures the input range for AI channels (DI, difference calc.).

Configure Channel (AIDI Normal).vi Configures the input range for AI channels (DI).

Configure Channel (AIDI Scale).vi Configures the input range for AI channels (DI, linear scaling).

Configure Channel (Com).vi Configures the input for communication channels.

Configure Channel (DI Delta).vi Configures the input range for DI channels (difference calc.).

Configure Channel (DI Normal).vi Configures the input range for DI channels.

Configure Channel (DI Scale).vi Configures the input range for DI channels (linear scaling).

Configure Channel (GS Scale).vi Configures the input range for AI channels (GS, linear scaling).

Configure Channel (GS Sqrt).vi Configures the input range for AI channels (GS, square root).

Configure Channel (Math).vi Configures the input for math channels.

Configure Channel (Off) AI.vi Turns OFF AI channels.

Configure Channel (Off) Com.vi Turns OFF communication channels.

Configure Channel (Off) DI.vi Turns OFF DI channels.

Configure Channel (Off) Math.vi Turns OFF math channels.

Configure Channel (RTD Delta).vi Configures the input range for AI channels (RTD, difference calc.).

Configure Channel (RTD Normal).vi Configures the input range for AI channels (RTD).

Configure Channel (RTD Scale).vi Configures the input range for AI channels (RTD, linear scaling).

Page 9: Installation Guide: LabVIEW Driver for SMARTDAC+ · PDF file|1 Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP This document describes installation and use of the LabVIEW Driver

|9

Configure Channel (TC Delta).vi Configures the input range for AI channels (TC, difference calc.).

Configure Channel (TC Normal).vi Configures the input range for AI channels (TC).

Configure Channel (TC Scale).vi Configures the input range for AI channels (TC, linear scaling).

Configure Channel (Volt Delta).vi Configures the input range for AI channels (voltage, difference calc.).

Configure Channel (Volt Normal).vi Configures the input range for AI channels (voltage).

Configure Channel (Volt Scale).vi Configures the input range for AI channels (voltage, linear scaling).

Configure Channel (Volt Sqrt).vi Configures the input range for AI channels (voltage, square root).

Configure Channel Display Com.vi Configures the display settings for communication channels.

Configure Channel Display IO.vi Configures the display settings for IO channels.

Configure Channel Display Math.vi Configures the display settings for math channels.

Configure CheckSum.vi Configures the checksum settings.

Configure Computation Constant.vi Configures computation constants.

Configure Data Save.vi Configures save settings for recorded data.

Configure Date Basic.vi Configures clock settings.

Configure Date Format.vi Configures the date and time format.

Configure DI Module.vi Configures DI modules.

Configure Display Basic.vi Configures display settings.

Configure Display Data.vi Configures the display interval and display data recording interval.

Configure DO Alarm.vi Configures DO for alarm output.

Configure DO Manual.vi Configures DO for manual output.

Configure DST.vi Configures daylight saving time.

Configure Event Action.vi Configures event/actions.

Configure Event Data.vi Configures event data.

Configure Fail Relay.vi Configures Fail output.

Configure Group.vi Configures channel groups.

Configure Internal Switch.vi Configures internal switches.

Page 10: Installation Guide: LabVIEW Driver for SMARTDAC+ · PDF file|1 Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP This document describes installation and use of the LabVIEW Driver

|10

Configure Interval.vi Configures the measurement interval.

Configure Language.vi Configures the language and decimal places.

Configure Match Time Timer.vi Configures the match time timer.

Configure Math Basic.vi Configures basic settings for math.

Configure Math Rolling Average.vi Configures the rolling average for math channels.

Configure Memory.vi Configures the recorded data types.

Configure Message Basic.vi Configures the message writing operation.

Configure Message.vi Configures messages.

Configure Partial Com.vi Configures partial zoom in/out for communication channels.

Configure Partial IO.vi Configures partial zoom in/out for IO channels.

Configure Partial Math.vi Configures partial zoom in/out for math channels.

Configure Record Data (Display).vi Configures channels for recording display data.

Configure Record Data (Event).vi Configures channels for recording event data.

Configure Record Data (Manual).vi Configures channels for recording manual sample data.

Configure Scale Band Com.vi Configures the scale display for communication channels.

Configure Scale Band IO.vi Configures the scale display for IO channels.

Configure Scale Band Math.vi Configures the scale display for math channels.

Configure Scale Over.vi Configures the operation upon scale over.

Configure Tag Com.vi Configures tags for communication channels.

Configure Tag IO.vi Configures tags for IO channels.

Configure Tag Math.vi Configures tags for math channels.

Configure Time Zone.vi Configures the time zone.

Configure Timer (Absolute).vi Configures the timer for absolute time.

Configure Timer (Relative).vi Configures the timer for relative time.

Configure TLOG.vi Configures TLOG for math channels.

Configure Trend Line.vi Configures the line width and display area grid for trend display waveforms.

Configure Trend Partial.vi Configures enable/disenable for partial zoom in/out of trends

Configure Trend Rate.vi Configures switching of the trend update rate.

Page 11: Installation Guide: LabVIEW Driver for SMARTDAC+ · PDF file|1 Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP This document describes installation and use of the LabVIEW Driver

|11

Configure Trend Scale.vi Configures the scale for the trend display.

Configure Trend Wave.vi Configures the display method for trend waveforms.

Configure Trip Line.vi Configures the trip line for each display group.

Configure Value (Com).vi Configures presets for math channels.

Configure Value (IO).vi Configures character strings for max/min values of IO channels.

Set Batch Comment.vi Configures batch comments.

Set Batch Name.vi Configures batch names.

Set Batch Text.vi Configures the batch text.

<Data>

Abort.vi Stops recording.

Fetch File Data.vi Acquires snapshots, settings files, and GX/GP internal files.

Fetch Measurement Data.vi Acquires measured data.

Fetch Unit Data.vi Acquires the units and decimal places.

Initiate.vi Starts recording.

Get Internal Dir.vi Acquires a list of files in the GX/GP internal directory.

Read File Data.vi Acquires snapshots, settings files, and GX/GP internal files.

Read Measurement Data (Analog 1Chan).vi Reads measured data (analog, 1 ch).

Read Measurement Data (Analog NChan).vi Reads measured data (analog, multich).

Read Measurement Data (Diginal 1Chan).vi Reads measured data (digital, 1 ch).

Read Measurement Data (Digital NChan).vi Reads measured data (digital, multich).

Read Measurement Data (Raw 1Chan).vi Reads measured data (all data, 1 ch).

Read Measurement Data (Raw NChan).vi Reads measured data (all data, multich).

Read Measurement Data (Unit 1Chan).vi Reads measured data (units, 1 ch).

Read Measurement Data (Unit NChan).vi Reads measured data (units, multich).

Write Setting File Data.vi Writes the contents of the settings file to the GX/GP.

<Utility>

Close RS422A.vi Stops RS422 communication.

Open RS422A.vi Starts RS422 communication.

Revision Query.vi Queries the revision number.

Page 12: Installation Guide: LabVIEW Driver for SMARTDAC+ · PDF file|1 Installation Guide: LabVIEW Driver for SMARTDAC+ GX/GP This document describes installation and use of the LabVIEW Driver

|12

Yokogawa Electric Corp. [email protected] www.yokogawa.com/ns/

Issued in September, 2013 ©copyright Yokogawa Electric Corporation