INFO: Dieses Forum nutzt Cookies...
Cookies sind für den Betrieb des Forums unverzichtbar. Mit der Nutzung des Forums erklärst Du dich damit einverstanden, dass wir Cookies verwenden.

Es wird in jedem Fall ein Cookie gesetzt um diesen Hinweis nicht mehr zu erhalten. Desweiteren setzen wir Google Adsense und Google Analytics ein.


Antwort schreiben 

GPIB wieder synchronisieren



Wenn dein Problem oder deine Frage geklärt worden ist, markiere den Beitrag als "Lösung",
indem du auf den "Lösung" Button rechts unter dem entsprechenden Beitrag klickst. Vielen Dank!

09.06.2006, 09:46
Beitrag #1

blitzgeist Offline
LVF-Grünschnabel
*


Beiträge: 48
Registriert seit: Apr 2006

7.1
-
kA


Deutschland
GPIB wieder synchronisieren
Hallo Leute,

folgendes Problem: Ich habe eine Mesung mit 200 Messwerten am laufen. Wärend der Messung tritt jedoch über serialPoll (Auswerung des Statusbytes des Messgerätes) ab und zu für kurze Zeit ein asynchroner Zustand auf.

kann es evtl daran liegen?

10 EOIP Es wird ein asynchrone Operation ausgeführt. Dieser Fehler tritt auf, wenn ein Thread eine asynchrone Ein-/Ausgabe beginnt und dann versucht, auf die Schnittstelle zuzugreifen, bevor diese synchronisiert ist.

wenn ja, wie sieht die Verdrahtung aus um dieses Bit 10 abzufgaren.

ODER

Problem:
When I use IBIC and do an ibwrt and ibrd everything works fine. However, when I do an ibwrta and then I try to do an ibrda I get an EOIP error. What am I doing wrong?

Solution:
The EOIP error according to the NI-488.2 Help will happen when an asynchronous I/O operation has not finished before some other call is made. During asynchronous I/O, you can only use ibstop, ibnotify, ibwait, and ibonl, or perform other non-GPIB operations. If any other call is attempted, EOIP is returned.

Said so, what is happening is that the controller doesn't know that the I/O operation has finished. We need to get the CMPL bit from the ibsta to know that it has finished, before we can continue with the GPIB commands.
Therefore what we need to do is send an ibwait that will get back when the CMPL is sent. That will notify the controller that the I/O has finished and will Resynchronize the driver and the application.
Once done the ibwait, then you can do the ibrda and then a last ibwait .


Wie gelange ich an das CMPL?

Vielan dank für Tips

Gruß Timo
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren to top
Antwort schreiben 


Möglicherweise verwandte Themen...
Themen Verfasser Antworten Views Letzter Beitrag
  Daten erfassen und Zeit synchronisieren Olli_11845 13 5.533 08.09.2020 17:36
Letzter Beitrag: GerdW
  2 Messsignalen synchronisieren MEF 3 4.628 16.04.2013 04:46
Letzter Beitrag: Holy
  Messungen synchronisieren creo_123 19 12.516 20.03.2013 07:50
Letzter Beitrag: NWOmason
  Synchronisieren CAN (IXXAT) und DAQ (DI / AI) Prince Amir 4 4.871 28.10.2009 09:59
Letzter Beitrag: rolfk
  Clusterarrays synchronisieren eg 27 16.361 08.12.2008 12:16
Letzter Beitrag: eg
  synchronisieren von Graphen mit Time Stamp Mr Relay 1 4.286 23.07.2008 09:30
Letzter Beitrag: Mr Relay

Gehe zu: