OnDemand after Source Clocked give "internal error status -88700"
Hi,
I am using Analog Input and Counter Input simultaneously with a shared internal clock source on the NI PCIe-6363
I'm running on WinXP, with NIDAQmx Driver 9.1.1f0
I start off by doing some OnDemand acquisitions and it all works.
Then I configure the task for Sample Clocked acquisitions and everything works.
Then I try to configure the task back to OnDemand using DAQmxSetSampTimingType, but when I start the task I get "DAQmx Error: An internal error occurred. Status Code : -88700"
If I ignore the error and try to acquire samples, I get a blue screen of death and the PC reboots.
DAQmx Error: An internal error occurred.
Task Name: MyTaskCI
Status Code: -88700
I tried unreserving the task, and setting the sampling timing type back to on demand, with input buffer size to 0 (also tried 1, and 1000, neither worked). I noticed that going to sample clocked mode changed various properties. I tried manually setting the data transfer mechanism back to programmed io, and disabling CI memory mapping but that did not help. Additionally I tried setting the sampling mode to finite, and number of samples per channel to 1 but that didn't help either. I also tried setting the sample clock source back to blank, but that didn't help. I am not sure if there's something else I am missing. I tried reading all the properties I thought might be getting changed by sample clocked mode, and re-applying them - but that didn't work either.
Please find attached a simplified peice of code (adapted from the NIDAQmx ANSI C Example program: ContAcq-IntClk-EveryNSamplesEvent.c) to reproduce the issue.
Your feedback is greatly appreciated.
Thanks,
hemdanw
The MathWorks
Attachments:
BufferedAICI.c 9 KB
Hi Falk,
Change detection does two things:
Reads digital input channels when a change occurs on a set of digital input lines.
Optionally provides a (non-periodic) trigger or clock for another task, such as digital output, analog input, analog output, or counters.
This secondary functionality is only useful when you want to detect changes on multiple input lines and treat them as if they are the same, or if you want the input lines to be sensitive to both rising and falling edges. Since you only want your digital output task to look at rising edges on a single line, you can use a PFI line instead of using change detection. The cDAQ-9172 supports PFI lines in slots 5 and 6, so move the NI 9421 to slot 5 or 6.
> Suppose I connect a button to the digital input an I want the output to be triggered when I press the button.
Okay, that partially explains what you're trying to do. How many samples do you want to output when the button is pressed?
If you want each button press to output one sample, then run "Write Dig Chan-Ext Clk.vi" with "Physical Channels" set to "cDAQ1Mod1/port0/line0:7" and "Clock Source" set to "/cDAQ1Mod5/PFI0" (with the NI 9421 in slot 5). Every time you press the button, the output will change once, assuming that the button is debounced.
If you want each button press to output a waveform containing many samples, then ideally you would be able to run "Write Dig Chan-Int Clk-Dig Start.vi", but this uses DIO triggering functionality that isn't supported by the cDAQ-9172. To emulate this functionality on the cDAQ-9172, you would need a combination of "Gen Dig Pulse-Finite-Dig Start.vi" and "Write Dig Chan-Ext Clk.vi". Start the DO task first because it will wait for the sample clock.
If the button is not debounced, you may also want to enable digital filtering on PFI0 (or build a debounce circuit). I don't know of a good example showing how to do this. Maybe someone else has an example to recommend?
Brad
Brad Keryan
NI R&D
Similar Messages
-
When trying to login in OIM 11g after providing credentials, it gives internal error 500.
please note: 500 error is the most difficult HTTP error to troubleshoot , because it is very generic. It could be because of many things.
So, if you could provide us the OIM diagnostic logs when you receive it, it will help as to be helpful.
thx in advance,
Thiago Leoncio.
thiagoleoncio -
i am trying to generate purchase order and i create a BAPI also which is active.
But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".Hi,
Yeah i tried my Z_BAPI in R3 and then giving some ERROR.
This is my CODE-
FUNCTION ZBAPIPOTV2.
*"*"Local Interface:
*" IMPORTING
*" VALUE(POHD) TYPE ZPOHD OPTIONAL
*" VALUE(POITEM) TYPE ZPOITEM OPTIONAL
*" TABLES
*" RETURN STRUCTURE BAPIRET1 OPTIONAL
data: ls_pohd type bapimepoheader,
ls_pohdx TYPE bapimepoheaderx,
lt_poit TYPE TABLE OF bapimepoitem,
lt_poitx TYPE TABLE OF bapimepoitemx,
ls_poit TYPE bapimepoitem,
ls_poitx TYPE bapimepoitemx.
MOVE-CORRESPONDING pohd to ls_pohd.
MOVE-CORRESPONDING poitem to ls_poit.
ls_pohdx-comp_code = 'x'.
ls_pohdx-doc_type = 'x'.
ls_pohdx-vendor = 'x'.
ls_pohdx-purch_org = 'x'.
ls_pohdx-pur_group = 'x'.
ls_poit-po_item = '00010'.
APPEND ls_poit to lt_poit.
ls_poitx-po_item = '00010'.
ls_poitx-po_itemx = 'x'.
ls_poitx-material = 'x'.
ls_poitx-plant = 'x'.
ls_poitx-quantity = 'x'.
APPEND ls_poitx to lt_poitx.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = ls_pohd
POHEADERX = ls_pohdx
* POADDRVENDOR =
* TESTRUN =
* MEMORY_UNCOMPLETE =
* MEMORY_COMPLETE =
* POEXPIMPHEADER =
* POEXPIMPHEADERX =
* VERSIONS =
* NO_MESSAGING =
* NO_MESSAGE_REQ =
* NO_AUTHORITY =
* NO_PRICE_FROM_PO =
* PARK_COMPLETE =
* PARK_UNCOMPLETE =
* IMPORTING
* EXPPURCHASEORDER =
* EXPHEADER =
* EXPPOEXPIMPHEADER =
TABLES
RETURN = return
POITEM = lt_poit
POITEMX = lt_poitx
* POADDRDELIVERY =
* POSCHEDULE =
* POSCHEDULEX =
* POACCOUNT =
* POACCOUNTPROFITSEGMENT =
* POACCOUNTX =
* POCONDHEADER =
* POCONDHEADERX =
* POCOND =
* POCONDX =
* POLIMITS =
* POCONTRACTLIMITS =
* POSERVICES =
* POSRVACCESSVALUES =
* POSERVICESTEXT =
* EXTENSIONIN =
* EXTENSIONOUT =
* POEXPIMPITEM =
* POEXPIMPITEMX =
* POTEXTHEADER =
* POTEXTITEM =
* ALLVERSIONS =
* POPARTNER =
* POCOMPONENTS =
* POCOMPONENTSX =
* POSHIPPING =
* POSHIPPINGX =
* POSHIPPINGEXP =
* SERIALNUMBER =
* SERIALNUMBERX =
* INVPLANHEADER =
* INVPLANHEADERX =
* INVPLANITEM =
* INVPLANITEMX =
ENDFUNCTION.
i am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)". -
launching LR4 after a restart gives the error message "Lightroom encountered an error reading from its preview cache and needs to close" no fix on restart
Delete your preview cache, it is a folder whose name ends with Previews.LRDATA
-
MFL.convertToXml() gives 'Internal Error' in custom adapter
Has anyone seen the MFL.convertToXml() fail with:
IllegalStateException: Internal Error, current node is null
dies at com.bea.nonxml.readers.NonXMLReaderVisitor.nextToken(NonXMLReaderVisitor.java:110)
Anyone got source to this?
I call this method from within a custom adapter.
I have an extremly simple MFL file as follows,
Note that I added a 'IgnoreTheRest' at the en, to see if I could simplify it.
<?xml version='1.0' encoding='US-ASCII'?>
<!DOCTYPE MessageFormat SYSTEM 'mfl.dtd'>
<MessageFormat name='MsgNoBits.h.2' version='2.02'>
<!-- C declaration of message_id: unsigned short -->
<FieldFormat name='message_id.2' type='UBigEndian2'/>
<!-- C declaration of id: unsigned short -->
<FieldFormat name='id.2' type='UBigEndian2'/>
<!-- C declaration of num_bytes: unsigned long -->
<FieldFormat name='num_bytes.2' type='UBigEndian4'/>
<FieldFormat name='IgnoreTheRest' type='Filler' optional='y' length='1' repeat='*'>
</FieldFormat>
</MessageFormat>Not really...
Just worked around it by doing the MFL.convertToXml() inside the ejb container.
The way you get the binary data through the JCA to the container is by converting the binary data to a HexBinary XML type. (if you find another way please let me know)
Pull out the binary once you receive it ( I use a JPD ). Then perform the translation. I think its very inefficient since you have to do bin-hex-bin-xml XML crap, but it works.
heres the hexbinary snippet you use for your event definition.
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="wlai/XXX_event"
xmlns="wlai/XXXAppView_XXX_event"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="XXXData"
type="xsd:hexBinary"/> -
Discoverer 9i: Export data to PDF gives internal error
Hi there!
In discoverer 9.0.2.39.01 (desktop edition), EUL 5.0.0.0.0.0 the export data option
to PDF gives the following error:
Internal Error in generating report Export failed.
In MetaLink you can find bug 780474 for Discoverer 3! It seems to be the same bug?!
If there is a workaround please send a hint to the list.
Anybody out there who can give me a hint?
Best regards!
Henrik
Henrik Bachmann mailto:[email protected]
B.I.M.-Consulting Magdeburg http://www.bim-consulting.de/
D-39108 MagdeburgHi there!
Here is the solution:
I have five Oracle Homes on my PC, because I am testing new releases of
Oracle software (e.g. Discoverer 9.0.2).
The database connect is well defined in the tnsnames.ora in the oracle home
for 9i tools but not defined in the oracle home for 6i Tools (a newbie error
- annoyingly, but there is no qualified error message from Discoverer ...).
So Reports (6i!) is not able to connect to the target database. But if you
wish to export to PDF you need reports 6i.
Thanks again!
Best regards!
Henrik -
Java 5 Update 11(JRE) Installation gives "Internal Error 2762"
Hi,
I try to install Java 5 update 11 fom java.sun.com. During finish of Installation I get --"Internal Error 2762" popup with an "OK" button.
Running on Windows XP Professional, has previous installed java 5 update 10 on my system. Internet Explorer browser is running at install time.
Is there any workaround for this.
Thanks
MamathaThis is a Windows installer generated error message. Most of the times, continuing with installation by clicking on "OK" button will install the software without any issues. You can verify the installation by running the testvm applet from:
www.java.com/en/download/help/testvm.xml
Note: ensure to start a fresh browser session after installation is complete
In case, you still find the older version listed, write back with the install log. Instructions can be found at:
Download Windows offline installer - jre-1_5_0_11-windows-i586-p.exe to c:\
Run the installation again with logging turned on:
c:\jre-1_5_0_11-windows-i586-p.exe /v"/L c:\install.log" -
Emailing from LR4 gives internal error
Emailing from LR4 (export for email), gives the following error, "An internal error has occurred: There is something wrong in CryptUnprotectData." I am not trying to interface with Facebook, but use a gmail account for email. Does anyone know how to solve this error?
I input a solution at : http://forums.adobe.com/message/4503213.
Thanks,
Emily -
After Installation it gives an error...
when i Install the Complete Solaris 9.0 on my system. it gives an error "Sink out of range" on the Monitor during the start up. what i suppose to do so that that error not came or my solaris 9.0 run Succesfully...
Please help me out....or mail me on [email protected]i have face same problem with my intel system , but in my ultra20 its ok.
partha -
"Save As" or "Export" gives "Internal Error"
When I use the "save as" or "export" functions, I get an
error message that says "An internal error has occurred" on one
line and another "An internal error has occurred" on a second line
below. Clicking OK allows the save, but it makes the "save as"
window act funky, and some of the controls (like up one level icon
or back icon) disappear. Makes it tough to navigate to the proper
folder to save the file.
This began with my trial of Fireworks 8. Shortly thereafter,
I downloaded the trial for CS3, same error. Today I purchased
Fireworks CS3, uninstalled the trial and reinstalled the file
downloaded from Adobe. Same error. Never had this with MX2004.
Can't find this one anywhere on the web. Can anyone help?On 05/08/2015 20:46, Robert Grant wrote:
> Hello!
>
> I am following the tutorial in the eclipse help page under the Platform
> Plug-in Developer Guide to create Hello World as a Plug-in project. When
> following the steps, the instructions say to select the template
> "Plug-in with a vew" but I only have two options: "Custom
> plug-in-wizard" and "Plug-in with a Graphiti Editor". Neither lead to a
> plug-n with a vew. I am running the IDE for Java Developers Mars
> Release 4.5.0. I am wondering if anybody is having the same problem or
> if there is a way to fix this. Thank you in advance!
Hi
IIRC the IDE for Java Developers does not include the PDE SDK (Plug-In
Development Environment); so, either you install it in your Eclipse, or
you download at least "Eclipse for Committers" or "Eclipse for RCP".
Hope this helps
Lorenzo
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book -
Internal Error in communication channel
Hi Experts
There are errors in all the communication channels which has the internal error status and the log says" No adapter registered for this channel".In the control data field of the communication channel ???? is appearing..Below is the detailed error log.
com.sap.aii.af.service.administration.api.AdminException: No adapter registered for channel 1d3e3f76a3923721a9cac2edd793520a
at com.sap.aii.af.service.administration.impl.AdminManagerImpl.notifyChannelActivationStateChanged(AdminManagerImpl.java:851)
at com.sap.aii.af.service.administration.impl.cluster.ClusterManager.eventReceivedSync(ClusterManager.java:426)
at com.sap.aii.af.service.event.impl.worker.sync.SyncLocalWorker.work(SyncLocalWorker.java:52)
at com.sap.aii.af.service.event.impl.worker.sync.AbstractSyncWorker.startWork(AbstractSyncWorker.java:40)
at com.sap.aii.af.service.event.impl.EventManagerImpl.sendEventAndWaitForAnswer(EventManagerImpl.java:484)
at com.sap.aii.af.service.event.impl.EventManagerImpl.syncClusterEventReceived(EventManagerImpl.java:418)
at com.sap.aii.af.service.monitor.impl.ClusterController.receiveWait(ClusterController.java:265)
at com.sap.engine.core.cluster.MessageListenerWrapper.process(MessageListenerWrapper.java:80)
at com.sap.engine.core.cluster.impl6.ms.MSListenerThread.run(MSListenerThread.java:53)
at com.sap.engine.frame.core.thread.Task.run(Task.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:144)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:242)
Could anyone please throw light on this?See the same problem ans solution has been discussed here in this thread..
No Adapter Registered for this channel
Regards,
Sarvesh -
Internal Error in Search for Candidate in Talent Pool in E-Recruitment
Hi All,
I've problem in Search in Candidates in Talent Pool in E-Recruitment in SAP E-Recruitment. When I search with text, it just gives internal error. I digged into the BSP Application as well. In the funtion call "SDOK_INDEX_COMBINED_SEARCH_XML" returns error "document area not specified" and raises an internal error. Anyone faced similar issue??? Please Help!!!
Thx,
AnandWell, obviously you never used any component of KPRO yet.
Just upload an attachment onto the candidate's profile.
An index category should automatically be created.
Also generate search profiles and plan the periodical service RCF_PERIODICAL_SERVICES. You can find the documentation about this report and search profile via IMG.
Also look if HR_KW is checked within transaction SKPR06.
Message was edited by: Sebastian Menger -
Internal error at open dialog box
Hi All,
I have created an add-on, there i have given the facility for attachments. When i click on browse button open dialog box opens.
In some computers when i click on browse button, it gives internal error (-2147467259) occurred -unspecified Error.
So can any one help on this?
Regard's
Hari========
Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
Select Case pVal.ItemUID
Case "Btnbrowse"
Me.OpenFile()
end select
Private Sub *OpenFile*(ByRef BubbleEvent As Boolean)
Try
ShowFolderBrowserThread = New Threading.Thread(AddressOf ShowFolderBrowser)
If ShowFolderBrowserThread.ThreadState = ThreadState.Unstarted Then ShowFolderBrowserThread.SetApartmentState(ApartmentState.STA)
ShowFolderBrowserThread.Start()
ElseIf ShowFolderBrowserThread.ThreadState = ThreadState.Stopped Then
ShowFolderBrowserThread.Start()
ShowFolderBrowserThread.Join()
End If
Catch ex As Exception
sbo_application.MessageBox("OpenFile" & ex.Message)
End Try
Private Sub ShowFolderBrowser()
Dim MyTest As New OpenFileDialog
Dim MyProcs() As System.Diagnostics.Process
Dim filename As String
MyProcs = process.GetProcessesByName("SAP Business One")
If MyProcs.Length = 1 Then
For i As Integer = 0 To MyProcs.Length - 1
'// WindowWraper concepts are used to access open dialogue box of windows
Dim MyWindow As New WindowWrapper(MyProcs(i).MainWindowHandle)
MyTest.Filter = "Excel files (*.xls)|*.xls|Document files (*.doc)|*.doc|Presentation (*.ppt)|*.ppt|Adobe PDF Files (*.pdf)|*.pdf|Text Documents (*.txt)|*.txt" '|All Files (*.)|.*"
'MyTest.InitialDirectory = "C:\Program Files\SAP\SAP Business One\Attachments"
'// Initial path for open dialogue box
'// We can change as per the requirements
MyTest.InitialDirectory = "C:\Program Files\SAP\SAP Business One\Attachments"
If MyTest.ShowDialog(MyWindow) = DialogResult.OK Then
filename = MyTest.FileName
.your validations........
Else
System.Windows.Forms.Application.ExitThread()
End If
end sub
Public Class WindowWrapper
Implements System.Windows.Forms.IWin32Window
Private _hwnd As IntPtr
Public Sub New(ByVal handle As IntPtr)
_hwnd = handle
End Sub
Public ReadOnly Property Handle() As System.IntPtr Implements System.Windows.Forms.IWin32Window.Handle
Get
Return _hwnd
End Get
End Property
End Class
To open the file you can use the follwing code on display button pressed.
Private Sub *fileopen*(ByVal filename As String)
'// Opening specified document with reference to the filename distributed
Try
System.Diagnostics.Process.Start(filename)
Catch ex As Exception
sbo_application.StatusBar.SetText("File Not Found in Specified Path:" & filename, SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
End Try
End Sub
========
Public Sub SBO_ManageItemEvent( _
ByVal FormUID As String, _
ByRef pVal As SAPbouiCOM.ItemEvent, _
ByRef BubbleEvent As Boolean _
) ' Item Event Handler
Dim oForm As SAPbouiCOM.Form
oForm = SBO_Application.Forms.Item(FormUID)
Select Case pVal.EventType
Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
Select Case pVal.ItemUID
Case "btnBrowse" ' Select file
If Not pVal.BeforeAction Then
Call ShowFolderBrowser(oForm)
End If
End Select
End Select
oForm = Nothing
End Sub
Private Sub ShowFolderBrowser(ByRef oForm As SAPbouiCOM.Form)
Try
' ++++++++++++++++++++++++++++++++++++++++++++++++++
' I'm using default path...
' ++++++++++++++++++++++++++++++++++++++++++++++++++
Dim sPath As String = SBO_Company.ExcelDocsPath
oForm.Freeze(True)
SBO_Application.Desktop.State = BoFormStateEnum.fs_Minimized
' ++++++++++++++++++++++++++++++++++++++++++++++++++
' All windows down with command ^M
' ++++++++++++++++++++++++++++++++++++++++++++++++++
Const KEYEVENTF_KEYUP = &H2
Const VK_LWIN = &H5B
Call keybd_event(VK_LWIN, 0, 0, 0)
Call keybd_event(77, 0, 0, 0)
Call keybd_event(VK_LWIN, 0, KEYEVENTF_KEYUP, 0)
Dim fileName As String = ""
Dim OpenFileDialog As New OpenFileDialog
OpenFileDialog.Title = "Select Excel File"
OpenFileDialog.Filter = "Excel files (*.xls)|*.xls"
If Not sPath.Equals("") Then
OpenFileDialog.InitialDirectory = sPath
Else
OpenFileDialog.InitialDirectory = Me.SBO_FormEventHDL.BdgPathLog '"C:\"
End If
If OpenFileDialog.ShowDialog() = DialogResult.OK Then
fileName = OpenFileDialog.FileName
sFileXls = fileName
' ++++++++++++++++++++++++++++++++++++++++++++++++++
' Here I post getted path into my edittext field
' ++++++++++++++++++++++++++++++++++++++++++++++++++
Dim oEdit As SAPbouiCOM.EditText
Dim oItem As SAPbouiCOM.Item
oItem = oForm.Items.Item("eFileName")
oEdit = oItem.Specific
oEdit.Value = sFileXls
oItem = Nothing
oEdit = Nothing
End If
Catch ex As Exception
' log exception
Finally
oForm.Freeze(False)
SBO_Application.Desktop.State = BoFormStateEnum.fs_Restore
System.GC.Collect() 'Release the handle to the table
End Try
End Sub -
Hallo,
on an Authorware File I get after a while the "Internal Error
300".
This happens after using the winapi-functions, like HetDC,
SelectObject
and Textout.
Who has some hints.
Thanks,
BerndChris Forecast schrieb:
> "Bernd Oleschinski" <[email protected]>
wrote in message
> news:f6bfjt$na7$01$[email protected]..
>> The code is a mixture from direct apicalls
(user32.dll and winapi.u32).
>>
>> I use them to draw the text on calculated positions
on the screen, also
>> the textcolor is calculated. This behaviour is with
display-icons not
>> implementable.
>>
>> The goal is a flight cockpit where different
situations have to be shown.
>
> But what happens when the contents of your window need
to be redrawn (for
> example when another window is placed on top and then
closed)?
>
> Chris Forecast
>
>
>
The drawing of the text is done in a script-icon. If there is
a need to
redraw the text, you just have to call the script-icon again.
Bernd -
SECSTORE Status after KERNEL Update: Internal error in secure store
We just updated the Kernel 700 to the patch 159 and, in the transaction SECSTORE, we have the error: "Internal error in secure store".
This error cause, for example, that we can't configure the STMS...
The entry id BC_INIT is missing, and when trying to add this entry using the report SECSTORE01, the system response is "Entry BC_INIT is not in the registered namespace"
What can we do to solve this problem?
Thanks in advance!Please create an official SAP Support Ticket - and best: enable remote access to the effected system so that the problem can be analyzed, there.
Maybe you are looking for
-
T-code to pull the year to date balance in SAP
Hello All, This is Aswin Seshadri. can some one help me in getting a T-code which can pull the YTD balance for a given set of company codes? The reason, I am preparing a macro for the work I do in my company to update the YTD balance. Best Regards As
-
How to add SELECT-OPTIONS to VL10
Hi Friends, I am bit new to enhancements, my requirement is, I have to add field VBAK-SUBMI as a Selection Criteria to the Selection Screen for the VL10 - Program V50RINCL - user exit <b>V50R_SELECT_OPTION_ADD</b>. Could u please advise either i can
-
How to do like this with array?
How to do like this with array? I have 2 constants array put in main while loop ( array1{6,6}; array2{4,4} ). Those arrays will be come the input data for st in the small while loop inside. The input data look like : [6,6],[4,4],[6,6],[4,4]...... I h
-
Client side certificates with OpenScript
Hello there, Is there any information on using client side certificates with OpenScript? What types of certificates can it handle? .P12-files? Regards
-
First DISTINCT and then Group by
I have few records that have repeating values. I want to sum only the unique values. I am using Distinct clause to get Distinct records and doing group by to get the sum. But it seems like it is doing the sum and then returning the distinct values so