Bluescreen after pressing Stop-Button

Hi,
I've got a problem again.
My system:
DIAdem 9.1 (evaluation), MS Windows XP
My program:
I read ascii data from an measuring-instrument (force, torgue) via RS-232. I use script-DAC-Driver to do this.
While measurement I display data with DIAdem-VIEW, and after that I export as an excel-file.
My problem:
That all works fine so far, but If I start measurement in DIAdem, the script-DAC-driver waits for bytes at serial port. If my instrument does not send data (for example if I decide not to start work), I can't stop DIAdem. If I press the Stop-button, I got a bluescreen and Windows reboots.
Is there any way to do this better (without bluescreen)?
Nico

I could reproduce your problem and solve it. (see attached file with modifications in Procedure SFD_init)
The reason was some errors in your code, but a blue screen or a spontaneously reset is a wrong reacton of diadem
1. You have't opend the interface corectly. Use the Open -command!
Remark: The Open-command and the IsOpen-function don't work properly in case of an error. The Open -command cause a runtime error and iterrupt the DAC-plan so the IsOpen -function can not work. This error is known at least since Diadem 8.0 but it is still unsoved.
2. You have not written a handler for the case of an timeout. I've done it for you.
3. Use the Read -function only with the second parameter "mode".
Remark: The description of "mode" in DIAdem help is
wrong. The right description is:
Bit 0 stop read/write at delimeter
Bit 1 send data including the delimeter
Bit 2 received data do not contain the delimeter
4. Diadem 8.x Script-Blocks did not work in asynchron mode with Windows XP. I don't know if it's solved in DIAdem 9.1
5. Your "Taktblock" was to fast. You should't takt the scriptblock faster then it can work. A RS232 is slow!
Dr. Martin Bohm
[email protected]
Attachments:
Serial_Input_Skript_COM4.vbs ‏14 KB
Serial_Input_(grafisch).DAC ‏25 KB

Similar Messages

  • Off digital IO after press stop button

    refer to the attached file, the digital I/O will be on once the vi is run. This is due to the Constant True button is wired to the data line.
    How to off the digital I/O, once the stop button is pressed? Any good idea?
    Solved!
    Go to Solution.
    Attachments:
    digital IO.png ‏13 KB

    JohnS11 wrote:
    Whats the "green colour" loop? How to write "No Error" there? It's a case structure, when you drop it from the palette it's gray, but when you connect an error cluster to the selector terminal the "no error" case becomes green and the "error" case becomes red.
    Whats the " grey-white colour" loop? How to write " stop": value chang" ? It's an event structure, it can detect events that you register for. To register for an event you right clic on the frame and select "Add event case" then comes a windows in which you can set the event you want to catch, the most used type of events is the "value change" on a control, so first select the control from the list and them select the "value change" event.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Calculating a value from a item after pressing a button

    Hi all
    I would like to calculate the value of an item (highest available value in db +1) using a pl/sql-function after pressing a button. The result depends on an other item on the same page. The value of this item is not known while rendering the page. The result should be inserted in the item before saving/validate all other items from this page.
    Part of SQL-Script for one possibility :
    if :P601_OP = 1 then
    select max(substr(sar_id, 5))+1 into :P601_SAR_ID from sar where substr(sar_id,0,3) = 'ORA;
    end if;
    Thanks for your help
    Michael

    Hi Joe,
    when creating a column link in your report you can pass value from your report columns in this link using the # substitution syntax, e.g. #MYCOLUMN#
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • Which trigger fires after pressing 'Save' button on toolbar.

    hi,
    I wanted to know which triggers get fired after pressing 'save' button on toolbar, and in which sequence it get's fired.

    When you press 'save' it tries to do a commit_form.
    Before commiting the form, it checks for any errors which might occur at form level, block level or item level and does the commit only when it doesn't find one.

  • Automatic logout in SAP System after Pressing Confirm button

    Dear all,
    We have Stock confirmation Transaction(ZTransaction) coming from SAP System through ITS. Our Issue is When user click on Confirm button in that transaction, background process will run. It is more like running Replenishment in ICH. Then user will be able to see the order pager after 45 min,after pressing Stock confirmation button. but the user is still alive in backend system, this will causing load on the backend system. So want to set automatic logout from that system after pressing confirm button in that transaction.
    Can anyone help me or guide the logic to implement in ABAP Program.
    Note: User will access this Transaction through Portal.
    Rgds
    PRadeep

    Dear all,
    There are two function modules are available...they are as follows.
    TH_DELETE_MODE(Session will delete)
    TH_DELETE_USER( Total login will delete)
    Rgds
    PRadeep

  • Calendar's 2nd Event Alert auto swaps with 1st alert after pressing Done button in the default "Home" Calendar. Why?

    Calendar's 2nd Event Alert auto swaps with 1st alert after pressing Done button in the default "Home" Calendar for IOS 7.1. Why? No such problem with the original IOS 6 that included in my iphone 5.

    Anyone got any ideas?

  • User Exit which runs after pressing SAVE button at VF01 Screen.

    Dear all,
    I need user Exit which runs after pressing SAVE button at VF01 Screen.
    Kind Regards,

    If you search the forum, you can find plenty of threads on this, for example Re: Badi or user exit for VF01 while save Can you let the forum know what exactly you want to achieve using user exit during saving of a billing document?
    Regards,

  • Can't turn on apple logo fades a moment after pressing on button

    can't turn on apple logo fades a moment after pressing on button - not recognised by itunes as being there. Can charge - however this causes the apple logo to appear and disappear repeatedly??

    Hello there Struth23,
    Sounds like you may need to reset the iPhone or put it into recovery mode to resolve the issue if it is to do with the software.
    From iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    And if needed, iTunes: Restoring iOS software
    http://support.apple.com/kb/ht1414
    Cheers,
    Sterling

  • TV screen frozen on Apple logo after pressing select button on remote.  Have powered off Apple TV and router.

    TV screen is frozen after pressing select button on remote.  Have powered off both Apple TV and router. Menu does not come up. All that is on TV screen is Apple logo with black screen.

    Welcome to the Apple Community.
    If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
    Connect the micro USB cable to the Apple TV and to your computer.
    Reconnect the power cable (only for Apple TV 3)
    Open iTunes.
    Select your Apple TV in the Devices list, and then click Restore.
    (You may already have a micro USB cable if you have a camera or other digital device)

  • Since yesterday I am facing problem,when it goes in sleep mode it actually turn off and does not come up after pressing start button but every time I have to hard reset it.It is 4 gen running on 4.3.3

    Since yesterday I am facing problem,when it goes in sleep mode it actually turn off and does not come up after pressing start button but every time I have to hard reset it to turn it on .It is 4 gen running on 4.3.3.Please help

    so I have called HP tech support 12 times over the last 6 weeks and still my HP Officejet 4620 loses connection overnight. Of course becasue it was a birthday present I spent more time than I normally would have on this issue. While the tech are very polite they have not fixed my problem and now it is too late to return printer to store. This is a lot of money wasted and I think they need to admit this is a bug in this printer and resolve the problem!!!!!

  • Satellite A200 23W shuts down seconds after pressing power button

    Hi all :)
    I have just bought a Toshiba Satellite A200 23W portable computer some hours ago.
    I turn it on and i let it finish all the Vista installation.
    After finishing Vista installation it asket to resturn the laptop and from that moment the laptop is "dead".
    After pressing Restart computer (from Vista) the computer shut down with no problem but it never restarted!!!
    After waiting some minutes i tryed to start it over by pressing the power button.
    Now when i press the power button i can hear the HDD working and most of the time before i can see something on screen the laptop shuts down!!
    Now i notice that both the battery indicator AND the DC IN indicator are flushing and stopping flash at moments.
    From reading the manual i would assume that the DC IN indicator should not flash at all though.
    I have tryed to unistall the battery and try to boot the laptop but in that case i can not even listen the HDD starting up!!!
    I have try to unplag and replag the power cable (in the wall socket as well as in laptop) but again no result.
    Any ideas of what has happened?
    Many Thanks

    I do not know what is wrong there and, in my opinion, it should not be so important for you. Contact your dealer as soon as possible and talk with him. Explain the situation. Maybe you will get new notebook. If not please contact nearest authorized service provider and let them check your notebook.
    The notebook is brand new and it must work. Please do not wait too long.

  • Unlock screen not responsive after pressing Home button

    Usually when I lock my phone, I can press the Home button to turn the screen on so it can be swiped and unlocked. But recently I have had to hit the Home button multiple times for the screen to appear, sometimes it does not appear at all (I have to press the lock button to turn on the screen). Other times I have to press the button multiple times and what looks like iPod controls appear at the top of the screen, even though the phone is locked.
    Can anyone shed some light on this or a possible solution?
    Message was edited by: mdude85

    m21635 wrote:
    This problem has been around since the beginning of the iPhone cycle back in late June 2007.
    Hmm ... odd I've not seen it, since I had the original iPhone for two years before going to the 3GS on June 19.
    There are some that do not believe that this sort of problem could/can exist, especially on the iPhone, but it is also an age-old computer issue regardless of who the manufacturer/vendor might be. That is why the power off button on computers was always called the "international reset" button.
    Perhaps that's why I've not seen it. I make it a practice to cycle (restart) my MacBook and PCs after they've been in Standby/Sleep/Hibernate for some length of time. And I've always powered my iPhones off and back on every few days.
    Phil

  • Can you disable 'flash' after pressing a button - epub fixed layout annoyance

    Hi,
    I have a hide show feature across two images set as buttons so that it seems that one image is animating slightly, however, whenever i click on the image there is an after 'touch' - ie the image turns muted and blue for a split second.
    Is there anyway to disable this when pressing a button?
    THANKS!
    James

    I just read that.
    Thanks for the heads up.
    This is not giving high hopes though.  I know it's new-ish and all but if people have to go out of there way to read these that is not going to make it a very popular format.  Apple has there stuff together but as for Windows and Android they really need to step it up.  Adobe needs to take the initiative and add this to Acrobat or crate a new viewer for epub in my humble opinion.
    Thanks again.

  • Satellite A60 Shuts Down immediately after pressing power button

    My A60 shuts down after 2-3 seconds when I press the power button for openning the laptop. After pressing the power button, all lights come on, but before anything appears on the screen, computer cuts off the power. Fun, DVD and harddisk sound working. At least, sounds are coming from the these hardwares. Also from the buttom of the laptop, I can see the fan is working.
    This problems started nowhere. Yesderday, I closed my laptop properly and carry my laptop to my friends. When I tried to open my laptop, this problem occured and I could not open it yet.
    I tried any combination of using power supply and battery for power. Non of them is working.
    Is there any one had the same problem or have any diagonistics for this problem.
    Thanks,
    Emrah

    @ Etjuh
    Dont think its the same problem!
    Your problem sounds more like overheating and the cooling modules cleaning could helps to prevent the notebook form overheating and from automatically shut downs.
    The vacuum cleaner is a useful tool ;) but be careful if you dont know how to do it please contact an technician!
    PS: Do not post twice next time ;)
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=23662

  • Screen recording, how to press record after pressing stop?

    When I do a Quicktime screen recording, I can pause the recording by use the "alt" key to make the stop button become a pause button.
    However, when I click the stop button the recording is considered finished and recording cannot be re-started.
    Is there a way to click "record" again after clicking "stop" to add more recording to the end of the video?

    Please help with the above question...

Maybe you are looking for

  • Agenda view in calendar

    Is there a way to view my calendar events in an agenda view that I was able to do with PalmOS?  Is there an app to download? Post relates to: Pre Plus p100una (AT&T)

  • Description of enterprise service message types

    Hello people, I'd like to know where to find the description of the parameters of enterpise service operations. For example the operation "Create Invoice" (Process Component: SRM) needs a lot of input parameters. I took a look into the Integration Bu

  • How do I recover files

    file recovery

  • Problems on e71

    hi iam from egypt and i have problem with my phone e71 it not support sis or sisx extensions only support jar can any one help

  • Error :The function upload is not possible for this documentu2019

    Hi, The users are using Solution manager Help Desk system. When a specific user tries to create a message from the satellite system, and tries to upload a  document, he is unable to do so. He is getting an error message : 'The function <upload> is no