Visa control of an executable running on the host PC
I write executables for my customer using LabVIEW. My customers often use other programming environments, such as Visual BASIC or C. They also control instruments remotely using the VISA layer. They are comfortable with the concepts of sending commands to instruments using VISA. I have a request from a customer to also be able to control my executable using the VISA layer. They would treat my executable as if it were another instrument. They would manually launch the executable on their PC. Then they want to address it from their programming environment (maybe Visual BASIC, or C, or Matlab) using the TCPIP::localhost::instr address and send commands to my executable program. In my executable I would monitor for these commands, and then respond to them as needed. My question is, is there an easy way to do this? A simple example would help me tremendously. The example I am looking for would be a LabVIEW executable that would monitor the "address" TCPIP::localhost::instr for a *IDN? command. An outside test program would send this command to the VISA address TCPIP::localhost::instr. When the executable receives the command, it would reply with "Hello." If I can get this far, then I can use this model to implement the commands that are required to control the executable. Thank you for any help.
Thanks for the response.
Yes, making my executable "look like" a VXI PnP instrument is exactly what I want to do...
If I have to program this from scratch, I agree that this is a tall order. But I was hoping that NI already implimented what I need...
Certainly, they have the portion that allows me to send commands to an instrument and read responses from an instrument using VISA. My question is if there is a way to use the same VISA read routine in my executable to monitor and wait for a command to come from somewhere else, and when the command comes in, can I then respond to it using the VISA write routine?
I am assuming that this is not possible, but maybe I am wrong?
If it is not possible, perhaps someone has done something similar that I can use, such as the TCP read and write, which I have never used before.
My end goal is to provide my customer with a well known and easy way to send the commands to my executable. (By using a VISA write.) This way I know that they already have the capability in their existing programs, and they will be able to do this will little effort from their side.
So it would be ok for me to use a TCP read (or any other approach) in my executable as long as it can intercept the VISA write that was sent from my customer's program (which is not written in LabVIEW).
Asked from another ponit of view altogether, is there a way to impliment the equivilent of NI-Spy in a LabVIEW executable. This would at least allow me to monitor all VISA traffic, and I can scan the traffic for commands that are intended for my executable. That would solve 1/2 of the problem, and would be a start.
Thanks again for the response.
Similar Messages
-
Executing script on the host browser.
How to call the javascript function of the browser on which the Adobe Document/Form is rendered. For Example, on click of Close on the Adobe Form, I want to close the browser.
Thanks
NarenHi Naren.
There is a messageHandler property, which from the documentation "This object describes an API exposed to the object model of a container application that allows sending and receiving messages from an embedded PDF document. For example, when a PDF document is embedded in an HTML document using the <OBJECT> tag, the PDF object is scripted in the browser scripting context."
http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/js/html/wwhel p.htm?href=JS_API_AcroJSPreface.87.1.html&accessible=true
I've sent messages from an html page to a PDF but it does say you can receive messages, however there was not much documentation on this and I never used it in the live project so can't really help.
But might be a place to start looking?
Bruce -
Open VISA sessions in LV6 VISA Ref control and LV executables
I have created a LV executable that opens a TCP/IP socket class VISA
session. Once the session is opened, it appears below the dividing
line in the executable's VISA resource control. However, the open
session does not appear in the resource control of any open,
uncompiled VI in the development environment, nor in the VISA control
of other LV executables. However, if I run the VI as an uncompiled
VI, the opened session appears in all other open uncompiled VI's as an
available resource that may be selected. It should also be noted that
VISA sessions opened by executables are not returned by the "Open VISA
sessions" utility VI running in the development environment.
My wish is to create a
separate compiled executable applet that
creates a TCP/IP connection to a network device and have that resource
appear in the VISA control of other executables and VI's. It appears
the executable uses its own memory space to keep track of open VISA
sessions. Is there any way to change this so that all runtime
executables and the development environment all work from the same
list?
Thanks in advance,
smjwf wrote in message news:<[email protected]>...
> If you haven't done so, you should try updating LabVIEW 6.0 to 6.0.2.
> You can download this update for free by going to www.ni.com and
> clicking on downloads and then drivers and updates and pick the
> LabVIEW updater out of a list. I know for a fact that this update
> fixed some problems using the VISA resouce control in LabVIEW 6
> executables. Hope this is helpful.
Thanks for the advice, but I've already updated to 6.0.2.
sm -
Control a program which running in Windows
Hi all,
I have a program. When this program run on windows desktop, I can control it by using VB6 or C# if it is running (online when VB6 control).
(This program provide a dll file to access it when running)
For example :
Dim OBJ As Object
Set OBJ = CreateObject("DESKTOP.APPLICATION")
'Set APP = New DESKTOP.Application
Set APP = OBJ.GetApplication("FUNDS.TRANSFER")
' Then use APP to control program which is running online
The code above use for VB6, how can I cotrol this program by Java like VB6. How to use dll file to do it
pls help meguitar_man_F wrote:
I've never actually done this, but I might be able to help you understand some of the challenges.
First, Java is a platform independent language. That is, it doesn't know that dll's exist, because on operating systems like linux, they don't. So the standard java libraries don't provide any way to do this. You will need to use JNI to interoperate with native code, so JNI tutorials are a good place to start.
Also, since you're tring to communicate with programs that are already running, a good google search term would be "inter-process communcation", or IPC.
- Adamthank for your reply, maybe JNI is good for this project, I will try with your suggestion
Anyone know something about this, pls tell me more
Thank -
Server Admin suddenly cannot find the host it runs on
I am running mac osx server, snow leopard. It ran fine until just recently. Suddenly Server App is unable to find the host it runs on.
I enter the hosts IP address on the local network, log in with my administrator username and password, and the system comes back telling me
Could not connect to <ip address>
Server Admin was unable to connect to the server at <~ip address>
Server Preferences tells me that this host cannot be found on the network too.
Point is however that both these apps run on the host with that very IP address. It is set up in System Preferences > Network, and is hardcoded, not given by the DHCP server in the router. I can also connect to the web server running on this host using the laptop and an ipad.
This is quite annoying, especially as Server Admin is the only app that lets you manage the host it runs.
Mac mini, OS X Server, version os os x server is 10.6.8relais:~ locadmin$ sudo changeip -checkhostname
Password:
Primary address = 192.168.39.200
Current HostName = relais.local
The DNS hostname is not available, please repair DNS and re-run this tool.
dirserv:success = "success"
and
relais:~ locadmin$ sudo lsof -i -P | grep ':311'
relais:~ locadmin$
The log is telling about a crash in servermgrd, which is restarted and crashing every ten seconds, a bit from the crash report
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff89aa244f __CFTypeCollectionRetain + 191
1 com.apple.CoreFoundation 0x00007fff89aabca5 __CFBasicHashAddValue + 53
2 com.apple.CoreFoundation 0x00007fff89ab3688 CFBasicHashSetValue + 184
3 com.apple.CoreFoundation 0x00007fff89ab34a7 CFDictionarySetValue + 199
4 com.apple.servermgr_dns 0x00000001031bbd66 addDataToDictionary + 2549
5 com.apple.servermgr_dns 0x00000001031bc6ec yyparse + 2324
6 com.apple.servermgr_dns 0x00000001031bd7a6 parseFile + 384
7 com.apple.servermgr_dns 0x00000001031dac19 optionsParser_lex_destroy + 104800
8 com.apple.servermgr_dns 0x00000001031d6406 optionsParser_lex_destroy + 86349
9 com.apple.servermgr_dns 0x00000001031d6468 optionsParser_lex_destroy + 86447
10 com.apple.servermgr_dns 0x00000001031ce904 optionsParser_lex_destroy + 54859
11 com.apple.servermgr_dns 0x00000001031cea41 optionsParser_lex_destroy + 55176
12 com.apple.servermgr_dns 0x00000001031d19c8 optionsParser_lex_destroy + 67343
13 com.apple.servermgr_dns 0x00000001031c1f78 optionsParser_lex_destroy + 3263
14 com.apple.servermgr_dns 0x00000001031c67db optionsParser_lex_destroy + 21794
15 com.apple.servermgr_dns 0x00000001031c254b optionsParser_lex_destroy + 4754
16 libservermgrcommon.dylib 0x000000010003ec18 -[BundleManager init] + 402
17 libservermgrcommon.dylib 0x000000010003dd9d +[BundleManager defaultManager] + 51
18 com.apple.ServerManagerDaemon 0x0000000100003bcb 0x100000000 + 15307
19 com.apple.ServerManagerDaemon 0x00000001000014c0 0x100000000 + 5312
So it looks like there is some t=file that is now not exactly like the parser wants it. -
How can I select a channel on the RT target with a VI on the host?
Maybe I'm trying to pound a square peg into a round hole, so please let me know if I'm abusing LV, but ...
I'm trying to parameterize our RT VI app that deals with digital output channels. We use the same basic VI for multiple configurations. The only thing that changes is the channel allocations. So for instance, actuator 1 is on port0/line5 for one configuration and port1/line2 in another. I really don't like the idea of modifying the VI every time we have a new configuration because it makes configuration management insane. If I make a change to the basic VI, now I have to upate N copies of the VI and hope I catch everything.
So I'm making the main app VI read an XML configuration file that specifies all the allocations. Sounds great at first, but how do I create the XML file? I created a VI that manages the data in the VI, allowing the user to add/remove channels and edit the name and channel and then save it to an XML file. The configuration is comopsed of an array of clusters, with the cluster containing the name and DAQmx channel. My intent was to let the user select the channel from the list of valid channels by using the DAQmx Global Channel control. But the problem is, the configure VI runs on the host, which doesn't see any of the channels because they are on the RT target. But if I try to run the configure VI on the target, it refuses to deploy because I have GUI widgets.
Is my approach fundamentally flawed? Is there a better way of parameterizing our VI? Or is there a trick to getting access to the valid channels on the host VI? The information MUST be available because after all, when I modify a target VI and select a global channel constant, I'm doing this on the host.
Thanks,
Keith.Hi Keith,
you can handle the channels like "normal" strings. See the attached picture.
Hope it helps.
Mike
Message Edited by MikeS81 on 07-25-2008 06:46 AM
Attachments:
Unbenannt1.PNG 6 KB -
How do I know what is the host-side FIFO depth?
Hi.
In LabVIEW FPGA, the FIFO.Configure Method lets you determine the depth of the FIFO on the <u>host</u> side.
If my VIs have never included this method, is there a way of knowing how deep this FIFO has been all along?
I set my FPGA-side FIFO to be 8k deep. What depth does the host-side FIFO default to?
I am asking because I am getting some failures in my test VI that uses FIFOs and I suspect overflows are to blame.
Thanks,
AlejandroZ
Solved!
Go to Solution.Here is a copy+paste from a post I made back in May 2010. I'll add some tags to the original so it should facilitate easier searching.
The DMA FIFO is actually implemented in 2 parts, you define the FPGA size in the project explorer(actual FPGA fabric), the Host side is defined programatically (Host RAM).
There is a configure method you can run on the Host, the default for the Host side is 10,000 elements. I would set the FPGA side much smaller, 1000 or so elements, save a lot of FPGA fabric. Configure the Host side to 64,000 or something.
Here is a help link to the Configure method:
http://zone.ni.com/reference/en-XX/help/371599E-01/lvfpgahost/fpga_method_fifo_config/
and a link to the DMA FIFO help:
http://zone.ni.com/reference/en-XX/help/371599E-01/lvfpgaconcepts/pfi_data_transfer/#DMA_FIFOs -
The TCP/IP connection to the host 127.0.0.1 , port 1433 has failed
hi all,
i am using SQL2005 server as my database server. i am trying to connect this server in java (i mean using JDBC). i am using windows authentication to connect my sqlserver.
i have the url connection like this
DriverManager.getConnection("jdbc:sqlserver://127.0.0.1\\SQL2005/database name",username","password");
i am trying to connect the server using the above URL, but i couldn't connect it throws an error as the following.
The TCP/IP connection to the host 127.0.0.1 , port 1433 has failed. Error: "Connection refused: connect. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".
could anyone plz help me to make the connection in right way.
i have tried to ping via telnet as well, even telnot not able to connect
plz help me...
thanksHi,
Besides Madhu mentioned, please check the TCP/IP port number of the instance of SQL Server.
1. Open SQL Server Configuration Manager, and then expand SQL Server 2005 Network Configuration.
2. Click Protocols for InstanceName, and then make sure TCP/IP is enabled in the right panel and double-click TCP/IP.
3. On the Protocol tab, notice the value of the Listen All item.
4. Click the IP Addresses tab:
If the value of Listen All is yes, the TCP/IP port number for this instance of SQL Server 2005 is the value of the TCP Dynamic Ports item under IPAll.
If the value of Listen All is no, the TCP/IP port number for this instance of SQL Server 2005 is the value of the TCP Dynamic Ports item for a specific IP address.
5. Make sure the TCP Port is 1433.
6. Click OK.
If there are any more questions, please let me know.
Thanks.
***Xiao Min Tan***Microsoft Online Community*** -
The TCP/IP connection to the host localhost, port 1433 has failed.
Hi, im using sql server 2000,
i have declared this in my program:
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
String url = "jdbc:sqlserver://localhost:1433;databaseName=Factura";
Connection conn = DriverManager.getConnection(url,"sa","");and is giving me this exception:
run:
Got an exception!
The TCP/IP connection to the host localhost, port 1433 has failed.
Error: "connect timed out.
Verify the connection properties,
check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port,
and that no firewall is blocking TCP connections to the port.".
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed.
Error: "connect timed out. Verify the connection properties,
check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port,
and that no firewall is blocking TCP connections to the port.".
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:171)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1033)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:817)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:700)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:842)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at factura.FacturaView.conexion(FacturaView.java:317)
at factura.FacturaView.jTextField1KeyPressed(FacturaView.java:268)
at factura.FacturaView.access$900(FacturaView.java:41)
at factura.FacturaView$5.keyPressed(FacturaView.java:150)
at java.awt.Component.processKeyEvent(Component.java:6225)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2801)
at java.awt.Component.processEvent(Component.java:6044)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
at java.awt.Component.dispatchEventImpl(Component.java:4502)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
BUILD SUCCESSFUL (total time: 34 seconds)how can i solve this?
thanks..
Edited by: derok on Dec 8, 2010 1:31 PM
Edited by: derok on Dec 8, 2010 9:14 PM
Edited by: derok on Dec 11, 2010 1:51 PM
Edited by: derok on Dec 11, 2010 1:52 PMtschodt wrote:
derok wrote:
1434 did not worked eitherWhat port is your SQL Server listening on?
List of active ports:
C:\> netstat -naboOn linux I would add -l and -t to only get listening TCP ports.netstat -nabo gave me this:
Active Connections
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 2004
[httpd.exe]
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 1148
e:\windows\system32\WS2_32.dll
E:\WINDOWS\system32\RPCRT4.dll
e:\windows\system32\rpcss.dll
E:\WINDOWS\system32\svchost.exe
E:\WINDOWS\system32\ADVAPI32.dll
[svchost.exe]
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 2004
[httpd.exe]
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
[System]
TCP 0.0.0.0:2869 0.0.0.0:0 LISTENING 1528
E:\WINDOWS\system32\httpapi.dll
e:\windows\system32\ssdpsrv.dll
E:\WINDOWS\system32\RPCRT4.dll
[svchost.exe]
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 2428
[mysqld.exe]
TCP 0.0.0.0:4400 0.0.0.0:0 LISTENING 2592
[nlsvc.exe]
TCP 0.0.0.0:7511 0.0.0.0:0 LISTENING 204
[raysat_3dsmax2010_32server.exe]
TCP 127.0.0.1:1028 0.0.0.0:0 LISTENING 3080
[alg.exe]
TCP 127.0.0.1:5152 0.0.0.0:0 LISTENING 188
[jqs.exe]
TCP 192.168.0.101:139 0.0.0.0:0 LISTENING 4
[System]
TCP 127.0.0.1:5152 127.0.0.1:1163 CLOSE_WAIT 188
[jqs.exe]
TCP 192.168.0.101:2869 192.168.0.1:4563 CLOSE_WAIT 4
[System]
UDP 0.0.0.0:500 *:* 908
[lsass.exe]
UDP 0.0.0.0:445 *:* 4
[System]
UDP 0.0.0.0:4500 *:* 908
[lsass.exe]
UDP 0.0.0.0:1434 *:* 3036
[sqlbrowser.exe]
UDP 127.0.0.1:123 *:* 1284
e:\windows\system32\WS2_32.dll
e:\windows\system32\w32time.dll
ntdll.dll
E:\WINDOWS\system32\kernel32.dll
[svchost.exe]
UDP 127.0.0.1:1135 *:* 3508
[iexplore.exe]
UDP 127.0.0.1:1040 *:* 1284
e:\windows\system32\WS2_32.dll
E:\WINDOWS\system32\WINHTTP.dll
E:\WINDOWS\system32\upnp.dll
E:\WINDOWS\system32\RPCRT4.dll
E:\WINDOWS\system32\ole32.dll
[svchost.exe]
UDP 127.0.0.1:44301 *:* 2880
[PnkBstrA.exe]
UDP 127.0.0.1:1900 *:* 1528
e:\windows\system32\WS2_32.dll
e:\windows\system32\ssdpsrv.dll
E:\WINDOWS\system32\ADVAPI32.dll
E:\WINDOWS\system32\kernel32.dll
[svchost.exe]
UDP 192.168.0.101:1900 *:* 1528
e:\windows\system32\WS2_32.dll
e:\windows\system32\ssdpsrv.dll
E:\WINDOWS\system32\ADVAPI32.dll
E:\WINDOWS\system32\kernel32.dll
[svchost.exe]
UDP 192.168.0.101:137 *:* 4
[System]
UDP 192.168.0.101:123 *:* 1284
e:\windows\system32\WS2_32.dll
e:\windows\system32\w32time.dll
ntdll.dll
-- unknown component(s) --
[svchost.exe]
UDP 192.168.0.101:138 *:* 4
[System]Edited by: derok on Dec 10, 2010 11:04 AM
Edited by: derok on Dec 10, 2010 11:11 AM -
Visa Control grayed out when executable used with Run-time Engine
When I run an executable on a machine with only the Run-time Engine the Visa Control for Com Ports is grayed out. I'm guessing that I am missing a library, but do not know which one.
You need to install the VISA run-time. If you are just using VISA for serial communication, then there is an option on the app builder (Installer Settings>Advanced) for Serial Port Support. This will add a much smaller version of the VISA run-time engine to the installer you create. If you are using GPIB, etc., you have to install the hardware driver (i.e. NI-GPIB) and the full VISA run-time engine.
-
Run a loop when there is any change in value of any control or local variable in side the loop
I am trying to write a program for a complicated multivariate system. I have many different controls connected to different functionality of the system. What I want to do is, run a continuous time loop, but I don't want the program to go over all the different controls and execute all the different functions. Instead can I do the job in a way, that the program will only execute the part that has changes in its control compared to its last loop and not go over the rest of the program in the loop? Hope I make my problem clear!
Have a look at my idea here. The code shown on the left can be done with current tools.
LabVIEW Champion . Do more with less code and in less time . -
Data source control failed to execute the insert command
I have a sign up training calendar that runs on sharepoint 2010, over the weekend i went to install the latest cumulative update http://support.microsoft.com/kb/2817552 and it seems to have broken the signup process. Whenever some goes to sign up for an
event they see the following error what can i do to fix this?
Error
The data source control failed to execute the insert command. d8b915be-5355-4d63-97bb-c9cf3aacad75
Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: d8b915be-5355-4d63-97bb-c9cf3aacad75
Date and Time: 7/31/2013 9:51:25 PM0
Vote
Thanks!!!
It worked for me too -
We have the SharePoint Server 2010 with SP1 environment on which the custom SP2010 designer pages were working as expected before the
August 13, 2013 CU has installed. But, getting the below exception while trying to add the new item after the CU has installed.
Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteInsert(IDictionary values) at
System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
06/19/2014 16:49:37.65 w3wp.exe (0x1240) 0x1300 SharePoint Foundation
Runtime tkau Unexpected Microsoft.SharePoint.WebPartPages.DataFormWebPartException: The data source control
failed to execute the insert command. 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc at Microsoft.SharePoint.WebPartPages.DataFormWebPart.InsertCallback(Int32 affectedRecords, Exception ex) at System.Web.UI.DataSourceView.Insert(IDictionary
values, DataSourceViewOperationCallback callback) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e)
at Microsoft.SharePoint.WebPartPages.DataFormWebPart.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean
inclu... 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
06/19/2014 16:49:37.65* w3wp.exe (0x1240) 0x1300 SharePoint Foundation
Runtime tkau Unexpected ...deStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
I have tried changing the "DataSourceMode" as below, now the insert command is working, but update command is not working.
<SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" />
Also, the lookup dropdown fields are displaying the value as "<a href="Daughterhttp://cpsp10/sites/Employees/_layouts/listform.aspx?PageType=4&ListId={8F62F444-FB6A-4F03-9522-C4696B45DCD1}&ID=10&RootFolder=*">Daughter</a>"
instead of only "Daughter".
Please provide the solution to get rid of this issue.
Thanks
RamasubbuTry below:
http://social.technet.microsoft.com/Forums/en-US/ae910269-3a0c-4506-844b-e8bc89d95b71/data-source-control-failed-to-execute-the-insert-command
http://blog.jussipalo.com/2012/01/sharepoint-2010-data-source-control.html
While there can be many causes for this generic error message, in my case the first parameter or ddwrt:DataBind function inside the SharePoint:FormFields element was
'i' and I was working with an Edit Form. Changing it to
'u' as it was with every other FormField fixed the issue.
<SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="Edit" FieldName="Esittaja" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Esittaja')}"
/>
Explanation:
DataBind operation type parameters (the first parameter) are listed below:
'i' stands for INSERT,
'u' stands for UPDATE,
'd' stands for DELETE.
http://webcache.googleusercontent.com/search?q=cache:d9HHY4I7omgJ:thearkfloats.blogspot.com/2014/03/sharepoint-2010-data-source-control.html+&cd=4&hl=en&ct=clnk&gl=in
If this helped you resolve your issue, please mark it Answered -
Hello I would like to report game loft order and chaos that's I but rune stones buy my visa around 300 usd and runes was on sale but thy don't add the rune stones it's 5700 Rune stones I report to game loft 6 time and thy ignore me I'm here to Complaint that to iTunes I wish you help me for this complaint cause this game loft always ignore people only take moony and no replay . Ty
You are not addresing Apple here. Were are all just users like yourself. Contact Apple/iTunes by:
How to report/refund an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase -
hi i am trying to install NI-VISA driver on SUSE LINUX 11.1.
the error message it shows is
******************************** ERROR ****************************************
* The version of gcc in the path does not match the version of gcc used to *
* compile the currently running kernel. This can cause unpredictable *
* behavior in kernel drivers and should be fixed. *
* gcc version: Linux) *
* kernel compiled with: 4.3.2 *
******************************** ERROR ****************************************
my kernel source version is
linux-8nes:/home/admin # rpm -qi kernel-source
Name : kernel-source Relocations: /usr/src
Version : 2.6.27.29 Vendor: openSUSE
Release : 0.1.1 Build Date: Sun 16 Aug 2009 03:43:52 PM IST
Install Date: Sat 24 Oct 2009 02:13:12 AM IST Build Host: rinck
Group : Development/Sources Source RPM: kernel-source-2.6.27.29-0.1.1.src.rpm
Size : 309251954 License: GPL v2 only
Signature : RSA/8, Sun 16 Aug 2009 03:57:25 PM IST, Key ID b88b2fd43dbdc284
Packager : http://bugs.opensuse.org
URL : http://www.kernel.org/
Summary : The Linux Kernel Sources
Description :
Linux kernel sources with many fixes and improvements.
Authors:
Linus Torvalds <[email protected]>
see /usr/src/linux/CREDITS for more details.
Source Timestamp: 2009-08-15 17:53:59 +0200
GIT Revision: 8a413546901c407e96f7fba18574cceeb40452af
GIT Branch: SLE11_BRANCH
Distribution: openSUSE 11.1
i had also installed GCC 4.3.2.
it shows the error message as i had posted.
please kindly help me on this.
Thanks and regards,
P.karthickCheck this solution
Maybe you are looking for
-
Mid-2010 Macbook Pro shuts down randomly while plugged in!
This has been happening on and off for a couple weeks now and tonight it started doing it every 5 minutes the computer was in use. I've noticed that it is not doing it now that my iPhone 4 is not being charged off of it. But in the past it turned o
-
Hi all, My application does not work properly after I do the export/import application function. When I import the application, two things fail - the page authorization scheme and the breadcrumbs. What can i do to avoid this problem ? jeff.
-
I am not able to access Canon EOS 600D on OS X 10.9
I am facing problem for accessing the camera after upgrading to OS X 10.9, i download all below drivers find in the web. file:///Users/shaji/Downloads/dpp3.13.0x-updater.dmg file:///Users/shaji/Downloads/Driverwhiz-2.exe file:///Users/shaji/Downloads
-
OES11 install of NSM3.04 and Java
Slight problem encountered at a client. Upgraded the NSM engine server from OES2SP3 to OES11: the 3.0.3 engine carried on working fine. And I could also upgrade to 3.04 with no problem by adding the CD repository. However, I go to install a 2nd event
-
Crashing when I click the Text tool button
I was really excited about trying Flash out, but I can't seem to get far enough to even do so-whenever I click the Text tool button the program just closes-any suggestions?