Spectracom - Essential Ingenuity

Example C code for GSG-5/6

Question

Is there any Example Code for Interfacing with the GSG-5/6 Series Simulators?

Answer


This example demonstrates opening an NI-VISA connection with a GSG, uploading a file, and starting a scenario.  It also demonstrates sending and receiving RSG commands.

Code Structure:   
- Open Resource Manager            
- Open a session to the GSG via TCP/IP  
- Upload a scenario to the GSG       
- Start the scenario
- Send RSG commands (from a file) to the GSG
- Close the VISA Session

Related Attachment

gsg-communication-example.zip

Was this information helpful?

 Yes  No