Virtual Commands

Parent Previous Next

VisualSim                                                                                                                                    

Virtual Commands

 

Function & Argument Type(s)

 

Description

 

            Example

checkVirtualMemory

(String Device name)

 returns Boolean

Checks to see whether the virtual device exists. The virtual device can be PowerTable, IN, DEMUX, Script, SystemResource & Smart_Controller.

Power_Table_Flag  = 

checkVirtualMemory(Pwr_Mgr)

    = true 

readAllVirtual()

None

Return Type: Array of value

Outputs a list of all the virtual names in the model including the full path. This includes In, Out, Script, SystemResource, Queue and Hardware blocks.



readAllVirtual()

virtual

(String destination, VisualSim.data.Token token)

Send Token to Global Virtual Connection. Used from within the Script.


virtual("out",port_token)

 

 

 

Created with the Personal Edition of HelpNDoc: Free EBook and documentation generator