I am getting errors when using data files or data sets for ports. The ports to which data files or data sets are assigned are even being recognized as ports.
For example take a simple input port with a dataset (S1P file) assigned to as its impedance and output port with default 50 impedance, the error comes up as "Port #1 is missing".
I am attaching a simple file to probably give a better idea of what I mean.
Am, I missing some thing very simple in assigning the ports to a data file or a data set.
[file]test06.wsx[/file]
[file]test04.wsp[/file]
For example take a simple input port with a dataset (S1P file) assigned to as its impedance and output port with default 50 impedance, the error comes up as "Port #1 is missing".
I am attaching a simple file to probably give a better idea of what I mean.
Am, I missing some thing very simple in assigning the ports to a data file or a data set.
[file]test06.wsx[/file]
[file]test04.wsp[/file]
You're trying to use the override option to get your data in, which seems logical, but tells GENESYS not to realize the port is a port.
Ports automatically support data files, but I took a look at the Element Help doc and it does not well document how to do this.
To have a port use a datafile you actually just provide a string to the port value. That is interpreted as a filename.
I've attached your workspace with two ways to specify the filename, as a direct string or as an equation variable.
I've also updated our documentation with an improved discussion of using datafiles in ports - it will be in the next release.
Note: GENESYS2005/6 automatically cache the data in the workspace and use the cache if it's available (determined by the dataset name = the SData file short-name). Thus, I can analyze your workspace even without the datafile. If you update the datafile then you should delete the cached dataset to have the file re-read in.
Mark
[file]test06a.wsx[/file]