Switch Hardware and Software

cancel
Showing results for 
Search instead for 
Did you mean: 

Reproduce Switch Executive MAX GUI in LV

Hi,

 

I particularly like the MAX GUI to visualize which routes are associated to which route groups (cf. pic attached).

Is there any way to call it / reproduce it within a LV2009 VI ? 

CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 1 of 4
(6,090 Views)

Hello.

 

Unfortunately, there's no express VI for switches in LabVIEW palette. The only way to have this feature is to use MAX or Switch Executive.

 

Kind regards 

0 Kudos
Message 2 of 4
(6,048 Views)

Hi,

 

How is made the grid visualization in MAX ? Is it through a .NET object ?

There is really no way reproduce it ?

CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 3 of 4
(6,045 Views)
Hi,
 
There are three main things you would have to do here to get the visualization you're looking for.  There is no built in way to do this so it will take some programming
 
1) Poll the switch module to see what relays are currently connected.  Use the Get Number of Relays property in the Module Characteristics section of a switch property node to determine how many relays your switch module has.  Then use that number to have a for loop iterate through each relay and run the Get Relay Position.vi
 
2) This will return the position of each of the relays of your switch module.  Depending on the topology, these relays will determine what physical connections are being completed.  The NI Switches Help will explain how the relays are connected for each topology.


3) For each relay connected, or each channel connected, you will have to use a 2D Picture Control to output the desired connection in graphical form.  You could overlay several 2D Picture Controls, by default each is transparent, and then send a pre-defined picture to each based on the relay positions.

As I said this will require a bit of programming, but should result in the desired behavior.
Eric S.
AE Specialist | Global Support
National Instruments
0 Kudos
Message 4 of 4
(5,958 Views)