How to make a valve in control editor?

I want to make a control function in Labview5.0,but I don't know how to make it,for example I will make a valve that is a control funtion,how to make it properly

If you were to go to Search Examples>Demonstrations>Process Control>Control Mixer Process, you'll find a VI with several custom controls including a valve. All it is is a boolean with custom images. To make your own, use a drawing program like Paint and make images of your valve in the open and closed state. Place a boolean control on a VI's front panel and choose Edit Control from the Edit menu. Once in the control editor go to customize mode. Choose Import Picture From File from the Edit menu. Right click the boolean control and choose Picture Item to Replace to determine which picture to replace with the one from file (a boolean actually uses 4 pictures but you only need to replace the first two which are the true and false states). Right click again and
choose either Import Picture or Import at Same Size. Repeat for the other boolean state with a different picture. You should save your changes as a .ctl so that you can easily use it again.

Similar Messages

  • How to make JPanel as JTable Cell Editor (Urgent help needed)

    Hi!
    I want to make JPanel (with a JTextField, 3 JLabels and 1 JTextArea) as cell editor for one column. Can somebody help me on this?
    Does anybody have any sample code? I will greatly appreciate ur help.
    Thanks,
    Snehal

    Okie. In "How to use JTables" page found in the JAVA website (there is a link from the JTable section of the JAVA API documentation), there is a sample code for a sample color chooser. What this does is, adds a button with its action listener set to pop up a color chooser window. In this, rendering is still through a JLabel.
    This example would be of good help to you. Plus, this example gives me a feeling that what u ask is possible.

  • How to make non-visibl​e Control on Front Panel Appear at Design Time?

    I have some Controls on the Front Panel whose visibility is changed (turned on or off) at Run Time. The problem is that if I stop the Run time, the Visibility of the Control remains in the runtime state in Design mode. So I may not be able to see or find the Control to make changes in Deisgn mode.
    How can I make all Controls on the Front Panel visible, or find and make visible a Control on the Front Panel whose Visibility has been made False?
    THANKS.
    Solved!
    Go to Solution.

    This is documented in the LabVIEW Help.
    Displaying Hidden Front Panel Objects
    Complete the following steps to display a hidden front panel control or indicator. You also can hide front panel controls and indicators.
    Find the block diagram terminal for the object. If you have several terminals with the same data type, right-click the terminals and select Visible Items»Label from the shortcut menu. Find the object with the label that matches the hidden front panel object.
    Right-click the terminal and select Show Control from the shortcut menu if the object is a control or Show Indicator if the object is an indicator.
    You also can use the Visible property to display controls and indicators programmatically.
    You also can display all hidden front panel controls and indicators.
    Path: Fundamentals -> Building the Front Panel -> How-To -> Configuring Front Panel Objects -> Displaying Hidden Front Panel Objects.

  • How to make my waveform in control and design simulation run continuously?

    Hi all, i m a begineer of Labview and have some question to ask.
    I am using the Labview to design and implement a controller for FOPTD system, but i found that the waveform in the "control and simulation loop" is not running continuously. I mean it keep repeat in the same graph from 0 to 10second. Is there any approach to make it run continuously? 
    Thankyou very much.
    Solved!
    Go to Solution.
    Attachments:
    Project 1.png ‏12 KB
    Project 2.png ‏18 KB

    Well, my suggestion then is to do the following: change final time from Inf back to 10 s (or whatever number that capture the whole simulation) and do a while loop around the Control and Simulation Loop with a "wait until next ms" function to give you time to react and change parameters, like this below. This would make LabVIEW to do the whole simulation, wait for 1000 ms and then, run the simulation again with new parameters. If you need more time, just need to change the constant wired to the "wait until next milisecond".
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • How to make default value for controlling area for MDG-F 7.0

    how do we default certain pre-defined values for few fields? e.g. controlling area or company code for MDG finance?
    Thank you in advance.
    SP

    Hello Sahil
    Account and CC/PC are 2 different entity types. For PC and CC there is dependency. First you have to load Cost centers and then load PC.
    For CC - load CC master data first. Then load hierarchy file then group file and finally assignment file.
    Follow same process for PC.
    GL you can load independently but you have first load group GL then operational GL and then GL at company code level,
    Kiran

  • Student newspaper: how to make it easy for student editors/writers

    Hi,
    We've been working with InDesign for a few years now and one problem we've always had is each person works on their individual page and at the end of the process the production editor puts all these pages together into one document. Archaic, I know.
    I'm looking for advice on how to improve this process. My research says moving to integrate InCopy is a must but what I'd like to learn more about is InDesign Server. If I understand it correctly, it would allow writers and editors to log in via the Web in a browser to put their content onto the page. I want to be able to release the writers and editors from having to come into the office to work on their assignments and like the idea that they could "write to fit".
    Thoughts?

    function(){return A.apply(null,[this].concat($A(arguments)))}
    But if every person is creating a whole page, why do you not use indb fies to put it together?
    Ah, I second this. Create a template file for the one page, with the correct size and margins and as much styles as needed (paragraph, character, table, object), as well as all allowed color swatches (if none are needed, remove the existing ones). "Open" the template to get a copy as a normal file, and hand this over with instructions for Paragraph Style usage (and any other styles), and when the writer is done, glue it into a Book file to have the page numbering updated.

  • JTree - How to make Check box as cell editor?

    Dear Swing developers,
    I am planning to make a editable JTree with each node having a JCheckbox. I am kind of stuck at defining the cell editor, any suggestion?
    thanks
    -jay

    take the answer there :
    http://www.mutualinstrument.com/Easy/FAQ/Tree/tree.html

  • How I make the Web Browser Control to display a PDF in Windows 8

    I have an application that run ok in previous version of windows,  Where I can load a PDF file and the web browser control automatically use the Reader OCX of Adobe,, After Install windows 8 and download the reader for windows 8 still get and (X) where the document should be displayed.  I use the following command in my program to force the windows 8 to use the same web browser (10) in my web browser control.
    WebBrowser1.Navigate(DocumentName,"",Nothing,"User-Agent:Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)")
    But still get an  (X). IF I use the URL that is in the property of the (X) and paste in my regular IE10, it open the PDF file.

    Adobe Reader Touch is a Windows Store app and does not install a browser add-on/plug-in for "in-browser" PDF viewing.
    You can either
    Install Adobe Reader XI (desktop app) which installs browser plug-ins for Microsoft IE and Mozilla Firefox
    Use Google Chrome, which has a built-in PDF viewer (enabled by default)

  • How to make Eclipse as a Default Editor against Xcode?

    The boring way with Get Info > Open with > Change All  bla .. bla .. bla .. doesn't work actually. When i set these way for a type .php (for example), it always open with XCode next time. I've set File Association inside Eclipse already.
    But whatever, it doesn't work. So how to solve it please Mr Apple?

    Check
    Variant as default

  • How to make a device selector control?

    Hello all,
    Some months ago I saw a simple control that allowed me to select device/channel, but now I just cannot find it (either in Google or in CVI).
    Right now I am using DAQmxGetSystemInfoAttribute() and DAQmxGetDeviceAttribute() functions to query the available channels.
    Thanks for the help in advance!
    Yours,
    Adrian
    Solved!
    Go to Solution.

    This KnowledgeBase entry can help you in configuring the controls.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to make a double trackbar control in VB 2010

    I'm suing VB 2010 Express and I need to create a trackbar control with double trackbars.
    I can't find "Doubletrackbar" control from Toolbox. I searched online and found one post toking about it (http://www.vbforums.com/showthread.php?620394-WIP-Double-TrackBar). Unfortunately, I can't use the code in the post.   Anyone can
    help?
    Thank you very much.

    Hi,
     Whoever made it did not have Option Strict turned on and there was also a namespace that was not imported. I just went through the code and fixed all the errors and added the namespace. It seems to be working after that.
     Open your  project or even a new form project just to test it on. When the project is opened go to the VB Menu and click (Project) and then select (Add Class). You can leave it named as the default name "Class1.vb" if you want. When
    the empty class code opens, copy and paste the fixed code below in replacing the 2 lines of code that are generated automatically. Save the project.
     Then go to the VB Menu and click (Build) and select (Build YourProjectsName). After it is finished building you can go to the Forms [Design] tab and you will find the DoubleTrackBar control in the top of your toolbox.   8)
    Imports System.ComponentModel
    Public Class DoubleTrackBar
    Inherits Control
    Public Sub New()
    Me.DoubleBuffered = True
    Me.SetDefaults()
    End Sub
    Private Sub SetDefaults()
    'Added these to set to a decent size when a new one is added to the form
    Me.Width = 200
    Me.Height = 50
    Me.Orientation = Orientation.Horizontal
    Me.SmallChange = 1
    Me.Maximum = 400
    Me.Minimum = 0
    Me.ValueLeft = 0
    Me.ValueRight = 300
    End Sub
    #Region " Private Fields "
    Private leftThumbState As VisualStyles.TrackBarThumbState
    Private rightThumbState As VisualStyles.TrackBarThumbState
    Private draggingLeft, draggingRight As Boolean
    #End Region
    #Region " Enums "
    Public Enum Thumbs
    None = 0
    Left = 1
    Right = 2
    End Enum
    #End Region
    #Region " Properties "
    Private _SelectedThumb As Thumbs
    ''' <summary>
    ''' Gets the thumb that had focus last.
    ''' </summary>
    ''' <returns>The thumb that had focus last.</returns>
    <Description("The thumb that had focus last.")> _
    Public Property SelectedThumb() As Thumbs
    Get
    Return _SelectedThumb
    End Get
    Private Set(ByVal value As Thumbs)
    _SelectedThumb = value
    End Set
    End Property
    Private _ValueLeft As Integer
    ''' <summary>
    ''' Gets or sets the position of the left slider.
    ''' </summary>
    ''' <returns>The position of the left slider.</returns>
    <Description("The position of the left slider.")> _
    Public Property ValueLeft() As Integer
    Get
    Return _ValueLeft
    End Get
    Set(ByVal value As Integer)
    If value < Me.Minimum OrElse value > Me.Maximum Then
    Throw New ArgumentException(String.Format("Value of '{0}' is not valid for 'ValueLeft'. 'ValueLeft' should be between 'Minimum' and 'Maximum'.", value.ToString()), "ValueLeft")
    End If
    If value > Me.ValueRight Then
    Throw New ArgumentException(String.Format("Value of '{0}' is not valid for 'ValueLeft'. 'ValueLeft' should be less than or equal to 'ValueRight'.", value.ToString()), "ValueLeft")
    End If
    _ValueLeft = value
    Me.OnValueChanged(EventArgs.Empty)
    Me.OnLeftValueChanged(EventArgs.Empty)
    Me.Invalidate()
    End Set
    End Property
    Private _ValueRight As Integer
    ''' <summary>
    ''' Gets or sets the position of the right slider.
    ''' </summary>
    ''' <returns>The position of the right slider.</returns>
    <Description("The position of the right slider.")> _
    Public Property ValueRight() As Integer
    Get
    Return _ValueRight
    End Get
    Set(ByVal value As Integer)
    If value < Me.Minimum OrElse value > Me.Maximum Then
    Throw New ArgumentException(String.Format("Value of '{0}' is not valid for 'ValueRight'. 'ValueRight' should be between 'Minimum' and 'Maximum'.", value.ToString()), "ValueRight")
    End If
    If value < Me.ValueLeft Then
    Throw New ArgumentException(String.Format("Value of '{0}' is not valid for 'ValueRight'. 'ValueRight' should be greater than or equal to 'ValueLeft'.", value.ToString()), "ValueLeft")
    End If
    _ValueRight = value
    Me.OnValueChanged(EventArgs.Empty)
    Me.OnRightValueChanged(EventArgs.Empty)
    Me.Invalidate()
    End Set
    End Property
    Private _Minimum As Integer
    ''' <summary>
    ''' Gets or sets the minimum value.
    ''' </summary>
    ''' <returns>The minimum value.</returns>
    <Description("The minimum value.")> _
    Public Property Minimum() As Integer
    Get
    Return _Minimum
    End Get
    Set(ByVal value As Integer)
    If value >= Me.Maximum Then
    Throw New ArgumentException(String.Format("Value of '{0}' is not valid for 'Minimum'. 'Minimum' should be less than 'Maximum'.", value.ToString()), "Minimum")
    End If
    _Minimum = value
    Me.Invalidate()
    End Set
    End Property
    Private _Maximum As Integer
    ''' <summary>
    ''' Gets or sets the maximum value.
    ''' </summary>
    ''' <returns>The maximum value.</returns>
    <Description("The maximum value.")> _
    Public Property Maximum() As Integer
    Get
    Return _Maximum
    End Get
    Set(ByVal value As Integer)
    If value <= Me.Minimum Then
    Throw New ArgumentException(String.Format("Value of '{0}' is not valid for 'Maximum'. 'Maximum' should be greater than 'Minimum'.", value.ToString()), "Maximum")
    End If
    _Maximum = value
    Me.Invalidate()
    End Set
    End Property
    Private _Orientation As Orientation
    ''' <summary>
    ''' Gets or sets the orientation of the control.
    ''' </summary>
    ''' <returns>The orientation of the control.</returns>
    <Description("The orientation of the control.")> _
    Public Property Orientation() As Orientation
    Get
    Return _Orientation
    End Get
    Set(ByVal value As Orientation)
    _Orientation = value
    End Set
    End Property
    Private _SmallChange As Integer
    ''' <summary>
    ''' Gets or sets the amount of positions the closest slider moves when the control is clicked.
    ''' </summary>
    ''' <returns>The amount of positions the closest slider moves when the control is clicked.</returns>
    <Description("The amount of positions the closest slider moves when the control is clicked.")> _
    Public Property SmallChange() As Integer
    Get
    Return _SmallChange
    End Get
    Set(ByVal value As Integer)
    _SmallChange = value
    End Set
    End Property
    Private ReadOnly Property RelativeValueLeft() As Double
    Get
    Dim diff As Double = Me.Maximum - Me.Minimum
    Return If(diff = 0, Me.ValueLeft, Me.ValueLeft / diff)
    End Get
    End Property
    Private ReadOnly Property RelativeValueRight() As Double
    Get
    Dim diff As Double = Me.Maximum - Me.Minimum
    Return If(diff = 0, Me.ValueLeft, Me.ValueRight / diff)
    End Get
    End Property
    #End Region
    #Region " Methods "
    Public Sub IncrementLeft()
    Dim newValue As Integer = Math.Min(Me.ValueLeft + 1, Me.Maximum)
    If Me.IsValidValueLeft(newValue) Then
    Me.ValueLeft = newValue
    End If
    Me.Invalidate()
    End Sub
    Public Sub IncrementRight()
    Dim newValue As Integer = Math.Min(Me.ValueRight + 1, Me.Maximum)
    If Me.IsValidValueRight(newValue) Then
    Me.ValueRight = newValue
    End If
    Me.Invalidate()
    End Sub
    Public Sub DecrementLeft()
    Dim newValue As Integer = Math.Max(Me.ValueLeft - 1, Me.Minimum)
    If Me.IsValidValueLeft(newValue) Then
    Me.ValueLeft = newValue
    End If
    Me.Invalidate()
    End Sub
    Public Sub DecrementRight()
    Dim newValue As Integer = Math.Max(Me.ValueRight - 1, Me.Minimum)
    If Me.IsValidValueRight(newValue) Then
    Me.ValueRight = newValue
    End If
    Me.Invalidate()
    End Sub
    Private Function IsValidValueLeft(ByVal value As Integer) As Boolean
    Return (value >= Me.Minimum AndAlso value <= Me.Maximum AndAlso value < Me.ValueRight)
    End Function
    Private Function IsValidValueRight(ByVal value As Integer) As Boolean
    Return (value >= Me.Minimum AndAlso value <= Me.Maximum AndAlso value > Me.ValueLeft)
    End Function
    Private Function GetLeftThumbRectangle(Optional ByVal g As Graphics = Nothing) As Rectangle
    Dim shouldDispose As Boolean = (g Is Nothing)
    If shouldDispose Then g = Me.CreateGraphics()
    Dim rect As Rectangle = Me.GetThumbRectangle(Me.RelativeValueLeft, g)
    If shouldDispose Then g.Dispose()
    Return rect
    End Function
    Private Function GetRightThumbRectangle(Optional ByVal g As Graphics = Nothing) As Rectangle
    Dim shouldDispose As Boolean = (g Is Nothing)
    If shouldDispose Then g = Me.CreateGraphics()
    Dim rect As Rectangle = Me.GetThumbRectangle(Me.RelativeValueRight, g)
    If shouldDispose Then g.Dispose()
    Return rect
    End Function
    Private Function GetThumbRectangle(ByVal relativeValue As Double, ByVal g As Graphics) As Rectangle
    Dim size As Size = TrackBarRenderer.GetBottomPointingThumbSize(g, VisualStyles.TrackBarThumbState.Normal)
    Dim border As Integer = CInt(size.Width / 2)
    Dim w As Integer = Me.GetTrackRectangle(border).Width
    Dim x As Integer = CInt(Math.Abs(Me.Minimum) / (Me.Maximum - Me.Minimum) * w + relativeValue * w)
    Dim y As Integer = CInt((Me.Height - size.Height) / 2)
    Return New Rectangle(New Point(x, y), size)
    End Function
    Private Function GetTrackRectangle(ByVal border As Integer) As Rectangle
    'TODO: Select Case for hor/ver
    Return New Rectangle(border, CInt(Me.Height / 2) - 3, Me.Width - 2 * border - 1, 4)
    End Function
    Private Function GetClosestSlider(ByVal point As Point) As Thumbs
    Dim leftThumbRect As Rectangle = Me.GetLeftThumbRectangle()
    Dim rightThumbRect As Rectangle = Me.GetRightThumbRectangle()
    If Me.Orientation = Windows.Forms.Orientation.Horizontal Then
    If Math.Abs(leftThumbRect.X - point.X) > Math.Abs(rightThumbRect.X - point.X) _
    AndAlso Math.Abs(leftThumbRect.Right - point.X) > Math.Abs(rightThumbRect.Right - point.X) Then
    Return Thumbs.Right
    Else
    Return Thumbs.Left
    End If
    Else
    If Math.Abs(leftThumbRect.Y - point.Y) > Math.Abs(rightThumbRect.Y - point.Y) _
    AndAlso Math.Abs(leftThumbRect.Bottom - point.Y) > Math.Abs(rightThumbRect.Bottom - point.Y) Then
    Return Thumbs.Right
    Else
    Return Thumbs.Left
    End If
    End If
    End Function
    Private Sub SetThumbState(ByVal location As Point, ByVal newState As VisualStyles.TrackBarThumbState)
    Dim leftThumbRect As Rectangle = Me.GetLeftThumbRectangle()
    Dim rightThumbRect As Rectangle = Me.GetRightThumbRectangle()
    If leftThumbRect.Contains(location) Then
    leftThumbState = newState
    Else
    If Me.SelectedThumb = Thumbs.Left Then
    leftThumbState = VisualStyles.TrackBarThumbState.Hot
    Else
    leftThumbState = VisualStyles.TrackBarThumbState.Normal
    End If
    End If
    If rightThumbRect.Contains(location) Then
    rightThumbState = newState
    Else
    If Me.SelectedThumb = Thumbs.Right Then
    rightThumbState = VisualStyles.TrackBarThumbState.Hot
    Else
    rightThumbState = VisualStyles.TrackBarThumbState.Normal
    End If
    End If
    End Sub
    Protected Overrides Sub OnMouseMove(ByVal e As System.Windows.Forms.MouseEventArgs)
    MyBase.OnMouseMove(e)
    Me.SetThumbState(e.Location, VisualStyles.TrackBarThumbState.Hot)
    Dim offset As Integer = CInt(e.Location.X / (Me.Width) * (Me.Maximum - Me.Minimum))
    Dim newValue As Integer = Me.Minimum + offset
    If draggingLeft Then
    If Me.IsValidValueLeft(newValue) Then Me.ValueLeft = newValue
    ElseIf draggingRight Then
    If Me.IsValidValueRight(newValue) Then Me.ValueRight = newValue
    End If
    Me.Invalidate()
    End Sub
    Protected Overrides Sub OnMouseDown(ByVal e As System.Windows.Forms.MouseEventArgs)
    MyBase.OnMouseDown(e)
    Me.Focus()
    Me.SetThumbState(e.Location, VisualStyles.TrackBarThumbState.Pressed)
    draggingLeft = (leftThumbState = VisualStyles.TrackBarThumbState.Pressed)
    If Not draggingLeft Then draggingRight = (rightThumbState = VisualStyles.TrackBarThumbState.Pressed)
    If draggingLeft Then
    Me.SelectedThumb = Thumbs.Left
    ElseIf draggingRight Then
    Me.SelectedThumb = Thumbs.Right
    End If
    If Not draggingLeft AndAlso Not draggingRight Then
    If Me.GetClosestSlider(e.Location) = 1 Then
    If e.X < Me.GetLeftThumbRectangle().X Then
    Me.DecrementLeft()
    Else
    Me.IncrementLeft()
    End If
    Me.SelectedThumb = Thumbs.Left
    Else
    If e.X < Me.GetRightThumbRectangle().X Then
    Me.DecrementRight()
    Else
    Me.IncrementRight()
    End If
    Me.SelectedThumb = Thumbs.Right
    End If
    End If
    Me.Invalidate()
    End Sub
    Protected Overrides Sub OnMouseUp(ByVal e As System.Windows.Forms.MouseEventArgs)
    MyBase.OnMouseUp(e)
    draggingLeft = False
    draggingRight = False
    Me.Invalidate()
    End Sub
    Protected Overrides Sub OnMouseWheel(ByVal e As System.Windows.Forms.MouseEventArgs)
    MyBase.OnMouseWheel(e)
    If e.Delta = 0 Then Return
    If Me.SelectedThumb = 1 Then
    If e.Delta > 0 Then
    Me.IncrementLeft()
    Else
    Me.DecrementLeft()
    End If
    ElseIf Me.SelectedThumb = 2 Then
    If e.Delta > 0 Then
    Me.IncrementRight()
    Else
    Me.DecrementRight()
    End If
    End If
    End Sub
    Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs)
    MyBase.OnPaint(e)
    Dim thumbSize As Size = Me.GetThumbRectangle(0, e.Graphics).Size
    Dim trackRect As Rectangle = Me.GetTrackRectangle(CInt(thumbSize.Width / 2))
    Dim ticksRect As Rectangle = trackRect
    ticksRect.Offset(0, -15) 'changed to -15 to place ticks at the top
    'added this to keep ticks at a decent spacing
    Dim tickspacing As Integer = CInt((Me.Maximum - Me.Minimum) / 10) + 1
    TrackBarRenderer.DrawHorizontalTrack(e.Graphics, trackRect)
    TrackBarRenderer.DrawHorizontalTicks(e.Graphics, ticksRect, tickspacing, VisualStyles.EdgeStyle.Etched)
    'Changed these to draw the top pointing thumb button
    TrackBarRenderer.DrawTopPointingThumb(e.Graphics, Me.GetLeftThumbRectangle(e.Graphics), leftThumbState)
    TrackBarRenderer.DrawTopPointingThumb(e.Graphics, Me.GetRightThumbRectangle(e.Graphics), rightThumbState)
    End Sub
    #End Region
    #Region " Events "
    Public Event ValueChanged As EventHandler
    Public Event LeftValueChanged As EventHandler
    Public Event RightValueChanged As EventHandler
    Protected Overridable Sub OnValueChanged(ByVal e As EventArgs)
    RaiseEvent ValueChanged(Me, e)
    End Sub
    Protected Overridable Sub OnLeftValueChanged(ByVal e As EventArgs)
    RaiseEvent LeftValueChanged(Me, e)
    End Sub
    Protected Overridable Sub OnRightValueChanged(ByVal e As EventArgs)
    RaiseEvent RightValueChanged(Me, e)
    End Sub
    #End Region
    End Class
    If you say it can`t be done then i`ll try it

  • HOW TO MAKE A BOOLEAN FUNCTION IN LABVIEW5.0

    I want to use a boolean funtion but it does not exist in existing functions?so how can I do it?I final aim is how to make a VALVE boolean function and how to use it?please teach me,experts! Thank you very much!

    Hi,
    what do you mean by "boolean function"?
    For boolean operations you can use
    1. Case structure. It is located in Functions->Structures
    2. Boolean functions (such as AND, OR, NOT, etc.). They are located in Functions->Boolean
    3. Comparison functions (such as equal?, greater?, less?, etc.). They are located in Functions->Comparison
    You have to give more info about your problem.
    Good luck.
    Oleg Chutko.

  • How to use labjack U12 to control solenoid directiona​l valve with Labview in hydraulic system

    Hi,
    I need to control a solenoid operated direactional valve in hydraulic system with Labjack U12. I am using three relays but need some help on the vi. like which instrument drive I need to use etc....
    The coil voltage for the solenoid valve is :  AC120V, 60Hz; AC110V, 50Hz 
    My goal is to control this solenoid valve open/close at certin time, am using Labview 2011. Any advise would be helpful.
    Thank you!

    Have you got the relays working yet.  Do some initial testing with LJlogger to make sure hardware is controlling the relays as expected.  If you need further help with this step, provide a link to electrical details for the relays and describe how you have the relays connected to the U12.
    As for your programming in LabVIEW, I suspect you are using digital I/O, so the simplest thing to do is call EDigitalOut() to set a particular line to output-high or output-low, or if you need to set a line to input (for open-collector style control) use a call to EDigitalIn().  Perhaps look at "e function example.vi" to get started, and for general information about using the LabJack U12 with LabVIEW see topic #84 from the LabJack forums.

  • How to make screen field enable when table control gives an error

    Hi,
        I had a scneario like when table control data wrong then one parameter of the screen should be enabled for the input, i knew that screen-name will not work since it will have always table control fields only when table control gives an error.
    How to make the other parameter enable when table control throws an error.
    Regards,
    Jaya

    Hi Gobi,
         Thanks for your response, but issue is - how to make other screen fields enable when there was an error in the table control data.
    For table control - lets say we will use the code as i mentioned above.i am sure that we cant write the code for field enable in between loop & endloop.
    as you said if we right outside the loop-endloop, the module wont be triggered when table control throws an error, because that statement was not there in the loop-endloop.
    please let me know if you need any more information on the issue. I hope there is alternative for this in SAP.
    Thanks
    Jaya

  • How to make users to select the date from calendar control my making the date field read only in date time control in external list in sharepoint 2010

    How to make users to select the date from calendar control only, by my making the date text field read only (don't want to let users type the date) in date time control in external list in sharepoint 2010. I am looking for a solution which can
    be done through sharepoint desginer / out of the box.
    thanks.

    Congratulate you got the solution by yourself. I am new to a
    WinForms calendar component, I feel so helpless on many problems even I'd read many tutorials. This question on the
    calendar date selection did me a great favor. Cheers.

Maybe you are looking for

  • Error while running a java webservice

    Hi All,         I have a java project which uses MDM Java API's added as External jars. I had exposed this Java class as a webserivce, now when i run the webservice thru webservice navigtor i get the below error. The same runs fine with java, this pr

  • Media Center wil not record

    How can I make Media Center Record a TV show on a TouchSmart 600-1055 and Windows 7?  Can view the TV show without a problem but the "Record" button does nothing.  Also I cannot change the record options as explained in the Users Guide.

  • Out of heap space erorr

    Hi guys, My app is mainly a wordlist crunching program. Its a swing app. There are two flat files about 10 MB each. The first part of the app is supposed to read all that data from the two sperate flatfiles and put them into two seperate Hashtables.

  • Since when is asking a question an "Inappropriate Activity"

    All I wanted to know was if there was any way I could revert my upgrade to the iOS 7 back to the iOS 6, as I prefer the look of iOS 6 better. I did not expect to have my post deleted and sent a nasty gram telling me post was an "Inappropriate Activit

  • Quark Xpress 9 crashes at startup

    I have installed Quark Xpress 9.3 on my MacBook Air with 10.7.5 and it does not start. It freezes at startup and needs a force quit. Very helpful, Quark Support, after many tries, made me create a root disk, from where the application finally starts