Creating EPICS Client I/O Servers Programmatically

Complete the following steps to create an EPICS Client I/O server programmatically.
  1. Add the Create EPICS Client VI to the block diagram.
  2. Right-click the EPICS Client URL in input of the Create EPICS Client VI and select Create»Constant or Create»Control from the shortcut menu. In the constant or control, specify the location to create the EPICS Client I/O server.
  3. Add the Add Record VI to the block diagram.
  4. Wire the EPICS Client ref output of the Create EPICS Client VI to the EPICS Client ref in input of the Add Record VI.
  5. Right-click the record name input of the Add Record VI and select Create»Constant or Create»Control from the shortcut menu. In the constant or control, specify the name of the record you want to add to the EPICS Client I/O server.
  6. Add the Add Field VI to the block diagram.
  7. Wire the EPICS Client ref out output of the Add Record VI to the EPICS Client ref in input of the Add Field VI.
  8. Wire the constant or control of the record name input of the Add Record VI to the record name input of the Add Field VI.
  9. Right-click the field name input of the Add Field VI and select Create»Constant or Create»Control from the shortcut menu. In the constant or control, specify the name of the field you want to add to the EPICS Client I/O server.
  10. Optional: Right-click the access type input of the Add Field VI and select Create»Constant or Create»Control from the shortcut menu. In the constant or control, select the access type for the field.
  11. Optional: Right-click the data type input of the Add Field VI and select Create»Constant or Create»Control from the shortcut menu. In the constant or control, select the data type for the field.
  12. Add the Deploy EPICS Client VI to the block diagram.
  13. Wire the EPICS Client ref out output of the Add Field VI to the EPICS Client ref in input of the Deploy EPICS Client VI.
  14. Run this VI to create and deploy the EPICS Client I/O server and to subscribe to the process variables on the EPICS network.