> setenv DVHOST bh8.physics.ubc.ca
Also, if the DV was started with a port number other than the default of 5005, one must set the DVPORT environment variable as was done when starting the DV.
The simplest usage for sdftodv is
> sdftodv [-i 'ivec'] <sdf_file_name> ...
The 'ivec' is an optional index vector, that can be used to control which data sets within the sdf files are to be sent. For example
> sdftodv ./DV/data/2d_example.sdf
will send the entire file '2d_example.sdf' (which is located in the 'data' subdirectory of the standard DV distribution). To send the first 3 data sets, followed by the remaining even numbered ones from 6 onwards, enter
> sdftodv -i '1-3,4-*/2' ./DV/data/2d_example.sdf
Note that the entire index vector must be placed in quotes to prevent the shell from interpreting any special characters.