09-09-2007 09:09 AM
09-09-2007 09:54 AM - edited 09-09-2007 09:54 AM
Message Edited by Dennis Knutson on 09-09-2007 08:54 AM
09-10-2007 03:47 AM
09-10-2007 03:48 AM
09-10-2007 03:57 AM
look pic first , tnx
Iff on/off press, sending mess1 once, iff on/off unpress, sending mess2.
In addition to mess1 & mess2 i have many another mess. All mess conect to " Concatenate string" , and always i send 1 mess to serial.
My problem, to build section that using on/off sending once mess1 or mess2 (and no allways).
Stop button stop runnig of system imedeatly in al cases.
I tray to use event structure, but not success/
09-10-2007 06:55 AM
Why don't you post images of the actual block diagram instead of pictures you created?
The event structure is perfect for your application and if you can't get it to work, post the VI you've written so that someone can see what you've done wrong.
09-10-2007 01:23 PM
09-10-2007 01:52 PM
Your VI is nothing like the example I posted. If you want to avoid doing a VISA Write with each iteration of the while loop, the VISA write should be inside the event like the image I posted. You also don't want the event structure inside a case statement and you certainly don't want two different event structures. You want the case statement inside the event structure, again like my example.
Look at the attached VI. It should be a lot closer to what you want.
09-11-2007 05:43 AM