Emerson Exchange 365
Sign-In / Register
Site
Sign-In/Register
Community Hubs
DeltaV Community Connect
Ovation Users Group
Asset Management
Measurement Instrumentation
Valves, Actuators & Regulators
Fluid Control & Pneumatics
Electrical Components & Lighting
Welding, Assembly & Cleaning
Perspectives
Emerson Automation Experts
Conferences
San Antonio 2025
Düsseldorf 2024
Immerse - Anaheim 2023
Grapevine 2022
Industries
More
Life Sciences
Discussions / Questions
How to command an EM from button in DeltaV Live
Life Sciences Discussions / Questions
Blog
Library/Resources
Members
Tags
More
Cancel
Create New Post
Comment or Question? Become a member of this Emerson Exchange 365 group. Click here to join.
jlustri
27 Aug 2015 11:48 AM
Interesting topics at Emerson Exchange
0 Replies
Michalle Adkins
12 Aug 2015 6:09 PM
Life Sciences at Emerson Exchange
0 Replies
Michalle Adkins
18 Jun 2015 1:23 AM
Managing Data Through the Product Lifecycle
0 Replies
bhaskarvs
17 Jun 2015 4:29 PM
Tracking Hygienic Status of Component Prep Parts (Clamps, Forceps, Scissors...)
4 Replies
Michalle Adkins
12 May 2015 4:52 PM
Compliance, Audit Readiness, CPV, Data Integrity
0 Replies
<
>
Similar Posts
DeltaV Live layout issue
Combo box scripting in DeltaV Live
Saving the Environment While Saving Lives
What Do You Do for a Living?
How to convert an Integer to String in DeltaV
Share
Not Answered
How to command an EM from button in DeltaV Live
I'm struggling to create a new button in DV Live which functions to command multiple EMs to Idle. I'm using WriteAsync function as below. The A_COMMAND.CV parameter is a named set value. The Idle command has named set value of 1. The script verifies without errors but when I test it, the command is not written. I'm sure it's something to do with a type/field mismatch but I've tried so many combinations and can't get it to work.
DLSYS.WriteAsync("EM_Name/A_COMMAND.CV",1)
DeltaV Live
1 Reply
AutoEngineer1
4 Feb 2025 4:10 PM
Solved it finally. Writing string to string works so:
DLSYS.WriteAsync("EM_Name/A_COMMAND.CV.STR", 'Idle')
The single rather than double quotation tripped me up.