Page 1 of 1

Reports In Venapp

Posted: Mon Mar 15, 2004 12:42 pm
by Pruyn
I'm trying to implement reports in Venapp. I'll Probably make a mistake somewhere, but I get the message that Vensim is unable to find the specified tool. I tried a simple text, but even that failed.

The next problem is I tried to display the reports in Vensim itself, but there every variable I try to input is replaced by a "1" and I get the complete program-code displayed with the following error:
" Got 23 but expected 0 variable descriptors"

Can Somebody please Explain what I'm doing wrong. I attached the vgd file, cause I think the problem is in there.

Thanks Jeroen

Posted: Mon Mar 15, 2004 1:07 pm
by Pruyn
The last problem was solved by putting the variable names inbetween the brackets (\ /) instead of using empty brackets and putting the variable names underneath it using Var: ---. Still it bugs me that the Manual suggests both options shouldn't pose a problem.

But I do have a new question, how to arrange the outlining of the numbers/variable values. I want them in line when I export it to a word file.

Jeroen

Posted: Tue Mar 16, 2004 12:50 pm
by Owain
Jeroen,

this has taken me ages to realise the simple mistake made :D

You were using VAR: instead of :VAR when entering the variable names.

I will have a look at formatting but, if I remember correctly, I don't think much can be done about it.

Owain

Posted: Tue Mar 16, 2004 12:57 pm
by Owain
On formatting, as the manual says, use spaces to achieve the desired alignment. See the attached VGD file for an example.

Posted: Wed Mar 17, 2004 10:15 am
by Pruyn
Thanks a lot. I solved in an other way. I'm now exporting to excel, this way I can use a tab delimited file.

Now I'm only left with the problem of getting my reports recognised by Venapp.
I use "Command,,,,,,,,,,"Special>Readcostum|mbg.vgd" and "Tool,"RP1",,,,,,,,,"Costum>Month",

I'm using my model in a gaming situation, I studied the examples, but can't figure out what goes wrong (The examples work fine). In Vensim itself every report also functions as it is supposed to be.

Jeroen

Posted: Wed Mar 17, 2004 10:28 am
by Owain
Venapps will not work if there is a single error in the code. Are you actually using the code you typed above, or is it a typing mistake on the forum; "costum" should be "custom".

Other than that, it appears as if you are using the correct Venapp commands.

Have you tried Sable?

Posted: Wed Mar 17, 2004 11:49 am
by Pruyn
It was a typing error in the message.

I have tried to implement my Graph-file in one of the samples, this didn't work. When I restored the old links, Venapp even refused to recognize these, giving the same error. "Unable to match the name .... to a user tool. "

Could it be anything with binary/non binary files. The model is in vmf, and I've tried both vgd and vgf for the graph file. Venapp is still in Vcd, but I have tried vcf once, didn't solve the problem, just created more of them.

I don't have sable, so haven't tried it.



[Edited on 17-3-2004 by Pruyn]

Posted: Wed Mar 17, 2004 12:07 pm
by Pruyn
I guess I found the problem, this one is case sensitive and I used lower case when creating the file, but this has been turned into uppercase after saving etc.

Thanks Anyway, Jeroen