From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to close & exit the Switch Soft Front Panel from LabVIEW?


 

Broken Arrow wrote:

 

Hey, no frowny faces. Just trying to help.

In my opinion, fancy GUI buttons is a matter of busy work, and my thought was that the focus of the thread was not on GUI.


Well, I was thinking to build my own SFP software with my name mater marked on it Smiley Wink Then this thread popped up, gave me a hope to get everything ready by you guys.. Smiley Very Happy

 

Anyway, it was just a hope Smiley Happy

 

@Partha,

 

Good going. Post your vi once you are done with Relays partSmiley Wink

0 Kudos
Message 21 of 33
(1,253 Views)
Edit- Watermarked on it Smiley Happy
0 Kudos
Message 22 of 33
(1,250 Views)

Vsh,

Regarding the GUI and making a pseudo-SFP, doesn't it just come down to making a control that looks like the relay you're using? See attached ctrl that I made from screen captures of open and closed relays on the SFP...

 

(see next reply for ctrl)
Message Edited by Broken Arrow on 11-25-2009 07:29 AM
Richard






0 Kudos
Message 23 of 33
(1,234 Views)
The control above, saved in 8.5...
Richard






Message 24 of 33
(1,233 Views)

It would be just another easy task, thought we might have to consider the number of relay images to be copied and imported, and the amount it takes to code it. :smileywink:

 

Anyway... nice work on the ctl.  :smileyhappy:

0 Kudos
Message 25 of 33
(1,229 Views)

Richard,

 

I have LV 8.5.1, but it has 6 states for Custom images. Smiley Indifferent

 

Can you please explain how?

Message Edited by parthabe on 11-25-2009 11:14 PM
- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 26 of 33
(1,211 Views)

parthabe wrote:

Richard,

 

I have LV 8.5.1, but it has 6 states for Custom images. Smiley Indifferent

 

Can you please explain how?

Message Edited by parthabe on 11-25-2009 11:14 PM

Hmmm, I don't know. I just pasted two images, one for True and one for False. I have no idea why those other images would be there. When you place the control on a VI, does it behave correctly?

 

Richard






0 Kudos
Message 27 of 33
(1,198 Views)
Yes, it beahaves perfect! I ll post the entire VI once done fully.
- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 28 of 33
(1,184 Views)

It looks like NI uses a picture control for the images of the switch types.

 

EDIT sorry didn't realize it was an old post.

0 Kudos
Message 29 of 33
(689 Views)

I have stumbled across the forum about using relay switches and found the Set Relay Card.VI, posted here very helpful. Is there a way to output the status of each relay with time (open or close) into a excel file? I tried using certain 'write to' functions but they aren't working as intended. Thank you.

0 Kudos
Message 30 of 33
(619 Views)