The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 multi-decision dialog box

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
sebbey Posted - 05/29/2012 : 01:54:06 AM
Origin Ver.: 8.6.0G
Operating System: Windows 7 Professional

Hi,

I'm currently working on a test evaluation and need your help. To calculate the friction losses correctly, i need to tell origin what kind of bearing is installed because a parameter in the friction modell changes according to the bearing type.

is it possible to write a script which brings up a dialog box in which i can choose between four different kinds of bearings. after i choose the bearing type, the script should calculate the friction losses with the parameter belonging to this bearing.

is it possible to bring up a dialog box, in which i can define a value, with which the script calculates following parameters.

I should probably mention, that i'm writing this script for somebody else. So the last option should be to change the parameters within the script before you run it.

Thanks in advance!
sebbey
2   L A T E S T    R E P L I E S    (Newest First)
sebbey Posted - 05/30/2012 : 05:13:31 AM
Thanks Sam, I'll try that!

sebbey
Sam Fang Posted - 05/30/2012 : 04:41:22 AM
You can use getn command, which can pop up a dialog for user to input. e.g.

int itype;
string str$="Bearing1|Bearing2|Bearing3|Bearing4";
getn
(Bearing Type) itype:str$
(Please choose bearing type);


Sam
OriginLab Technical Services

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000