Reports In Venapp

Use this forum to post Vensim related questions.
Post Reply
Pruyn
Senior Member
Posts: 80
Joined: Fri Mar 05, 2004 2:34 pm

Reports In Venapp

Post 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
Attachments
MBG.vgd
(2.08 KiB) Downloaded 609 times
Pruyn
Senior Member
Posts: 80
Joined: Fri Mar 05, 2004 2:34 pm

Post 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
Owain
Junior Member
Posts: 12
Joined: Thu Feb 19, 2004 4:20 pm

Post 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
Owain
Junior Member
Posts: 12
Joined: Thu Feb 19, 2004 4:20 pm

Post by Owain »

On formatting, as the manual says, use spaces to achieve the desired alignment. See the attached VGD file for an example.
Attachments
test.vgd
(487 Bytes) Downloaded 707 times
Pruyn
Senior Member
Posts: 80
Joined: Fri Mar 05, 2004 2:34 pm

Post 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
Owain
Junior Member
Posts: 12
Joined: Thu Feb 19, 2004 4:20 pm

Post 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?
Pruyn
Senior Member
Posts: 80
Joined: Fri Mar 05, 2004 2:34 pm

Post 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]
Pruyn
Senior Member
Posts: 80
Joined: Fri Mar 05, 2004 2:34 pm

Post 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
Post Reply