03-28-2005 02:01 PM
Solved! Go to Solution.
03-28-2005 03:30 PM
03-28-2005 03:43 PM
03-28-2005 03:45 PM
03-28-2005 03:52 PM
01-16-2018 11:42 PM
Excuse me, i've opened multiple choice.vi but the there are no question ( empty box )
should i write my own question or the question are already exist ?
Thanks
01-17-2018 03:56 AM
in the first vi (i didn't open the 7.0 version though) there are questions,
the questions field gets populated in each iteration of the for loop from the auto indexed "Array of Questions"
the event structure inside the for loop listens on "mouse up" events on each answer button
01-17-2018 04:10 AM
@Dominj wrote:
So far I have four buttons, each linked to a local varriable.
I'd use either a cluster with four buttons or a radio button with 4 buttons (set to allow no selection).
Typically, you'd use the event structure to detect value changes (regardless what's used: 4 buttons, a cluster or a radio button). No need for local variables.
@Dominj wrote:
I know that I will need to use the "Write Labview measurement file" to save the data
I would not use that. Don't think I ever used it.
This kind of information would be ASCII, and I'd want the resulting files to be readable in e.g. Notepad.
I'd use the Config File VIs library (under File I\O). Although a bit primitive, that library takes a lot of work out of your hands...
@Dominj wrote:
Also, I'm not sure how to make it so that after the user answers one question the text that asks the question is changed. Any help or hints in any of these area's would be greatly appreciated.
That's an architecture problem. I'd make a loop with an event structure in it. For this problem that would be enough. You might also look into state machines and\or producer\consumer architectures.
If you post what you have, we can help you better.
01-17-2018 04:12 AM
Oh, and consider upgrading. LV7 is 11 LabVIEW versions old.
01-17-2018 04:19 AM
i want make quiz like " who wants to be a millionaire " where each answer button has text, and one of them is correct answer, when the question changes, text on the question button change as well.
anyone can help me ?